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 23 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
567 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Bumped GitHub action min Go version to 1.23.5 as it comes with some minor security fixes.
(Backported from v0.24.4) 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.
(_Backported from v0.23.11_) Upgraded golang.org/x/net to 0.33.0 to fix CVE-2024-45338. _PocketBase uses the vulnerable functions primarily for the au…
golang.org/x/net to 0.33.0 to fix CVE-2024-45338.
PocketBase uses the vulnerable functions primarily for the auto html->text mail generation, but most applications shouldn't be affected unless you are manually embedding unrestricted user provided value in your mail templates.Your coding agent can read these notes before it upgrades. Set up the MCP server →
(_Backported from v0.23.10_) Renew the superuser file token cache when clicking on the thumb preview or download link (#6137).
(Backported from v0.23.10) Renew the superuser file token cache when clicking on the thumb preview or download link (#6137).
(Backported from v0.23.10) Upgraded modernc.org/sqlite to 1.34.3 to fix "disk io" error on arm64 systems.
If you are extending PocketBase with Go and upgrading with go get -u make sure to manually set in your go.mod the modernc.org/libc indirect dependency to v1.55.3, aka. the exact same version the driver is using.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
delete event (#5898).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.
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.
Refresh the old collections state in the Import UI after successful import submission (#5861).
Added randomized throttle on failed filter list requests as a very rudimentary measure since some security researches raised concern regarding the possibity of eventual side-channel attacks. This is not really a solution for such attacks but it makes it difficult enough to make it less practical. With v0.23.0 there are several other measures taken but they cannot be backported easily. I'll submit a post a little bit later today clarifying more on it (edit: #5683).
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.
Nothing published for this version
Other minor fixes (updated npm dev deps to fix the vulnerabilities warning, added more user friendly realtime topic length error, regenerated JSVM typ…
To update the prebuilt executable you can run
./pocketbase update.
Updated the hooks watcher to account for the case when hooksDir is a symlink (#5789).
(Backported from v0.23.0-rc) Registered a default http.Server.ErrorLog handler to report general server connection errors as app Debug level logs (e.g. invalid TLS handshakes caused by bots trying to access your server via its IP or other similar errors).
Other minor fixes (updated npm dev deps to fix the vulnerabilities warning, added more user friendly realtime topic length error, regenerated JSVM types, etc.)
Nothing published for this version
Added update command warning to prevent unnecessary downloading PocketBase v0.23.0 since it will contain breaking changes.
To update the prebuilt executable you can run
./pocketbase update.
Added deprecation log in case Instagram OAuth2 is used (related to #5652).
Added update command warning to prevent unnecessary downloading PocketBase v0.23.0 since it will contain breaking changes.
Added global JSVM toString() helper (successor of readerToString()) to stringify any value (bool, number, multi-byte array, io.Reader, etc.).
readerToString is still available but it is marked as deprecated. You can also use toString as replacement for of String.fromCharCode to properly stringify multi-byte unicode characters like emojis.
decodeURIComponent(escape(String.fromCharCode(...bytes))) -> toString(bytes)
Updated aws-sdk-go-v2 and removed deprecated WithEndpointResolverWithOptions.
Backported some of the v0.23.0-rc form validators, fixes and tests.
Bumped the GitHub action min Go version and 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.
database disk image is malformed errors in case there is a log write running in the background (#5541).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.
Fixed the Admin UI isEmpty check to allow submitting zero uuid, datetime and date strings (#5398).
Updated goja and the other Go deps.
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.
user token response field to attempt fetching the name of the authenticated user (#5074-10317207).
Note that Apple only returns the user object the first time the user authorizes the app (at least based on their docs).> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Improved files delete performance when using the local filesystem by adding a trailing slash to the DeletePrefix call to ensure that the list iterator will start "walking" from the prefix directory and not from its parent (#5246).
Updated Go deps.
_The Admin UI shouldn't be affected by the older TinyMCE because we don't use directly the vulnerable options/plugins and we have a default CSP, but i…
To update the prebuilt executable you can run
./pocketbase update.
Updated the editor field to use the latest TinyMCE 6.8.4 and enabled convert_unsafe_embeds:true by default per the security advisories.
The Admin UI shouldn't be affected by the older TinyMCE because we don't use directly the vulnerable options/plugins and we have a default CSP, but it is recommended to update even just for silencing the CI/CD warnings.
Disabled mouse selection when changing the sidebar width. This should also fix the reported Firefox issue when the sidebar width "resets" on mouse release out of the page window.
Other minor improvements (updated the logs delete check and tests, normalized internal errors formatting, etc.)
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Nothing published for this version
Bumped the min Go version in the GitHub release action to Go 1.22.5 since it comes with `net/http` security fixes.
To update the prebuilt executable you can run
./pocketbase update.
Added mutex to tests.TestMailer() to minimize tests data race warnings (#5157).
Updated goja and the other Go dependencies.
Bumped the min Go version in the GitHub release action to Go 1.22.5 since it comes with net/http security fixes.
[!NOTE] If you are extending PocketBase with Go and updating with the
go get -ucommand, you may getmodernc.org/libcbuild error. This is becausemodernc.org/libcseems to have introduced breaking change(s) as minor release. To fix it adjust manually in yourgo.modfile themodernc.org/libcdependency to match with the same version as in themodernc.org/sqliterepo (aka. v1.52.1) and then rungo mod tidyto refresh thego.sumfile.
Nothing published for this version
Nothing published for this version
⚠️ Fixed a security vulnerability related to the OAuth2 email autolinking (thanks to @dalurness for reporting it).
To update the prebuilt executable you can run
./pocketbase update.
Added OAuth2 POST redirect support (in case of response_mode=form_post) to allow specifying scopes for the Apple OAuth2 integration.
Note 1: If you are using the "Manual code exchange" flow with Apple (aka. authWithOAuth2Code()), you need to either update your custom redirect handler to accept POST requests OR if you want to keep the old behavior and don't need the Apple user's email - replace in the Apple authorization url response_mode=form_post back to response_mode=query.
Note 2: Existing users that have already logged in with Apple may need to revoke their access in order to see the email sharing options as shown in this screenshot. If you want to force the new consent screen you could register a new Apple OAuth2 app.
⚠️ Fixed a security vulnerability related to the OAuth2 email autolinking (thanks to @dalurness for reporting it).
Just to be safe I've also published a GitHub security advisory (may take some time to show up in the related security databases).
In order to be exploited you must have both OAuth2 and Password auth methods enabled.
A possible attack scenario could be:
To prevent this for happening we now reset the password for this specific case if the previously created user wasn't verified (an exception to this is if the linking is explicit/manual, aka. when you send Authorization:TOKEN with the OAuth2 auth call).
Additionally to warn users we now send an email alert in case the user has logged in with password but has at least one OAuth2 account linked. It looks something like:
Hello, Just to let you know that someone has logged in to your Acme account using a password while you already have OAuth2 GitLab auth linked. If you have recently signed in with a password, you may disregard this email. If you don't recognize the above action, you should immediately change your Acme account password. Thanks, Acme team
The flow will be further improved with the ongoing refactoring and we will start sending emails for "unrecognized device" logins (OTP and MFA is already implemented and will be available with the next v0.23.0 release in the near future).
Nothing published for this version
⚠️ This is a prerelease intended primarily for test purposes.
⚠️ This is a prerelease intended primarily for test purposes.
response_mode=form_post) to allow specifying scopes for the Apple OAuth2 integration.Need help with testing that the above change actually works with the Apple OAuth2 provider. Please see https://github.com/pocketbase/pocketbase/discussions/5074.
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.
Fixed rules inconsistency for text literals when inside parenthesis (#5017).
Updated Go deps.
Nothing published for this version
Updated Go deps and bumped the min Go version in the GitHub release action to Go 1.22.3 since it comes with some minor security fixes.
To update the prebuilt executable you can run
./pocketbase update.
Fixed calendar picker grid layout misalignment on Firefox (#4865).
Updated Go deps and bumped the min Go version in the GitHub release action to Go 1.22.3 since it comes with some minor security 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.
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.
Updated the uploaded filename normalization to take double extensions in consideration (#4824)
Added Collection models cache to help speed up the common List and View requests execution with ~25%. This was extracted from the ongoing work on #4355 and there are many other small optimizations already implemented but they will have to wait for the refactoring to be finalized.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Nothing published for this version
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.
Fixed '~' auto wildcard wrapping when the param has escaped % character (#4704).
Other minor UI improvements (added aria-expanded=true/false to the dropdown triggers, added contrasting border around the default mail template btn style, etc.).
Updated Go deps and bumped the min Go version in the GitHub release action to Go 1.22.2 since it comes with some net/http security and bug fixes.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
Replaced the default s3blob driver with a trimmed vendored version to reduce the binary size with ~10MB.
It can be further reduced with another ~10MB once we replace entirely the aws-sdk-go-v2 dependency but I stumbled on some edge cases related to the headers signing and for now is on hold.
Other minor improvements (updated GitLab OAuth2 provider logo #4650, normalized error messages, updated npm dependencies, etc.).
Nothing published for this version
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.
role, aria-label, aria-hidden attributes to some of the elements in attempt to better assist screen readers.Nothing published for this version
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.
Minor test helpers fixes (#4600):
OnTerminate hook on TestApp.Cleanup().tests.NewTestApp().Added more elaborate warning message when restoring a backup explaining how the operation works.
Skip irregular files (symbolic links, sockets, etc.) when restoring a backup zip from the Admin UI or calling archive.Extract(src, dst) because they come with too many edge cases and ambiguities.
This was initially reported as security issue (thanks Harvey Spec) but in the PocketBase context it is not something that can be exploited without an admin intervention and since the general expectations are that the PocketBase admins can do anything and they are the one who manage their server, this should be treated with the same diligence when using scp/rsync/rclone/etc. with untrusted file sources.
It is not possible (or at least I'm not aware how to do that easily) to perform virus/malicious content scanning on the uploaded backup archive files and some caution is always required when using the Admin UI or running shell commands, hence the backup-restore warning text.
Or in other words, if someone sends you a file and tells you to upload it to your server (either as backup zip or manually via scp) obviously you shouldn't do that unless you really trust them.
PocketBase is like any other regular application that you run on your server and there is no builtin "sandbox" for what the PocketBase process can execute. This is left to the developers to restrict on application or OS level depending on their needs. If you are self-hosting PocketBase you usually don't have to do that, but if you are offering PocketBase as a service and allow strangers to run their own PocketBase instances on your server then you'll need to implement the isolation mechanisms on your own.
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.
Removed conflicting styles causing the detailed codeblock log data preview to not visualize properly (#4505).
Minor JSVM improvements:
$filesystem.fileFromUrl(url, optSecTimeout) helper.FormData interface and added support for sending multipart/form-data requests with $http.send() (#4544).Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated Go deps and bumped the min Go version in the GitHub release action to Go 1.22.1 since it comes with some security fixes.
To update the prebuilt executable you can run
./pocketbase update.
Fixed the z-index of the current admin dropdown on Safari (#4492).
Fixed OnAfterApiError debug log nil error reference (#4498).
Added the field name as part of the @request.data.someRelField.* join to handle the case when a collection has 2 or more relation fields pointing to the same place (#4500).
Updated Go deps and bumped the min Go version in the GitHub release action to Go 1.22.1 since it comes with some security fixes.
> _To update the prebuilt executable you can run ./pocketbase update._
To update the prebuilt executable you can run
./pocketbase update.
nullifyMisingField resolver option to the query.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.
Nothing published for this version
Nothing published for this version
One column per quarter.