Minor JavaDoc fix and changelog updates. Fixes #535 (#575)

This commit is contained in:
Les Hazlewood 2020-03-12 16:25:12 -04:00 committed by GitHub
parent 9e65ab7be0
commit 6565bdc019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -4,9 +4,10 @@
This patch release:
* Fixes issue when using Java 9+ `Map.of` with JacksonDeserializer which resulted in an NullPointerException
* Fixes issue preventing Gson seralizer/deserializer implementation from being detected automatically
* Services are now loaded from the context class loader, Services.class.classLoader, and the system classloader, the first classloader with a service wins, and the others are ignored. This mimics how `Classes.forName()` works, and how JJWT attempted to auto-discover various implementations in previous versions.
* Fixes an issue when using Java 9+ `Map.of` with `JacksonDeserializer` that resulted in an `NullPointerException`.
* Fixes an issue that prevented the `jjwt-gson` .jar's seralizer/deserializer implementation from being detected automatically.
* Ensures service implementations are now loaded from the context class loader, Services.class.classLoader, and the system classloader, the first classloader with a service wins, and the others are ignored. This mimics how `Classes.forName()` works, and how JJWT attempted to auto-discover various implementations in previous versions.
* Fixes a minor error in the `Claims#getIssuedAt` JavaDoc.
### 0.11.0

View File

@ -141,7 +141,7 @@ public interface Claims extends Map<String, Object>, ClaimsMutator<Claims> {
*
* <p>If present, this value is the timestamp when the JWT was created.</p>
*
* @return the JWT {@code nbf} value or {@code null} if not present.
* @return the JWT {@code iat} value or {@code null} if not present.
*/
Date getIssuedAt();