Skip to content

Commit 21d6b8a

Browse files
committed
Merge branch 'level-2'
2 parents 711efd3 + d909aee commit 21d6b8a

File tree

94 files changed

+6559
-1292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+6559
-1292
lines changed

NEWS

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
== Version 1.11.0 (unreleased) ==
2+
3+
Deprecated features:
4+
5+
* `AuthenticatorSelectionCriteria` methods
6+
`builder().requireResidentKey(boolean)` and `isRequireResidentKey()`
7+
deprecated in favor of a new option, see below.
8+
* The `icon` field in `RelyingPartyIdentity` and `UserIdentity`, and its
9+
associated methods, are now deprecated. The corresponding property was removed
10+
in WebAuthn Level 2.
11+
12+
Deprecated features will be removed in the next major version release.
13+
14+
Changes:
15+
16+
* `RelyingParty.appId` setting now also activates the `appidExclude` extension in
17+
addition to the `appid` extension.
18+
* `RelyingParty.startRegistration()` now enables the `credProps` extension by
19+
default. The extension output, if any, is available as
20+
`RegistrationResult.isDiscoverable()` and
21+
`RegistrationResult.getClientExtensionOutputs().getCredProps()`.
22+
23+
New features:
24+
25+
* Added support for the `appidExclude`, `credProps`, `largeBlob` and `uvm`
26+
extensions.
27+
* Added support for the new `authenticatorSelectionCriteria.residentKey` option:
28+
* Added method
29+
`AuthenticatorSelectionCriteria.builder().residentKey(ResidentKeyRequirement)`.
30+
* Added method `AuthenticatorSelection.getResidentKey()`.
31+
* Methods `builder().requireResidentKey(boolean)` and `isRequireResidentKey()`
32+
deprecated in favor of the above two new methods.
33+
* The builder methods `requireResidentKey(boolean)` and
34+
`residentKey(ResidentKeyRequirement)` both control one shared setting, which
35+
sets both the `requireResidentKey` and `residentKey` options simultaneously
36+
and in agreement with each other for backwards compatibility with older
37+
browsers.
38+
* Added methods `PublicKeyCredentialCreationOptions.toCredentialCreateJson()`,
39+
`PublicKeyCredentialRequestOptions.toCredentialGetJson()` and
40+
`AssertionRequest.toCredentialGetJson()` for serializing to JSON without
41+
having to use Jackson directly.
42+
43+
Fixes:
44+
45+
* Added missing JavaDoc for `id` and `name` methods of initial
46+
`RelyingPartyIdentityBuilder` stages.
47+
48+
149
== Version 1.10.1 ==
250

351
webauthn-server-attestation:

0 commit comments

Comments
 (0)