|
3 | 3 | <!-- prettier-ignore-start --> |
4 | 4 |
|
5 | 5 |
|
| 6 | +## 0.10.7 |
| 7 | + |
| 8 | +Released on 2026-02-27. |
| 9 | + |
| 10 | +### Bug fixes |
| 11 | + |
| 12 | +- Fix handling of junctions in Windows Containers on Windows ([#18192](https://github.com/astral-sh/uv/pull/18192)) |
| 13 | + |
| 14 | +### Enhancements |
| 15 | + |
| 16 | +- Activate logging for middleware retries ([#18200](https://github.com/astral-sh/uv/pull/18200)) |
| 17 | +- Upload uv releases to a mirror ([#18159](https://github.com/astral-sh/uv/pull/18159)) |
| 18 | + |
6 | 19 | ## 0.10.6 |
7 | 20 |
|
8 | 21 | Released on 2026-02-24. |
@@ -134,86 +147,86 @@ There are no breaking changes to [`uv_build`](https://docs.astral.sh/uv/concepts |
134 | 147 | ### Breaking changes |
135 | 148 |
|
136 | 149 | - **Require `--clear` to remove existing virtual environments in `uv venv`** ([#17757](https://github.com/astral-sh/uv/pull/17757)) |
137 | | - |
| 150 | + |
138 | 151 | Previously, `uv venv` would prompt for confirmation before removing an existing virtual environment in interactive contexts, and remove it without confirmation in non-interactive contexts. Now, `uv venv` requires the `--clear` flag to remove an existing virtual environment. A warning for this change was added in [uv 0.8](https://github.com/astral-sh/uv/blob/main/changelogs/0.8.x.md#breaking-changes). |
139 | | - |
| 152 | + |
140 | 153 | You can opt out of this behavior by passing the `--clear` flag or setting `UV_VENV_CLEAR=1`. |
141 | 154 | - **Error if multiple indexes include `default = true`** ([#17011](https://github.com/astral-sh/uv/pull/17011)) |
142 | | - |
| 155 | + |
143 | 156 | Previously, uv would silently accept multiple indexes with `default = true` and use the first one. Now, uv will error if multiple indexes are marked as the default. |
144 | | - |
| 157 | + |
145 | 158 | You cannot opt out of this behavior. Remove `default = true` from all but one index. |
146 | 159 | - **Error when an `explicit` index is unnamed** ([#17777](https://github.com/astral-sh/uv/pull/17777)) |
147 | | - |
| 160 | + |
148 | 161 | Explicit indexes can only be used via the `[tool.uv.sources]` table, which requires referencing the index by name. Previously, uv would silently accept unnamed explicit indexes, which could never be referenced. Now, uv will error if an explicit index does not have a name. |
149 | | - |
| 162 | + |
150 | 163 | You cannot opt out of this behavior. Add a `name` to the explicit index or remove the entry. |
151 | 164 | - **Install alternative Python executables using their implementation name** ([#17756](https://github.com/astral-sh/uv/pull/17756), [#17760](https://github.com/astral-sh/uv/pull/17760)) |
152 | | - |
| 165 | + |
153 | 166 | Previously, `uv python install` would install PyPy, GraalPy, and Pyodide executables with names like `python3.10` into the bin directory. Now, these executables will be named using their implementation name, e.g., `pypy3.10`, `graalpy3.10`, and `pyodide3.12`, to avoid conflicting with CPython installations. |
154 | | - |
| 167 | + |
155 | 168 | You cannot opt out of this behavior. |
156 | 169 | - **Respect global Python version pins in `uv tool run` and `uv tool install`** ([#14112](https://github.com/astral-sh/uv/pull/14112)) |
157 | | - |
| 170 | + |
158 | 171 | Previously, `uv tool run` and `uv tool install` did not respect the global Python version pin (set via `uv python pin --global`). Now, these commands will use the global Python version when no explicit version is requested. |
159 | | - |
| 172 | + |
160 | 173 | For `uv tool install`, if the tool is already installed, the Python version will not change unless `--reinstall` or `--python` is provided. If the tool was previously installed with an explicit `--python` flag, the global pin will not override it. |
161 | | - |
| 174 | + |
162 | 175 | You can opt out of this behavior by providing an explicit `--python` flag. |
163 | 176 | - **Remove Debian Bookworm, Alpine 3.21, and Python 3.8 Docker images** ([#17755](https://github.com/astral-sh/uv/pull/17755)) |
164 | | - |
| 177 | + |
165 | 178 | The Debian Bookworm and Alpine 3.21 images were replaced by Debian Trixie and Alpine 3.22 as defaults in [uv 0.9](https://github.com/astral-sh/uv/pull/15352). These older images are now removed. Python 3.8 images are also removed, as Python 3.8 is no longer supported in the Trixie or Alpine base images. |
166 | | - |
| 179 | + |
167 | 180 | The following image tags are no longer published: |
168 | 181 | - `uv:bookworm`, `uv:bookworm-slim` |
169 | 182 | - `uv:alpine3.21` |
170 | 183 | - `uv:python3.8-*` |
171 | | - |
| 184 | + |
172 | 185 | Use `uv:debian` or `uv:trixie` instead of `uv:bookworm`, `uv:alpine` or `uv:alpine3.22` instead of `uv:alpine3.21`, and a newer Python version instead of `uv:python3.8-*`. |
173 | 186 | - **Drop PPC64 (big endian) builds** ([#17626](https://github.com/astral-sh/uv/pull/17626)) |
174 | | - |
| 187 | + |
175 | 188 | uv no longer provides pre-built binaries for PPC64 (big endian). This platform appears to be largely unused and is only supported on a single manylinux version. PPC64LE (little endian) builds are unaffected. |
176 | | - |
| 189 | + |
177 | 190 | Building uv from source is still supported for this platform. |
178 | 191 | - **Skip generating `activate.csh` for relocatable virtual environments** ([#17759](https://github.com/astral-sh/uv/pull/17759)) |
179 | | - |
| 192 | + |
180 | 193 | Previously, `uv venv --relocatable` would generate an `activate.csh` script that contained hardcoded paths, making it incompatible with relocation. Now, the `activate.csh` script is not generated for relocatable virtual environments. |
181 | | - |
| 194 | + |
182 | 195 | You cannot opt out of this behavior. |
183 | 196 | - **Require username when multiple credentials match a URL** ([#16983](https://github.com/astral-sh/uv/pull/16983)) |
184 | | - |
| 197 | + |
185 | 198 | When using `uv auth login` to store credentials, you can register multiple username and password combinations for the same host. Previously, when uv needed to authenticate and multiple credentials matched the URL (e.g., when retrieving a token with `uv auth token`), uv would pick the first match. Now, uv will error instead. |
186 | | - |
| 199 | + |
187 | 200 | You cannot opt out of this behavior. Include the username in the request, e.g., `uv auth token --username foo example.com`. |
188 | 201 | - **Avoid invalidating the lockfile versions after an `exclude-newer` change** ([#17721](https://github.com/astral-sh/uv/pull/17721)) |
189 | | - |
| 202 | + |
190 | 203 | Previously, changing the `exclude-newer` setting would cause package versions to be upgraded, ignoring the lockfile entirely. Now, uv will only change package versions if they are no longer within the `exclude-newer` range. |
191 | | - |
| 204 | + |
192 | 205 | You can restore the previous behavior by using `--upgrade` or `--upgrade-package` to opt-in to package version changes. |
193 | 206 | - **Upgrade `uv format` to Ruff 0.15.0** ([#17838](https://github.com/astral-sh/uv/pull/17838)) |
194 | | - |
| 207 | + |
195 | 208 | `uv format` now uses [Ruff 0.15.0](https://github.com/astral-sh/ruff/releases/tag/0.15.0), which uses the [2026 style guide](https://astral.sh/blog/ruff-v0.15.0#the-ruff-2026-style-guide). See the blog post for details. |
196 | | - |
| 209 | + |
197 | 210 | The formatting of code is likely to change. You can opt out of this behavior by requesting an older Ruff version, e.g., `uv format --version 0.14.14`. |
198 | 211 | - **Update uv crate test features to use `test-` as a prefix** ([#17860](https://github.com/astral-sh/uv/pull/17860)) |
199 | | - |
| 212 | + |
200 | 213 | This change only affects redistributors of uv. The Cargo features used to gate test dependencies, e.g., `pypi`, have been renamed with a `test-` prefix for clarity, e.g., `test-pypi`. |
201 | 214 |
|
202 | 215 | ### Stabilizations |
203 | 216 |
|
204 | 217 | - **`uv python upgrade` and `uv python install --upgrade`** ([#17766](https://github.com/astral-sh/uv/pull/17766)) |
205 | | - |
| 218 | + |
206 | 219 | When installing Python versions, an [intermediary directory](https://docs.astral.sh/uv/concepts/python-versions/#minor-version-directories) without the patch version attached will be created, and virtual environments will be transparently upgraded to new patch versions. |
207 | | - |
| 220 | + |
208 | 221 | See the [Python version documentation](https://docs.astral.sh/uv/concepts/python-versions/#upgrading-python-versions) for more details. |
209 | 222 | - **`uv add --bounds` and the `add-bounds` configuration option** ([#17660](https://github.com/astral-sh/uv/pull/17660)) |
210 | | - |
| 223 | + |
211 | 224 | This does not come with any behavior changes. You will no longer see an experimental warning when using `uv add --bounds` or `add-bounds` in configuration. |
212 | 225 | - **`uv workspace list` and `uv workspace dir`** ([#17768](https://github.com/astral-sh/uv/pull/17768)) |
213 | | - |
| 226 | + |
214 | 227 | This does not come with any behavior changes. You will no longer see an experimental warning when using these commands. |
215 | 228 | - **`extra-build-dependencies`** ([#17767](https://github.com/astral-sh/uv/pull/17767)) |
216 | | - |
| 229 | + |
217 | 230 | This does not come with any behavior changes. You will no longer see an experimental warning when using `extra-build-dependencies` in configuration. |
218 | 231 |
|
219 | 232 | ### Enhancements |
@@ -265,5 +278,3 @@ See [changelogs/0.2.x](./changelogs/0.2.x.md) |
265 | 278 | See [changelogs/0.1.x](./changelogs/0.1.x.md) |
266 | 279 |
|
267 | 280 | <!-- prettier-ignore-end --> |
268 | | - |
269 | | - |
|
0 commit comments