Releases: pocketbase/pocketbase
v0.3.2 Release
Changes
- Fixed incorrect
totalItems
count on records list when@collection.*
filters are used - Added support for filtering nested user profile relation fields via the
@request.user.profile.*
filter [#165] - Common media files are now served inline so that they can be previewed in the browser [#164]
- Changed svg
Content-Type
toimage/svg+xml
so that it can be rendered inside<img src="...">
v0.3.1 Release
Changes
- Added optional "Force path-style addressing" checkbox in the S3 config [#156] (thanks @Matt-Bessette)
- Added support for
expand
query parameter in the create and update Record requests [#160] - Fixed
migrate down
command to not revert all migrations [#163] (thanks @kennethklee) - Fixed API preview examples [#166] (thanks @Lex-2008)
- Moved the field delete button in a dropdown to prevent accidental clicks
- Added more integration tests
v0.3.0 Release
Changes
⚠️ This release introduce a small breaking change related tonull
handling (read below for more info).
It is recommended to backup yourpb_data
directory before upgrading/replacing the binary.
-
All field values are now normalized and will return only a non-null value (only exception is the JSON field) [#122].
This is a minor breaking change if you previously relied on thenull
value. Here is a full list with all the supported field values:Field Supported value Text ""
,"test"
Number 0
,-1
,1
,1.5
Bool false
,true
Email ""
,"test@example.com"
Url ""
,"https://example.com"
Date ""
,"2022-01-01 00:00:00.000"
Select (single) ""
,"optionA"
Select (multiple) []
,["optionA", "optionB"]
File (single) ""
,"12i...ZjL.png"
File (multiple) []
,["12i...ZjL.png", "34i...ZjL.txt"]
Relation (single) ""
,"74kmig0HEyR7uuD"
Relation (multiple) []
,["74kmig0HEyR7uuD", "FtHAW9feB5rze7D"]
User (single) ""
,"74kmig0HEyR7uuD"
User (multiple) []
,["74kmig0HEyR7uuD", "FtHAW9feB5rze7D"]
* JSON any json value
Sending
null
in the request data is OK, since it will be casted to the respective zero-value before processing. -
Improved collection schema updates - now is allowed to rename/switch existing field names in the same request.
-
Delete the storage files of cascade deleted Records [#151].
-
Admin UI improvements:
- reduced the spacing in the collections settings panel to make it more comfortable editing API rules and fields
- updated the field accordion component styles
- added better frontend handling when duplicated or invalid field names are typed
- on record create/update the confirmation modal will no longer show if there are no changes
- added the app name in the document title
- fixed the repeated initial records list load
v0.2.8 Release
Changes
- Fix the Records and Users dropdown lists [#100]
- Logs the errors from the OAuth2 user profile fetch
v0.2.7 Release
v0.2.6 Release
Changes
- Bumped the min JavaScript-SDK to 0.2.1, fixing the incorrectly reported empty body as error on 204 responses.
v0.2.5 Release
Changes
- Fix AutoExpandTextArea scroll hang [#99]
- Simplified internals and improved code formatting [#89] (thanks @ValleyZw)
- Added refresh button to the listing pages [#83] (thanks @muellercornelius)
- fixed typos and applied some suggested community changes in the README
- minor admin UI improvements and fixes.
Also, the Admin UI now uses the new Javasciprt-SDK v0.2.0 including the following improvements (minor SDK breaking):
- reduced the bundle size from ~75kb to ~23kb (or ~5kb gzipped!)
- the core was rewritten from scratch and all previous 3rd party dependencies (axios, qs) are now gone and replaced with
fetch()
for better and easier cross environment support (browser, rollup2+, webpack 4 & 5+, node, deno, react native, etc.) - no more optional 4th axios config argument in the client contructor
- all request errors are now wrapped in a normalized
ClientResponseError
object
The documentation of the SDK was also updated with a "Caveats section". You could find out more here - https://github.com/pocketbase/js-sdk
v0.2.4 Release
Changes
- Updated the S3 endpoint validator to be compatible with the underlying aws lib in order to support fully qualified URIs (#78)
- Added warning on file storage type change (#77)
- Fixed empty before hooks event data and added optional interceptor on submit to all upsert forms (#80)
- Replaced the version command (aka. pocketbase.cmd.NewVersionCommand()) with
cobra.Command.Version
(#82) - Removed Presentator specific
inflector.Usernamify
method - Added more error logs when
--debug
is used
v0.2.3 Release
v0.2.2 Release
Changes
- Fixed files download error due to failing
time.LoadLocation
on Windows (#45)