pypi / hatchling
hatchling
What changed in hatchling 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 breaking1 new APIs and options2 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inithatchling 110 changes
Breaking changes 1
Absolute paths and paths resolving outside the project directory are rejected.
New APIs and options 1
Pass --force to allow an explicit downgrade when setting a static project.version.
Behavior and default changes 2
The default core metadata version is now 2.5.
The version command can update a statically defined project.version in pyproject.toml in place.
Fixes and other changes 6
BuilderConfig is no longer generic, restoring the pre-1.32.3 plugin interface.
Reverts the extra type parameter that broke plugins subscripting BuildHookInterface with a single argument, restoring the pre-1.32.3 plugin interface.
Spaces are stripped around version metadata when original input is used for CalVer, preserving leading zeroes.
Preserves the version string exactly as written in core metadata, including leading zeros in CalVer versions; distribution file names and .dist-info directories still use the PEP 440 normalized form.
Entries with the
; privateannotation are accepted rather than rejected as invalid import names.Entries with the
; privateannotation are accepted rather than rejected as invalid import names.