Releases: pypa/hatch
Releases · pypa/hatch
Hatchling v0.24.0
Added:
- Change the
Generator
name of wheel metadata fromhatch
tohatchling
to be more precise
Hatchling v0.23.0
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
This is the first stable release of Hatch v1, a complete rewrite. Enjoy!
Hatch v1.0.0rc18
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
Changed:
- Rename environment collector API method
get_environment_config
toget_initial_config
and do not make it required
Added:
- Add the
env run
command as a more advanced form of therun
command - Add
--json
flag to theenv 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
andfinalize_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
Added:
- Change the default dev mode mechanism to
pth
files for better compatibility with static analysis tools & IDEs (see microsoft/pylance-release#2114)
Fixed:
- Fix downstream test suite to avoid versions of
setuptools
with support for PEP 621 without PEP 639
Hatchling v0.21.1
Fixed:
- Relax normalization of dependency definitions
- Update project URLs metadata
Hatch v1.0.0rc16
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
Changed:
- In order to simplify configuration, metadata hooks are now configured under
tool.hatch.metadata.hooks
rather than directly undertool.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
Added:
- Bump the minimum supported version of Hatchling