From 8c98b73609facb4e06e10578ff8e1da07ec71a24 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 01:44:48 +0000 Subject: [PATCH] Version Packages --- .changeset/nextjs-client-support.md | 12 ------------ .changeset/oauth-cutover.md | 12 ------------ packages/client/CHANGELOG.md | 18 ++++++++++++++++++ packages/client/package.json | 2 +- packages/react-native/CHANGELOG.md | 8 ++++++++ packages/react-native/package.json | 4 ++-- packages/react/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/react/package.json | 4 ++-- 8 files changed, 55 insertions(+), 29 deletions(-) delete mode 100644 .changeset/nextjs-client-support.md delete mode 100644 .changeset/oauth-cutover.md diff --git a/.changeset/nextjs-client-support.md b/.changeset/nextjs-client-support.md deleted file mode 100644 index 9ef4f48..0000000 --- a/.changeset/nextjs-client-support.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@seamless-auth/react': minor -'@seamless-auth/client': minor ---- - -Support the Next.js App Router. - -- Every module in `@seamless-auth/react` now ships with a `'use client'` directive, so `AuthProvider` renders straight from a server layout. The build fails if the directive goes missing from any emitted file. -- **Breaking:** `AuthRoutes` moved to `@seamless-auth/react/routes`, and `react-router-dom` is now an optional peer. Change `import { AuthRoutes } from '@seamless-auth/react'` to `import { AuthRoutes } from '@seamless-auth/react/routes'`. Applications that do not render the bundled screens no longer need react-router installed. -- Fixed a hydration mismatch for returning users. `hasSignedInBefore` was read from `localStorage` on the client's first render, which the server could not match. The store now exposes `getServerState()`, and the provider hydrates from it. -- `AuthProvider` and `createAuthSession` accept `initialSession`, a session the server already resolved (or `null`). The first paint renders it settled instead of loading, and the session then revalidates in the background. -- `refreshSession({ background: true })` revalidates without reporting `loading`. diff --git a/.changeset/oauth-cutover.md b/.changeset/oauth-cutover.md deleted file mode 100644 index bcd9541..0000000 --- a/.changeset/oauth-cutover.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@seamless-auth/client': minor -'@seamless-auth/react': minor ---- - -Support signing in through a legacy identity provider during a migration cutover (fells-code/seamless-auth-api#337). - -- `getOAuthErrorCode` recognises `oauth_provider_retired` (the user's organization no longer signs in with that provider) and `oauth_invalid_id_token`. -- The bundled OAuth callback sends the user to passkey enrollment when the sign-in response carries `nextStep: 'enroll_passkey'`, and the passkey screen then continues to the `returnTo` the flow asked for instead of always going home. -- The callback shows a specific message for both new codes. - -Requires `@seamless-auth/types` 0.25.0. diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 0b9e4e1..a0bf524 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,23 @@ # @seamless-auth/client +## 0.2.0 + +### Minor Changes + +- 419025e: Support the Next.js App Router. + - Every module in `@seamless-auth/react` now ships with a `'use client'` directive, so `AuthProvider` renders straight from a server layout. The build fails if the directive goes missing from any emitted file. + - **Breaking:** `AuthRoutes` moved to `@seamless-auth/react/routes`, and `react-router-dom` is now an optional peer. Change `import { AuthRoutes } from '@seamless-auth/react'` to `import { AuthRoutes } from '@seamless-auth/react/routes'`. Applications that do not render the bundled screens no longer need react-router installed. + - Fixed a hydration mismatch for returning users. `hasSignedInBefore` was read from `localStorage` on the client's first render, which the server could not match. The store now exposes `getServerState()`, and the provider hydrates from it. + - `AuthProvider` and `createAuthSession` accept `initialSession`, a session the server already resolved (or `null`). The first paint renders it settled instead of loading, and the session then revalidates in the background. + - `refreshSession({ background: true })` revalidates without reporting `loading`. + +- 0dfe622: Support signing in through a legacy identity provider during a migration cutover (fells-code/seamless-auth-api#337). + - `getOAuthErrorCode` recognises `oauth_provider_retired` (the user's organization no longer signs in with that provider) and `oauth_invalid_id_token`. + - The bundled OAuth callback sends the user to passkey enrollment when the sign-in response carries `nextStep: 'enroll_passkey'`, and the passkey screen then continues to the `returnTo` the flow asked for instead of always going home. + - The callback shows a specific message for both new codes. + + Requires `@seamless-auth/types` 0.25.0. + ## 0.1.0 ### Minor Changes diff --git a/packages/client/package.json b/packages/client/package.json index bf18c56..58d7db9 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@seamless-auth/client", - "version": "0.1.0", + "version": "0.2.0", "description": "Framework-agnostic client core for Seamless Auth: the HTTP client, session store, and result types the framework bindings share.", "type": "module", "exports": { diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index ff63e14..ef362e4 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,13 @@ # @seamless-auth/react-native +## 0.1.1 + +### Patch Changes + +- Updated dependencies [419025e] +- Updated dependencies [0dfe622] + - @seamless-auth/client@0.2.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 7e85a5c..ecbaba0 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@seamless-auth/react-native", - "version": "0.1.0", + "version": "0.1.1", "description": "Headless React Native binding for Seamless Auth: provider, hooks, and the native ports for passkeys, secure token storage, and in-app browser OAuth.", "type": "module", "exports": { @@ -45,7 +45,7 @@ "react": "^18.0.0 || ^19.0.0" }, "dependencies": { - "@seamless-auth/client": "^0.1.0", + "@seamless-auth/client": "^0.2.0", "@seamless-auth/types": "^0.25.0" }, "sideEffects": false diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 02b839d..3e5539a 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,29 @@ # @seamless-auth/react +## 0.14.0 + +### Minor Changes + +- 419025e: Support the Next.js App Router. + - Every module in `@seamless-auth/react` now ships with a `'use client'` directive, so `AuthProvider` renders straight from a server layout. The build fails if the directive goes missing from any emitted file. + - **Breaking:** `AuthRoutes` moved to `@seamless-auth/react/routes`, and `react-router-dom` is now an optional peer. Change `import { AuthRoutes } from '@seamless-auth/react'` to `import { AuthRoutes } from '@seamless-auth/react/routes'`. Applications that do not render the bundled screens no longer need react-router installed. + - Fixed a hydration mismatch for returning users. `hasSignedInBefore` was read from `localStorage` on the client's first render, which the server could not match. The store now exposes `getServerState()`, and the provider hydrates from it. + - `AuthProvider` and `createAuthSession` accept `initialSession`, a session the server already resolved (or `null`). The first paint renders it settled instead of loading, and the session then revalidates in the background. + - `refreshSession({ background: true })` revalidates without reporting `loading`. + +- 0dfe622: Support signing in through a legacy identity provider during a migration cutover (fells-code/seamless-auth-api#337). + - `getOAuthErrorCode` recognises `oauth_provider_retired` (the user's organization no longer signs in with that provider) and `oauth_invalid_id_token`. + - The bundled OAuth callback sends the user to passkey enrollment when the sign-in response carries `nextStep: 'enroll_passkey'`, and the passkey screen then continues to the `returnTo` the flow asked for instead of always going home. + - The callback shows a specific message for both new codes. + + Requires `@seamless-auth/types` 0.25.0. + +### Patch Changes + +- Updated dependencies [419025e] +- Updated dependencies [0dfe622] + - @seamless-auth/client@0.2.0 + ## 0.13.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 867ee02..4790172 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@seamless-auth/react", - "version": "0.13.0", + "version": "0.14.0", "description": "A drop-in authentication solution for modern React applications.", "type": "module", "exports": { @@ -56,7 +56,7 @@ } }, "dependencies": { - "@seamless-auth/client": "^0.1.0", + "@seamless-auth/client": "^0.2.0", "@seamless-auth/types": "^0.25.0", "@simplewebauthn/browser": "^13.1.0", "libphonenumber-js": "^1.12.7"