|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v14.0.0 - The one after they go quantum |
| 4 | + |
| 5 | +The headlining feature of this release is **@simplewebauthn/server** gaining support for passkeys |
| 6 | +using the ML-DSA-44, ML-DSA-65, and ML-DSA-87 PQC algorithms in supported runtimes. And in those |
| 7 | +same supported runtimes, SimpleWebAuthn will automatically encourage registration of ML-DSA-44 |
| 8 | +passkeys to future-proof Relying Parties as PQC-capable FIDO2 authenticators and credential managers |
| 9 | +start coming to market. See https://simplewebauthn.dev/docs/advanced/server/pqc-ml-dsa-support for |
| 10 | +more info 🚀 |
| 11 | + |
| 12 | +Setting our sites on the browser, **@simplewebauthn/browser** picks up a new `sendSignal()` method |
| 13 | +as a single method to call all of the |
| 14 | +[WebAuthn Signal APIs](https://w3c.github.io/webauthn/#sctn-signal-methods). See |
| 15 | +https://simplewebauthn.dev/docs/packages/browser#sendsignal for more info 🛜 |
| 16 | + |
| 17 | +As for breaking changes, the minimum supported version of Node has been raised to **Node LTS 22.x |
| 18 | +and higher**, and **Deno v2.4.x and higher**. Going forward, SimpleWebAuthn will more formally aim |
| 19 | +to support Node LTS releases through their Active and Maintenance windows as tracked on |
| 20 | +[the Node.js Releases page](https://nodejs.org/en/about/previous-releases), and aim to support Deno |
| 21 | +minor releases for up to one year after their release |
| 22 | + |
| 23 | +That's not all, though. Continue reading for the full list of changes in this release! 🎉 |
| 24 | + |
| 25 | +**Changes:** |
| 26 | + |
| 27 | +- **[server]** The PQC ML-DSA-44, ML-DSA-65, and ML-DSA-87 signature algorithms are now supported as |
| 28 | + passkey public key algorithms when the runtime supports them. In runtimes that support these PQC |
| 29 | + algorithms, `generateRegistrationOptions()` will include ML-DSA-44 as the most preferred public |
| 30 | + key algorithm during registration. See |
| 31 | + https://simplewebauthn.dev/docs/advanced/server/pqc-ml-dsa-support for more info |
| 32 | + ([#785](https://github.com/MasterKale/SimpleWebAuthn/pull/785), |
| 33 | + [#794](https://github.com/MasterKale/SimpleWebAuthn/pull/794)) |
| 34 | +- **[browser]** The new `sendSignal()` method offers a simple way to invoke the |
| 35 | + [WebAuthn Signal APIs](https://w3c.github.io/webauthn/#sctn-signal-methods). See |
| 36 | + https://simplewebauthn.dev/docs/packages/browser#sendsignal for more info |
| 37 | + ([#778](https://github.com/MasterKale/SimpleWebAuthn/pull/778)) |
| 38 | +- **[browser]** The new `browserSupportsPasskeys()` helper method performs more robust WebAuthn |
| 39 | + support detection by also checking for typical passkey-related WebAuthn features. See |
| 40 | + https://simplewebauthn.dev/docs/packages/browser#browsersupportspasskeys for more info |
| 41 | + ([#761](https://github.com/MasterKale/SimpleWebAuthn/pull/761)) |
| 42 | +- **[browser]** The new `getBrowserCapabilities()` helper method wraps WebAuthn's |
| 43 | + `getClientCapabilities()` with additional feature detection checks when possible. See |
| 44 | + https://simplewebauthn.dev/docs/packages/browser#getbrowsercapabilities for more info |
| 45 | + ([#761](https://github.com/MasterKale/SimpleWebAuthn/pull/761)) |
| 46 | +- **[server]** `verifyAuthenticationResponse()` accepts an optional new `expectedTopOrigin` argument |
| 47 | + that supports cross-origin authentication verification. See |
| 48 | + https://simplewebauthn.dev/docs/advanced/server/cross-origin-support for more info |
| 49 | + ([#773](https://github.com/MasterKale/SimpleWebAuthn/pull/773)) |
| 50 | +- **[server]** `MetadataService.initialize()` accepts an optional new `logger` argument that can be |
| 51 | + used to capture MetadataService status output in a project-specific manner. See |
| 52 | + https://simplewebauthn.dev/docs/advanced/server/metadata-service#logging for more info |
| 53 | + ([#765](https://github.com/MasterKale/SimpleWebAuthn/pull/765)) |
| 54 | +- **[server]** The typing of `transports` in `excludeCredentials` when calling |
| 55 | + `generateRegistrationOptions()`, and `allowCredentials` when calling |
| 56 | + `generateAuthenticationOptions()`, has been updated to `string[]` to make it easier to call these |
| 57 | + methods ([#776](https://github.com/MasterKale/SimpleWebAuthn/pull/776)) |
| 58 | +- **[server]** `"tpm"` attestation verification is now more tolerant of variable casing in the TPM |
| 59 | + manufacturer IDs ([#772](https://github.com/MasterKale/SimpleWebAuthn/pull/772)) |
| 60 | +- **[server]** `generateRegistrationOptions()` and `verifyRegistrationResponse()` now use the same |
| 61 | + default list of allowed public key algorithms for `supportedAlgorithmIDs` |
| 62 | + ([#791](https://github.com/MasterKale/SimpleWebAuthn/pull/791)) |
| 63 | +- **[server]** The `validateCertificatePath()` helper now supports x5c arrays containing |
| 64 | + cross-signed certificates ([#796](https://github.com/MasterKale/SimpleWebAuthn/pull/796)) |
| 65 | + |
| 66 | +### Breaking Changes |
| 67 | + |
| 68 | +- **[browser] [server]** The minimum supported runtime versions have been increased to Node LTS 22.x |
| 69 | + and higher, and Deno v2.4.x and higher |
| 70 | + ([#763](https://github.com/MasterKale/SimpleWebAuthn/pull/763)) |
| 71 | + |
3 | 72 | ## v13.3.3 |
4 | 73 |
|
5 | 74 | **Changes:** |
|
0 commit comments