---
title: "jwcrypto 1.6.2 Breaking Changes on PyPI | Since.dev"
description: "What each jwcrypto release removed, renamed or changed: 13 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/jwcrypto
last_updated: 2026-12-04
---

# 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

Latest version `1.6.3`, released December 2, 2026. [Source repository](https://github.com/latchset/jwcrypto)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.5.8](#v-1-5-8) to [1.6.2](#v-1-6-2): 10 breaking changes in 2 versions.

## jwcrypto 1.6.2 breaking changes

jwcrypto 1.6.2, released November 23, 2026: 5 breaking changes.

- **Behavior changed**  

JOSE header merging and validation now follow one stricter path, which may reject headers that were accepted before. [github.com](https://github.com/latchset/jwcrypto/releases/tag/v1.6.2)
- **Behavior changed**  

Base64url input that is not in canonical form is now rejected, so previously accepted encodings may fail. [github.com](https://github.com/latchset/jwcrypto/releases/tag/v1.6.2)
- **Behavior changed**  

JWT claims are validated more strictly, so tokens or claims that were accepted before may now be rejected. [github.com](https://github.com/latchset/jwcrypto/releases/tag/v1.6.2)
- **Behavior changed**  

JWE decryption adds a recipient limit and early exit, so messages with many recipients may now be refused. [github.com](https://github.com/latchset/jwcrypto/releases/tag/v1.6.2)
- **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](https://github.com/latchset/jwcrypto/releases/tag/v1.6.2)

## jwcrypto 1.5.9 breaking changes

jwcrypto 1.5.9, released August 26, 2026: 5 breaking changes.

- **Removed** `jwcrypto.jwe.InvalidJWEData.__init__`  

InvalidJWEData() was removed in jwcrypto 1.5.9 [pypi.org](https://pypi.org/project/jwcrypto/1.5.9/)
- **Removed** `jwcrypto.jwe.JWException`  

jwcrypto.jwe.JWException was removed in jwcrypto 1.5.9 [pypi.org](https://pypi.org/project/jwcrypto/1.5.9/)
- **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](https://github.com/latchset/jwcrypto/releases/tag/v1.5.9)
- **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](https://github.com/latchset/jwcrypto/releases/tag/v1.5.9)
- **Signature changed** `jwcrypto.jwe.InvalidJWEData`  

Was class InvalidJWEData(JWException); now InvalidJWEData. [pypi.org](https://pypi.org/project/jwcrypto/1.5.9/)

## jwcrypto 1.5.8 breaking changes

jwcrypto 1.5.8, released June 24, 2026: 3 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](https://github.com/latchset/jwcrypto/releases/tag/v1.5.8)
- **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](https://github.com/latchset/jwcrypto/releases/tag/v1.5.8)
- **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](https://pypi.org/project/jwcrypto/1.5.8/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
