Repository navigation
v0.19.0
Minor Changes
-
99fb8b2: Let a starter run on the host sign in against the local Docker stack, and keep the auth server's dev signing keys across a container recreate.
- Templates can now use a
{{authServerIssuer}}placeholder. On a local stack it resolves tohttp://auth:5312, the issuer the auth container signs with, so a starter run withnpm run dev(which reaches the server athttp://localhost:5312) can verify signed auth responses once it setsAUTH_SERVER_ISSUERfrom it. On a managed instance it resolves to the instance URL. The generated compose file also setsAUTH_SERVER_ISSUERon the app container. - The Docker auth service mounts a named
auth-keysvolume at/app/keys, sodocker compose upafter a config change no longer mints a new dev key pair under the same key id and breaks every adapter's cached key. - The generated
docker-compose.ymlno longer has runs of blank lines between services. --apiwith a non-API template now says it "expects an API template".
- Templates can now use a
-
061f749:
seamless verifycovers what a developer sees on their firstnpm run dev, and the Next.js starter.--devruns every browser template a second time on its development server, where React Strict Mode runs every effect twice. The production pass alone could not see an effect that is not idempotent, such as the magic-link screen spending its single-use link twice (fells-code/seamless-auth-js#161). The conformance workflow passes it on every pull request (#225).- Full-stack templates are no longer skipped. The Next.js starter is built from its own Dockerfile's
runtimetarget (and itsdevtarget under--dev) and driven by specs written for its own screens: passkey enrollment and sign-in, an emailed code, a magic link, the server-rendered session page, and its role-gated route (#222). - The React magic-link spec fails when the link is verified more than once, and the JWKS spec no longer expects the signing key's kid to be
dev-main. - The browser resolves
localhostto 127.0.0.1, so a server of your own on[::1]:5173no longer answers in place of the stack, andSEAMLESS_API_URL,SEAMLESS_ADAPTER_URL, andSEAMLESS_FASTIFY_ADAPTER_URLare honored when set.
Patch Changes
- 01d9b3d: Support Node 22 and newer. The
enginesfield now requires>=22instead of>=24 <25, and CI runs on Node 22, 24, and the latest release (fells-code/seamless-auth-api#339). - 9a21318: Depend on
@seamless-auth/types^0.28.0. The new release adds time range schemas for the dashboard metrics and security anomalies; its new response fields are optional, so nothing the CLI reads changes.