Releases: pocketbase/js-sdk
Releases Β· pocketbase/js-sdk
v0.26.8 Release
- Properly reject the
authWithOAuth2()Promisewhen manually callingpb.cancelRequest(requestKey)(previously the manual cancellation didn't account for the waiting realtime subscription).
v0.26.7 Release
- Normalized
pb.files.getURL()to serialize the URL query params in the same manner as in the fetch methods (e.g. passingnullorundefinedas query param value will be skipped from the generated URL).
v0.26.6 Release
-
Fixed abort request error detection on React Native Android/iOS (#361; thanks @nathanstitt).
-
Updated the default
getFullList()batch size to 1000 for consistency with the Dart SDK and the v0.23+ API limits.
v0.26.5 Release
- Fixed abort request error detection on Safari introduced with the previous release because it seems to throw
DOMException.SyntaxErroronresponse.json()failure (#pocketbase/pocketbase#7369).
v0.26.4 Release
- Catch aborted request error during
response.json()failure (e.g. in case of tcp connection reset) and rethrow it as normalizedClientResponseError.isAbort=trueerror.
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.