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
5 changes: 0 additions & 5 deletions .changeset/audit-minimatch-glob.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/enroll-after-first-factor.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/idle-delivery-polling.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# seamless-auth-api

## 0.24.1

### Patch Changes

- bcaf4f8: Updates the `minimatch` and `glob` versions locked under `sequelize-cli` to releases that fix GHSA-cf2h-pxjq-68xw, GHSA-c859-jr93-m5j4, GHSA-hqmv-qgp3-jx75 and GHSA-qxr8-q827-836c, and the dev-only `cross-spawn` to a fixed release. No code changes.
- 365d482: A user who adds their first passkey or authenticator app can add recovery codes, a phone or another factor in the same sign-in again. Since 0.24.0 the new factor made those routes ask for a step-up that only a factor from before the sign-in can pass, so a new user was stopped between their first passkey and their recovery codes until they signed in again. Only a factor enrolled before the session signed in now makes enrollment ask for a step-up. A factor added during the session is treated like no factor, which needs a sign-in from the last five minutes.
- 9d1ce04: Webhook and audit sink delivery no longer query the database every second on every instance when nothing is configured to deliver to. Since 0.23.0 both loops ran once a second regardless, which kept pooled connections open and a serverless Postgres (Aurora Serverless v2, Neon and similar) from scaling down. Each loop now polls once a second while a webhook endpoint exists or an audit sink is enabled, and every 30 seconds otherwise, with a single read. Creating an endpoint or creating or enabling a sink wakes the loop on that instance at once; other instances pick it up within 30 seconds. Creating the first webhook endpoint starts delivery at the newest event, as before, so no history is replayed.

## 0.24.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion adapter-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"apiVersion": "0.24.0",
"apiVersion": "0.24.1",
"session": {
"subject": "sub",
"token": "token",
Expand Down
2 changes: 1 addition & 1 deletion openapi.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"openapi": "3.0.3",
"info": { "title": "Seamless Auth API", "version": "0.24.0" },
"info": { "title": "Seamless Auth API", "version": "0.24.1" },
"components": {
"schemas": {},
"parameters": {},
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-auth-api",
"version": "0.24.0",
"version": "0.24.1",
"description": "Seamless Auth API - A web application server for supporting a Seamless Auth server instance.",
"main": "index.js",
"type": "module",
Expand Down