Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/fastify-port-and-pino-pretty.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/seamless-sdks-passkey-skip.md

This file was deleted.

32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down