unstale

pypi / tomli

tomli

What changed in tomli 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

2 breaking1 performance1 behavior and defaults1 tooling2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

tomli 26 changes

Breaking changes 1

  • Limits the number of parts in a TOML key to address quadratic time complexity.

    2.4.1release notes

Performance 1

  • Limits the number of parts in a TOML key to address quadratic time complexity.

    2.3.1release notes

Behavior and default changes 1

Tooling 1

Fixes and other changes 2

  • Binary wheels are now available for Python 3.15.

    2.5.0release notes

  • The limit is set to 400 to prevent mypyc-generated binaries from crashing unrecoverably in constrained environments.

    2.3.2, 2.5.0release notesrelease notes

tomli 11 changes

Breaking changes 1

  • Overwriting implicitly in an inline table raises TOMLDecodeError instead of KeyError.

    1.0.0release notes