diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dea07621..d1dde57fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 0.4.4 + +### Enhancements + +- Allow customizing the project environment path with `UV_PROJECT_ENVIRONMENT` ([#6834](https://github.com/astral-sh/uv/pull/6834)) +- Warn when `VIRTUAL_ENV` is set but will not be respected in project commands ([#6864](https://github.com/astral-sh/uv/pull/6864)) +- Add `--no-hashes` to `uv export` ([#6954](https://github.com/astral-sh/uv/pull/6954)) +- Make HTTP headers title case for backward compatibility ([#6887](https://github.com/astral-sh/uv/pull/6887)) +- Pin `.python-version` in `uv init` ([#6869](https://github.com/astral-sh/uv/pull/6869)) +- Support `file://` URLs for `UV_PYTHON_INSTALL_MIRROR` ([#6950](https://github.com/astral-sh/uv/pull/6950)) +- Introduce more docker tags for uv ([#6053](https://github.com/astral-sh/uv/pull/6053)) + +### Bug fixes + +- Avoid canonicalizing the cache directory ([#6949](https://github.com/astral-sh/uv/pull/6949)) +- Show all PyPy versions in `uv python list --all-versions` ([#6917](https://github.com/astral-sh/uv/pull/6917)) +- Avoid incorrect `requires-python` marker simplifications ([#6268](https://github.com/astral-sh/uv/pull/6268)) + +### Documentation + +- Add documentation for `UV_PROJECT_ENVIRONMENT` ([#6987](https://github.com/astral-sh/uv/pull/6987)) +- Add optional dependencies section to the lockfile document ([#6982](https://github.com/astral-sh/uv/pull/6982)) +- Document use of the `file://` scheme in Python installation mirrors ([#6984](https://github.com/astral-sh/uv/pull/6984)) +- Fix outdated references to the help menu documentation in the first steps page ([#6980](https://github.com/astral-sh/uv/pull/6980)) +- Show env option in CLI reference documentation ([#6863](https://github.com/astral-sh/uv/pull/6863)) +- Add bind mount example to `docker.md` ([#6921](https://github.com/astral-sh/uv/pull/6921)) + ## 0.4.3 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index f31d03bc1..3ec23b39a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4452,7 +4452,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.3" +version = "0.4.4" dependencies = [ "anstream", "anyhow", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.3" +version = "0.4.4" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index d29846f25..0bc34005b 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.3" +version = "0.4.4" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index b4ae8402e..41f6b3f8c 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.3" +version = "0.4.4" 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 9c784806f..5317f9d0c 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -45,13 +45,13 @@ Request a specific version by including it in the URL: === "macOS and Linux" ```console - $ curl -LsSf https://astral.sh/uv/0.4.3/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.4.4/install.sh | sh ``` === "Windows" ```console - $ powershell -c "irm https://astral.sh/uv/0.4.3/install.ps1 | iex" + $ powershell -c "irm https://astral.sh/uv/0.4.4/install.ps1 | iex" ``` ### PyPI diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 5de1726c9..e4afbab87 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -21,7 +21,7 @@ $ docker run ghcr.io/astral-sh/uv --help uv builds and publishes the following Docker tags: - `uv:latest` -- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.3` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.4` - `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version) In addition, uv builds and publishes these additional tags: @@ -131,13 +131,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.4.3 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.4 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.3/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.4/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 6bca42399..d7d400b4e 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.4.3/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.4.4/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.4.3/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.4.4/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.4.3/install.ps1 | iex + run: irm https://astral.sh/uv/0.4.4/install.ps1 | iex shell: powershell ``` diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index a0fb9a09b..6de3a4e5e 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.4.3 + rev: 0.4.4 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.4.3 + rev: 0.4.4 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.4.3 + rev: 0.4.4 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 13f5ec73c..5b226069f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.3" +version = "0.4.4" 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"