fix(deps): update dependency supertokens-web-js to v0.15.0#538
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update dependency supertokens-web-js to v0.15.0#538renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
fd0c7b6 to
bb7a6e4
Compare
bb7a6e4 to
f2dc020
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.5.0->0.15.0Release Notes
supertokens/supertokens-web-js (supertokens-web-js)
v0.15.0Compare Source
Webauthnrecipe to support logins using WebAuthN (Passkeys)v0.14.0Compare Source
Breaking changes
shouldTryLinkingToSessionUserflag to sign in/up related function inputs:false(or leave as undefined) during first factor sign-instruefor secondary factors.EmailPassword.signIn,EmailPassword.signUp: both override and callable functionsThirdParty.getAuthorisationURLWithQueryParamsAndSetState: both override and callable functionPasswordless:consumeCode,resendCode,createCode,setLoginAttemptInfo,getLoginAttemptInfocreateCodeandsetLoginAttemptInfotake this flag as an optional input (it defaults to false)getTenantIdto default to thetenantIdquery parameter (if present) then falling back to the public tenant instead of always defaulting to the public tenantconsumeCodefunction in the Passwordless Recipe (see in the Migration guide section below for more information)Migration guide
Session based account linking for magic link based flows
You can re-enable linking by overriding the
consumeCodefunction in the passwordless recipe and settingshouldTryLinkingToSessionUsertotrue.v0.13.1Compare Source
v0.13.0Compare Source
Breaking Changes
maxAgeInSecondsvalue (previously 300 seconds) in EmailVerification Claim. If the claim value is true andmaxAgeInSecondsis not provided, it will not be refreshed.v0.12.0Compare Source
Breaking Changes
createCode,resendCodeandconsumeCodefrom the exports ofrecipe/passwordless/utilsSESSION_ALREADY_EXISTSevent to the session recipe. This is used by our pre-built UI.Migration guide
If you were using
ThirdPartyEmailPassword, you should now initThirdPartyandEmailPasswordrecipes separately. The config for the individual recipes are mostly the same, except the syntax may be different. Check our recipe guides for ThirdParty and EmailPassword for more information.If you were using
ThirdPartyPasswordless, you should now initThirdPartyandPasswordlessrecipes separately. The config for the individual recipes are mostly the same, except the syntax may be different. Check our recipe guides for ThirdParty and Passwordless for more information.v0.11.0Compare Source
Breaking changes
The
shouldDoInterceptionBasedOnUrlfunction now returns true:v0.10.1Compare Source
Fixes
refetchTimeOnFalseInSecondsandmaxAgeInSecondsv0.10.0Compare Source
Overview
Introducing multi-factor authentication
With this release, we are introducing MultiFactorAuthentication and TOTP, this will let you:
Check our guide for more information.
Changes
MultiFactorAuthandTOTPrecipes. To start using them you'll need compatible versions:Breaking changes
firstFactorsinto the return type ofgetLoginMethodsand removed the enabled flags of different login methods.validatorIdin claim validation errors toidto match the backend SDKsMigration guide
getLoginMethods interface change
If you used to use the enabled flags in getLoginMethods:
Before:
After:
Renamed validatorId
If you used to use the
validatorIdprop of validationErrors, you should now useidinstead.Before:
After:
v0.9.2Compare Source
What's Changed
Full Changelog: supertokens/supertokens-web-js@v0.10.1...v0.9.2
v0.9.1Compare Source
Changes
dateprovider.jsbundle file to enable importingDateProvidervia a script tagv0.9.0Compare Source
v0.8.0Compare Source
Overview
Introducing account-linking
With this release, we are introducing AccountLinking, this will let you:
Check our guide for more information.
To use this you'll need compatible versions:
Breaking changes
createdNewUserhas been renamed tocreatedNewRecipeUsercreateCode,consumeCode,createPasswordlessCodeandconsumePasswordlessCodecan now return status:SIGN_IN_UP_NOT_ALLOWEDsignInAndUpandthirdPartySignInAndUpcan now return new status:SIGN_IN_UP_NOT_ALLOWEDsendPasswordResetEmailcan now returnstatus: "PASSWORD_RESET_NOT_ALLOWED"signInandemailPasswordSignIncan now returnSIGN_IN_NOT_ALLOWEDsignUpandemailPasswordSignUpcan now returnSIGN_UP_NOT_ALLOWEDMigration
New User structure
We've added a generic
Usertype instead of the old recipe specific ones. The mapping of old props to new in case you are not using account-linking:user.idstaysuser.iduser.emailbecomesuser.emails[0]user.phoneNumberbecomesuser.phoneNumbers[0]user.thirdPartybecomesuser.thirdParty[0]user.timeJoinedis stilluser.timeJoineduser.tenantIdsis stilluser.tenantIdsChecking if a user signed up or signed in
v0.7.3Compare Source
Fixes
clientTypeusage inthirdpartypasswordlessv0.7.2Compare Source
Fixes
clientTypeusage inthirdpartyemailpasswordandthirdpartypasswordlessv0.7.1Compare Source
Changes
isEmailVerifiedandsendVerificationEmailrequestsv0.7.0Compare Source
Added
getTenantIdFromURLto multiple recipesclientTypeconfig in the input forSuperTokens.initfunction, that is used by thirdparty and multitenancy recipes.Breaking changes
getAuthorisationURLWithQueryParamsAndSetStatesetStateAndOtherInfoToStorage,getAuthorisationURLFromBackend,generateStateToSendToOAuthProvider,verifyAndGetStateOrThrowError,getAuthCodeFromURL,getAuthErrorFromURL,getAuthStateFromURLgetAuthorisationURLWithQueryParamsAndSetStatesetStateAndOtherInfoToStorage,getAuthorisationURLFromBackend,generateStateToSendToOAuthProvider,verifyAndGetStateOrThrowError,getAuthCodeFromURL,getAuthErrorFromURL,getAuthStateFromURLgetThirdPartyAuthorisationURLWithQueryParamsAndSetStatesetThirdPartyStateAndOtherInfoToStorage,getAuthorisationURLFromBackend,generateThirdPartyStateToSendToOAuthProvider,verifyAndGetThirdPartyStateOrThrowError,getThirdPartyAuthCodeFromURL,getThirdPartyAuthErrorFromURL,getThirdPartyAuthStateFromURLChanges
Migration
Renamed parameters in
getAuthorisationURLWithQueryParamsAndSetStateBefore:
After:
If the provider is redirecting to the backend directly (i.e.: Apple)
Before:
After:
v0.6.0Compare Source
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.