[#7836] fixed migration logs write deadlock and added app.ClearBootstrap/OnClearBootstrap helpers

This commit is contained in:
Gani Georgiev
2026-09-07 19:31:34 +03:00
parent 5684ee24f1
commit 114c01ac12
18 changed files with 3790 additions and 3576 deletions
+8
View File
@@ -1,3 +1,11 @@
## v0.40.4 (WIP)
- Fixed migration deadlock if a logs db write is triggered from within the migration ([#7836](https://github.com/pocketbase/pocketbase/issues/7836)).
- `app.ResetBootstrapState()` was deprecated in favour of `app.ClearBootstrap()`.
Additionally a new `app.OnClearBootstrap()` hook was added to allow clearing custom `OnBootstrap` resources in case the app us reinitialized without triggering `OnTerminate`.
## v0.40.3
- Write the status header for JSON responses only if the fields picker succeed or has acceptable fallback.