Skip to content

Version Packages - #254

Merged
Bccorb merged 1 commit into
mainfrom
changeset-release/main
Nov 21, 2026
Merged

Bccorb merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@seamless-auth/angular@0.6.0

Minor Changes

  • c6d36c7: Support magic links that carry a code in their fragment (?token=...#code=...), ahead of the auth API release that requires it (fix(magic-link): pin the landing path by default and bind confirm to a user action seamless-auth-api#594).

    • client.confirmMagicLink(token, code?) sends the code, and confirmMagicLinkSignIn takes a code.
    • getMagicLinkConfirmation reads the new sameDevice flag.
    • New flows: parseMagicLinkUrl(url) reads token from the query and code from the fragment, takeMagicLinkParams() reads them from the page and strips both from the address bar, and verifyMagicLinkSignIn({ client, token, code }) verifies the link and confirms at once when it was opened on the device that asked for it.
    • The bundled verify screens in React, Vue, Svelte and Angular strip the link from the address as they start, confirm without asking on the requesting device, and send the code when the reader approves a link opened on another device.
    • React Native re-exports these helpers. Read the incoming link with Linking, which keeps the fragment, rather than from route parameters.

    Older APIs keep working: they ignore the code and still sign in a same-device link on the verify call.

  • 1b355d5: Send a recovery session to factor enrolment, as the React package already does. A recovery session (after a recovery code or a completed account recovery) can do nothing but enroll a new factor. The bundled login screen now goes straight to register-passkey when the session is one, and requireAuth redirects it to the new enrollmentPath config option (default /register-passkey) instead of admitting it, before any role check. The new enrollmentRedirectTo guard option overrides that per route, and a guard on the enrolment route itself admits the session rather than looping. Angular's SeamlessAuth service gains redeemRecoveryCode and completeAccountRecovery, which refresh the session afterwards like the other frameworks, so recoverySession reflects the new session without calling the client directly.

Patch Changes

  • Updated dependencies [c6d36c7]
    • @seamless-auth/client@0.11.0

@seamless-auth/client@0.11.0

Minor Changes

  • c6d36c7: Support magic links that carry a code in their fragment (?token=...#code=...), ahead of the auth API release that requires it (fix(magic-link): pin the landing path by default and bind confirm to a user action seamless-auth-api#594).

    • client.confirmMagicLink(token, code?) sends the code, and confirmMagicLinkSignIn takes a code.
    • getMagicLinkConfirmation reads the new sameDevice flag.
    • New flows: parseMagicLinkUrl(url) reads token from the query and code from the fragment, takeMagicLinkParams() reads them from the page and strips both from the address bar, and verifyMagicLinkSignIn({ client, token, code }) verifies the link and confirms at once when it was opened on the device that asked for it.
    • The bundled verify screens in React, Vue, Svelte and Angular strip the link from the address as they start, confirm without asking on the requesting device, and send the code when the reader approves a link opened on another device.
    • React Native re-exports these helpers. Read the incoming link with Linking, which keeps the fragment, rather than from route parameters.

    Older APIs keep working: they ignore the code and still sign in a same-device link on the verify call.

@seamless-auth/react@0.21.0

Minor Changes

  • c6d36c7: Support magic links that carry a code in their fragment (?token=...#code=...), ahead of the auth API release that requires it (fix(magic-link): pin the landing path by default and bind confirm to a user action seamless-auth-api#594).

    • client.confirmMagicLink(token, code?) sends the code, and confirmMagicLinkSignIn takes a code.
    • getMagicLinkConfirmation reads the new sameDevice flag.
    • New flows: parseMagicLinkUrl(url) reads token from the query and code from the fragment, takeMagicLinkParams() reads them from the page and strips both from the address bar, and verifyMagicLinkSignIn({ client, token, code }) verifies the link and confirms at once when it was opened on the device that asked for it.
    • The bundled verify screens in React, Vue, Svelte and Angular strip the link from the address as they start, confirm without asking on the requesting device, and send the code when the reader approves a link opened on another device.
    • React Native re-exports these helpers. Read the incoming link with Linking, which keeps the fragment, rather than from route parameters.

    Older APIs keep working: they ignore the code and still sign in a same-device link on the verify call.

Patch Changes

  • Updated dependencies [c6d36c7]
    • @seamless-auth/client@0.11.0

@seamless-auth/react-native@0.6.0

Minor Changes

  • c6d36c7: Support magic links that carry a code in their fragment (?token=...#code=...), ahead of the auth API release that requires it (fix(magic-link): pin the landing path by default and bind confirm to a user action seamless-auth-api#594).

    • client.confirmMagicLink(token, code?) sends the code, and confirmMagicLinkSignIn takes a code.
    • getMagicLinkConfirmation reads the new sameDevice flag.
    • New flows: parseMagicLinkUrl(url) reads token from the query and code from the fragment, takeMagicLinkParams() reads them from the page and strips both from the address bar, and verifyMagicLinkSignIn({ client, token, code }) verifies the link and confirms at once when it was opened on the device that asked for it.
    • The bundled verify screens in React, Vue, Svelte and Angular strip the link from the address as they start, confirm without asking on the requesting device, and send the code when the reader approves a link opened on another device.
    • React Native re-exports these helpers. Read the incoming link with Linking, which keeps the fragment, rather than from route parameters.

    Older APIs keep working: they ignore the code and still sign in a same-device link on the verify call.

Patch Changes

  • Updated dependencies [c6d36c7]
    • @seamless-auth/client@0.11.0

@seamless-auth/svelte@0.5.0

Minor Changes

  • c6d36c7: Support magic links that carry a code in their fragment (?token=...#code=...), ahead of the auth API release that requires it (fix(magic-link): pin the landing path by default and bind confirm to a user action seamless-auth-api#594).

    • client.confirmMagicLink(token, code?) sends the code, and confirmMagicLinkSignIn takes a code.
    • getMagicLinkConfirmation reads the new sameDevice flag.
    • New flows: parseMagicLinkUrl(url) reads token from the query and code from the fragment, takeMagicLinkParams() reads them from the page and strips both from the address bar, and verifyMagicLinkSignIn({ client, token, code }) verifies the link and confirms at once when it was opened on the device that asked for it.
    • The bundled verify screens in React, Vue, Svelte and Angular strip the link from the address as they start, confirm without asking on the requesting device, and send the code when the reader approves a link opened on another device.
    • React Native re-exports these helpers. Read the incoming link with Linking, which keeps the fragment, rather than from route parameters.

    Older APIs keep working: they ignore the code and still sign in a same-device link on the verify call.

  • 1b355d5: Send a recovery session to factor enrolment, as the React package already does. A recovery session (after a recovery code or a completed account recovery) can do nothing but enroll a new factor. The bundled login screen now goes straight to register-passkey when the session is one, and requireAuth redirects it to the new enrollmentPath config option (default /register-passkey) instead of admitting it, before any role check. The new enrollmentRedirectTo guard option overrides that per route, and a guard on the enrolment route itself admits the session rather than looping. Angular's SeamlessAuth service gains redeemRecoveryCode and completeAccountRecovery, which refresh the session afterwards like the other frameworks, so recoverySession reflects the new session without calling the client directly.

Patch Changes

  • Updated dependencies [c6d36c7]
    • @seamless-auth/client@0.11.0

@seamless-auth/vue@0.5.0

Minor Changes

  • c6d36c7: Support magic links that carry a code in their fragment (?token=...#code=...), ahead of the auth API release that requires it (fix(magic-link): pin the landing path by default and bind confirm to a user action seamless-auth-api#594).

    • client.confirmMagicLink(token, code?) sends the code, and confirmMagicLinkSignIn takes a code.
    • getMagicLinkConfirmation reads the new sameDevice flag.
    • New flows: parseMagicLinkUrl(url) reads token from the query and code from the fragment, takeMagicLinkParams() reads them from the page and strips both from the address bar, and verifyMagicLinkSignIn({ client, token, code }) verifies the link and confirms at once when it was opened on the device that asked for it.
    • The bundled verify screens in React, Vue, Svelte and Angular strip the link from the address as they start, confirm without asking on the requesting device, and send the code when the reader approves a link opened on another device.
    • React Native re-exports these helpers. Read the incoming link with Linking, which keeps the fragment, rather than from route parameters.

    Older APIs keep working: they ignore the code and still sign in a same-device link on the verify call.

  • 1b355d5: Send a recovery session to factor enrolment, as the React package already does. A recovery session (after a recovery code or a completed account recovery) can do nothing but enroll a new factor. The bundled login screen now goes straight to register-passkey when the session is one, and requireAuth redirects it to the new enrollmentPath config option (default /register-passkey) instead of admitting it, before any role check. The new enrollmentRedirectTo guard option overrides that per route, and a guard on the enrolment route itself admits the session rather than looping. Angular's SeamlessAuth service gains redeemRecoveryCode and completeAccountRecovery, which refresh the session afterwards like the other frameworks, so recoverySession reflects the new session without calling the client directly.

Patch Changes

  • Updated dependencies [c6d36c7]
    • @seamless-auth/client@0.11.0

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 305a6f5 to 8009109 Compare November 21, 2026 05:06
@Bccorb
Bccorb merged commit a6b83f3 into main Nov 21, 2026
5 checks passed
@Bccorb
Bccorb deleted the changeset-release/main branch November 21, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant