|
1 |
| -== Version 2.1.0 (unreleased) == |
| 1 | +== Version 2.3.1 (unreleased) == |
| 2 | + |
| 3 | +`webauthn-server-core`: |
| 4 | + |
| 5 | +Fixes: |
| 6 | + |
| 7 | +* During `RelyingParty.finishRegistration()` if an `attestationTrustSource` is |
| 8 | + configured, if the `aaguid` in the attestation data is zero, the call to |
| 9 | + `AttestationTrustSource.findTrustRoots` will fall back to reading the AAGUID |
| 10 | + from the attestation certificate if possible. |
| 11 | + |
| 12 | +`webauthn-server-attestation`: |
| 13 | + |
| 14 | +Fixes: |
| 15 | + |
| 16 | +* `findEntries` and `findTrustRoots` methods in `FidoMetadataService` now |
| 17 | + attempt to read AAGUID from the attestation certificate if the `aaguid` |
| 18 | + argument is absent or zero. |
| 19 | +* Method `FidoMetadataService.Filters.allOf` now has `@SafeVarargs` annotation. |
| 20 | + |
| 21 | + |
| 22 | +== Version 2.3.0 == |
| 23 | + |
| 24 | +New features: |
| 25 | + |
| 26 | +* (Experimental) Added `authenticatorAttachment` property to response objects: |
| 27 | + ** NOTE: Experimental features may receive breaking changes without a major |
| 28 | + version increase. |
| 29 | + ** Added method `getAuthenticatorAttachment()` to `PublicKeyCredential` and |
| 30 | + corresponding builder method |
| 31 | + `authenticatorAttachment(AuthenticatorAttachment)`. |
| 32 | + ** Added method `getAuthenticatorAttachment()` to `RegistrationResult` and |
| 33 | + `AssertionResult`, which echo `getAuthenticatorAttachment()` from the |
| 34 | + corresponding `PublicKeyCredential`. |
| 35 | + ** Thanks to GitHub user luisgoncalves for the contribution, see |
| 36 | + https://github.com/Yubico/java-webauthn-server/pull/250 |
| 37 | + |
| 38 | +Other: |
| 39 | + |
| 40 | +* Fixed the README description of SemVer exceptions: `@Deprecated` features are |
| 41 | + still part of the public API unless they also have an `EXPERIMENTAL:` tag in |
| 42 | + JavaDoc. |
| 43 | +* Brought `com.yubico.webauthn` package JavaDoc up to date with new library |
| 44 | + features. |
| 45 | + |
| 46 | + |
| 47 | +== Version 2.2.0 == |
| 48 | + |
| 49 | +`webauthn-server-core`: |
| 50 | + |
| 51 | +Changes: |
| 52 | + |
| 53 | +* Changed internal structure of `RegistrationResult` and `AssertionResult`. This |
| 54 | + may affect you if you use Jackson or similar tools to serialize these values |
| 55 | + to JSON, for example. This is not an officially supported use case and thus |
| 56 | + does not warrant a major version bump. |
| 57 | +* Removed methods `RegistrationResult.toBuilder()` and |
| 58 | + `AssertionResult.toBuilder()`. Both had package-private return types, and thus |
| 59 | + were not usable by outside callers. |
| 60 | + |
| 61 | +New features: |
| 62 | + |
| 63 | +* (Experimental) Added support for the new `BE` (backup eligible) and `BS` |
| 64 | + (backup state) flags in authenticator data: |
| 65 | + ** NOTE: Experimental features may receive breaking changes without a major |
| 66 | + version increase. |
| 67 | + ** Added `BE` and `BS` properties to `AuthenticatorDataFlags`, reflecting the |
| 68 | + respective flags (bits 0x08 and 0x10). |
| 69 | + ** Added methods `isBackupEligible()` and `isBackedUp()` to |
| 70 | + `RegistrationResult` and `AssertionResult`, reflecting respectively the `BE` |
| 71 | + and `BS` flags. |
| 72 | + ** Added properties `backupEligible` and `backupState`, getters |
| 73 | + `isBackupEligible()` and `isBackedUp()`, and corresponding builder methods |
| 74 | + to `RegisteredCredential`. `RelyingParty.finishAssertion(...)` will now |
| 75 | + validate that if `RegisteredCredential.isBackupEligible()` is present, then |
| 76 | + the `BE` flag of any assertion of that credential must match the stored |
| 77 | + value. |
| 78 | + |
| 79 | +Fixes: |
| 80 | + |
| 81 | +* Fixed TPM attestation verification rejecting attestation certificates with TPM |
| 82 | + Device Attributes split between multiple RelativeDistinguishedName structures |
| 83 | + in the Subject Alternative Names extension. |
| 84 | + ** Thanks to Oussama Zgheb for the contribution, see |
| 85 | + https://github.com/Yubico/java-webauthn-server/pull/241 |
| 86 | +* Fixed various errors in JavaDoc. |
| 87 | + |
| 88 | + |
| 89 | +`webauthn-server-attestation`: |
| 90 | + |
| 91 | +Fixes: |
| 92 | + |
| 93 | +* Improved documentation of guarantees provided by `FidoMetadataDownloader` and |
| 94 | + required of its parameters. |
| 95 | + |
| 96 | + |
| 97 | +== Version 2.1.0 == |
| 98 | + |
| 99 | +`webauthn-server-core`: |
2 | 100 |
|
3 | 101 | Changes:
|
4 | 102 |
|
5 | 103 | * Log messages on attestation certificate path validation failure now include
|
6 | 104 | the attestation object.
|
7 | 105 |
|
| 106 | +Deprecations: |
| 107 | + |
| 108 | +* Deprecated method `AssertionResult.getCredentialId(): ByteArray`. Use |
| 109 | + `.getCredential().getCredentialId()` instead. |
| 110 | +* Deprecated method `AssertionResult.getUserHandle(): ByteArray`. Use |
| 111 | + `.getCredential().getUserHandle()` instead. |
| 112 | + |
| 113 | +New features: |
| 114 | + |
| 115 | +* Added function `COSEAlgorithmIdentifier.fromPublicKey(ByteArray)`. |
| 116 | +* Added method `AssertionResult.getCredential(): RegisteredCredential`. |
| 117 | +* Added support for the `"tpm"` attestation statement format. |
| 118 | +* Added support for ES384 and ES512 signature algorithms. |
| 119 | +* Added property `policyTreeValidator` to `TrustRootsResult`. If set, the given |
| 120 | + predicate function will be used to validate the certificate policy tree after |
| 121 | + successful attestation certificate path validation. This may be required for |
| 122 | + some JCA providers to accept attestation certificates with critical |
| 123 | + certificate policy extensions. See the JavaDoc for |
| 124 | + `TrustRootsResultBuilder.policyTreeValidator(Predicate)` for more information. |
| 125 | +* Added enum value `AttestationConveyancePreference.ENTERPRISE`. |
| 126 | +* (Experimental) Added constant `AuthenticatorTransport.HYBRID`. |
| 127 | + |
8 | 128 | Fixes:
|
9 | 129 |
|
10 | 130 | * Fixed various typos and mistakes in JavaDocs.
|
11 | 131 | * Moved version constraints for test dependencies from meta-module
|
12 | 132 | `webauthn-server-parent` to unpublished test meta-module.
|
| 133 | +* `yubico-util` dependency removed from downstream compile scope. |
| 134 | +* Fixed missing JavaDoc on `TrustRootsResult` getters and builder setters. |
| 135 | + |
| 136 | + |
| 137 | +`webauthn-server-attestation`: |
| 138 | + |
| 139 | +Changes: |
| 140 | + |
| 141 | +* The `AuthenticatorToBeFiltered` argument of the `FidoMetadataService` runtime |
| 142 | + filter now omits zero AAGUIDs. |
| 143 | +* Promoted log messages in `FidoMetadataDownloader` about BLOB signature failure |
| 144 | + and cache corruption from DEBUG level to WARN level. |
| 145 | + |
| 146 | +New features: |
| 147 | + |
| 148 | +* Added method `FidoMetadataDownloader.refreshBlob()`. |
| 149 | + |
| 150 | +Fixes: |
| 151 | + |
| 152 | +* Fixed various typos and mistakes in JavaDocs. |
| 153 | +* `FidoMetadataDownloader` now verifies the SHA-256 hash of the cached trust |
| 154 | + root certificate, as promised in the JavaDoc of `useTrustRootCacheFile` and |
| 155 | + `useTrustRootCache`. |
| 156 | +* BouncyCastle dependency dropped. |
| 157 | +* Guava dependency dropped (but still remains in core module). |
| 158 | +* If BLOB download fails, `FidoMetadataDownloader` now correctly falls back to |
| 159 | + cache if available. |
13 | 160 |
|
14 | 161 |
|
15 | 162 | == Version 2.0.0 ==
|
|
0 commit comments