Thanks for everything, Node 16 and Node 18, but it's time to move on! The headlining change of this
release is the targeting of Node LTS v20+ as the minimum Node runtime. Additional developer-centric
quality-of-life changes have also been made in the name of streamlining use of SimpleWebAuthn on
both the back end and front end.
This release is packed with updates, so buckle up! Refactor advice for breaking changes is, as
always, offered below.
[server] The minimum supported Node version has been raised to Node v20
(#531)
[server]user.displayName now defaults to an empty string if a value is not specified for
userDisplayName when calling generateRegistrationOptions()
(#538)
[browser] The browserSupportsWebAuthnAutofill() helper will no longer break in environments
in which PublicKeyCredential is not present
(#557, with thanks to @clarafitzgerald)
Breaking Changes
[server] The following breaking changes were made in PR
#529:
generateRegistrationOptions() now expects Base64URLString for excluded credential IDs
generateAuthenticationOptions() now expects Base64URLString for allowed credential IDs
credentialID returned from response verification methods is now a Base64URLString
AuthenticatorDevice.credentialID is now a Base64URLString
isoBase64URL.isBase64url() is now called isoBase64URL.isBase64URL()
[browser, server] The following breaking changes were made in PR
#552:
generateRegistrationOptions() now accepts an optional Uint8Array instead of a string for
userID
isoBase64URL.toString() and isoBase64URL.fromString() have been renamed
generateRegistrationOptions() will now generate random user IDs
user.id is now treated like a base64url string in startRegistration()
userHandle is now treated like a base64url string in startAuthentication()
[server]rpID is now a required argument when calling generateAuthenticationOptions()
(#555)
[server] generateRegistrationOptions() now expects Base64URLString for excluded credential IDs
Thanks for everything, Node 16 and Node 18, but it's time to move on! The headlining change of this
release is the targeting of Node LTS v20+ as the minimum Node runtime. Additional developer-centric
quality-of-life changes have also been made in the name of streamlining use of SimpleWebAuthn on
both the back end and front end.
This release is packed with updates, so buckle up! Refactor advice for breaking changes is, as
always, offered below.
[server] The minimum supported Node version has been raised to Node v20
(#531)
[server]user.displayName now defaults to an empty string if a value is not specified for
userDisplayName when calling generateRegistrationOptions()
(#538)
[browser] The browserSupportsWebAuthnAutofill() helper will no longer break in environments
in which PublicKeyCredential is not present
(#557, with thanks to @clarafitzgerald)
Breaking Changes
[server] The following breaking changes were made in PR
#529:
generateRegistrationOptions() now expects Base64URLString for excluded credential IDs
generateAuthenticationOptions() now expects Base64URLString for allowed credential IDs
credentialID returned from response verification methods is now a Base64URLString
AuthenticatorDevice.credentialID is now a Base64URLString
isoBase64URL.isBase64url() is now called isoBase64URL.isBase64URL()
[browser, server] The following breaking changes were made in PR
#552:
generateRegistrationOptions() now accepts an optional Uint8Array instead of a string for
userID
isoBase64URL.toString() and isoBase64URL.fromString() have been renamed
generateRegistrationOptions() will now generate random user IDs
user.id is now treated like a base64url string in startRegistration()
userHandle is now treated like a base64url string in startAuthentication()
[server]rpID is now a required argument when calling generateAuthenticationOptions()
(#555)
[server] generateRegistrationOptions() now expects Base64URLString for excluded credential IDs
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps @simplewebauthn/browser from 9.0.1 to 10.0.0.
Release notes
Sourced from
@simplewebauthn/browser
's releases.... (truncated)
Changelog
Sourced from
@simplewebauthn/browser
's changelog.... (truncated)
Commits
81d9e49
chore(release): publish v10.0.0fe3bf5a
Add tests549b3ef
Ensure Conditional UI has WebAuthn available6e780a4
Rename options JSON args in browser methods6af3018
Remove UTF-8 string helpers from browser0eef742
Treat userHandle as base64url string during auth0156c63
Treat user.id as base64url string during regYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show