Skip to content

Commit e041bd7

Browse files
committed
Update NEWS
1 parent 21905b5 commit e041bd7

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

NEWS

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
1-
== Version 0.18.2 (unreleased) ==
1+
== Version 0.19.0 ==
2+
3+
Breaking changes:
4+
5+
* Overhauled exception hierarchy
6+
** New exception class: `U2fCeremonyException`
7+
** New exception class: `U2fRegistrationException extends U2fCeremonyException`
8+
** New exception class: `U2fAuthenticationException extends U2fCeremonyException`
9+
** The following exception classes now extend `U2fAuthenticationException`:
10+
*** `DeviceCompromisedException`
11+
*** `InvalidDeviceCounterException`
12+
*** `NoEligableDevicesException`
13+
*** `NoEligibleDevicesException`
14+
** `U2fBadConfigurationException` is now a checked exception
15+
** `U2fBadInputException` is now a checked exception, and is no longer thrown directly by the methods of `U2F`.
16+
*** Methods of `U2F` now catch this exception and wrap it in a `U2fRegistrationException` or ``U2fAuthenticationException`.
17+
* `DeviceRegistration.getAttestationCertificate()` now returns `null` instead of throwing `NoSuchFieldException`
18+
* `static ClientData.getString(JsonNode, String)` now throws `U2fBadInputException` instead of `NullPointerException`, or if the returned field is not a `String` value
19+
* Some `AssertionError`s and `IllegalArgumentException`s are now `U2fBadInputException`s instead
20+
21+
22+
Improvements:
23+
24+
* `BouncyCastleCrypto` now throws more descriptive exceptions
25+
26+
27+
Bug fixes:
228

329
* Improved error handling in client data input validation
4-
** Thanks to Nicholas Wilson for the contribution, see
5-
https://github.com/Yubico/java-u2flib-server/pull/25
30+
** Thanks to Nicholas Wilson for the contribution, see https://github.com/Yubico/java-u2flib-server/pull/25
631

732

833
== Version 0.18.1 ==

0 commit comments

Comments
 (0)