Skip to content

chore: version packages - #174

Merged
Bccorb merged 1 commit into
mainfrom
changeset-release/main
Dec 4, 2026
Merged

Bccorb merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 23, 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-templates@0.23.0

Minor Changes

  • 5ee80f6: The API starters move to the adapter releases that default the auth cookies to SameSite=Lax and refuse a state-changing request from an Origin that is not allowed: @seamless-auth/express 0.27.0, @seamless-auth/fastify 0.18.0, and seamless-auth 0.7.0 for Go, Rust and Python. Each starter still passes UI_ORIGINS to the adapter as its allowed origins, so a web app on another port or subdomain keeps working once it is listed there. A web app on another site from the API now needs the adapter's SameSite=None option (cookieSameSite: "none", CookieSameSite: http.SameSiteNoneMode, .same_site(SameSite::None) or same_site="None"), which each API README now describes next to UI_ORIGINS.
  • a118d0a: The Express, Fastify, FastAPI, Axum, Gin and Next.js Dockerfiles now end with the production runtime stage, so a plain docker build ., or a platform that builds the default stage, ships the production server instead of the dev server, which ran as root and logged one-time codes and magic links. The dev stage is chosen with --target dev, as each api template's docker-compose.yml already does. A compose file that builds one of these templates with no target now gets the production image, which does not run under a source bind mount: the CLI's generated compose file must set target: dev on the api service and on the Next.js web service before it moves to this release.

Patch Changes

  • 663c1b9: The Express and Fastify starters' npm start now runs the server with NODE_ENV=production, not only the migration step. A deployment that copied a .env holding NODE_ENV=development no longer switches on the development messaging handlers, which log one-time codes and magic links instead of sending them.

  • 812f35c: The web, fullstack and mobile starters move to the Seamless Auth SDK releases that support magic links carrying a code in their fragment (/verify-magiclink?token=...#code=...): @seamless-auth/react 0.21.0, @seamless-auth/angular 0.6.0, @seamless-auth/vue 0.5.0, @seamless-auth/svelte 0.5.0, @seamless-auth/nextjs 0.11.0 and @seamless-auth/react-native 0.6.0. The bundled verify screens strip the link from the address bar, confirm on their own when the link is opened on the device that asked for it, and send the code when the reader approves another device.

    The Next.js starter's own verify page now uses takeMagicLinkParams, verifyMagicLinkSignIn, finishMagicLinkSignIn and confirmMagicLinkSignIn from @seamless-auth/client, a new direct dependency at 0.11.0. It reads the code from the fragment, which only the browser sees, so it no longer takes the token from the page's search parameters. It keeps working against auth APIs that do not send a code.

    No starter passes its own magic link redirectUri, so every link goes to the auth API's default, <frontend URL>/verify-magiclink, which each web starter serves.

  • ef6ccd1: The API and Next.js starter READMEs no longer say the .env.example secrets are enough to boot. Every Seamless adapter refuses COOKIE_SIGNING_KEY=dev-only-cookie-signing-key-replace-me and SEAMLESS_SERVICE_TOKEN=GRAB_FROM_SEAMLESS_AUTH_PORTAL_DEV as published placeholders, so the READMEs and the .env.example comments now say to replace both before the first start, with openssl rand -base64 48 for the cookie key. The SvelteKit README now explains that its module-level session is safe only because the app sets ssr = false, and that a server-rendered app must create the session per request instead.

    The startup checks in the Express, Fastify, Gin, Axum, FastAPI and Next.js starters now report either placeholder as a problem in every environment. They used to log that the placeholders were fine for local development, then the adapter refused them anyway.

  • d89c7ad: The React, React OAuth, Angular, Vue and SvelteKit starters now send a Content-Security-Policy, X-Frame-Options: DENY, X-Content-Type-Options: nosniff and Referrer-Policy: strict-origin-when-cross-origin on the SPA document and every other response. The container entrypoint writes the headers to an include that the server block and each nginx location pull in, because nginx dropped the server-level headers in locations that set their own, the index.html one included. The policy allows scripts from the app's origin only (the SvelteKit bootstrap script by its hash), and the origin of API_URL is added to connect-src. The Angular build no longer inlines critical CSS, which needed an inline script. The Next.js starter sends the same headers from next.config.ts, with inline scripts allowed because Next.js boots pages from them. The deprecated X-XSS-Protection header is gone.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 0d074c8 to 4bd6df9 Compare November 23, 2026 18:42
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 6e15c88 to acf7280 Compare December 4, 2026 03:22
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from acf7280 to 95f3eee Compare December 4, 2026 04:14
@Bccorb
Bccorb merged commit a994587 into main Dec 4, 2026
37 checks passed
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