pocketbase
Advanced tools
Changelog
0.11.0
Aliased/soft-deprecated ClientResponseError.data
in favor of ClientResponseError.response
to avoid the stuttering when accessing the inner error response data
key (aka. err.data.data
now is err.response.data
).
The ClientResponseError.data
will still work but it is recommend for new code to use the response
key.
Added getFullList(queryParams = {})
overload since the default batch size in most cases doesn't need to change (it can be defined as query parameter).
The old form getFullList(batch = 200, queryParams = {})
will still work, but it is recommend for new code to use the shorter form.
Changelog
0.10.2
getFileUrl()
to accept custom types as record argument.Changelog
0.10.1
pb.authStore
state on auth record update/delete.Changelog
0.10.0
Added more helpful message for the ECONNREFUSED ::1
localhost error (related to #21).
Preserved the "original" function and class names in the minified output for those who rely on *.prototype.name
.
Allowed sending the existing valid auth token with the authWithPassword()
calls.
Updated the Nuxt3 SSR examples to use the built-in useCookie()
helper.
Changelog
0.9.1
expand
items to Record|Array<Record>
instances.Changelog
0.9.0
pb.health.check()
that checks the health status of the API service (available in PocketBase v0.10.0)Changelog
0.8.2
Allowed catching the initial realtime connect error as part of the subscribe()
Promise resolution.
Reimplemented the default EventSource
retry mechanism for better control and more consistent behavior across different browsers.
Changelog
0.8.1
This release contains only documentation fixes:
Fixed code comment typos.
Added note about loadFromCookie that you may need to call authRefresh to validate the loaded cookie state server-side.
Updated the SSR examples to show the authRefresh call. For the examples the authRefresh call is not required but it is there to remind users that it needs to be called if you want to do permission checks in a node env (eg. SSR) and rely on the pb.authStore.isValid
.