Hatch history¶Hatchの履歴¶
All notable changes to Hatch will be documented in this file.Hatchに関するすべての重要な変更は、このファイルに記録されます。
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.フォーマットはKeep a Changelogに基づいており、このプロジェクトはSemantic Versioningに従っています。
Unreleased¶未リリース¶
1.16.1 - 2025-11-27¶1.16.1 - 2025-11-27¶
Fixed:修正:
- Handle special characters correctly in path for editable installs.編集可能なインストールのパスで特殊文字を正しく処理する。
- Fix multiple calls to install on
sync_dependenciesto become a single call.sync_dependenciesへの複数回の呼び出しを単一の呼び出しに修正する。 - Fix context variable formatting in project dependencies to prevent crashes when using variables like
{root:parent:uri}in the[project]section.[project]セクションで{root:parent:uri}のような変数を使用する際にクラッシュを防ぐために、プロジェクト依存関係のコンテキスト変数のフォーマットを修正する。 - Fix environment overrides for
dependency-groupsfield to properly support matrix and conditional configurations.dependency-groupsフィールドの環境オーバーライドを修正して、マトリックスおよび条件付き構成を適切にサポートする。
1.16.0 - 2025-11-26¶1.16.0 - 2025-11-26¶
Changed:変更:
- Drop support for 3.9 3.9のサポートを終了する
- Environment type plugins are now no longer expected to support a pseudo-build environment as any environment now may be used for building. The following methods have been removed:
build_environment,build_environment_exists,run_builder,construct_build_command環境タイププラグインは、もはや擬似ビルド環境をサポートすることが期待されなくなりました。現在、任意の環境がビルドに使用できるためです。以下のメソッドが削除されました:build_environment,build_environment_exists,run_builder,construct_build_command
Added:追加:
- Support for workspaces inspired by Cargo WorkspacesCargo Workspacesに触発されたワークスペースのサポート
- Dependency group support.依存関係グループのサポート。
- The
versionandproject metadatacommands now support projects that do not use Hatchling as the build backendversionおよびproject metadataコマンドは、Hatchlingをビルドバックエンドとして使用しないプロジェクトをサポートするようになりました。 - The
versioncommand accepts a--forceoption, allowing for downgrades when an explicit version number is given.versionコマンドは、明示的なバージョン番号が指定された場合にダウングレードを可能にする--forceオプションを受け入れます。 - Build environments can now be configured, the default build environment is
hatch-buildビルド環境は現在構成可能で、デフォルトのビルド環境はhatch-buildです。 - The environment interface now has the following methods and properties in order to better support builds on remote machines:
project_root,sep,pathsep,fs_context環境インターフェースは、リモートマシンでのビルドをより良くサポートするために、以下のメソッドとプロパティを持つようになりました:project_root,sep,pathsep,fs_context - Bump the minimum supported version of
packagingto 24.2packagingの最小サポートバージョンを24.2に引き上げました。 - Upgrade Ruff to 0.13.2Ruffを0.13.2にアップグレードしました。
Fixed:修正:
- All HTTP requests now set an identifiable
User-Agentheader.すべてのHTTPリクエストは、識別可能なUser-Agentヘッダーを設定します。 - Fix issue where terminal output would be out of sync during build.ビルド中に端末出力が同期しない問題を修正しました。
- Fix for Click Sentinel value when using
runcommandrunコマンドを使用する際のClick Sentinel値の修正
1.15.1 - 2025-10-16¶1.15.1 - 2025-10-16¶
Fixed:修正:
- Fix compatibility with cached default CPython distributions that were sourced from GitHub releases of the old owner古い所有者のGitHubリリースから取得したキャッシュされたデフォルトのCPythonディストリビューションとの互換性を修正しました。
1.15.0 - 2025-10-15¶1.15.0 - 2025-10-15¶
Changed:変更:
- Drop support for Python 3.8Python 3.8のサポートを終了しました
Added:追加:
- Support Python 3.14Python 3.14をサポート
- Upgrade default CPython distributions to 20251014デフォルトのCPythonディストリビューションを20251014にアップグレード
- Upgrade default PyPy distributions to 7.3.20デフォルトのPyPyディストリビューションを7.3.20にアップグレード
1.14.2 - 2025-09-24¶1.14.2 - 2025-09-24¶
Fixed:修正:
- Fix compatibility with recent versions of Click最近のClickのバージョンとの互換性を修正
1.14.1 - 2025-04-07¶1.14.1 - 2025-04-07¶
Fixed:修正:
- Remove uses of the deprecated
--no-python-version-warningflag when using pippipを使用する際に非推奨の--no-python-version-warningフラグの使用を削除
1.14.0 - 2024-12-16¶1.14.0 - 2024-12-16¶
Added:追加:
- Upgrade default CPython distributions to 20241206デフォルトのCPythonディストリビューションを20241206にアップグレード
- Bump the minimum supported version of Hatchling to 1.26.3Hatchlingのサポートされる最小バージョンを1.26.3に引き上げ
- Update
virtualenvdependencyvirtualenv依存関係を更新
1.13.0 - 2024-10-13¶1.13.0 - 2024-10-13¶
Added:追加:
- Support managing Python 3.13 distributionsPython 3.13ディストリビューションの管理をサポート
1.12.0 - 2024-05-28¶1.12.0 - 2024-05-28¶
Changed:変更:
- The
run/env runandtestcommands now treat inclusion variable options as an intersection rather than a union to allow for specific targeting of environmentsrun/env runおよびtestコマンドは、特定の環境をターゲットにするために、包含変数オプションを和集合ではなく交差として扱うようになりました。
Added:追加:
- Add ability to control the source of Python distributionsPython ディストリビューションのソースを制御する機能を追加
- Upgrade Ruff to 0.4.5Ruff を 0.4.5 にアップグレード
- Upgrade PyApp to 0.22.0 for binary buildsバイナリビルドのために PyApp を 0.22.0 にアップグレード
Fixed:修正:
- The
fmtcommand no longer hides the commands that are being executedfmtコマンドは、実行されているコマンドを隠さなくなりました。 - Add default timeout for network requests, useful when installing Python distributionsPython ディストリビューションをインストールする際に便利な、ネットワークリクエストのデフォルトタイムアウトを追加
- Fix syntax highlighting contrast for the
config showcommandconfig showコマンドの構文ハイライトのコントラストを修正
1.11.1 - 2024-05-23¶1.11.1 - 2024-05-23¶
Added:追加:
- Add official GitHub Action for installing HatchHatchをインストールするための公式GitHub Actionを追加
Fixed:修正:
- Fix
terminal.styles.spinnerconfigurationterminal.styles.spinnerの設定を修正 - Fix entry points in the pre-built distributions that binaries useバイナリが使用するプリビルドディストリビューションのエントリポイントを修正
1.11.0 - 2024-05-14¶1.11.0 - 2024-05-14¶
Added:追加:
- Upgrade PyApp to 0.21.1 for binary buildsバイナリビルドのためにPyAppを0.21.1にアップグレード
Fixed:修正:
- On Linux, install the highest compatible Python distribution variant based on CPU architecture rather than assuming recent hardwareLinuxでは、最近のハードウェアを仮定するのではなく、CPUアーキテクチャに基づいて最も互換性のあるPythonディストリビューションのバリアントをインストール
1.10.0 - 2024-05-02¶1.10.0 - 2024-05-02¶
Changed:変更点:
- The
run/env run,fmtandshellcommands now only change the current working directory to the project root if not already inside the projectrun/env run、fmt、およびshellコマンドは、プロジェクトのルートにまだいない場合のみ、現在の作業ディレクトリをプロジェクトのルートに変更します。 - The
shellcommand now accepts a single argument to specify the environment to enter which overrides the standard choice mechanisms. The arguments determining shell options have been converted to flags.shellコマンドは、標準の選択メカニズムを上書きする環境を指定する単一の引数を受け入れるようになりました。シェルオプションを決定する引数はフラグに変換されました。
Added:追加:
- Add
testcommandtestコマンドを追加 - The
runcommand can now execute scripts that define inline metadata for dependencies and Python version constraintsrunコマンドは、依存関係と Python バージョン制約のインラインメタデータを定義するスクリプトを実行できるようになりました。 - The
virtualenvironment type now supports the ability to use UV in place of pip & virtualenvvirtual環境タイプは、pip & virtualenv の代わりに UV を使用する機能をサポートするようになりました。 - Add
self reportcommand for submitting pre-populated bug reports to GitHubself reportコマンドを追加し、事前に入力されたバグレポートを GitHub に提出できるようになりました。 - The reserved environment used for static analysis is now completely configurable静的分析に使用される予約環境は、完全に構成可能になりました。
- Add the following methods to the
environmentinterface for complete control over output during life cycle management:app_status_creation,app_status_pre_installation,app_status_post_installation,app_status_project_installation,app_status_dependency_state_check,app_status_dependency_installation_check,app_status_dependency_synchronizationenvironmentインターフェースに、ライフサイクル管理中の出力を完全に制御するための以下のメソッドを追加します:app_status_creation,app_status_pre_installation,app_status_post_installation,app_status_project_installation,app_status_dependency_state_check,app_status_dependency_installation_check,app_status_dependency_synchronization - Add binaries for 32-bit versions of Windows32ビット版のWindows用のバイナリを追加します
- Read configuration from any
~/.pypircfile for theindexpublisherindexパブリッシャーのために、任意の~/.pypircファイルから設定を読み込みます - Use the Git user as the default username for new project URL metadata新しいプロジェクトのURLメタデータのデフォルトユーザー名としてGitユーザーを使用します
- Add
HATCH_DEBUGenvironment variable that when enabled will show local variables in the case of unhandled tracebacksHATCH_DEBUG環境変数を追加します。これを有効にすると、未処理のトレースバックの場合にローカル変数が表示されます - The
env showcommand now outputs data about all internal environments when using the--jsonflagenv showコマンドは、--jsonフラグを使用する際にすべての内部環境に関するデータを出力します - Upgrade default CPython distributions to 20240415デフォルトのCPythonディストリビューションを20240415にアップグレードします
- Upgrade default PyPy distributions to 7.3.15デフォルトのPyPyディストリビューションを7.3.15にアップグレードします
- Upgrade Ruff to 0.4.2Ruffを0.4.2にアップグレードします
- Upgrade PyApp to 0.19.0 for binary buildsバイナリビルドのためにPyAppを0.19.0にアップグレードします
- Bump the minimum supported version of Hatchling to 1.24.2Hatchlingの最小サポートバージョンを1.24.2に引き上げました
- Bump the minimum supported version of virtualenv to 20.26.1virtualenvの最小サポートバージョンを20.26.1に引き上げました
Fixed:修正:
- Maintain consistent data paths for case insensitive file systems大文字と小文字を区別しないファイルシステムのために、一貫したデータパスを維持します
- When projects derive dependencies from metadata hooks, there is now by default a status indicator for when the hooks are executed for better responsivenessプロジェクトがメタデータフックから依存関係を導出する場合、フックが実行される際のステータスインジケーターがデフォルトで表示され、応答性が向上しました
- Properly support projects with a
pyproject.tomlfile but noprojecttable e.g. applicationspyproject.tomlファイルはあるが、projectテーブルがないプロジェクト(例: アプリケーション)を適切にサポートします - Fix the
fmtcommand when automatically installing plugin dependenciesプラグイン依存関係を自動的にインストールする際のfmtコマンドを修正しました - Fix dependency inheritance for the template of the
typesenvironment for new projects新しいプロジェクトのtypes環境のテンプレートに対する依存関係の継承を修正しました - Fix warnings related to tar file extraction on Python 3.12+ when unpacking Python distributions for installationPython 3.12+でのPythonディストリビューションのインストール時にtarファイルを展開する際の警告を修正しました
- De-select Ruff rule
E501for thefmtcommand by default since it conflicts with the formatterフォーマッターと競合するため、デフォルトでfmtコマンドのRuffルールE501を選択解除しました - Fix colored output from build targets on the first run (build environment creation status indicator issue)最初の実行時にビルドターゲットからのカラー出力を修正(ビルド環境の作成ステータスインジケーターの問題)
- Set the
packagingdependency version as>=23.2to avoid its URL validation which can conflict with context formattingpackaging依存関係のバージョンを>=23.2に設定して、コンテキストフォーマットと競合する可能性のあるURL検証を回避 - Fix the exit code when there happens to be an unhandled exception未処理の例外が発生した場合の終了コードを修正
- No longer capture both stdout and stderr streams when parsing metadata payloads from build environmentsビルド環境からのメタデータペイロードを解析する際に、stdoutとstderrの両方のストリームをキャプチャしないようにする
- Fix the
README.mdfile template for new projects to avoid Markdown linting issues新しいプロジェクトのためのREADME.mdファイルテンプレートを修正して、Markdownリンティングの問題を回避
1.9.7 - 2024-04-24¶1.9.7 - 2024-04-24¶
Fixed:修正:
- Limit the maximum version of virtualenv due to a backward incompatible change後方互換性のない変更のため、virtualenvの最大バージョンを制限
- Upgrade PyApp to 0.12.0 for binary buildsバイナリビルドのためにPyAppを0.12.0にアップグレード
1.9.4 - 2024-03-12¶1.9.4 - 2024-03-12¶
Fixed:修正:
- Limit the maximum version of Hatchling in anticipation of backward incompatible changes後方互換性のない変更を予測して、Hatchlingの最大バージョンを制限
1.9.3 - 2024-01-25¶1.9.3 - 2024-01-25¶
Fixed:修正:
- Fix loading of local plugins to account for newly released versions of a dependency依存関係の新しいリリースバージョンを考慮して、ローカルプラグインの読み込みを修正
1.9.2 - 2024-01-21¶1.9.2 - 2024-01-21¶
Fixed:修正:
- Fix the default token variable name for publishing to PyPIPyPIへの公開用のデフォルトトークン変数名を修正
1.9.1 - 2023-12-25¶1.9.1 - 2023-12-25¶
Fixed:修正:
- Ensure that the
dependency_hashmethod of theenvironmentinterface is called aftersync_dependenciesfor cases where the hash is only known at that point, such as for dependency lockersハッシュがその時点でのみ知られている場合、例えば依存関係ロッカーのようなケースでは、sync_dependenciesの後にenvironmentインターフェースのdependency_hashメソッドが呼び出されることを確認してください。 - Only acknowledge the
HATCH_PYTHON_VARIANT_*environment variables for Python resolution for supported platforms and architecturesサポートされているプラットフォームとアーキテクチャに対して、Pythonの解決のためにのみHATCH_PYTHON_VARIANT_*環境変数を認識します。 - Fix Python resolution when there are metadata hooks with unsatisfied dependencies満たされていない依存関係を持つメタデータフックがある場合のPythonの解決を修正します。
1.9.0 - 2023-12-19¶1.9.0 - 2023-12-19¶
Changed:変更:
- Environments prefixed by
hatch-are now considered internal and used for special purposes such as configuration for static analysishatch-で始まる環境は内部的なものと見なされ、静的解析のための設定などの特別な目的で使用されるようになりました。
Added:追加:
- Enable docstring formatting by default for static analysis静的解析のためにデフォルトでドックストリングのフォーマットを有効にします。
- Allow for overriding config of internal environments内部環境の設定をオーバーライドできるようにします。
- Concretely state the expected API contract for the environment interface methods
findandcheck_compatibilityfindおよびcheck_compatibilityメソッドのための期待されるAPI契約を具体的に述べます。 - Upgrade Ruff to 0.1.8Ruffを0.1.8にアップグレード
- Bump the minimum supported version of Hatchling to 1.21.0Hatchlingのサポートされる最小バージョンを1.21.0に引き上げ
Fixed:修正:
- Ignore a project's Python requirement for environments where the project is not installedプロジェクトがインストールされていない環境では、プロジェクトのPython要件を無視する
- When not persisting config for static analysis, properly manage internal settings when Ruff's top level table already exists静的解析のために設定を保持しない場合、Ruffのトップレベルテーブルが既に存在する際に内部設定を適切に管理する
- Ignore compatibility checks when environments have already been created, significantly improving performance of environment usage環境が既に作成されている場合、互換性チェックを無視し、環境使用のパフォーマンスを大幅に向上させる
- Properly allow overriding of the
pathoption for thevirtualenvironment typepathオプションをvirtual環境タイプのために上書きすることを適切に許可する - Fix nushell activation on non-Windows systems非Windowsシステムでのnushellのアクティベーションを修正
1.8.1 - 2023-12-14¶1.8.1 - 2023-12-14¶
Fixed:修正:
- Fix regression in calling subprocesses with updated PATH更新されたPATHでサブプロセスを呼び出す際の回帰を修正
- Fix automatic installation of environment plugins when running as a standalone binaryスタンドアロンバイナリとして実行する際の環境プラグインの自動インストールを修正
- Change default location of Python installationsPythonインストールのデフォルトの場所を変更
1.8.0 - 2023-12-11¶1.8.0 - 2023-12-11¶
Changed:変更点:
- Drop support for Python 3.7Python 3.7のサポートを終了
- The
get_build_processmethod of theenvironmentinterface has been removed; plugins should use the newrun_buildermethod insteadenvironmentインターフェースのget_build_processメソッドが削除されました; プラグインは新しいrun_builderメソッドを使用する必要があります - Remove
pyperclipdependency and the--copyflag of theconfig findcommandpyperclip依存関係とconfig findコマンドの--copyフラグを削除 - When running the
buildcommand all output from builders is now displayed as-is in real time without the stripping of ANSI codesbuildコマンドを実行する際、ビルダーからのすべての出力がANSIコードを除去せずにリアルタイムでそのまま表示されるようになりました - Version information (for Hatch itself) is now derived from Gitバージョン情報(Hatch自体の)はGitから取得されるようになりました
Added:追加:
- Support Python 3.12Python 3.12のサポート
- Add installers and standalone binariesインストーラーとスタンドアロンバイナリを追加
- Add the ability to manage Python installationsPythonインストールの管理機能を追加
- Add
fmtcommandfmtコマンドを追加 - The
virtualenvironment type can now automatically download requested versions of Python that are not installedvirtual環境タイプは、インストールされていない要求されたバージョンのPythonを自動的にダウンロードできるようになりました - Add
dependency_hashmethod to theenvironmentinterfaceenvironmentインターフェースにdependency_hashメソッドを追加 - The state of installed dependencies for environments is saved as metadata so if dependency definitions have not changed then no checking is performed, which can be computationally expensive環境のインストールされた依存関係の状態はメタデータとして保存されるため、依存関係の定義が変更されていない場合はチェックが行われず、計算コストが高くなることがあります
- The
buildcommand now supports backends other than Hatchlingbuildコマンドは、Hatchling以外のバックエンドもサポートするようになりました - Allow the use of
featuresfor environments whenskip-installis enabledskip-installが有効な場合、環境でfeaturesを使用できるようにします - The default is now
__token__when prompting for a username for thepublishcommandデフォルトは、publishコマンドのユーザー名を要求する際に__token__になりました - Add a new
run_buildermethod to theenvironmentinterfaceenvironmentインターフェースに新しいrun_builderメソッドを追加 - Bump the minimum supported version of Hatchling to 1.19.0Hatchling の最小サポートバージョンを 1.19.0 に引き上げ
- Bump the minimum supported version of
clickto 8.0.6clickの最小サポートバージョンを 8.0.6 に引き上げ
Fixed:修正:
- Fix nushell activationnushell のアクティベーションを修正
- Better handling of flat storage directory hierarchies for the
virtualenvironment typevirtual環境タイプのフラットストレージディレクトリ階層の処理を改善 - Display useful information when running the
versioncommand outside of a project rather than erroringプロジェクト外でversionコマンドを実行する際にエラーを出すのではなく、有用な情報を表示 - Fix the
project metadatacommand by only capturing stdout from the backendバックエンドから stdout のみをキャプチャすることでproject metadataコマンドを修正 - Properly support Google Artifact RegistryGoogle Artifact Registry を適切にサポート
- Fix parsing dependencies for environments when warnings are emitted警告が発生した際の環境の依存関係の解析を修正
1.7.0 - 2023-04-03¶1.7.0 - 2023-04-03¶
Changed:変更:
- The
src-layoutproject template option is now enabled by defaultsrc-layoutプロジェクトテンプレートオプションがデフォルトで有効になりました - Non-critical output now goes to stderr非クリティカルな出力は現在 stderr に送信されます
Added:追加:
- Add
tool.hatch.env.requiresconfiguration to automatically install dependencies for environment and environment collector pluginstool.hatch.env.requires設定を追加して、環境および環境コレクタープラグインの依存関係を自動的にインストールします - Add
customenvironment collectorcustom環境コレクターを追加 - Improve syncing of dependencies provided through Git direct referencesGitの直接参照を通じて提供される依存関係の同期を改善
- Add
isolated_data_directoryattribute to the environment interface環境インターフェースにisolated_data_directory属性を追加 - Increase the timeout for and add retries to the
indexpublisherタイムアウトを増加させ、indexパブリッシャーにリトライを追加する - Expand home and environment variables in configured cache and data directories設定されたキャッシュおよびデータディレクトリ内のホームおよび環境変数を展開する
- Improve readability of exceptions例外の可読性を向上させる
- Update project templatesプロジェクトテンプレートを更新する
- Bump the minimum supported version of Hatchling to 1.14.0Hatchlingのサポートされる最小バージョンを1.14.0に引き上げる
Fixed:修正:
- Fix displaying the version with the
versioncommand when the version is static and build dependencies are unmetバージョンが静的でビルド依存関係が満たされていない場合に、versionコマンドでバージョンを表示するのを修正する - Fix build environments for the
virtualenvironment type when storing within a relative path相対パス内に保存する際のvirtual環境タイプのビルド環境を修正する - Work around System Integrity Protection on macOS when running commandsコマンドを実行する際にmacOSのSystem Integrity Protectionを回避する
- Allow setuptools metadata migration for projects without
setup.pyifsetup.cfgis presentsetup.pyがないプロジェクトのために、setup.cfgが存在する場合にsetuptoolsメタデータの移行を許可する - Handle additional edge cases for setuptools metadata migrationsetuptoolsメタデータ移行のための追加のエッジケースを処理する
- Support boolean values for the
config setcommandconfig setコマンドのためのブール値をサポートする
1.6.3 - 2022-10-24¶1.6.3 - 2022-10-24¶
Fixed:修正:
- Fix
versioncommand when the version is dynamic and build dependencies are unmetバージョンが動的でビルド依存関係が満たされていない場合のversionコマンドを修正する
1.6.2 - 2022-10-20¶1.6.2 - 2022-10-20¶
Fixed:修正:
- Fix getting dynamic metadata from hooks for environments when dependencies are not dynamic依存関係が動的でない場合の環境からフックによる動的メタデータの取得を修正する
1.6.1 - 2022-10-16¶1.6.1 - 2022-10-16¶
Fixed:修正:
- Computing the path to the user's home directory now gracefully falls back to
~when it cannot be determinedユーザーのホームディレクトリへのパスの計算は、判定できない場合に~に優雅にフォールバックするようになりました。
1.6.0 - 2022-10-08¶1.6.0 - 2022-10-08¶
Changed:変更:
- The
run_shell_commandenvironment interface method now accepts arbitrarysubprocess.Popenkeyword arguments. This is not strictly breaking, but will be utilized in upcoming features.run_shell_command環境インターフェースメソッドは、任意のsubprocess.Popenキーワード引数を受け入れるようになりました。これは厳密には破壊的ではありませんが、今後の機能で利用される予定です。 - The internal directory structure for storing
virtualenvironments is now more nested. This is not breaking, but any local environments will be created anew.virtual環境を保存するための内部ディレクトリ構造は、よりネストされたものになりました。これは破壊的ではありませんが、ローカル環境は新たに作成されます。
Added:追加:
- Add
projectcommand group to view details about the project like PEP 621 metadataprojectコマンドグループを追加し、PEP 621メタデータのようなプロジェクトの詳細を表示できるようにしました。 - Better support for auto-detection of environments by tools like Visual Studio Code now that the storage directory of
virtualenvironments will be flat if Hatch's configuredvirtualenvironment directory resides somewhere within the project root or if it is set to a.virtualenvsdirectory within the user's home directoryHatchの設定されたvirtual環境ディレクトリがプロジェクトルート内のどこかに存在するか、ユーザーのホームディレクトリ内の.virtualenvsディレクトリに設定されている場合、virtual環境のストレージディレクトリがフラットになるため、Visual Studio Codeのようなツールによる環境の自動検出のサポートが向上しました。 - Build environments for the
virtualenvironment type are now cached for improved performancevirtual環境タイプのビルド環境は、パフォーマンス向上のためにキャッシュされるようになりました。 - Add
build_environment_existsmethod to the environment interface for implementations that cache the build environmentビルド環境をキャッシュする実装のために、環境インターフェースにbuild_environment_existsメソッドを追加しました。 - Add
pathoption to thevirtualenvironment typevirtual環境タイプにpathオプションを追加 - Add
--initialize-authflag to theindexpublisher to allow for the saving of authentication information before publishingindexパブリッシャーに--initialize-authフラグを追加し、公開前に認証情報を保存できるようにする - Support Bash on Windows for the
shellcommandshellコマンドのために Windows 上の Bash をサポート - The
setuptoolsmigration script no longer modifies the formatting of existingpyproject.tomlconfigurationsetuptoolsマイグレーションスクリプトは、既存のpyproject.toml設定のフォーマットを変更しなくなりました - Bump the minimum supported version of Hatchling to 1.11.0Hatchling の最小サポートバージョンを 1.11.0 に引き上げ
Fixed:修正:
- Environments now respect dynamically defined project dependencies環境は動的に定義されたプロジェクト依存関係を尊重するようになりました
- The
dep hashand alldep showcommands now respect dynamically defined project dependenciesdep hashとすべてのdep showコマンドは、動的に定義されたプロジェクト依存関係を尊重するようになりました - The
env show,dep hash, and alldep showcommands now honor context formattingenv show、dep hash、およびすべてのdep showコマンドは、コンテキストフォーマットを尊重するようになりました - Fix matrix variable inclusion filtering of the
runandenv runcommands when there are multiple possible variables複数の可能な変数がある場合のrunとenv runコマンドのマトリックス変数の含め方フィルタリングを修正 - Build environment compatibility is now checked before useビルド環境の互換性は、使用前にチェックされるようになりました
- Decreasing verbosity now has no affect on output that should always be displayed冗長性を減少させることは、常に表示されるべき出力には影響しなくなりました
- Handle more edge cases in the
setuptoolsmigration scriptsetuptoolsマイグレーションスクリプトでより多くのエッジケースを処理する - Environments now respect user defined environment variables for context formatting環境は、コンテキストフォーマットのためにユーザー定義の環境変数を尊重するようになりました
- Update the scripts in the generated test environment template for new projects to reflect the documentation新しいプロジェクトのために生成されたテスト環境テンプレートのスクリプトをドキュメントに反映させるために更新しました
- Allow
extra-dependenciesin environment overrides環境オーバーライドでextra-dependenciesを許可する - Depend on
packagingexplicitly rather than relying on it being a transitive dependency of HatchlingHatchlingの推移的依存関係であることに依存するのではなく、packagingに明示的に依存する
1.5.0 - 2022-08-28¶1.5.0 - 2022-08-28¶
Added:追加:
- The
indexpublisher now recognizes repository-specific optionsindexパブリッシャーは、リポジトリ固有のオプションを認識するようになりました - Add the
--ignore-compatflag to theenv runcommandenv runコマンドに--ignore-compatフラグを追加します - Setting the
HATCH_PYTHONenvironment variable toselfwill now force the use of the Python executable Hatch is running on forvirtualenvironment creationHATCH_PYTHON環境変数をselfに設定すると、virtual環境の作成に使用される Python 実行可能ファイルが Hatch が実行しているものに強制されるようになります
Fixed:修正:
- Fix the
--force-continueflag of theenv runcommandenv runコマンドの--force-continueフラグを修正します - Handle more edge cases in the
setuptoolsmigration scriptsetuptoolsマイグレーションスクリプトのエッジケースをさらに処理します
1.4.2 - 2022-08-16¶1.4.2 - 2022-08-16¶
Fixed:修正:
- Fix check for updating static versions with the
versioncommand when metadata hooks are in useメタデータフックが使用されているときにversionコマンドで静的バージョンの更新をチェックする修正
1.4.1 - 2022-08-13¶1.4.1 - 2022-08-13¶
Fixed:修正:
- Fix non-detached inheritance disabling for environments環境の非分離継承無効化の修正
1.4.0 - 2022-08-06¶1.4.0 - 2022-08-06¶
Added:追加:
- The default Python for
virtualenvironments now checks PATH before using the one Hatch is running onvirtual環境のデフォルトの Python は、Hatch が実行されているものを使用する前に PATH をチェックするようになりました - Values for environment
env-varsnow support context formattingenv-varsの環境値は、コンテキストフォーマットをサポートするようになりました - Add
nameoverride for environments to allow for regular expression matchingnameのオーバーライドを環境に追加し、正規表現マッチングを可能にしました - The
indexpublisher now better supports non-PyPI indicesindexパブリッシャーは、非PyPI インデックスをより良くサポートするようになりました - Add certificate options to the
indexpublisherindexパブリッシャーに証明書オプションを追加しました - Display waiting text when checking dependencies and removing environments依存関係をチェックし、環境を削除している間、待機テキストを表示します
- Display help text the first time the
shellcommand is executedshellコマンドが初めて実行されるときにヘルプテキストを表示します - Update project templates with Python 3.11 and the latest versions of various GitHub ActionsプロジェクトテンプレートをPython 3.11および最新のさまざまなGitHub Actionsで更新
- Add support for Almquist (
ash) shellsAlmquist (ash) シェルのサポートを追加 - Add
hyperlinkas a dependency for better handling of package index URLshyperlinkを依存関係として追加し、パッケージインデックスURLの処理を改善 - Bump the minimum supported version of
virtualenvto 20.16.2virtualenvのサポートされる最小バージョンを20.16.2に引き上げ - Bump the minimum supported version of
tomlkitto 0.11.1tomlkitのサポートされる最小バージョンを0.11.1に引き上げ
Fixed:修正:
- Acknowledge
extra-dependenciesfor theenv showcommandenv showコマンドのためのextra-dependenciesを認識 - Fix locating executables within virtual environments on DebianDebian上の仮想環境内での実行可能ファイルの位置を修正
- Fix managing the terminal size inside the
shellcommandshellコマンド内のターミナルサイズの管理を修正 - Fix default code coverage file omission for the
src-layoutproject template optionsrc-layoutプロジェクトテンプレートオプションのデフォルトのコードカバレッジファイルの省略を修正
1.3.1 - 2022-07-11¶1.3.1 - 2022-07-11¶
Fixed:修正:
- Support
-h/--helpflag for theruncommandrunコマンドのための-h/--helpフラグのサポート
1.3.0 - 2022-07-10¶1.3.0 - 2022-07-10¶
Changed:変更:
- Rename the default publishing plugin from
pypito the more genericindexpypiからより一般的なindexへのデフォルトの公開プラグインの名前変更
Added:追加:
- Support the absence of
pyproject.tomlfiles, as is the case for apps and non-Python projectsアプリや非Pythonプロジェクトの場合のようにpyproject.tomlファイルの不在をサポート - Hide scripts that start with an underscore for the
env showcommand by defaultenv showコマンドのために、デフォルトでアンダースコアで始まるスクリプトを非表示にする - Ignoring the exit codes of commands by prefixing with hyphens now works with entire named scriptsハイフンでプレフィックスを付けることでコマンドの終了コードを無視することが、全体の名前付きスクリプトで機能するようになりました
- Add a way to require confirmation for publishing公開のための確認を要求する方法を追加
- Add
--force-continueflag to theenv runcommand--force-continueフラグをenv runコマンドに追加 - Make tracebacks colorful and less verboseトレースバックをカラフルで簡潔にする
- When shell configuration has not been defined, attempt to use the current shell based on parent processes before resorting to the defaultsシェルの設定が定義されていない場合、デフォルトに戻る前に親プロセスに基づいて現在のシェルを使用しようとする
- The shell name
pwshis now an alias forpowershellシェル名pwshは現在powershellのエイリアスです - Remove
atomicwritesdependencyatomicwrites依存関係を削除 - Relax constraint on
userpathdependencyuserpath依存関係の制約を緩和 - Bump the minimum supported version of Hatchling to 1.4.1Hatchling の最小サポートバージョンを 1.4.1 に引き上げ
Fixed:修正:
- Keep environments in sync with the dependencies of the selected features選択した機能の依存関係と環境を同期させる
- Use
utf-8for all files generated for new projects新しいプロジェクト用に生成されるすべてのファイルにはutf-8を使用してください - Escape special characters Git may return in the user name when writing generated files for new projects新しいプロジェクト用に生成されたファイルを書き込む際に、ユーザー名にGitが返す可能性のある特殊文字をエスケープしてください
- Normalize the package name to lowercase in
setuptoolsmigration scriptsetuptoolsマイグレーションスクリプトでパッケージ名を小文字に正規化してください - Fix parsing of source distributions during publishing公開時のソース配布物の解析を修正しました
1.2.1 - 2022-05-30¶1.2.1 - 2022-05-30¶
Fixed:修正:
- Fix handling of top level
data_filesinsetuptoolsmigration scriptsetuptoolsマイグレーションスクリプトでトップレベルのdata_filesの処理を修正しました
1.2.0 - 2022-05-22¶1.2.0 - 2022-05-22¶
Changed:変更:
- The
enter_shellenvironment plugin method now accepts an additionalargsparameterenter_shell環境プラグインメソッドは、追加のargsパラメータを受け入れるようになりました
Added:追加:
- Allow context string formatting for environment dependencies環境依存関係のためのコンテキスト文字列フォーマットを許可する
- Add environment context string formatting fields
env_name,env_type,matrix,verbosity, andargs環境コンテキスト文字列フォーマットフィールドenv_name,env_type,matrix,verbosity, およびargsを追加する - Support overriding the default arguments used to spawn shells on non-Windows systems非Windowsシステムでシェルを起動するために使用されるデフォルト引数をオーバーライドすることをサポートする
- Bump the minimum supported version of Hatchling to 1.3.0Hatchlingのサポートされる最小バージョンを1.3.0に引き上げる
Fixed:修正:
- Improve
setuptoolsmigration scriptsetuptoolsマイグレーションスクリプトを改善する
1.1.2 - 2022-05-20¶1.1.2 - 2022-05-20¶
Fixed:修正:
- Bump the minimum supported version of Hatchling to 1.2.0Hatchlingのサポートされる最小バージョンを1.2.0に引き上げる
- Update project metadata to reflect support for Python 3.11プロジェクトのメタデータを更新して、Python 3.11のサポートを反映させる
1.1.1 - 2022-05-12¶1.1.1 - 2022-05-12¶
Fixed:修正:
- Fix
setuptoolsmigration script for non-Windows systemssetuptoolsマイグレーションスクリプトを非Windowsシステム向けに修正
1.1.0 - 2022-05-12¶1.1.0 - 2022-05-12¶
Changed:変更:
- In order to simplify the implementation of command execution for environment plugins, the
run_shell_commandsmethod has been replaced by the singularrun_shell_command. A newcommand_contextmethod has been added to more easily satisfy complex use cases.環境プラグインのコマンド実行の実装を簡素化するために、run_shell_commandsメソッドが単一のrun_shell_commandに置き換えられました。複雑なユースケースをより簡単に満たすために、新しいcommand_contextメソッドが追加されました。 - The
finalize_commandenvironment plugin method has been removed in favor of the newly introduced context formatting functionality.finalize_command環境プラグインメソッドは、新たに導入されたコンテキストフォーマット機能のために削除されました。
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)makeと同様に、-(ハイフン)で始まる実行されたコマンドの終了コードを無視します。 - Add ability for the
--initflag of thenewcommand to automatically migratesetuptoolsconfigurationnewコマンドの--initフラグに、setuptoolsの設定を自動的に移行する機能を追加しました。 - Update project metadata to reflect the adoption by PyPA and production stabilityプロジェクトのメタデータを更新し、PyPAによる採用と生産安定性を反映しました。
1.0.0 - 2022-04-28¶1.0.0 - 2022-04-28¶
This is the first stable release of Hatch v1, a complete rewrite. Enjoy!これはHatch v1の最初の安定版リリースであり、完全に書き直されています。お楽しみください!