diff --git a/.changeset/fastify-port-and-pino-pretty.md b/.changeset/fastify-port-and-pino-pretty.md deleted file mode 100644 index 9a8c597..0000000 --- a/.changeset/fastify-port-and-pino-pretty.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'seamless-templates': patch ---- - -Fix two boot-time footguns in the Fastify API starter. - -`PORT` is read with `||` rather than `??`, so an empty `PORT=` in `.env` falls back to 3000. It -previously reached `Number("")`, which is `0`, and Fastify binds port 0 to a random free port, so the -API came up somewhere nobody was looking. - -`pino-pretty` moves from `devDependencies` to `dependencies`. The logger loads it for any `NODE_ENV` -other than `production`, so an install that omitted dev dependencies, which is the usual shape of a -staging deploy, failed to boot on a missing transport target. diff --git a/.changeset/seamless-sdks-passkey-skip.md b/.changeset/seamless-sdks-passkey-skip.md deleted file mode 100644 index 7659c8b..0000000 --- a/.changeset/seamless-sdks-passkey-skip.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -'seamless-templates': minor ---- - -Move the templates onto the Seamless SDK releases that let a user finish registration without a -passkey. - -Registration used to end on a screen with one control on it. A user who did not want a passkey, or -whose device could not make one, had no way forward. `@seamless-auth/react` 0.8.0 offers a skip when -the instance has a login method other than `passkey` enabled, and says plainly when it does not. - -The web and API templates have to move together for that to work. The skip is gated on reading -`GET /system-config/public` from the auth server, and the adapters serve routes from an explicit -list, so the React templates on 0.8.0 need an API template that proxies the new route. A web -template upgraded on its own would read nothing, and fall back to showing no skip at all. - -- `@seamless-auth/react` 0.7.0 to 0.8.0 in both React templates -- `@seamless-auth/express` 0.11.0 to 0.12.0 -- `@seamless-auth/fastify` 0.2.0 to 0.3.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 196b0d0..aa0ef72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # seamless-templates +## 0.8.0 + +### Minor Changes + +- 6abdb46: Move the templates onto the Seamless SDK releases that let a user finish registration without a + passkey. + + Registration used to end on a screen with one control on it. A user who did not want a passkey, or + whose device could not make one, had no way forward. `@seamless-auth/react` 0.8.0 offers a skip when + the instance has a login method other than `passkey` enabled, and says plainly when it does not. + + The web and API templates have to move together for that to work. The skip is gated on reading + `GET /system-config/public` from the auth server, and the adapters serve routes from an explicit + list, so the React templates on 0.8.0 need an API template that proxies the new route. A web + template upgraded on its own would read nothing, and fall back to showing no skip at all. + + - `@seamless-auth/react` 0.7.0 to 0.8.0 in both React templates + - `@seamless-auth/express` 0.11.0 to 0.12.0 + - `@seamless-auth/fastify` 0.2.0 to 0.3.0 + +### Patch Changes + +- 71fb00b: Fix two boot-time footguns in the Fastify API starter. + + `PORT` is read with `||` rather than `??`, so an empty `PORT=` in `.env` falls back to 3000. It + previously reached `Number("")`, which is `0`, and Fastify binds port 0 to a random free port, so the + API came up somewhere nobody was looking. + + `pino-pretty` moves from `devDependencies` to `dependencies`. The logger loads it for any `NODE_ENV` + other than `production`, so an install that omitted dev dependencies, which is the usual shape of a + staging deploy, failed to boot on a missing transport target. + ## 0.7.0 ### Minor Changes diff --git a/package.json b/package.json index 096bc78..8dc3421 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "seamless-templates", - "version": "0.7.0", + "version": "0.8.0", "private": true, "description": "Frontend and API starter templates for Seamless Auth, consumed by the Seamless CLI", "homepage": "https://github.com/fells-code/seamless-templates#readme",