PocketBase - Package Updates
-
[1.3.0]
- Fix bug in manifest not marking sqlite database correctly
-
[1.4.0]
- Update pocketbase to 0.27.0
- Full Changelog
- Moved the Create and Manage API rule checks out of the
OnRecordCreateRequest
hook finalizer, aka. now all CRUD API rules are checked BEFORE triggering their corresponding*Request
hook. - Added new
geoPoint
field for storing{"lon":x,"lat":y}
geographic coordinates. - Updated the
select
field UI to accommodate better larger lists and RTL languages (#β4674). - Updated the mail attachments auto MIME type detection to use
gabriel-vasile/mimetype
for consistency and broader sniffing signatures support. - Forced
text/javascript
Content-Type when serving.js
/.mjs
collection uploaded files with the/api/files/...
endpoint (#β6597). - Added second optional JSVM
DateTime
constructor argument for specifying a default timezone as TZ identifier when parsing the date string as alternative to a fixed offset in order to better handle daylight saving time nuances (#β6688 - Soft-deprecated the
$http.send
'sresult.raw
field in favor ofresult.body
that contains the response body as plain bytes slice to avoid the discrepancies between Go and the JSVM when casting binary data to string. - Updated
modernc.org/sqlite
to 1.37.0. - Other minor improvements (removed the superuser fields from the auth record create/update body examples, allowed programmatically updating the auth record password from the create/update hooks, fixed collections import error response, etc.).
-
[1.4.1]
- Update pocketbase to 0.27.1
- Full Changelog
- Updated example
geoPoint
API preview body data. - Added JSVM
new GeoPointField({ ... })
constructor. - Added partial WebP thumbs generation (the thumbs will be stored as PNG; #β6744).
-
[1.4.2]
- Update pocketbase to 0.27.2
- Full Changelog
- Added workers pool when cascade deleting record files to minimize "thread exhaustion" errors (#β6780).
- Updated the
:excerpt
fields modifier to properly account for multibyte characters (#β6778). - Use
rowid
as count column for non-view collections to minimize the need of having the id field in a covering index (#β6739)
-
[1.5.0]
- Update pocketbase to 0.28.0
- Full Changelog
- Write the default response body of
*Request
hooks that are wrapped in a transaction after the related transaction completes to allow propagating the transaction error (#β6462). - Updated
app.DB()
to automatically routes raw write SQL statements to the nonconcurrent db pool (#β6689). - Changed the default
json
field max size to 1MB. - Soft-deprecated and replaced
filesystem.System.GetFile(fileKey)
withfilesystem.System.GetReader(fileKey)
to avoid the confusion withfilesystem.File
. - Added new
filesystem.System.GetReuploadableFile(fileKey, preserveName)
method to return an existing blob as a*filesystem.File
value (#β6792).
-
[1.5.1]
- Update pocketbase to 0.28.1
- Full Changelog
- Fixed
json_each
/json_array_length
normalizations to properly check for array values (#β6835).
-
J james referenced this topic on
-
[1.5.2]
- Update pocketbase to 0.28.2
- Full Changelog
- Loaded latin-ext charset for the default text fonts (#β6869).
- Updated view query CAST regex to properly recognize multiline expressions (#β6860; thanks @βazat-ismagilov).
- Updated Go and npm dependencies.
-
[1.5.3]
- Update pocketbase to 0.28.3
- Full Changelog
- Skip sending empty
Range
header when fetching blobs from S3 (#6914). - Updated Go deps and particularly
modernc.org/sqlite
to 1.38.0 (SQLite 3.50.1). - Bumped GitHub action min Go version to 1.23.10 as it comes with some minor security
net/http
fixes.
-
[1.5.4]
- Update pocketbase to 0.28.4
- Full Changelog
- Added global JSVM
toBytes()
helper to return the bytes slice representation of a value such as io.Reader or string (other types are first serialized to Go string). - Fixed
security.RandomStringByRegex
random distribution (#β6947; thanks @βyerTools). - Minor docs and typos fixes.
-
[1.6.0]
- Update pocketbase to 0.29.0
- Full Changelog
- Enabled calling the
/auth-refresh
endpoint with nonrenewable tokens. - Added the triggered rate rimit rule in the error log
details
. - Added optional
ServeEvent.Listener
field to initialize a custom network listener (e.g.unix
) instead of the defaulttcp
(#β3233). - Added
toBytes
JSVM helper (#β6935). - Fixed request data unmarshalization for the
DynamicModel
array/object fields (#β7022). - Fixed Dashboard page title
-
escaping (#β6982). - Other minor improvements (updated first superuser console text when running with
go run
, clarified trusted IP proxy header label, wrapped the backup restore in a transaction as an extra precaution, updated deps, etc.).