Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

Releases

v0.40.6 Release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 11:21
Immutable release. Only release title and notes can be modified.

To update the prebuilt executable you can run ./pocketbase update.

  • Replaced the GitHub update command with update from the new host in relation to #7841.
    ⚠️ Note that this will be most likely the last release here on GitHub. The next time when you run update, new releases will be fetched from https://ganigeorgiev.com (there is nothing there yet).

  • Additional fileblob bucket escape checks for just in case if the filesystem abstraction is used as standalone without the PocketBase validations.

  • Added a global restriction for the max WxH pixels size when generating a thumb to reduce the risk of excessive memory usage.
    The issue was initially privately reported by @Reload3d but it is treated as regular public issue since it is a known Go caveat.
    The default limit is pretty generous and currently set to max 250<<20 (262144000) pixels and can be changed with the env PB_THUMBS_MAX_SOURCE_PIXELS.
    The workaround is not bulletproof and thumbs generation remains one of the main culprit for potential OOMs in PocketBase, so better solutions will have to be investigated in the future, including eventually switching to libvips or other similar library once there is better CGO portability (if you have better suggestions, please open a discussion).

  • Bumped the min Go GitHub action version to 1.27.3 as it includes a security fix related to the recent eMudhra CA compromise.
    I didn't rush a fix 2 days ago as the impact for most PocketBase servers is not that serious and requires to already have a MiTM, but nonetheless it is recommended to update. Please make sure to also check for OS/Docker image updates to ensure that you have the latest ca-certificates bundle.

  • Bumped golang.org/x/ dependencies (#7865).

  • Bumped goja and its related dependencies (string allocations optimization, Date.getYear/setYear support and other minor correctness fixes).

  • Minor UI fixes - superuser IPs description grammar fix, rotating btn loader icon alignment fix, slight dark background correction in attempt to minimize the color profile differences between Chrome and Firefox, etc.

v0.22.57 Release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 11:19
Immutable release. Only release title and notes can be modified.
  • (Backported from v0.40.6) Added a global restriction for the max WxH pixels size when generating a thumb to reduce the risk of excessive memory usage.
    The default limit is pretty generous and currently set to max 250<<20 (262144000) pixels and can be changed with the env PB_THUMBS_MAX_SOURCE_PIXELS.

  • (Backported from v0.40.6) Bumped golang.org/x/ dependencies (#7865).

  • (Backported from v0.40.6) Bumped the min Go GitHub action version to 1.27.3 as it includes a security fix related to the recent eMudhra CA compromise.
    I didn't rush a fix 2 days ago as the impact for most PocketBase servers is not that serious and requires to already have a MiTM, but nonetheless it is recommended to update. Please make sure to also check for OS/Docker image updates to make sure that you have the latest ca-certificates bundle.

v0.40.5 Release

Choose a tag to compare

@github-actions github-actions released this 08 Oct 16:45
Immutable release. Only release title and notes can be modified.

To update the prebuilt executable you can run ./pocketbase update.

  • Minor improvements for the JSVM migration error handling:

    • Included the recovered panic stack trace of routine.SafeWrap in the returned error (max 2KB).
    • Wrapped the individual up/down JSVM migration arguments in routine.SafeWrap so that in case of panic we can still print the failed js migration filename.
  • Updated modernc.org/sqlite to 1.60.1 (minor performance improvements for queries with large text fields and/or many params).

  • Bumped the min Go GitHub action version to 1.27.2 as it includes several net/http security fixes.
    One of the fixes is for a DoS that could potentially affect PocketBase applications and it is advised to update.

  • Other minor fixes (godoc typos, normalized negative jsvm pool size, extra CORS wildcard subdomain checks to prevent misuse, support Promise as autocomplete suggestions return, autoexpand textarea scrollbar-gutter fix, etc.).

v0.22.56 Release

Choose a tag to compare

@github-actions github-actions released this 08 Oct 16:44
Immutable release. Only release title and notes can be modified.
  • (Backported from v0.40.5) Bumped the min Go GitHub action version to 1.27.2 as it includes several net/http security fixes.
    One of the fixes is for a DoS that could potentially affect PocketBase applications and it is advised to update.

v0.40.4 Release

Choose a tag to compare

@github-actions github-actions released this 12 Sep 14:35
Immutable release. Only release title and notes can be modified.

To update the prebuilt executable you can run ./pocketbase update.

  • Fixed migration deadlock if a logs db write happens to run while the migration is still executing (#7836).

  • app.ResetBootstrapState() was soft-deprecated in favour of app.ClearBootstrap().
    Additionally a new app.OnBootstrapClear() hook was added to allow clearing custom allocated OnBootstrap resources in case the app uses a non-standard initialization (e.g. doesn't call Start() or intentionally skip the OnTerminate hook).

  • Bumped golang.org/x/* dependencies.

v0.40.3 Release

Choose a tag to compare

@github-actions github-actions released this 06 Sep 17:33
Immutable release. Only release title and notes can be modified.

To update the prebuilt executable you can run ./pocketbase update.

  • Write the status header for JSON responses only if the fields picker succeed or has acceptable fallback.
    This is to allow custom response status code for failed json writes.

  • Fixes for various minor bugs spammed by 2 LLM users (bots?):

    • Fixed collection index validator to allow expressions with parenthesis in the optional WHERE clause.

    • Clamped arccosine to [-1,1] in the Harvesine formula for the geoDistance() filter function to workaround edge case related to float rounding errors for some coordinates.

    • Prevent unnecessary body chunk read if we already known that we are beyond the allowed limit.

    • Updated the json field validator to check the encoding/json/v2 semantics and allow duplicated keys on record marshalize for compliance with old jsonv1 data.

    • Fixed nested cascade delete of self-referenced relation records.

  • Minor UI fixes (updated dark primary btn color contrast, force reload the records list if the deleted record has self-referenced cascade relation field, etc.).

  • Changed JSVM $app variable definition from TS type to interface (#7834).

  • Bumped golang.org/x/* dependencies to silence security scanners (#7829).

v0.22.55 Release

Choose a tag to compare

@github-actions github-actions released this 06 Sep 17:32
Immutable release. Only release title and notes can be modified.
  • (Backported from v0.40.3) Fixed collection index validator to allow expressions with parenthesis in the optional WHERE clause.

  • (Backported from v0.40.3) Fixed nested cascade delete of self-referenced relation records.

  • (Backported from v0.40.3) Bumped golang.org/x/* dependencies to silence security scanners (#7829).

v0.40.2 Release

Choose a tag to compare

@github-actions github-actions released this 02 Sep 13:18
Immutable release. Only release title and notes can be modified.

To update the prebuilt executable you can run ./pocketbase update.

  • Return an error when filter params fallback fails to json serialize and optimized params replacement to execute in a single pass.

  • Fixed collection index parsing error for indexes with missing name.

  • Minor UI autocomplete optimizations (prefix match, autocomplete debounce, etc.).

  • Fixed linter warnings and comment typos.

  • Bumped goja and its related dependencies (regex unescaped dash error fix and base64 optimizations).

  • Bumped the min Go GitHub action version to 1.27.1 as it includes some minor database/sql and enconding/json/v2 bug fixes.

v0.22.54 Release

Choose a tag to compare

@github-actions github-actions released this 02 Sep 13:17
Immutable release. Only release title and notes can be modified.
  • (Backported from v0.40.2) Bumped goja and its related dependencies (regex unescaped dash error fix and base64 optimizations).

  • (Backported from v0.40.2) Return an error when filter params fallback fails to json serialize and optimized params replacement to execute in a single pass.

  • (Backported from v0.40.2) Bumped the min Go GitHub action version to 1.27.1 as it includes some minor database/sql and enconding/json/v2 bug fixes.

v0.40.1 Release

Choose a tag to compare

@github-actions github-actions released this 24 Aug 15:23
Immutable release. Only release title and notes can be modified.

To update the prebuilt executable you can run ./pocketbase update.

  • Fixes for some reported regressions related to the encoding/json/v2 update:
    • allow mangling invalid UTF8 characters when serializing json data (#7814)
    • fixed OAuth2 providers config merge incorrectly replacing the entire slice (#7815)