jwcrypto breaking changes
jwcrypto 1.6.2 (November 23, 2026) is its newest release with breaking changes, 5 of them. The first: JOSE header merging and validation are unified in jwcrypto 1.6.2. Every breaking API change we have recorded in jwcrypto on PyPI: 13 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.6.3, released December 2, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
jwcrypto 1.6.2 breaking changes
- Behavior changed
JOSE header merging and validation now follow one stricter path, which may reject headers that were accepted before. github.com - Behavior changed
Base64url input that is not in canonical form is now rejected, so previously accepted encodings may fail. github.com - Behavior changed
JWT claims are validated more strictly, so tokens or claims that were accepted before may now be rejected. github.com - Behavior changed
JWE decryption adds a recipient limit and early exit, so messages with many recipients may now be refused. github.com - Configuration changed
ML-DSA is now an optional part of the package, so code that uses it may need the optional install to keep working. github.com
jwcrypto 1.5.9 breaking changes
- Removed
jwcrypto.jwe.InvalidJWEData.__init__
InvalidJWEData() was removed in jwcrypto 1.5.9 pypi.org - Removed
jwcrypto.jwe.JWException
jwcrypto.jwe.JWException was removed in jwcrypto 1.5.9 pypi.org - Behavior changed
Bare ECDH-ES JWE tokens that carry a non-empty encrypted key are now rejected. Check that tokens you process do not include one. github.com - Behavior changed
JWE and JWS parsing now limits dot splits, so tokens with extra dot-separated segments may now be rejected. Check that your inputs are well-formed compact tokens. github.com - Signature changed
jwcrypto.jwe.InvalidJWEData
Was class InvalidJWEData(JWException); now InvalidJWEData. pypi.org
jwcrypto 1.5.8 breaking changes
- Behavior changed
JWKSet
Parsing errors from JWKSet are wrapped in InvalidJWKValue, so code catching the previous exception types must catch InvalidJWKValue instead. github.com - Configuration changed
The minimum required version of the cryptography dependency is now 39.0.0, so environments with an older cryptography must upgrade it. github.com - Signature changed
jwcrypto.jwt.JWT.__init__
Was def __init__(self, header=None, claims=None, jwt=None, key=None, algs=None, default_claims=None, check_claims=None, expected_type=None); now def __init__(self, header=None, claims=None, jwt=None, key=None, algs=None... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.