fix(dependency): update dependency pocketbase to ^0.24.0 #238
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.21.1
->^0.24.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
pocketbase/js-sdk (pocketbase)
v0.24.0
Compare Source
FormData
as body to individual batch requests (pocketbase#6145).v0.23.0
Compare Source
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
Compare Source
pb.authStore.isAdmin
/pb.authStore.isAuthRecord
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 of
pb.authStore.record?.collectionName
.v0.22.0
Compare Source
Added support for sending batch/transactional create/updated/delete/upsert requests with the new batch Web APIs.
Added support for authenticating with OTP (email code):
Note that PocketBase v0.23.0 comes also with Multi-factor authentication (MFA) support.
When enabled from the dashboard, the first auth attempt will result in 401 response and a
mfaId
response,that will have to be submitted with the second auth request. For example:
Added new
pb.collection("users").impersonate("RECORD_ID")
method for superusers.It authenticates with the specified record id and returns a new client with the impersonated auth state loaded in a memory store.
Added new
pb.collections.getScaffolds()
method to retrieve a type indexed map with the collection models (base, auth, view) loaded with their defaults.Added new
pb.collections.truncate(idOrName)
to delete all records associated with the specified collection.Added the submitted fetch options as 3rd last argument in the
pb.afterSend
hook.Instead of replacing the entire
pb.authStore.record
, on auth record update we now only replace the available returned response record data (pocketbase#5638)._superusers
auth collection and there is no longerAdminService
andAdminModel
types.pb.admins
is soft-deprecated and aliased topb.collection("_superusers")
.pb.authStore.model
is soft-deprecated and superseded bypb.authStore.record
.meta.avatarUrl
response field in favour ofmeta.avatarURL
for consistency with the Go conventions.AuthMethodsList
inerface fields to accomodate the new auth methods andlistAuthMethods()
response.{
"mfa": {
"duration": 100,
"enabled": true
},
"otp": {
"duration": 0,
"enabled": false
},
"password": {
"enabled": true,
"identityFields": ["email", "username"]
},
"oauth2": {
"enabled": true,
"providers": [{"name": "gitlab", ...}, {"name": "google", ...}]
}
}
*Url()
->*URL()
methods for consistency with other similar native JS APIs and the accepted Go conventions.The old methods still works but you may get a console warning to replace them because they will be removed in the future.
CollectionModel.schema
toCollectionModel.fields
.SchemaField
toCollectionField
.v0.21.5
Compare Source
options
argument for consistency with the other methods (#308).v0.21.4
Compare Source
requestKey
handling inauthWithOAuth2({...})
to allow manually cancelling the entire OAuth2 pending request flow usingpb.cancelRequest(requestKey)
.Due to the
window.close
caveats note that the OAuth2 popup window may still remain open depending on which stage of the OAuth2 flow the cancellation has been invoked.v0.21.3
Compare Source
atob
polyfill for ReactNative until Expo 51+ and React Native v0.74+atob
fix get released.v0.21.2
Compare Source
HealthService
types (#289).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.