v0.36.0 Release
To update the prebuilt executable you can run
./pocketbase update.
-
List query and API rules optimizations:
- Removed unnecessary correlated subquery expression when using back-relations via single
relationfield. - Replaced
DISTINCTwithGROUP BY idwhen rows deduplication is needed and when deemed safe. This should help with having a more stable and predictable performance even if the collection records are on the larger side.
For some queries and data sets the above 2 optimizations have shown significant improvements but if you notice a performance degradation after upgrading, please open a Q&A discussion with export of your collections structure and the problematic request so that it can be analyzed.
- Removed unnecessary correlated subquery expression when using back-relations via single
-
Added
strftime(format, timevalue, modifiers...)date formatting filter and API rules function. It works similarly to the SQLitestrftimebuiltin function with the main difference that NULL results will be normalized for consistency with the non-nullable PocketBasetextanddatefields. Multi-match expressions are also supported and works the same as if the collection field is referenced, for example:// requires ANY/AT-LEAST-ONE-OF multiRel records to have "created" date matching the formatted string "2026-01" strftime('%Y-%m', multiRel.created) ?= '2026-01' // requires ALL multiRel records to have "created" date matching the formatted string "2026-01" strftime('%Y-%m', multiRel.created) = '2026-01' -
⚠️ Minor changes to the
search.ResolverResultstruct (mostly used internally):- Replaced
NoCoalescefield with the more explicitNullFallback(NullFallbackDisabledis the same asNoCoalesce:true). - Replaced the expression interface of the
MultiMatchSubQueryfield with the concrete struct typesearch.MultiMatchSubqueryto avoid excessive type assertions and allow direct mutations of the field.
- Replaced
-
Updated
modernc.org/sqliteto v1.44.1 (SQLite 3.51.1). -
Bumped min Go GitHub action version to 1.25.6 because it comes with some minor security fixes.