To update the prebuilt executable you can run
./pocketbase update.
-
Write the default response body of
*Requesthooks that are wrapped in a transaction after the related transaction completes to allow propagating the transaction error (#6462). -
Updated
app.DB()to automatically routes raw write SQL statements to the nonconcurrent db pool (#6689).
For the rare cases when it is needed users still have the option to explicitly target the specific pool they want usingapp.ConcurrentDB()/app.NonconcurrentDB(). -
⚠️ Changed the default
jsonfield max size to 1MB.
Users still have the option to adjust the default limit from the collection field options but keep in mind that storing large strings/blobs in the database is known to cause performance issues and should be avoided when possible. -
⚠️ Soft-deprecated and replaced
filesystem.System.GetFile(fileKey)withfilesystem.System.GetReader(fileKey)to avoid the confusion withfilesystem.File.
The old method will still continue to work for at least until v0.29.0 but you'll get a console warning to replace it withGetReader. -
Added new
filesystem.System.GetReuploadableFile(fileKey, preserveName)method to return an existing blob as a*filesystem.Filevalue (#6792).
This method could be useful in case you want to clone an existing Record file and assign it to a new Record (e.g. in a Record duplicate action). -
Other minor improvements (updated the GitHub release min Go version to 1.23.9, updated npm and Go deps, etc.)