Releases: pocketbase/pocketbase
v0.22.2 Release
To update the prebuilt executable you can run
./pocketbase update
.
- Fixed a small regression introduced with v0.22.0 that was causing some missing unknown fields to always return an error instead of applying the specific
nullifyMisingField
resolver option to the query.
v0.22.1 Release
To update the prebuilt executable you can run
./pocketbase update
.
v0.22.0 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Added Planning Center OAuth2 provider (#4393; thanks @alxjsn).
-
Admin UI improvements:
- Autosync collection changes across multiple open browser tabs.
- Fixed vertical image popup preview scrolling.
- Added options to export a subset of collections.
- Added option to import a subset of collections without deleting the others (#3403).
-
Added support for back/indirect relation
filter
/sort
(single and multiple).
The syntax to reference back relation fields isyourCollection_via_yourRelField.*
.
β οΈ To avoid excessive joins, the nested relations resolver is now limited to max 6 level depth (the same asexpand
).
Note that in the future there will be also more advanced and granular options to specify a subset of the fields that are filterable/sortable. -
Added support for multiple back/indirect relation
expand
and updated the keys to use the_via_
reference syntax (yourCollection_via_yourRelField
).
To minimize the breaking changes, the old parenthesis reference syntax (yourCollection(yourRelField)
) will still continue to work but it is soft-deprecated and there will be a console log reminding you to change it to the new one. -
β οΈ Collections and fields are no longer allowed to have_via_
in their name to avoid collisions with the back/indirect relation reference syntax. -
Added
jsvm.Config.OnInit
optional config function to allow registering custom Go bindings to the JSVM. -
Added
@request.context
rule field that can be used to apply a different set of constraints based on the API rule execution context.
For example, to disallow user creation by an OAuth2 auth, you could set for the users Create API rule@request.context != "oauth2"
.
The currently supported@request.context
values are:default realtime protectedFile oauth2
-
Adjusted the
cron.Start()
to start the ticker at the00
second of the cron interval (#4394).
Note that the cron format has only minute granularity and there is still no guarantee that the scheduled job will be always executed at the00
second. -
Fixed auto backups cron not reloading properly after app settings change (#4431).
-
Upgraded to
aws-sdk-go-v2
and added special handling for GCS to workaround the previous GCS headers signature issue that we had with v2.
This should also fix the SVG/JSON zero response when using Cloudflare R2 (#4287, #2068, #2952).
β οΈ If you are using S3 for uploaded files or backups, please verify that you have a green check in the Admin UI for your S3 configuration (I've tested the new version with GCS, MinIO, Cloudflare R2 and Wasabi). -
Added
:each
modifier support forfile
andrelation
type fields (previously it was supported only forselect
type fields). -
Other minor improvements (updated the
ghupdate
plugin to use the configured executable name when printing to the console, fixed the error reporting ofadmin update/delete
commands, etc.).
v0.21.3 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Ignore the JS required validations for disabled OIDC providers (#4322).
-
Allow
HEAD
requests to the/api/health
endpoint (#4310). -
Fixed the
editor
field value when visualized inside the View collection preview panel. -
Manually clear all TinyMCE events on editor removal (workaround for tinymce#9377).
v0.21.2 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Fixed
@request.auth.*
initialization side-effect which caused the current authenticated user email to not being returned in the user auth response (#2173).
The current authenticated user email should be accessible always no matter of theemailVisibility
state. -
Fixed
RecordUpsert.RemoveFiles
godoc example. -
Bumped to
NumCPU()+2
the concurrent thumbs generation limit as some users reported that it was too restrictive.
v0.21.1 Release
To update the prebuilt executable you can run
./pocketbase update
.
- Minor fix for the Admin UI related to the Settings > Sync menu not being visible even when the "Hide controls" toggle is off.
v0.21.0 Release
To update the prebuilt executable you can run
./pocketbase update
.
This is a small maintenance release and some of the previously planned features from the roadmap are pushed for the next one (sorry for this) to unblock the upcoming release of my other open source project.
-
Mark user as verified on confirm password reset (#4066).
If the user email has changed after issuing the reset token (eg. updated by an admin), then theverified
user state remains unchanged. -
Added support for loading a serialized json payload for
multipart/form-data
requests using the special@jsonPayload
key.
This is intended to be used primarily by the SDKs to resolve js-sdk#274. -
Added graceful OAuth2 redirect error handling (#4177).
Previously on redirect error we were returning directly a standard json error response. Now on redirect error we'll redirect to a generic OAuth2 failure screen (similar to the success one) and will attempt to auto close the OAuth2 popup.
The SDKs are also updated to handle the OAuth2 redirect error and it will be returned as Promise rejection of theauthWithOAuth2()
call. -
Exposed
$apis.gzip()
and$apis.bodyLimit(bytes)
middlewares to the JSVM. -
Added
TestMailer.SentMessages
field that holds all sent test app emails until cleanup. -
Optimized the cascade delete of records with multiple
relation
fields. -
Updated the
serve
andadmin
commands error reporting. -
Minor Admin UI improvements (reduced the min table row height, added option to duplicate fields, added new TinyMCE codesample plugin languages, hide the collection sync settings when the
Settings.Meta.HideControls
is enabled, etc.)
v0.20.7 Release
To update the prebuilt executable you can run
./pocketbase update
.
- Fixed the Admin UI auto indexes update when renaming fields with a common prefix (#4160).
v0.20.6 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Fixed JSVM types generation for functions with omitted arg types (#4145).
-
Updated Go deps.
v0.20.5 Release
To update the prebuilt executable you can run
./pocketbase update
.
- Minor CSS fix for the Admin UI to prevent the searchbar within a popup from expanding too much and pushing the controls out of the visible area (#4079).