Skip to content

Commit efed1cf

Browse files
committed
Updated 0.12.7 change list
1 parent ca27b12 commit efed1cf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,24 @@
44

55
This patch release:
66

7+
* Adds a new Maven BOM, useful for multi-module projects. See [Issue 967](https://github.com/jwtk/jjwt/issues/967).
8+
* Allows the `JwtParserBuilder` to have empty nested algorithm collections, effectively disabling the parser's associated feature:
9+
- Emptying the `zip()` nested collection disables JWT decompression.
10+
- Emptying the `sig()` nested collection disables JWS mac/signature verification (i.e. all JWSs will be unsupported/rejected).
11+
- Emptying either the `enc()` or `key()` nested collections disables JWE decryption (i.e. all JWEs will be unsupported/rejected)
12+
13+
See [Issue 996](https://github.com/jwtk/jjwt/issues/996).
14+
* Fixes [bug 961](https://github.com/jwtk/jjwt/issues/961) where `JwtParserBuilder` nested collection builders were not correctly replacing algorithms with the same id.
15+
* Ensures a `JwkSet`'s `keys` collection is no longer entirely secret/redacted by default. This was an overzealous default that was unnecessarily restrictive; the `keys` collection itself should always be public, and each individual key within should determine which fields should be redacted when printed. See [Issue 976](https://github.com/jwtk/jjwt/issues/976).
716
* Improves performance slightly by ensuring all `jjwt-api` utility methods that create `*Builder` instances (`Jwts.builder()`, `Jwts.parserBuilder()`, `Jwks.builder()`, etc) no longer use reflection.
817

918
Instead,`static` factories are created via reflection only once during initial `jjwt-api` classloading, and then `*Builder`s are created via standard instantiation using the `new` operator thereafter. This also benefits certain environments that may not have ideal `ClassLoader` implementations (e.g. Tomcat in some cases).
1019

1120
**NOTE: because this changes which classes are loaded via reflection, any environments that must explicitly reference reflective class names (e.g. GraalVM applications) will need to be updated to reflect the new factory class names**.
1221

1322
See [Issue 988](https://github.com/jwtk/jjwt/issues/988).
23+
* Upgrades the Gson dependency to `2.11.0`
24+
* Upgrades the BouncyCastle dependency to `1.78.1`
1425

1526
### 0.12.6
1627

0 commit comments

Comments
 (0)