Bump version to v0.3.2 (#6483)

This commit is contained in:
Charlie Marsh 2024-08-22 23:11:23 -04:00 committed by GitHub
parent 9b42142fe7
commit c5440001ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 49 additions and 16 deletions

View File

@ -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))
<!-- prettier-ignore-end -->

4
Cargo.lock generated
View File

@ -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"

View File

@ -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 }

View File

@ -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 }

View File

@ -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

View File

@ -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

View File

@ -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
```

View File

@ -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

View File

@ -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"