Skip to content

Releases: pocketbase/js-sdk

v0.26.3 Release

26 Oct 08:49

Choose a tag to compare

v0.26.2 Release

23 Jul 18:25

Choose a tag to compare

  • Allow body object without constructor (#352).

v0.26.1 Release

07 Jun 06:09

Choose a tag to compare

  • Generalized the fallback error message and set the cause property of ClientResponseError to the original thrown error/data for easier debugging (#349; thanks @shish).

v0.26.0 Release

17 Apr 12:09

Choose a tag to compare

  • Ignore undefined properties when submitting an object that has Blob/File fields (which is under the hood converted to FormData) for consistency with how JSON.stringify works (see pocketbase#6731).

v0.25.2 Release

01 Mar 13:10

Choose a tag to compare

  • Removed unnecessary checks in serializeQueryParams and added automated tests.

v0.25.1 Release

20 Jan 09:47

Choose a tag to compare

  • Ignore query parameters with undefined value (#330).

v0.25.0 Release

02 Jan 06:46

Choose a tag to compare

  • Added pb.crons service to interact with the cron Web APIs (available with PocketBase v0.24+).

v0.24.0 Release

19 Dec 20:03

Choose a tag to compare

  • Added support for assigning FormData as body to individual batch requests (pocketbase#6145).

v0.23.0 Release

15 Dec 15:41

Choose a tag to compare

  • Added optional pb.realtime.onDisconnect hook function.
    Note that the realtime client autoreconnect on its own and this hook is useful only for the cases where you want to apply a special behavior on server error or after closing the realtime connection.

v0.22.1 Release

29 Nov 12:27

Choose a tag to compare

  • Fixed old pb.authStore.isAdmin/pb.authStore.isAuthRecord getters and marked them as deprecated in favour of pb.authStore.isSuperuser (#323).
    Note that with PocketBase v0.23.0 superusers are converted to a system auth collection so you can always simply check the value of pb.authStore.record?.collectionName.