Skip to content

Releases: pocketbase/pocketbase

v0.19.1 Release

27 Oct 15:10
Compare
Choose a tag to compare

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 via Tokenizer.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

24 Oct 12:38
Compare
Choose a tag to compare
v0.20.0-rc Prerelease Pre-release
Pre-release

⚠️ This is a prerelease intended primarily for test purposes.

  • 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

15 Oct 12:02
Compare
Choose a tag to compare

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

  • Added Patreon OAuth2 provider (#3323; thanks @ghostdevv).

  • Added mailcow OAuth2 provider (#3364; thanks @thisni1s).

  • 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 large editor 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).
    The Connection: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

08 Oct 21:01
Compare
Choose a tag to compare

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

30 Sep 06:52
Compare
Choose a tag to compare

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

24 Sep 08:47
Compare
Choose a tag to compare

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 and updated fields as N/A when the view query doesn't have them.

v0.18.7 Release

22 Sep 16:07
Compare
Choose a tag to compare

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

16 Sep 04:21
Compare
Choose a tag to compare

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

12 Sep 17:13
Compare
Choose a tag to compare

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

12 Sep 07:50
Compare
Choose a tag to compare

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

  • Added escape character (\) support in the Admin UI to allow using select field values with comma (#2197).