Releases: pocketbase/js-sdk
Releases Β· pocketbase/js-sdk
v0.26.3 Release
- Fixed outdated
OAuth2ProviderTS fields (pocketbase/site#110).
v0.26.2 Release
- Allow body object without constructor (#352).
v0.26.1 Release
v0.26.0 Release
- Ignore
undefinedproperties when submitting an object that hasBlob/Filefields (which is under the hood converted toFormData) for consistency with howJSON.stringifyworks (see pocketbase#6731).
v0.25.2 Release
- Removed unnecessary checks in
serializeQueryParamsand added automated tests.
v0.25.1 Release
- Ignore query parameters with
undefinedvalue (#330).
v0.25.0 Release
- Added
pb.cronsservice to interact with the cron Web APIs (available with PocketBase v0.24+).
v0.24.0 Release
- Added support for assigning
FormDataas body to individual batch requests (pocketbase#6145).
v0.23.0 Release
- Added optional
pb.realtime.onDisconnecthook 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
- Fixed old
pb.authStore.isAdmin/pb.authStore.isAuthRecordgetters and marked them as deprecated in favour ofpb.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 ofpb.authStore.record?.collectionName.