Repository navigation
Releases
v0.40.6 Release
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 fromhttps://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
WxHpixels 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 max250<<20 (262144000)pixels and can be changed with the envPB_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 latestca-certificatesbundle. -
Bumped
golang.org/x/dependencies (#7865). -
Bumped goja and its related dependencies (string allocations optimization,
Date.getYear/setYearsupport 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
-
(Backported from v0.40.6) Added a global restriction for the max
WxHpixels size when generating a thumb to reduce the risk of excessive memory usage.
The default limit is pretty generous and currently set to max250<<20 (262144000)pixels and can be changed with the envPB_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 latestca-certificatesbundle.
v0.40.5 Release
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.SafeWrapin the returned error (max 2KB). - Wrapped the individual
up/downJSVM migration arguments inroutine.SafeWrapso that in case of panic we can still print the failed js migration filename.
- Included the recovered panic stack trace of
-
Updated
modernc.org/sqliteto 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/httpsecurity 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
Promiseas autocomplete suggestions return, autoexpand textarea scrollbar-gutter fix, etc.).
v0.22.56 Release
- (Backported from v0.40.5) Bumped the min Go GitHub action version to 1.27.2 as it includes several
net/httpsecurity 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
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 ofapp.ClearBootstrap().
Additionally a newapp.OnBootstrapClear()hook was added to allow clearing custom allocatedOnBootstrapresources in case the app uses a non-standard initialization (e.g. doesn't callStart()or intentionally skip theOnTerminatehook). -
Bumped
golang.org/x/*dependencies.
v0.40.3 Release
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
WHEREclause. -
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
jsonfield validator to check theencoding/json/v2semantics 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
$appvariable definition from TS type to interface (#7834). -
Bumped
golang.org/x/*dependencies to silence security scanners (#7829).
v0.22.55 Release
-
(Backported from v0.40.3) Fixed collection index validator to allow expressions with parenthesis in the optional
WHEREclause. -
(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
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/sqlandenconding/json/v2bug fixes.
v0.22.54 Release
-
(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/sqlandenconding/json/v2bug fixes.