tomli breaking changes
tomli 2.4.1 (March 25, 2026) is its newest release with breaking changes. The first: Limits the number of parts allowed in a TOML key in tomli 2.4.1. Every breaking API change we have recorded in tomli on PyPI: 6 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 2.5.0, released October 7, 2026. Source repository
Its 2.0.0 release drops Python 3.6. Python end of life dates.
tomli 2.4.1 breaking changes
- Behavior changed
Keys with very many dotted parts are now rejected to avoid quadratic parsing time. Inputs with extremely long dotted keys may now fail to parse. github.com
tomli 2.0.0 breaking changes
- Removed
Python 3.6 is no longer supported, so code running on it must move to a newer Python version. github.com - Behavior changed
Parsing now fails when dotted keys define values outside the current table, which earlier versions accepted. Fix such TOML input. github.com - Signature changed
tomli.load
Text file objects are no longer accepted as load input. Pass binary file objects instead. pypi.org - Signature changed
tomli.loads
The first argument of loads must be passed positionally, not as a keyword argument. pypi.org
tomli 1.0.0 breaking changes
- Behavior changed
Code that catches KeyError when parsing an implicitly overwritten inline table must now catch TOMLDecodeError. github.com
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.