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 inittomli 26 changes
Breaking changes 1
Limits the number of parts in a TOML key to address quadratic time complexity.
Performance 1
Limits the number of parts in a TOML key to address quadratic time complexity.
Behavior and default changes 1
Added compatibility with TOML v1.1.0.
Tooling 1
Added binary wheels for Windows arm64.
Fixes and other changes 2
Binary wheels are now available for Python 3.15.
The limit is set to 400 to prevent mypyc-generated binaries from crashing unrecoverably in constrained environments.
tomli 11 changes
Breaking changes 1
Overwriting implicitly in an inline table raises TOMLDecodeError instead of KeyError.