fix(dependency): update dependency pocketbase to ^0.26.0#238
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(dependency): update dependency pocketbase to ^0.26.0#238renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
ac0762f to
5b2692d
Compare
5b2692d to
2035c9e
Compare
2035c9e to
5622a09
Compare
5622a09 to
a233ea7
Compare
a233ea7 to
31cd84d
Compare
31cd84d to
bc855d0
Compare
bc855d0 to
5d2c183
Compare
4dadcac to
f9ce0f7
Compare
9997c09 to
f0b6b6d
Compare
4720144 to
c701ab1
Compare
c701ab1 to
b48c4c2
Compare
b48c4c2 to
5a1672c
Compare
5a1672c to
bb978dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.26.0Release Notes
pocketbase/js-sdk (pocketbase)
v0.26.8Compare Source
authWithOAuth2()Promisewhen manually callingpb.cancelRequest(requestKey)(previously the manual cancellation didn't account for the waiting realtime subscription).v0.26.7Compare Source
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.6Compare Source
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.5Compare Source
DOMException.SyntaxErroronresponse.json()failure (#pocketbase/pocketbase#7369).v0.26.4Compare Source
response.json()failure (e.g. in case of tcp connection reset) and rethrow it as normalizedClientResponseError.isAbort=trueerror.v0.26.3Compare Source
OAuth2ProviderTS fields (pocketbase/site#110).v0.26.2Compare Source
v0.26.1Compare Source
causeproperty ofClientResponseErrorto the original thrown error/data for easier debugging (#349; thanks @shish).v0.26.0Compare Source
undefinedproperties when submitting an object that hasBlob/Filefields (which is under the hood converted toFormData)for consistency with how
JSON.stringifyworks (see pocketbase#6731).v0.25.2Compare Source
serializeQueryParamsand added automated tests.v0.25.1Compare Source
undefinedvalue (#330).v0.25.0Compare Source
pb.cronsservice to interact with the cron Web APIs.v0.24.0Compare Source
FormDataas body to individual batch requests (pocketbase#6145).v0.23.0Compare Source
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.1Compare Source
pb.authStore.isAdmin/pb.authStore.isAuthRecordand 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.0Compare 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
mfaIdresponse,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.afterSendhook.Instead of replacing the entire
pb.authStore.record, on auth record update we now only replace the available returned response record data (pocketbase#5638)._superusersauth collection and there is no longerAdminServiceandAdminModeltypes.pb.adminsis soft-deprecated and aliased topb.collection("_superusers").pb.authStore.modelis soft-deprecated and superseded bypb.authStore.record.meta.avatarUrlresponse field in favour ofmeta.avatarURLfor consistency with the Go conventions.AuthMethodsListinerface fields to accomodate the new auth methods andlistAuthMethods()response.*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.schematoCollectionModel.fields.SchemaFieldtoCollectionField.v0.21.5Compare Source
optionsargument for consistency with the other methods (#308).v0.21.4Compare Source
requestKeyhandling inauthWithOAuth2({...})to allow manually cancelling the entire OAuth2 pending request flow usingpb.cancelRequest(requestKey).Due to the
window.closecaveats 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.3Compare Source
atobpolyfill for ReactNative until Expo 51+ and React Native v0.74+atobfix get released.v0.21.2Compare Source
HealthServicetypes (#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.