diff --git a/CHANGELOG.md b/CHANGELOG.md index cd573cde1508..e42be3be9ca2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## 0.2.27 + +### Enhancements + +- Add GraalPy support ([#5141](https://github.com/astral-sh/uv/pull/5141)) +- Add a `--verify-hashes` hash-checking mode ([#4007](https://github.com/astral-sh/uv/pull/4007)) +- Discover all `python3.x` executables in the `PATH` ([#5148](https://github.com/astral-sh/uv/pull/5148)) +- Support `--link-mode=symlink` ([#5208](https://github.com/astral-sh/uv/pull/5208)) +- Warn about unconstrained direct deps in lowest resolution ([#5142](https://github.com/astral-sh/uv/pull/5142)) +- Log origin of version selection ([#5186](https://github.com/astral-sh/uv/pull/5186)) +- Key hash policy on version, rather than package ([#5169](https://github.com/astral-sh/uv/pull/5169)) + +### CLI + +- Make missing project table a tracing warning ([#5194](https://github.com/astral-sh/uv/pull/5194)) +- Remove trailing period from user-facing messages ([#5218](https://github.com/astral-sh/uv/pull/5218)) + +### Bug fixes + +- Make entrypoint writes atomic to avoid overwriting symlinks ([#5165](https://github.com/astral-sh/uv/pull/5165)) +- Use `which`-retrieved path directly when spawning pager ([#5198](https://github.com/astral-sh/uv/pull/5198)) +- Don't apply irrelevant constraints when validating site-packages ([#5321](https://github.com/astral-sh/uv/pull/5321)) +- Respect local versions for all user requirements ([#5232](https://github.com/astral-sh/uv/pull/5232)) + ## 0.2.26 ### CLI diff --git a/Cargo.lock b/Cargo.lock index e4bd6047be55..93053576646e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4428,7 +4428,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.2.26" +version = "0.2.27" dependencies = [ "anstream", "anyhow", @@ -5164,7 +5164,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.26" +version = "0.2.27" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index b2bbca7401c1..e1856bc0ae98 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,40 @@ # Changelog +## 0.2.27 + +### Preview features + +- Add `--frozen` to `uv add`, `uv remove`, and `uv tree` ([#5214](https://github.com/astral-sh/uv/pull/5214)) +- Add `--locked` and `--frozen` to `uv run` CLI ([#5196](https://github.com/astral-sh/uv/pull/5196)) +- Add `uv tool dir --bin` to show executable directory ([#5160](https://github.com/astral-sh/uv/pull/5160)) +- Add `uv tool list --show-paths` to show install paths ([#5164](https://github.com/astral-sh/uv/pull/5164)) +- Add color to `python pin` CLI ([#5215](https://github.com/astral-sh/uv/pull/5215)) +- Added a way to inspect installation scripts on Powershell(Windows) ([#5157](https://github.com/astral-sh/uv/pull/5157)) +- Avoid TOCTOU errors in `.python-version` reads ([#5223](https://github.com/astral-sh/uv/pull/5223)) +- Only show the Python installed on the system if `--python-preference only-system` is specified ([#5219](https://github.com/astral-sh/uv/pull/5219)) +- Check `python pin` compatibility with `Requires-Python` ([#4989](https://github.com/astral-sh/uv/pull/4989)) +- Enforce hashes in lockfile install ([#5170](https://github.com/astral-sh/uv/pull/5170)) +- Fix reference to `uv run` in `uv tree` CLI ([#5216](https://github.com/astral-sh/uv/pull/5216)) +- Handle universal vs. fork markers with `ResolverMarkers` ([#5099](https://github.com/astral-sh/uv/pull/5099)) +- Implement `uv init` ([#4791](https://github.com/astral-sh/uv/pull/4791)) +- Make Python install robust to individual failures ([#5199](https://github.com/astral-sh/uv/pull/5199)) +- Make registry hashes optional in the lockfile ([#5166](https://github.com/astral-sh/uv/pull/5166)) +- Merge extras in lockfile ([#5181](https://github.com/astral-sh/uv/pull/5181)) +- Move integration guide docs and edit Azure integration guide ([#5117](https://github.com/astral-sh/uv/pull/5117)) +- Process completed Python installs and uninstalls as a stream ([#5203](https://github.com/astral-sh/uv/pull/5203)) +- Skip invalid tools in `uv tool list` ([#5156](https://github.com/astral-sh/uv/pull/5156)) +- Touch-ups to tools guide ([#5202](https://github.com/astral-sh/uv/pull/5202)) +- Use +- install output for Python versions ([#5201](https://github.com/astral-sh/uv/pull/5201)) +- Use display representation for download error ([#5173](https://github.com/astral-sh/uv/pull/5173)) +- Use specialized error message for invalid Python install / uninstall requests ([#5171](https://github.com/astral-sh/uv/pull/5171)) +- Use the strongest hash in the lockfile ([#5167](https://github.com/astral-sh/uv/pull/5167)) +- Write project guide ([#5195](https://github.com/astral-sh/uv/pull/5195)) +- Write tools concept document ([#5207](https://github.com/astral-sh/uv/pull/5207)) +- Fix reference to `projects.md` ([#5154](https://github.com/astral-sh/uv/pull/5154)) +- Fixes to the settings documentation ([#5177](https://github.com/astral-sh/uv/pull/5177)) +- Set exact version specifiers when resolving from lockfile ([#5193](https://github.com/astral-sh/uv/pull/5193)) + + ## 0.2.26 ### Preview features diff --git a/README.md b/README.md index fc4ac675ff06..3acde488f21c 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,8 @@ curl -LsSf https://astral.sh/uv/install.sh | sh powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # For a specific version. -curl -LsSf https://astral.sh/uv/0.2.26/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.26/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.27/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.27/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index c215708795ff..c8ae60991841 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.26" +version = "0.2.27" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 86c7179de140..164caf6d4535 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.26" +version = "0.2.27" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 4469ebcf61e1..59463e9297d4 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -7,7 +7,7 @@ To compile requirements via pre-commit, add the following to the `.pre-commit-co ```yaml - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.26 + rev: 0.2.27 hooks: # Compile requirements - id: pip-compile @@ -19,7 +19,7 @@ To compile alternative files, modify `args` and `files`: ```yaml - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.26 + rev: 0.2.27 hooks: # Compile requirements - id: pip-compile @@ -32,7 +32,7 @@ To run the hook over multiple files at the same time: ```yaml - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.26 + rev: 0.2.27 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 5ba49fd14f9a..0b4db2403e13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.26" +version = "0.2.27" description = "An extremely fast Python package installer and resolver, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] requires-python = ">=3.8" @@ -67,5 +67,5 @@ version_files = [ "README.md", "crates/uv/Cargo.toml", "crates/uv-version/Cargo.toml", - "docs/guides/pre-commit.md", + "docs/guides/integration/pre-commit.md", ]