NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #19 by repository stars
Latest stable
v0.40.6
Last release 26 days ago
26 Oct 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
568 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Added nullString(), nullInt(), nullFloat(), nullBool, nullArray(), nullObject() JSVM helpers for scanning nullable columns (#7396).
Store the correct image/png as attrs content type when generating a thumb fallback (e.g. for webp).
Trimmed custom uploaded file name and extension from leftover . characters after filesystem.File normalization.
This was done to prevent issues with external files sync programs that may have special handling for "invisible" files.
Updated modernc.org/sqlite (v1.41.0 includes prepared statements optimization) and other minor Go deps.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Bumped min Go GitHub action version to 1.25.5 because it comes with some minor security fixes. _The runner action was also updated to actions/setup-go…
To update the prebuilt executable you can run
./pocketbase update.
Added missing : char to the autocomplete regex (#7353; thanks @ouvreboite).
Added "Copy raw JSON" collection dropdown option (#7357).
Updated Go deps and JS SDK.
Bumped min Go GitHub action version to 1.25.5 because it comes with some minor security fixes.
The runner action was also updated to actions/setup-go@v6 since the previous v5 Go source seems no longer accessible.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Added @request.body.someField:changed modifier.
It could be used when you want to ensure that a body field either wasn't submitted or was submitted with the same value.
Or in other words, if you want to disallow a field change the below 2 expressions would be equivalent:
// (old)
(@request.body.someField:isset = false || @request.body.someField = someField)
// (new)
@request.body.someField:changed = false
Added MailerRecordEvent.Meta["info"] property for the OnMailerRecordAuthAlertSend hook.
Updated the backup restore popup with a short info about the performed restore steps.
Updated Go deps.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Added extra id characters validation in addition to the user specified regex pattern (#7312).
The following special characters are always forbidden: ./\|"'``<>:?*%$\n\r\t\0 . Common reserved Windows file names such as aux, prn, con, nul, com1-9, lpt1-9 are also not allowed.
The list is not exhaustive but it should help minimizing eventual filesystem compatibility issues in case of wildcards or other loose regex patterns.
Added {ALERT_INFO} placeholder to the auth alert mail template (#7314).
⚠️ mails.SendRecordAuthAlert(app, authRecord, info) also now accepts a 3rd info string argument.
Updated Go deps.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
⚠️ Added extra List/Search API rules checks for the client-side filter/sort relations.
This is continuation of the effort to eliminate the risk of information disclosure (and eventually the side-channel attacks that may originate from that).
So far this was accepted tradeoff between performance, usability and correctness since the solutions at the time weren't really practical (especially with the back-relations as mentioned in "Security and performance" section in #4417), but with v0.23+ changes we can implement the extra checks without littering the code too much, with very little impact on the performance and at the same time ensuring better out of the box security (especially for the cases where users operate with sensitive fields like "code", "token", "secret", etc.).
Similar to the previous release, probably for most users with already configured API rules this change won't be breaking, but if you have an intermediate/junction collection that is "locked" (superusers-only) we no longer will allow the client-side relation filter to pass through it and you'll have to set its List/Search API rule to enable the current user to search in it.
For example, if you have a client-side filter that targets rel1.rel2.token, the client must have not only List/Search API rule access to the main collection BUT also to the collections referenced by "rel1" and "rel2" relation fields.
Note that this change is only for the client-side filter/sort and doesn't affect the execution of superuser requests, API rules and expand - they continue to work the same as it is.
An optional environment variable to toggle this behavior was considered but for now I think having 2 ways of resolving client-side filters would introduce maintenance burden and can even cause confusion (this change should actually make things more intuitive and clear because we can simply say something like "you can search by a collection X field only if you have List/Search API rule access to it" no matter whether the targeted collection is the request's main collection, the first or last relation from the filter chain, etc.).
If you stumble on an error or extreme query performance degradation as a result of the extra checks, please open a Q&A discussion with the failing request and export of your collections configuration as JSON (Settings > Export collections) and I'll try to investigate it.
Increased the default SQLite PRAGMA cache_size to ~32MB.
Fixed deadlock when manually triggering the OnTerminate hook (#7305; thanks @yerTools).
Fixed some code comment typos, regenerated the JSVM types and updated npm dependencies.
Updated modernc.org/sqlite to 1.40.0.
…side-channel attack. _This should be a non-breaking change for most users, but if you want the old behavior please open a Q&A discussion with details…
To update the prebuilt executable you can run
./pocketbase update.
Display presentable multiple relation fields (#7260).
Support Ed25519 in the optional OIDC id_token signature validation (#7252; thanks @shynome).
Added ApiScenario.DisableTestAppCleanup optional field to skip the auto test app cleanup and leave it up to the developers to do the cleanup manually (#7267).
Added FileDownloadRequestEvent.ThumbError field that is populated in case of a thumb generation failure (e.g. unsupported format, timing out, etc.), allowing developers to reject the thumb fallback and/or supply their own custom thumb generation (#7268).
⚠️ Disallow client-side filtering and sorting of relations where the collection of the last targeted relation field has superusers-only List/Search API rule to further minimize the risk of eventual side-channel attack. This should be a non-breaking change for most users, but if you want the old behavior please open a Q&A discussion with details about your use case to evaluate making it configurable. Note also that as mentioned in the "Security and performance" section of #4417 and #5863, the easiest and recommended solution to protect security sensitive fields (tokens, codes, passwords, etc.) is to mark them as "Hidden" (aka. make them non-API filterable). A better out of the box handling will be available with the planned fields internals refactoring together with the already started UI rewrite and plugins support.
Regenerated JSVM types and updated npm and Go deps.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
json field CSS regression introduced with the overflow workaround in v0.30.3 (#7259).Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
Nothing published for this version
Bumped min Go GitHub action version to 1.24.8 since it comes with some minor security fixes.
To update the prebuilt executable you can run
./pocketbase update.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
⚠️ Excluded the lost+found directory from the backups (#7208; thanks @lbndev).
If for some reason you want to keep it, you can restore it by editing the e.Exclude list of the OnBackupCreate and OnBackupRestore hooks.
Minor tests improvements (disabled initial superuser creation for the test app to avoid cluttering the std output, added more tests for the s3.Uploader.MaxConcurrency, etc.).
Updated modernc.org/sqlite and other Go dependencies.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Eagerly escape the S3 request path following the same rules as in the S3 signing header (#7153).
Added Lark OAuth2 provider (#7130; thanks @mashizora).
Increased test tokens exp claim to minimize eventual issues with reproducible builds (#7123).
Added os.Root bindings to the JSVM ($os.openRoot, $os.openInRoot).
Added osutils.IsProbablyGoRun() helper to loosely check if the program was started using go run.
Various minor UI improvements (updated collections indexes UI, enabled seconds in the datepicker, updated helper texts, etc.).
⚠️ Updated the minimum package Go version to 1.24.0 and bumped Go dependencies.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Try to forward Apple OAuth2 POST redirect user's name so that it can be returned (and eventually assigned) with the success response of the all-in-one auth call (#7090).
Fixed RateLimitRule.Audience code comment (#7098; thanks @iustin05).
Mocked syscall.Exec when building for WASM (#7116; thanks @joas8211).
Note that WASM is not officially supported PocketBase build target and many things may not work as expected.
Registered missing $filesystem, $mails, $template and __hooks bindings in the JSVM migrations (#7125).
Regenerated JSVM types to include methods from structs with single generic parameter.
Updated Go dependencies.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
database/sql package.Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Enabled calling the /auth-refresh endpoint with nonrenewable tokens.
When used with nonrenewable tokens (e.g. impersonate) the endpoint will simply return the same token with the up-to-date user data associated with it.
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 default tcp (#3233).
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.).
Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
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.
Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
json_each/json_array_length normalizations to properly check for array values (#6835).⚠️ Soft-deprecated and replaced filesystem.System.GetFile(fileKey) with filesystem.System.GetReader(fileKey) to avoid the confusion with filesystem.Fi…
To update the prebuilt executable you can run
./pocketbase update.
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).
For the rare cases when it is needed users still have the option to explicitly target the specific pool they want using app.ConcurrentDB()/app.NonconcurrentDB().
⚠️ Changed the default json field max size to 1MB.
Users still have the option to adjust the default limit from the collection field options but keep in mind that storing large strings/blobs in the database is known to cause performance issues and should be avoided when possible.
⚠️ Soft-deprecated and replaced filesystem.System.GetFile(fileKey) with filesystem.System.GetReader(fileKey) to avoid the confusion with filesystem.File.
The old method will still continue to work for at least until v0.29.0 but you'll get a console warning to replace it with GetReader.
Added new filesystem.System.GetReuploadableFile(fileKey, preserveName) method to return an existing blob as a *filesystem.File value (#6792).
This method could be useful in case you want to clone an existing Record file and assign it to a new Record (e.g. in a Record duplicate action).
Other minor improvements (updated the GitHub release min Go version to 1.23.9, updated npm and Go deps, etc.)
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
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).
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Updated example geoPoint API preview body data.
Added JSVM new GeoPointField({ ... }) constructor.
Added partial WebP thumbs support (the thumbs will be stored as PNG; #6744).
Updated npm dev dependencies.
…request actions. It could be a minor breaking change if you are relying on the old behavior and have a Go tests.ApiScenario that is testing a Create A…
To update the prebuilt executable you can run
./pocketbase update.
⚠️ 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.
This was done to minimize the confusion regarding the firing order of the request operations, making it more predictable and consistent with the other record List/View/Update/Delete request actions.
It could be a minor breaking change if you are relying on the old behavior and have a Go tests.ApiScenario that is testing a Create API rule failure and expect OnRecordCreateRequest to be fired. In that case for example you may have to update your test scenario like:
tests.ApiScenario{
Name: "Example test that checks a Create API rule failure"
Method: http.MethodPost,
URL: "/api/collections/example/records",
...
// old:
ExpectedEvents: map[string]int{
"*": 0,
"OnRecordCreateRequest": 1,
},
// new:
ExpectedEvents: map[string]int{"*": 0},
}
If you are having difficulties adjusting your code, feel free to open a Q&A discussion with the failing/problematic code sample.
Added new geoPoint field for storing {"lon":x,"lat":y} geographic coordinates.
In addition, a new geoDistance(lonA, lotA, lonB, lotB) function was also implemented that could be used to apply an API rule or filter constraint based on the distance (in km) between 2 geo points.
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):
// the same as with CET offset: new DateTime("2025-10-26 03:00:00 +01:00")
new DateTime("2025-10-26 03:00:00", "Europe/Amsterdam") // 2025-10-26 02:00:00.000Z
// the same as with CEST offset: new DateTime("2025-10-26 01:00:00 +02:00")
new DateTime("2025-10-26 01:00:00", "Europe/Amsterdam") // 2025-10-25 23:00:00.000Z
Soft-deprecated the $http.send's result.raw field in favor of result.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.).
Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Allow OIDC email_verified to be int or boolean string since some OIDC providers like AWS Cognito has non-standard userinfo response (#6657).
Updated modernc.org/sqlite to 1.36.3.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Fixed RecordErrorEvent.Error and CollectionErrorEvent.Error sync with ModelErrorEvent.Error (#6639).
Fixed logs details copy to clipboard action.
Updated modernc.org/sqlite to 1.36.2.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Updated golang-jwt/jwt dependency because it comes with a minor security fix.
To update the prebuilt executable you can run
./pocketbase update.
golang-jwt/jwt dependency because it comes with a minor security fix.Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
io.EOF error when reading files since currently io.ReadAll doesn't check for wrapped errors (#6600).> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
⚠️ Replaced aws-sdk-go-v2 and gocloud.dev/blob with custom lighter implementation (#6562).
As a side-effect of the dependency removal, the binary size has been reduced with ~10MB and builds ~30% faster.
Although the change is expected to be backward-compatible, I'd recommend to test first locally the new version with your S3 provider (if you use S3 for files storage and backups).
⚠️ Prioritized the user submitted non-empty createData.email (it will be unverified) when creating the PocketBase user during the first OAuth2 auth.
Load the request info context during password/OAuth2/OTP authentication (#6402).
This could be useful in case you want to target the auth method as part of the MFA and Auth API rules.
For example, to disable MFA for the OAuth2 auth could be expressed as @request.context != "oauth2" MFA rule.
Added store.Store.SetFunc(key, func(old T) new T) to set/update a store value with the return result of the callback in a concurrent safe manner.
Added subscription.Message.WriteSSE(w, id) for writing an SSE formatted message into the provided writer interface (used mostly to assist with the unit testing).
Added $os.stat(file) JSVM helper (#6407).
Added log warning for async marked JSVM handlers and resolve when possible the returned Promise as fallback (#6476).
Allowed calling cronAdd, cronRemove from inside other JSVM handlers (#6481).
Bumped the default request read and write timeouts to 5mins (old 3mins) to accommodate slower internet connections and larger file uploads/downloads.
If you want to change them you can modify the OnServe hook's ServeEvent.ReadTimeout/WriteTimeout fields as shown in #6550.
Normalized the @request.auth.* and @request.body.* back relations resolver to always return null when the relation field is pointing to a different collection (#6590).
Other minor improvements (fixed query dev log nested parameters output, reintroduced DynamicModel object/array props reflect types caching, updated Go and npm deps, etc.)
> This is a prerelease intended for test and experimental purposes only in relation to the [removal of the `aws-sdk-go-v2` dependency](https://github.
[!CAUTION] This is a prerelease intended for test and experimental purposes only in relation to the removal of the
aws-sdk-go-v2dependency!
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
DynamicModel object/array props reflect type caching (#6563).> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
id_token timestamp claims check to account for clock-skew (#6529).
It can be further customized if needed with the PB_ID_TOKEN_LEEWAY env variable (the value must be in seconds, e.g. PB_ID_TOKEN_LEEWAY=60 for 1 minute).> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
@request.body.jsonObjOrArr.* values extraction (#6493).> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Restore the missing meta.isNew field of the OAuth2 success response (#6490).
Updated npm dependencies.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Set the current working directory as a default goja script path when executing inline JS strings to allow require(m) traversing parent node_modules directories.
Updated modernc.org/sqlite and modernc.org/libc dependencies.
Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Downgraded aws-sdk-go-v2 to 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.
While we try to enforce when_required by default, it is not enough to disable the new AWS SDK integrity checks entirely and some providers will require additional manual adjustments to make them compatible with the latest AWS SDK (e.g. removing the x-aws-checksum-* headers, unsetting the checksums calculation or reinstantiating the old MD5 checksums for some of the required operations, etc.) which as a result leads to a configuration mess that I'm not sure it would be a good idea to introduce.
This unfortunately is not a PocketBase or Go specific issue and the official AWS SDKs for other languages are in the same situation (even the latest aws-cli).
For those of you that extend PocketBase with Go: if your S3 vendor doesn't support the AWS Data integrity checks and you are updating with go get -u, then make sure that the aws-sdk-go-v2 dependencies in your go.mod are the same as in the repo:
// go.mod
github.com/aws/aws-sdk-go-v2 v1.36.1
github.com/aws/aws-sdk-go-v2/config v1.28.10
github.com/aws/aws-sdk-go-v2/credentials v1.17.51
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.48
github.com/aws/aws-sdk-go-v2/service/s3 v1.72.2
// after that run
go clean -modcache && go mod tidy
The versions pinning is temporary until the non-AWS S3 vendors patch their implementation or until I manage to find time to remove/replace the aws-sdk-go-v2 dependency (I'll consider prioritizing it for the v0.26 or v0.27 release).
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
aws-sdk-go-v2 checksum headers (#6440).> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
RecordProxy-ies and added basic realtime record resolve automated tests (#6433).Bumped GitHub action min Go version to 1.23.6 as it comes with a minor security fix for the ppc64le build.
To update the prebuilt executable you can run
./pocketbase update.
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.
Nothing published for this version
_For users that don't do anything custom with the Google OAuth2 data or the OAuth2 auth URL, this should be a non-breaking change. The exceptions that…
To update the prebuilt executable you can run
./pocketbase update.
⚠️ Upgraded Google OAuth2 auth, token and userinfo endpoints to their latest versions. For users that don't do anything custom with the Google OAuth2 data or the OAuth2 auth URL, this should be a non-breaking change. The exceptions that I could find are:
/v3/userinfo auth response changes:meta.rawUser.id => meta.rawUser.sub
meta.rawUser.verified_email => meta.rawUser.email_verified
/v2/auth query parameters changes:
If you are specifying custom approval_prompt=force query parameter for the OAuth2 auth URL, you'll have to replace it with prompt=consent.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_required for 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).
You can set the environment variables AWS_REQUEST_CHECKSUM_CALCULATION and AWS_RESPONSE_CHECKSUM_VALIDATION to when_supported if your S3 vendor supports the new default integrity protections.
Soft-deprecated Record.GetUploadedFiles in favor of Record.GetUnsavedFiles to minimize the ambiguities what the method do (#6269).
Replaced archived github.com/AlecAivazis/survey dependency with a simpler osutils.YesNoPrompt(message, fallback) helper.
Upgraded to golang-jwt/jwt/v5.
Added JSVM new Timezone(name) binding for constructing time.Location value (#6219).
Added inflector.Camelize(str) and inflector.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 bool exists db scans with int for broader drivers compatibility, updated API Preview sample error responses, updated UI dependencies, etc.)
Nothing published for this version
Bumped GitHub action min Go version to 1.23.5 as it comes with some minor security fixes.
To update the prebuilt executable you can run
./pocketbase update.
Fixed fields extraction for view queries with nested comments (#6309).
Bumped GitHub action min Go version to 1.23.5 as it comes with some minor security fixes.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Fixed incorrectly reported unique validator error for fields starting with name of another field (#6281; thanks @svobol13).
Reload the created/edited records data in the RecordsPicker UI.
Updated Go dependencies.
Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
relation fields in a single related collection (#6229).Nothing published for this version
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Added missing time macros in the UI autocomplete.
Fixed JSVM types for structs and functions with multiple generic parameters.
For most users it should be non-breaking change, BUT if you have Create API rules that uses self-references or view counters you may have to adjust th…
To update the prebuilt executable you can run
./pocketbase update.
⚠️ Removed the "dry submit" when executing the collections Create API rule
(you can find more details why this change was introduced and how it could affect your app in https://github.com/pocketbase/pocketbase/discussions/6073).
For most users it should be non-breaking change, BUT if you have Create API rules that uses self-references or view counters you may have to adjust them manually.
With this change the "multi-match" operators are also normalized in case the targeted collection doesn't have any records
(or in other words, @collection.example.someField != "test" will result to true if example collection has no records because it satisfies the condition that all available "example" records mustn't have someField equal to "test").
As a side-effect of all of the above minor changes, the record create API performance has been also improved ~4x times in high concurrent scenarios (500 concurrent clients inserting total of 50k records - old (58.409064001s) vs new (13.580098262s)).
⚠️ Changed the type definition of store.Store[T any] to store.Store[K comparable, T any] to allow support for custom store key types.
For most users it should be non-breaking change, BUT if you are calling store.New[any](nil) instances you'll have to specify the store key type, aka. store.New[string, any](nil).
Added @yesterday and @tomorrow datetime filter macros.
Added :lower filter modifier (e.g. title:lower = "lorem").
Added mailer.Message.InlineAttachments field for attaching inline files to an email (aka. cid links).
Added cache for the JSVM arrayOf(m), DynamicModel, etc. dynamic reflect created types.
Added auth collection select for the settings "Send test email" popup (#6166).
Added record.SetRandomPassword() to simplify random password generation usually used in the OAuth2 or OTP record creation flows.
The generated ~30 chars random password is assigned directly as bcrypt hash and ignores the password field plain value validators like min/max length or regex pattern.
Added option to list and trigger the registered app level cron jobs via the Web API and UI.
Added extra validators for the collection field int64 options (e.g. FileField.MaxSize) restricting them to the max safe JSON number (2^53-1).
Added option to unset/overwrite the default PocketBase superuser installer using ServeEvent.InstallerFunc.
Added app.FindCachedCollectionReferences(collection, excludeIds) to speedup records cascade delete almost twice for projects with many collections.
Added tests.NewTestAppWithConfig(config) helper if you need more control over the test configurations like IsDev, the number of allowed connections, etc.
Invalidate all record tokens when the auth record email is changed programmatically or by a superuser (#5964).
Eagerly interrupt waiting for the email alert send in case it takes longer than 15s.
Normalized the hidden fields filter checks and allow targetting hidden fields in the List API rule.
Fixed "Unique identify fields" input not refreshing on unique indexes change (#6184).
One column per quarter.