0.40.3
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).