PocketBase - Package Updates
-
[1.1.0]
- Update pocketbase to 0.25.0
- Full Changelog
- Upgraded Google OAuth2 auth, token and userinfo endpoints to their latest versions.
- Added Trakt OAuth2 provider (#6338; thanks @aidan-)
- Added support for case-insensitive password auth based on the related UNIQUE index field collation (#6337).
- Enforced
when_requiredfor the new AWS SDK request and response checksum validations to allow other non-AWS vendors to catch up with new AWS SDK changes (see #6313 and aws/aws-sdk-go-v2#2960). - Soft-deprecated
Record.GetUploadedFilesin favor ofRecord.GetUnsavedFilesto minimize the ambiguities what the method do (#6269). - Replaced archived
github.com/AlecAivazis/surveydependency with a simplerosutils.YesNoPrompt(message, fallback)helper. - Upgraded to
golang-jwt/jwt/v5. - Added JSVM
new Timezone(name)binding for constructingtime.Locationvalue (#6219). - Added
inflector.Camelize(str)andinflector.Singularize(str)helper methods. - Use the non-transactional app instance during the realtime records delete access checks to ensure that cascade deleted records with API rules relying on the parent will be resolved.
- Other minor improvements (replaced all
boolexists db scans withintfor broader drivers compatibility, updated API Preview sample error responses, updated UI dependencies, etc.)
-
[1.1.1]
- Update pocketbase to 0.25.1
- Full Changelog
- Fixed the batch API Preview success sample response.
- Bumped GitHub action min Go version to 1.23.6 as it comes with a minor security fix for the ppc64le build.
-
[1.1.2]
- Update pocketbase to 0.25.3
- Full Changelog
- Added a temporary exception for Backblaze S3 endpoints to exclude the new
aws-sdk-go-v2checksum headers (#6440). - Fixed realtime delete event not being fired for
RecordProxy-ies and added basic realtime record resolve automated tests (#6433).
-
[1.1.3]
- Update pocketbase to 0.25.4
- Full Changelog
- Downgraded
aws-sdk-go-v2to the version before the default data integrity checks because there have been reports for non-AWS S3 providers in addition to Backblaze (IDrive, R2) that no longer or partially work with the latest AWS SDK changes.
-
[1.1.4]
- Update pocketbase to 0.25.5
- Full Changelog
- Set the current working directory as a default goja script path when executing inline JS strings to allow
require(m)traversing parentnode_modulesdirectories. - Updated
modernc.org/sqliteandmodernc.org/libcdependencies.
-
[1.1.5]
- Update pocketbase to 0.25.6
- Full Changelog
- Restore the missing
meta.isNewfield of the OAuth2 success response (#6490). - Updated npm dependencies.
-
[1.1.6]
- Update pocketbase to 0.25.7
- Full Changelog
- Fixed
@request.body.jsonObjOrArr.*values extraction (#6493).
-
[1.1.7]
- Update pocketbase to 0.25.8
- Full Changelog
- Added a default leeway of 5 minutes for the Apple/OIDC
id_tokentimestamp claims check to account for clock-skew (#6529).
-
[1.1.8]
- Update pocketbase to 0.25.9
- Full Changelog
- Fixed
DynamicModelobject/array props reflect type caching (#6563).
-
[1.2.0]
- Update base image to 5.0.0
-
[1.2.1]
- Update pocketbase to 0.26.1
- Full Changelog
- Removed the wrapping of
io.EOFerror when reading files since currentlyio.ReadAlldoesn't check for wrapped errors (#6600).
-
[1.2.2]
- Update pocketbase to 0.26.2
- Full Changelog
- Updated golang-jwt/jwt dependency because it comes with a minor security fix.
-
[1.2.3]
- Update pocketbase to 0.26.3
- Full Changelog
- Fixed and normalized logs error serialization across common types for more consistent logs error output (#6631).
-
[1.2.4]
- Update pocketbase to 0.26.4
- Full Changelog
- Fixed RecordErrorEvent.Error and CollectionErrorEvent.Error sync with ModelErrorEvent.Error (#6639).
- Fixed logs details clipboard copy.
- Updated modernc.org/sqlite to 1.36.2.
-
[1.2.5]
- Update pocketbase to 0.26.6
- Full Changelog
- Allow OIDC
email_verifiedto be int or boolean string since some OIDC providers like AWS Cognito has non-standard userinfo response (#6657). - Updated
modernc.org/sqliteto 1.36.3. - Fixed canonical URI parts escaping when generating the S3 request signature (#6654).
-
[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
OnRecordCreateRequesthook finalizer, aka. now all CRUD API rules are checked BEFORE triggering their corresponding*Requesthook. - Added new
geoPointfield for storing{"lon":x,"lat":y}geographic coordinates. - Updated the
selectfield UI to accommodate better larger lists and RTL languages (#4674). - Updated the mail attachments auto MIME type detection to use
gabriel-vasile/mimetypefor consistency and broader sniffing signatures support. - Forced
text/javascriptContent-Type when serving.js/.mjscollection uploaded files with the/api/files/...endpoint (#6597). - Added second optional JSVM
DateTimeconstructor 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.rawfield in favor ofresult.bodythat 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/sqliteto 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
geoPointAPI 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
:excerptfields modifier to properly account for multibyte characters (#6778). - Use
rowidas 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
*Requesthooks 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
jsonfield 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.Filevalue (#6792).