chore: bump to auth API v0.10.0, dashboard v0.5.0, templates v0.12.0 - #197
Merged
Conversation
Three auth API releases land together. v0.8.0 gives WebAuthn challenges their own store with an expiry and one-time use, so a registration and a login can be outstanding at once instead of clobbering each other, and adds AUTHENTICATOR_POLICY. v0.9.0 puts the lockout policy and the per-IP and per-identity limiters on TOTP step-up, which had none of the three, and stops running refresh tokens through bcrypt. v0.10.0 drops the sessions.refreshTokenHash column the previous release stopped writing. The scaffold's compose file is built from the pinned release's .env.example, so a new project picks up AUTHENTICATOR_POLICY along with SESSION_IDLE_TTL, MAX_CONCURRENT_SESSIONS and a commented TRUST_PROXY, and REFRESH_TOKEN_TTL moves from 1h to 1d. The dashboard bump keeps the standalone console (--admin=image and --admin=source) in step with the one the API image serves at /console: API v0.10.0 embeds dashboard v0.5.0 itself. Templates v0.12.0 moves the starters onto @seamless-auth/react 0.11.0, @seamless-auth/express 0.13.0 and @seamless-auth/fastify 0.4.0. All three are 0.x minors, so the caret ranges the starters carried could never have resolved to them. Its manifest contract is unchanged, so nothing in init moves with it. The conformance adapters follow the same SDKs the starters now install.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the scaffold onto the current Seamless ecosystem.
SEAMLESS_AUTH_API_VERSIONSEAMLESS_AUTH_ADMIN_DASHBOARD_VERSIONSEAMLESS_TEMPLATES_REF@seamless-auth/express(verify adapter)@seamless-auth/fastify(verify adapter)Auth API
Three releases land together.
v0.8.0gives WebAuthn challenges their own store with a five-minute expiry and one-time use, so a registration and a login can be outstanding at once instead of clobbering each other, and addsAUTHENTICATOR_POLICY(attachment, user verification, attestation, and whether a synced passkey may enrol).v0.9.0puts the lockout policy and the per-IP and per-identity limiters on TOTP step-up, which carried none of the three, and stops running refresh tokens through bcrypt.v0.10.0drops thesessions.refreshTokenHashcolumn the previous release stopped writing.A scaffold's compose file is built from the pinned release's
.env.example, so a new project picks upAUTHENTICATOR_POLICYalong withSESSION_IDLE_TTL,MAX_CONCURRENT_SESSIONSand a commentedTRUST_PROXY, andREFRESH_TOKEN_TTLmoves from1hto1d.Admin dashboard
v0.10.0of the API embeds dashboardv0.5.0in its own image, so this bump keeps the standalone console (--admin=imageand--admin=source) serving the same release as the one at/console. That release names the acting administrator separately from the subject in the events table, and collects identity proofing before preparing a device replacement.Templates
v0.12.0moves the starters onto@seamless-auth/react0.11.0,@seamless-auth/express0.13.0and@seamless-auth/fastify0.4.0— all 0.x minors, so the caret ranges the starters carried could never have resolved to them. It also carries per-application auth cookie names read fromAUTH_COOKIE_PREFIX. The manifest contract and the registry are byte-identical to v0.9.0, so nothing ininitmoves with it.The conformance adapters follow the same SDKs the starters now install. Both stop repeating the access and refresh tokens in the body of the response that sets them as
httpOnlycookies, and both forward a magic link'sredirectUrito the API.Verification
v0.10.0and dashboardv0.5.0are tagged on GHCR, andregistry.jsonand.env.examplefetch 200 at the new refs.npm viewresolves^0.13.0/^0.4.0to 0.13.0 and 0.4.0..env.exampleat v0.10.0 to confirm the new keys reach the generated compose correctly escaped,AUTHENTICATOR_POLICYincluded.npm run buildpasses; 977 tests pass, 4 skipped.template.jsonandregistry.jsonbetween v0.9.0 and v0.12.0: no changes.token/refreshTokenoff an adapter response, or asserting the400that core 0.13.0 turned into401— there is none; they assert cookies, and the one relevant case is.not.toBe(200).