unstale

pypi / hatchling

hatchling

What changed in hatchling 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 breaking3 new APIs and options2 behavior and defaults11 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

hatchling 119 changes

Breaking changes 3

  • Absolute paths and paths resolving outside the project directory are rejected.

    1.32.0release notes

  • Support for Python 3.9 was dropped.

    1.28.0release notes

  • Support for Python 2 was dropped.

    1.0.0release notes

New APIs and options 3

  • Pass --force to allow an explicit downgrade when setting a static project.version.

    1.32.0release notes

  • The wheel build target adds the sbom-files option for including Software Bill of Materials files.

    1.28.0release notes

  • The wheel build target adds sbom_files build data for including Software Bill of Materials files.

    1.28.0release notes

Behavior and default changes 2

  • The default core metadata version is now 2.5.

    1.32.0release notes

  • The version command can update a statically defined project.version in pyproject.toml in place.

    1.32.0release notes

Fixes and other changes 11

  • Python 3.15 is officially supported.

    1.33.0release notes

  • BuilderConfig is no longer generic, restoring the pre-1.32.3 plugin interface.

    1.32.4release notes

  • Reverts the extra type parameter that broke plugins subscripting BuildHookInterface with a single argument, restoring the pre-1.32.3 plugin interface.

    1.32.4release notes

  • Spaces are stripped around version metadata when original input is used for CalVer, preserving leading zeroes.

    1.32.4release notes

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

    1.32.3release notes

  • Entries with the ; private annotation are accepted rather than rejected as invalid import names.

    1.32.0release notes

  • Only rewrite a shared script’s shebang when a Python shebang is present on the first line, preserving binary files and other content verbatim.

    1.31.0release notes

  • The default core metadata version remains 2.4 until more tools support 2.5.

    1.30.1release notes

  • No longer fails when set to a date before 1980.

    1.29.0release notes

  • Error messaging for invalid versions was improved.

    1.0.0release notes

  • Project metadata was updated to reflect support for Python 3.11.

    1.0.0release notes