Releases: pocketbase/pocketbase
v0.19.1 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Fixed
tokenizer.Scan()/ScanAll()
to ignore the separators from the default trim cutset.
An option to return also the empty found tokens was also added viaTokenizer.KeepEmptyTokens(true)
.
This should fix the parsing of whitespace characters around view query column names when no quotes are used (#3616). -
Fixed the
:excerpt(max, withEllipsis?)
fields
query param modifier to properly add space to the generated text fragment after block tags.
v0.20.0-rc Prerelease
-
Added experimental
expand
,filter
,fields
, custom query and headers parameters support for the realtime subscriptions.
Requires JS SDK v0.20.0-rc or Dart SDK v0.17.0-rc.// JS SDK v0.20.0-rc pb.collection("example").subscribe("*", (e) => { ... }, { expand: "someRelField", filter: "status = 'active'", fields: "id,expand.someRelField.*:excerpt(100)", })
// Dart SDK v0.17.0-rc pb.collection("example").subscribe("*", (e) { ... }, expand: "someRelField", filter: "status = 'active'", fields: "id,expand.someRelField.*:excerpt(100)", )
v0.19.0 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Added Patreon OAuth2 provider (#3323; thanks @ghostdevv).
-
Added support for
:excerpt(max, withEllipsis?)
fields
modifier that will return a short plain text version of any string value (html tags are stripped).
This could be used to minimize the downloaded json data when listing records with largeeditor
html values.await pb.collection("example").getList(1, 20, { "fields": "*,description:excerpt(100)" })
-
Several Admin UI improvements:
- Count the total records separately to speed up the query execution for large datasets (#3344).
- Enclosed the listing scrolling area within the table so that the horizontal scrollbar and table header are always reachable (#2505).
- Allowed opening the record preview/update form via direct URL (#2682).
- Reintroduced the local
date
field tooltip on hover. - Speed up the listing loading times for records with large
editor
field values by initially fetching only a partial of the records data (the complete record data is loaded on record preview/update). - Added "Media library" (collection images picker) support for the TinyMCE
editor
field. - Added support to "pin" collections in the sidebar.
- Added support to manually resize the collections sidebar.
- More clear "Nonempty" field label style.
- Removed the legacy
.woff
and.ttf
fonts and keep only.woff2
.
-
Removed the explicit
Content-Type
charset from the realtime response due to compatibility issues with IIS (#3461).
TheConnection:keep-alive
realtime response header was also removed as it is not really used with HTTP2 anyway. -
Added new JSVM bindings:
new Cookie({ ... })
constructor for creating*http.Cookie
equivalent value.new SubscriptionMessage({ ... })
constructor for creating a custom realtime subscription payload.- Soft-deprecated
$os.exec()
in favour of$os.cmd()
to make it more clear that the call only prepares the command and doesn't execute it.
-
β οΈ Bumped the min required Go version to 1.19.
v0.18.10 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Added global
raw
template function to allow outputting raw/verbatim HTML content in the JSVM templates (#3476).{{.description|raw}}
-
Trimmed view query semicolon and allowed single quotes for column aliases (#3450).
Single quotes are usually not a valid identifier quote characters, but for resilience and compatibility reasons SQLite allows them in some contexts where only an identifier is expected. -
Bumped the GitHub action to use min Go 1.21.2 (the fixed issues are not critical as they are mostly related to the compiler/build tools).
v0.18.9 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Fixed empty thumbs directories not getting deleted on Windows after deleting a record img file (#3382).
-
Updated the generated JSVM typings to silent the TS warnings when trying to access a field/method in a Go->TS interface.
v0.18.8 Release
To update the prebuilt executable you can run
./pocketbase update
.
- Minor fix for the View collections API Preview and Admin UI listings incorrectly showing the
created
andupdated
fields asN/A
when the view query doesn't have them.
v0.18.7 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Fixed JS error in the Admin UI when listing records with invalid
relation
field value (#3372).
This could happen usually when executing raw SQL import scripts or when directly modifying the record field value without data validations. Further integrity checks may be added eventually in the future. -
Updated Go deps and the generated JSVM types.
v0.18.6 Release
To update the prebuilt executable you can run
./pocketbase update
.
-
Return the response headers and cookies in the
$http.send()
result (#3310). -
Added more descriptive internal error message for missing user/admin email on password reset requests.
-
Updated Go dependencies.
v0.18.5 Release
To update the prebuilt executable you can run
./pocketbase update
.
- Fixed minor Admin UI JS error in the collection options panel introduced with the change from v0.18.4 (sorry for this).
v0.18.4 Release
To update the prebuilt executable you can run
./pocketbase update
.
- Added escape character (
\
) support in the Admin UI to allow usingselect
field values with comma (#2197).