diff --git a/CHANGELOG.md b/CHANGELOG.md index 78d027b0c5b5..a062a5f44d41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +## 0.3.2 + +### Configuration + +- Add support for configuring `python-downloads` with `UV_PYTHON_DOWNLOADS` ([#6436](https://github.com/astral-sh/uv/pull/6436)) +- Add support for configuring the `python-preference` with `UV_PYTHON_PREFERENCE` ([#6432](https://github.com/astral-sh/uv/pull/6432)) +- Deny invalid members in workspace schema ([#6450](https://github.com/astral-sh/uv/pull/6450)) + +### Performance + +- Stop streaming wheels when `METADATA` is discovered (if range requests aren't supported) ([#6470](https://github.com/astral-sh/uv/pull/6470)) + +### Bug fixes + +- Remove URI type from JSON Schema ([#6449](https://github.com/astral-sh/uv/pull/6449)) +- Fix retrieval of credentials for URLs from cache ([#6452](https://github.com/astral-sh/uv/pull/6452)) +- Restore `cache` suffix on Windows cache path ([#6482](https://github.com/astral-sh/uv/pull/6482)) +- Treat `.pyw` files as scripts in `uv run` on Windows ([#6453](https://github.com/astral-sh/uv/pull/6453)) +- Treat invalid extras as `false` in marker evaluation ([#6395](https://github.com/astral-sh/uv/pull/6395)) +- Avoid overwriting symlinks in `pip compile` output ([#6487](https://github.com/astral-sh/uv/pull/6487)) + +### Documentation + +- Add `uv run` hint to the `uvx` guide ([#6454](https://github.com/astral-sh/uv/pull/6454)) +- Add a guide for using uv with FastAPI ([#6401](https://github.com/astral-sh/uv/pull/6401)) +- Add tip for using `managed = false` to disable project management ([#6465](https://github.com/astral-sh/uv/pull/6465)) +- Clarify the `uv tool run`, `uvx`, and `uv run` relationships ([#6455](https://github.com/astral-sh/uv/pull/6455)) +- Fix references to `--python-downloads` (it is `--no-python-downloads`) ([#6439](https://github.com/astral-sh/uv/pull/6439)) +- Further clarifications to the tools documentation ([#6474](https://github.com/astral-sh/uv/pull/6474)) +- Update docs dockerfile (bullseye -> bookworm) ([#6441](https://github.com/astral-sh/uv/pull/6441)) +- Update the installation documentation page ([#6468](https://github.com/astral-sh/uv/pull/6468)) +- Update pip compatibility pages to mention configuration files support ([#6410](https://github.com/astral-sh/uv/pull/6410)) +- Add `uv run` docs for gui scripts ([#6478](https://github.com/astral-sh/uv/pull/6478)) + ## 0.3.1 ### Enhancements @@ -2708,4 +2742,3 @@ path ([#1433](https://github.com/astral-sh/uv/pull/1433)) - Grammar nit ([#1345](https://github.com/astral-sh/uv/pull/1345)) - diff --git a/Cargo.lock b/Cargo.lock index 1a51a8e083bb..d90529ebcf5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4498,7 +4498,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anstream", "anyhow", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.3.1" +version = "0.3.2" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 56b62132df7a..4e159bfd4184 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.3.1" +version = "0.3.2" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index d2c1f2373584..0a41853c6b8a 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.3.1" +version = "0.3.2" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 3e302429d540..5c589086e575 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -35,11 +35,11 @@ By default, uv is installed to `~/.cargo/bin`. Request a specific version by including it in the URL: ```console title="macOS and Linux" -$ curl -LsSf https://astral.sh/uv/0.3.1/install.sh | sh +$ curl -LsSf https://astral.sh/uv/0.3.2/install.sh | sh ``` ```console title="Windows" -$ powershell -c "irm https://astral.sh/uv/0.3.1/install.ps1 | iex" +$ powershell -c "irm https://astral.sh/uv/0.3.2/install.ps1 | iex" ``` ### PyPI diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 0305afeafda5..01b1841117e7 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -41,13 +41,13 @@ Note this requires `curl` to be available. In either case, it is best practice to pin to a specific uv version, e.g., with: ```dockerfile -COPY --from=ghcr.io/astral-sh/uv:0.3.1 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.3.2 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.3.1/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.3.2/install.sh /uv-installer.sh ``` ## Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 564cdfbb5e4c..f6eb44540ab5 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -76,7 +76,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: curl -LsSf https://astral.sh/uv/0.3.1/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.2/install.sh | sh ``` === "macOS" @@ -94,7 +94,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: curl -LsSf https://astral.sh/uv/0.3.1/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.2/install.sh | sh ``` === "Windows" @@ -112,7 +112,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: irm https://astral.sh/uv/0.3.1/install.ps1 | iex + run: irm https://astral.sh/uv/0.3.2/install.ps1 | iex shell: powershell ``` diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index ffe6927029ad..4c7b482c9174 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -8,7 +8,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.3.1 + rev: 0.3.2 hooks: # Compile requirements - id: pip-compile @@ -20,7 +20,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.3.1 + rev: 0.3.2 hooks: # Compile requirements - id: pip-compile @@ -33,7 +33,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.3.1 + rev: 0.3.2 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 7d62de2e45f7..b9d551d82021 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.3.1" +version = "0.3.2" description = "An extremely fast Python package and project manager, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] requires-python = ">=3.8"