Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.12.7 source code.tar.gz | 2025-08-14 | 615.2 kB | |
0.12.7 source code.zip | 2025-08-14 | 1.2 MB | |
README.md | 2025-08-14 | 2.5 kB | |
Totals: 3 Items | 1.8 MB | 0 |
This patch release:
- Adds a new Maven BOM! This is useful for multi-module projects. See Issue 967.
- Allows the
JwtParserBuilder
to have empty nested algorithm collections, effectively disabling the parser's associated feature:- Emptying the
zip()
nested collection disables JWT decompression. - Emptying the
sig()
nested collection disables JWS mac/signature verification (i.e. all JWSs will be unsupported/rejected). - Emptying either the
enc()
orkey()
nested collections disables JWE decryption (i.e. all JWEs will be unsupported/rejected)
- Emptying the
See Issue 996.
* Fixes bug 961 where JwtParserBuilder
nested collection builders were not correctly replacing algorithms with the same id.
* 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.
* 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.
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).
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.
See Issue 988.
* Upgrades the Gson dependency to 2.11.0
* Upgrades the BouncyCastle dependency to 1.78.1
New Contributors
- @sigpwned made their first contribution in https://github.com/jwtk/jjwt/pull/968
- @TheMrMilchmann made their first contribution in https://github.com/jwtk/jjwt/pull/979
- @atanasg made their first contribution in https://github.com/jwtk/jjwt/pull/974
Full Changelog: https://github.com/jwtk/jjwt/compare/0.12.6...0.12.7