github pocketbase/pocketbase v0.28.0
v0.28.0 Release

latest releases: v0.39.4, v0.39.3, v0.39.2...
13 months ago

To update the prebuilt executable you can run ./pocketbase update.

  • Write the default response body of *Request hooks 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 using app.ConcurrentDB()/app.NonconcurrentDB().

  • ⚠️ Changed the default json field 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) with filesystem.System.GetReader(fileKey) to avoid the confusion with filesystem.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 with GetReader.

  • Added new filesystem.System.GetReuploadableFile(fileKey, preserveName) method to return an existing blob as a *filesystem.File value (#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.)

Don't miss a new pocketbase release

NewReleases is sending notifications on new releases.