diff --git a/CHANGELOG.md b/CHANGELOG.md index a062a5f44d41..954c174db02f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,41 @@ # Changelog +## 0.3.3 + +### Enhancements + +- Add `uv sync --no-install-project` to skip installation of the project ([#6538](https://github.com/astral-sh/uv/pull/6538)) +- Add `uv sync --no-install-workspace` to skip installation of all workspace members ([#6539](https://github.com/astral-sh/uv/pull/6539)) +- Add `uv sync --no-install-package` to skip installation of specific packages ([#6540](https://github.com/astral-sh/uv/pull/6540)) +- Show previous version in self update message ([#6473](https://github.com/astral-sh/uv/pull/6473)) + +### CLI + +- Add `--no-project` alias for `uv python pin --no-workspace` ([#6514](https://github.com/astral-sh/uv/pull/6514)) +- Ignore `.python-version` files in `uv venv` with `--no-config` ([#6513](https://github.com/astral-sh/uv/pull/6513)) +- Include virtual environment interpreters in `uv python find` ([#6521](https://github.com/astral-sh/uv/pull/6521)) +- Respect `-` as stdin channel for `uv run` ([#6481](https://github.com/astral-sh/uv/pull/6481)) +- Revert changes to pyproject.toml when sync fails duing `uv add` ([#6526](https://github.com/astral-sh/uv/pull/6526)) + +### Configuration + +- Add `UV_COMPILE_BYTECODE` environment variable ([#6530](https://github.com/astral-sh/uv/pull/6530)) + +### Bug fixes + +- Set `VIRTUAL_ENV` for `uv run` invocations ([#6543](https://github.com/astral-sh/uv/pull/6543)) +- Ignore errors in workspace discovery with `--no-project` ([#6554](https://github.com/astral-sh/uv/pull/6554)) + +### Documentation + +- Add documentation for `uv python find` ([#6527](https://github.com/astral-sh/uv/pull/6527)) +- Add uv tool install example in Docker ([#6547](https://github.com/astral-sh/uv/pull/6547)) +- Document why we do lower bounds ([#6516](https://github.com/astral-sh/uv/pull/6516)) +- Fix to miss string termination in PowerShell commands for shell autocompletion documentation ([#6491](https://github.com/astral-sh/uv/pull/6491)) +- Fix incorrect workspace members keyword ([#6502](https://github.com/astral-sh/uv/pull/6502)) +- Use proper environment variables for Windows ([#6433](https://github.com/astral-sh/uv/pull/6433)) +- Improve caveat in `uvx` note ([#6546](https://github.com/astral-sh/uv/pull/6546)) + ## 0.3.2 ### Configuration @@ -2742,3 +2778,4 @@ 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 9df21e138d97..d777232327d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4492,7 +4492,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.3.2" +version = "0.3.3" dependencies = [ "anstream", "anyhow", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.3.2" +version = "0.3.3" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 4e159bfd4184..6bf4fed5482b 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.3.2" +version = "0.3.3" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 0a41853c6b8a..7118b74f1e9f 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.3.2" +version = "0.3.3" 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 d8478a6255a3..059dd51da89a 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.2/install.sh | sh +$ curl -LsSf https://astral.sh/uv/0.3.3/install.sh | sh ``` ```console title="Windows" -$ powershell -c "irm https://astral.sh/uv/0.3.2/install.ps1 | iex" +$ powershell -c "irm https://astral.sh/uv/0.3.3/install.ps1 | iex" ``` ### PyPI diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index e1a086c89594..e5ec5020fe79 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.2 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.3.3 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.3.2/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.3.3/install.sh /uv-installer.sh ``` ## Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index f6eb44540ab5..d2af9537ee33 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.2/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.3/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.2/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.3/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.2/install.ps1 | iex + run: irm https://astral.sh/uv/0.3.3/install.ps1 | iex shell: powershell ``` diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 4c7b482c9174..8ca5dea19e0d 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.2 + rev: 0.3.3 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.2 + rev: 0.3.3 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.2 + rev: 0.3.3 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index b9d551d82021..8610fb9da6ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.3.2" +version = "0.3.3" 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"