Skip to content

Versioningバージョニング

uv uses a custom versioning scheme in which the minor version number is bumped for breaking changes, and the patch version number is bumped for bug fixes, enhancements, and other non-breaking changes.uvは、マイナーバージョン番号が破壊的変更のために上がり、パッチバージョン番号がバグ修正、機能強化、その他の非破壊的変更のために上がるカスタムバージョニングスキームを使用しています。

uv is widely used in production. However, we value the ability to iterate on new features quickly and gather changes that could be breaking into clearly marked releases.uvは生産環境で広く使用されています。しかし、私たちは新機能を迅速に反復し、破壊的である可能性のある変更を明確にマークされたリリースに集約する能力を重視しています。

Once uv v1.0.0 is released, the versioning scheme will adhere to Semantic Versioning. There is not a particular goal that must be achieved for uv to reach this milestone.uv v1.0.0がリリースされると、バージョニングスキームは セマンティックバージョニングに従います。このマイルストーンに到達するために達成しなければならない特定の目標はありません。

uv's changelog can be viewed on GitHub.uvの変更履歴はGitHubで見ることができます

Crate versioningクレートのバージョニング

uv's crates are published to crates.io. The following crates follow the normal uv versioning policy:uvのクレートはcrates.ioに公開されています。以下のクレートは通常のuvバージョニングポリシーに従います:

  • uv
  • uv-builduv-build
  • uv-versionuv-version

The uv and uv-build crates are versioned by the binary command-line interface. The Rust interface of these crates does not follow semantic versioning.uvおよびuv-buildクレートは、バイナリコマンドラインインターフェースによってバージョン管理されています。これらのクレートのRustインターフェースはセマンティックバージョニングに従いません。

The remainder of uv's crates provide no stability guarantees. The Rust interface is considered internal and unstable. Consequently, they are versioned as 0.0.x. The patch version is incremented on every uv release, regardless of changes to the crate.uvの残りのクレートは安定性の保証がありません。Rustインターフェースは内部的で不安定と見なされます。そのため、バージョンは0.0.xとして管理されます。パッチバージョンは、クレートの変更に関係なく、すべてのuvリリースでインクリメントされます。

Cache versioningキャッシュのバージョン管理

Cache versions are considered internal to uv, and so may be changed in a minor or patch release. See Cache versioning for more.キャッシュバージョンはuvにとって内部的なものと見なされるため、マイナーまたはパッチリリースで変更される可能性があります。詳細はキャッシュバージョニングを参照してください。

Lockfile versioningロックファイルのバージョニング

The uv.lock schema version is considered part of the public API, and so will only be incremented in a minor release as a breaking change. See Lockfile versioning for more.uv.lockスキーマバージョンは公開APIの一部と見なされるため、破壊的変更としてマイナーリリースでのみインクリメントされます。詳細はロックファイルバージョニングを参照してください。

Minimum supported Rust versionサポートされている最小Rustバージョン

The minimum supported Rust version required to compile uv is listed in the rust-version key of the [workspace.package] section in Cargo.toml. It may change in any release (minor or patch). It will never be newer than N-2 Rust versions, where N is the latest stable version. For example, if the latest stable Rust version is 1.85, uv's minimum supported Rust version will be at most 1.83.uvをコンパイルするために必要なサポートされている最小Rustバージョンは、Cargo.toml[workspace.package]セクションのrust-versionキーに記載されています。これは、リリース(マイナーまたはパッチ)ごとに変更される可能性があります。最新の安定版RustバージョンNに対して、N-2より新しいことはありません。例えば、最新の安定版Rustバージョンが1.85の場合、uvのサポートされている最小Rustバージョンは最大で1.83になります。

This is only relevant to users who build uv from source. Installing uv from the Python package index usually installs a pre-built binary and does not require Rust compilation.これは、ソースからuvをビルドするユーザーにのみ関連します。Pythonパッケージインデックスからuvをインストールすると、通常は事前にビルドされたバイナリがインストールされ、Rustのコンパイルは必要ありません。