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

# 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

Latest version `2.5.0`, released October 7, 2026. [Source repository](https://github.com/hukkin/tomli)

Its 2.0.0 release drops Python 3.6. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.0.0](#v-1-0-0) to [2.4.1](#v-2-4-1): 5 breaking changes in 2 versions.

## tomli 2.4.1 breaking changes

tomli 2.4.1, released March 25, 2026: 1 breaking change.

- **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](https://github.com/hukkin/tomli/blob/2.4.1/CHANGELOG.md)

## tomli 2.0.0 breaking changes

tomli 2.0.0, released December 13, 2021: 4 breaking changes.

- **Removed**  

Python 3.6 is no longer supported, so code running on it must move to a newer Python version. [github.com](https://github.com/hukkin/tomli/blob/2.0.0/CHANGELOG.md)
- **Behavior changed**  

Parsing now fails when dotted keys define values outside the current table, which earlier versions accepted. Fix such TOML input. [github.com](https://github.com/hukkin/tomli/blob/2.0.0/CHANGELOG.md)
- **Signature changed** `tomli.load`  

Text file objects are no longer accepted as load input. Pass binary file objects instead. [pypi.org](https://pypi.org/project/tomli/2.0.0/)
- **Signature changed** `tomli.loads`  

The first argument of loads must be passed positionally, not as a keyword argument. [pypi.org](https://pypi.org/project/tomli/2.0.0/)

## tomli 1.0.0 breaking changes

tomli 1.0.0, released June 8, 2021: 1 breaking change.

- **Behavior changed**  

Code that catches KeyError when parsing an implicitly overwritten inline table must now catch TOMLDecodeError. [github.com](https://github.com/hukkin/tomli/blob/1.0.0/CHANGELOG.md)

## 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.
