Releases: MasterKale/SimpleWebAuthn
Releases · MasterKale/SimpleWebAuthn
v1.0.0 - The one that gets things out of "Beta"
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [server] Add support for multiple expected origins and RP IDs in
verifyAttestationResponse()
andverifyAssertionResponse()
- [server] Update
generateAttestationOptions()
to force legacyauthenticatorSelection.requireResidentKey
totrue
whenauthenticatorSelection.residentKey
is"required"
(as per L2 of the WebAuthn spec) - [typescript-types] Update
AuthenticatorDevice
type with optionaltransports
property - [browser] Version sync
- [testing] Version sync
Breaking Changes
There are no breaking changes in this release. Several recent minor changes presented an opportunity to release a "v1.0". I'd received enough positive feedback about SimpleWebAuthn and noticed growing usage which granted me the confidence to take advantage of this opportunity.
And perhaps this will give the project more legitimacy in the eyes of larger organizations wishing to use it but waiting for the libraries to "get out of beta"...
v0.10.4
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [server] Unpin dependency versions
- [server] Upgrade dependencies and devDependencies
- [typescript-types] Pull in TypeScript DOM lib types on build
- [docs] Upgrade TypeDoc for better API docs
v0.10.3
Packages:
- @simplewebauthn/[email protected]
Changes:
- [server] Add optional
rpID
argument togenerateAssertionOptions()
v0.10.2
Packages:
- @simplewebauthn/[email protected]
Changes:
- [server] Update ASN.1 parsing libraries to latest releases
v0.10.1
v0.10.0 - The one you can use your face with
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [server] Add support for "apple" attestations to support iOS Face ID and Touch ID
- [server] [browser] Enable specifying transports per credential for
allowCredentials
andexcludeCredentials
- [browser] Return authenticator's transports (when available) as
transports
in response fromstartAttestation()
- [typescript-types] Add new
AuthenticatorAttestationResponseFuture
type for better typing of credential response methods (getTransports()
,getAuthenticatorData()
, etc...)
Breaking Changes
- [server] Existing implementations of
generateAttestationOptions()
andgenerateAssertionOptions()
must be updated to specify credentials with their own transports:
generateAttestationOptions()
// OLD
const options = generateAttestationOptions({
excludedCredentialIDs: devices.map(dev => dev.credentialID),
suggestedTransports: ['usb', 'ble', 'nfc', 'internal'],
});
// NEW
const options = generateAttestationOptions({
excludeCredentials: devices.map(dev => ({
id: dev.credentialID,
type: 'public-key',
transports: dev.transports,
})),
});
generateAssertionOptions()
// OLD
const options = generateAssertionOptions({
allowedCredentialIDs: user.devices.map(dev => dev.credentialID),
suggestedTransports: ['usb', 'ble', 'nfc', 'internal'],
});
// NEW
const options = generateAssertionOptions({
allowCredentials: devices.map(dev => ({
id: dev.credentialID,
type: 'public-key',
transports: dev.transports,
})),
});
v0.9.1
v0.9.0 - The one that knows RSA from EC2
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [server] Add support for attestations and assertions containing RSA public keys.
- [browser] Version sync.
- [typescript-types] Version sync.
Breaking Changes
- [server]
authenticatorInfo.base64PublicKey
returned byverifyAttestationResponse()
is now the entire public key buffer instead of a pared down form of it (it's still returned base64url-encoded). This helps ensure support for existing public keys, as well as future public key formats that may be introduced in the future. Public keys previously returned by this method must be upgraded via this "upgrader" script to work with future assertions. - [server] The
serviceName
argument forgenerateAttestationOptions()
has been renamed torpName
. This brings it in line with the existingrpID
argument and maps more obviously to its respective property within the returned options.
v0.8.2
Packages:
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
- @simplewebauthn/[email protected]
Changes:
- [server] Return explicit defaults for
authenticatorSelection
in return value fromgenerateAttestationOptions()
for enhanced device compatibility. - [browser] Version sync.
- [typescript-types] Version sync.
v0.8.1
Packages:
- @simplewebauthn/[email protected]
Changes:
- [server] Stop filtering out algorithm ID's from
supportedAlgorithmIDs
when callinggenerateAttestationOptions()
- [server] Fix a bug when verifying TPM attestation extensions