Skip to content

Releases: pocketbase/js-sdk

v0.27.0 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 24 May 13:04
  • Added pb.sql.run(query) handler for the upcoming PocketBase v0.39.0 "SQL console" debug interface (pocketbase#2236).

  • Added missing PocketBase v0.37+ collection meta endpoint handlers (pb.collections.dryRunViewQuery(query) and pb.collections.getAllOAuth2Providers()).

v0.26.9 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 10 May 02:57
  • Optimized realtime subscribe/unsubscribe calls to minimize async errors (pocketbase#7684).

v0.26.8 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 29 Jan 18:54
  • Properly reject the authWithOAuth2() Promise when manually calling pb.cancelRequest(requestKey) (previously the manual cancellation didn't account for the waiting realtime subscription).

v0.26.7 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 27 Jan 18:48
  • Normalized pb.files.getURL() to serialize the URL query params in the same manner as in the fetch methods (e.g. passing null or undefined as query param value will be skipped from the generated URL).

v0.26.6 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 14 Jan 18:01
  • 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

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 04 Dec 12:40
  • Fixed abort request error detection on Safari introduced with the previous release because it seems to throw DOMException.SyntaxError on response.json() failure (#pocketbase/pocketbase#7369).

v0.26.4 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 02 Dec 16:27
  • Catch aborted request error during response.json() failure (e.g. in case of tcp connection reset) and rethrow it as normalized ClientResponseError.isAbort=true error.

v0.26.3 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 26 Oct 08:49

v0.26.2 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 23 Jul 18:25
  • Allow body object without constructor (#352).

v0.26.1 Release

Choose a tag to compare

@ganigeorgiev ganigeorgiev released this 07 Jun 06:09
  • Generalized the fallback error message and set the cause property of ClientResponseError to the original thrown error/data for easier debugging (#349; thanks @shish).