Hatch

Latest version: v1.11.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

1.1.1

***Fixed:***

- Fix `setuptools` migration script for non-Windows systems

1.1.0

***Changed:***

- In order to simplify the implementation of command execution for environment plugins, the `run_shell_commands` method has been replaced by the singular `run_shell_command`. A new `command_context` method has been added to more easily satisfy complex use cases.
- The `finalize_command` environment plugin method has been removed in favor of the newly introduced context formatting functionality.

***Added:***

- Add context formatting functionality i.e. the ability to insert values into configuration like environment variables and command line arguments
- Any verbosity for command execution will now always display headers, even for single environments
- Every executed command is now displayed when running multiple commands or when verbosity is enabled
- Similar to `make`, ignore the exit code of executed commands that start with `-` (a hyphen)
- Add ability for the `--init` flag of the `new` command to automatically migrate `setuptools` configuration
- Update project metadata to reflect the adoption by PyPA and production stability

hatchling-v0.24.0
***Added:***

- Change the `Generator` name of wheel metadata from `hatch` to `hatchling` 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

1.0.0

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

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

1.0.0rc17

***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](https://peps.python.org/pep-0685/)
- 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 https://github.com/microsoft/pylance-release/issues/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

1.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 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](https://www.python.org/dev/peps/pep-0685/)

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.