diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e8f05465..5364c3d4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## 0.2.28 + +### Enhancements + +- Output stable ordering to `requirements.txt` in universal mode ([#5334](https://github.com/astral-sh/uv/pull/5334)) +- Allow symlinks with `--find-links` ([#5323](https://github.com/astral-sh/uv/pull/5323)) +- Add support for variations of `pythonw.exe` ([#5259](https://github.com/astral-sh/uv/pull/5259)) + +### CLI + +- Stylize `Requires-Python` consistently in CLI output ([#5304](https://github.com/astral-sh/uv/pull/5304)) +- Add `--show-version-specifiers` to `tree` ([#5240](https://github.com/astral-sh/uv/pull/5240)) + +### Performance + +- Avoid always rebuilding dynamic metadata ([#5206](https://github.com/astral-sh/uv/pull/5206)) +- Avoid URL parsing when deserializing wheels ([#5235](https://github.com/astral-sh/uv/pull/5235)) + +### Bug fixes + +- Avoid cache prune failure due to removed interpreter ([#5286](https://github.com/astral-sh/uv/pull/5286)) +- Avoid including empty extras in resolution ([#5306](https://github.com/astral-sh/uv/pull/5306)) +- If multiple indices contain the same version, use the first index ([#5288](https://github.com/astral-sh/uv/pull/5288)) +- Include URLs on graph edges ([#5312](https://github.com/astral-sh/uv/pull/5312)) +- Match wheel tags against `Requires-Python` major-minor ([#5289](https://github.com/astral-sh/uv/pull/5289)) +- Remove Simple API cache files for alternative indexes in `cache clean` ([#5353](https://github.com/astral-sh/uv/pull/5353)) +- Remove extraneous `are` from wheel tag error messages ([#5303](https://github.com/astral-sh/uv/pull/5303)) +- Allow conflicting prerelease strategies when forking ([#5150](https://github.com/astral-sh/uv/pull/5150)) +- Use tag error rather than requires-python error for ABI filtering ([#5296](https://github.com/astral-sh/uv/pull/5296)) + ## 0.2.27 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 2d95e633c..22c5ea2e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4428,7 +4428,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.2.27" +version = "0.2.28" dependencies = [ "anstream", "anyhow", @@ -5157,7 +5157,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.27" +version = "0.2.28" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index e1856bc0a..e3c35ff2e 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 0.2.28 + +### Preview features + +- Add `requires-python` to `uv init` ([#5322](https://github.com/astral-sh/uv/pull/5322)) +- Add `uv add --no-editable` ([#5246](https://github.com/astral-sh/uv/pull/5246)) +- Add constraint dependencies to pyproject.toml ([#5248](https://github.com/astral-sh/uv/pull/5248)) +- Add support for requirements files in `uv run` ([#4973](https://github.com/astral-sh/uv/pull/4973)) +- Avoid redundant members update in `uv init` ([#5321](https://github.com/astral-sh/uv/pull/5321)) +- Create member `pyproject.toml` prior to workspace discovery ([#5317](https://github.com/astral-sh/uv/pull/5317)) +- Fix `uv init .` ([#5330](https://github.com/astral-sh/uv/pull/5330)) +- Fix `uv init` creation of a sub-package by path ([#5247](https://github.com/astral-sh/uv/pull/5247)) +- Fix colors in `uv tool run` suggestion ([#5267](https://github.com/astral-sh/uv/pull/5267)) +- Improve consistency of `tool` CLI ([#5326](https://github.com/astral-sh/uv/pull/5326)) +- Make tool install robust to malformed receipts ([#5305](https://github.com/astral-sh/uv/pull/5305)) +- Reduce spacing between nav items ([#5310](https://github.com/astral-sh/uv/pull/5310)) +- Respect exclusions in `uv init` ([#5318](https://github.com/astral-sh/uv/pull/5318)) +- Store resolution options in lockfile ([#5264](https://github.com/astral-sh/uv/pull/5264)) +- Use backticks in project init message ([#5302](https://github.com/astral-sh/uv/pull/5302)) +- Ignores workspace when `--isolated` flag is used in `uv init` ([#5290](https://github.com/astral-sh/uv/pull/5290)) +- Normalize directory names in `uv init` ([#5292](https://github.com/astral-sh/uv/pull/5292)) +- Avoid project discovery in `uv python pin` if `--isolated` is provided ([#5354](https://github.com/astral-sh/uv/pull/5354)) +- Show symbolic links in `uv python list` ([#5343](https://github.com/astral-sh/uv/pull/5343)) +- Discover workspace from target path in `uv init` ([#5250](https://github.com/astral-sh/uv/pull/5250)) +- Do not create nested workspace in `uv init` ([#5293](https://github.com/astral-sh/uv/pull/5293)) + ## 0.2.27 ### Preview features @@ -34,7 +60,6 @@ - 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 3acde488f..08a5aa952 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.27/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.27/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.28/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.28/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index c8ae60991..aa0df974c 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.27" +version = "0.2.28" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 4afc8f3c9..1a617c777 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.27" +version = "0.2.28" 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 3ea63b900..e0ddfa15c 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 title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.27 + rev: 0.2.28 hooks: # Compile requirements - id: pip-compile @@ -19,7 +19,7 @@ To compile alternative files, modify `args` and `files`: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.27 + rev: 0.2.28 hooks: # Compile requirements - id: pip-compile @@ -32,7 +32,7 @@ To run the hook over multiple files at the same time: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.2.27 + rev: 0.2.28 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 4b5247c95..4e8546ed5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.27" +version = "0.2.28" 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"