Skip to content

Releases: pypa/hatch

Hatchling v0.24.0

28 Apr 22:05
Compare
Choose a tag to compare

Added:

  • Change the Generator name of wheel metadata from hatch to hatchling to be more precise

Hatchling v0.23.0

28 Apr 05:26
Compare
Choose a tag to compare

Added:

  • Add a version command
  • Add option to force include files from arbitrary paths
  • Add option to the wheel builder to ship files that will be installed globally
  • Add option to the wheel builder to ship extra metadata files
  • Support symlinks
  • Upgrade editables dependency
  • Use tomllib on Python 3.11+

Fixed:

  • Always include the root hatch.toml config file, if present, for source distributions

Hatch v1.0.0

28 Apr 07:47
Compare
Choose a tag to compare

This is the first stable release of Hatch v1, a complete rewrite. Enjoy!

Hatch v1.0.0rc18

28 Apr 07:21
Compare
Choose a tag to compare
Hatch v1.0.0rc18 Pre-release
Pre-release

Changed:

  • Moved the version scheme plugin interface to Hatchling for the ability to use version management without requiring a heavy CLI installation

Added:

  • Add dep show requirements command
  • Automatically run version commands in a build environment if dependencies are unavailable
  • Use tomllib on Python 3.11+
  • Bump the minimum supported version of Hatchling

Hatch v1.0.0rc17

18 Apr 22:33
ab6743a
Compare
Choose a tag to compare
Hatch v1.0.0rc17 Pre-release
Pre-release

Changed:

  • Rename environment collector API method get_environment_config to get_initial_config and do not make it required

Added:

  • Add the env run command as a more advanced form of the run command
  • Add --json flag to the env show command
  • Add features and scripts to the env show command
  • Allow environment selection for the env show command
  • Add environment collector API methods finalize_config and finalize_environments
  • Add more conditions for environment option overrides
  • Allow for environment option overrides of unknown/untyped options
  • Add method to the environment interface for getting options from environment variables
  • Allow selecting an explicit path for virtual environments
  • Add detached option to environments
  • Expose helper for lazily loading modules
  • Normalize the names of environment features to adhere to the newly-introduced PEP 685
  • Bump the minimum supported version of Hatchling
  • Upgrade tomlkit for better formatting

Hatchling v0.22.0

26 Mar 23:52
Compare
Choose a tag to compare

Added:

Fixed:

  • Fix downstream test suite to avoid versions of setuptools with support for PEP 621 without PEP 639

Hatchling v0.21.1

22 Mar 05:00
Compare
Choose a tag to compare

Fixed:

  • Relax normalization of dependency definitions
  • Update project URLs metadata

Hatch v1.0.0rc16

21 Mar 02:50
Compare
Choose a tag to compare
Hatch v1.0.0rc16 Pre-release
Pre-release

Added:

  • Add ability to select specific environments for command execution of matrices based on variables
  • Support a HATCH_PYTHON environment variable that, for example, environments may use before defaulting to the Python executable Hatch is running on
  • Also use the SHELL environment variable fallback on Windows systems
  • Update project URLs metadata

Hatchling v0.21.0

18 Mar 03:47
Compare
Choose a tag to compare

Changed:

  • In order to simplify configuration, metadata hooks are now configured under tool.hatch.metadata.hooks rather than directly under tool.hatch.metadata

Added:

  • Add option to allow the use of direct references for dependencies
  • Make the default pattern for the regex version source case insensitive
  • Deduplicate and normalize dependency definitions before writing metadata for wheels and source distributions
  • Normalize the names of optional dependency groups to adhere to the newly-introduced PEP 685

Hatch v1.0.0rc15

18 Mar 05:24
Compare
Choose a tag to compare
Hatch v1.0.0rc15 Pre-release
Pre-release

Added:

  • Bump the minimum supported version of Hatchling