Bump version to 0.0.27 (#3185)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Charlie Marsh
2026-03-31 14:50:49 -04:00
committed by GitHub
parent e6a5731525
commit 5c9e342c2e
6 changed files with 51 additions and 7 deletions
+44
View File
@@ -1,5 +1,49 @@
# Changelog
## 0.0.27
Released on 2026-03-31.
### Bug fixes
- Fix panic on debug builds when attempting to provide autocomplete suggestions for `list[int]<CURSOR>()` ([#24167](https://github.com/astral-sh/ruff/pull/24167))
- Fix instance-attribute lookup in methods of protocol classes ([#24213](https://github.com/astral-sh/ruff/pull/24213))
- Fix nested global and nonlocal lookups through forwarding scopes ([#24279](https://github.com/astral-sh/ruff/pull/24279))
- Fix panic on `list[Annotated[()]]` ([#24303](https://github.com/astral-sh/ruff/pull/24303))
- Fix stack overflow on `type A = TypeIs[Callable[[], A]]` ([#24245](https://github.com/astral-sh/ruff/pull/24245))
- Use `_cls` as the name of the first argument for synthesized `collections.namedtuple` constructor methods ([#24333](https://github.com/astral-sh/ruff/pull/24333))
### LSP server
- Fix semantic token classification for properties accessed on instances ([#24065](https://github.com/astral-sh/ruff/pull/24065))
- Grey out unused bindings in the editor ([#23305](https://github.com/astral-sh/ruff/pull/23305))
### Core type checking
- Add bidirectional type context for TypedDict `get()` defaults ([#24231](https://github.com/astral-sh/ruff/pull/24231))
- Add bidirectional type context for TypedDict `pop()` defaults ([#24229](https://github.com/astral-sh/ruff/pull/24229))
- Add support for functional TypedDict ([#24174](https://github.com/astral-sh/ruff/pull/24174), [#24331](https://github.com/astral-sh/ruff/pull/24331), [#24295](https://github.com/astral-sh/ruff/pull/24295))
- Ban type qualifiers in PEP-695 type aliases ([#24242](https://github.com/astral-sh/ruff/pull/24242))
- Enforce `Final` attribute assignment rules for annotated and augmented writes ([#23880](https://github.com/astral-sh/ruff/pull/23880))
- Improve support for `Callable` type context ([#23888](https://github.com/astral-sh/ruff/pull/23888))
- Infer lambda expressions with `Callable` type context ([#22633](https://github.com/astral-sh/ruff/pull/22633))
- Don't incorrectly infer the type of a method as being a singleton type when it's accessed off an instance ([#24039](https://github.com/astral-sh/ruff/pull/24039))
- Propagate type context through `await` expressions ([#24256](https://github.com/astral-sh/ruff/pull/24256))
- Resolve union-likes in emitting union attribute errors ([#24263](https://github.com/astral-sh/ruff/pull/24263))
- Show the user where the variable was declared as `Final` when emitting a diagnostic about a `Final` variable being reassigned ([#24194](https://github.com/astral-sh/ruff/pull/24194))
### Contributors
- [@carljm](https://github.com/carljm)
- [@mvanhorn](https://github.com/mvanhorn)
- [@oconnor663](https://github.com/oconnor663)
- [@ibraheemdev](https://github.com/ibraheemdev)
- [@zanieb](https://github.com/zanieb)
- [@denyszhak](https://github.com/denyszhak)
- [@Glyphack](https://github.com/Glyphack)
- [@charliermarsh](https://github.com/charliermarsh)
- [@AlexWaygood](https://github.com/AlexWaygood)
## 0.0.26
Released on 2026-03-26.
+1 -1
View File
@@ -1,7 +1,7 @@
[workspace]
members = ["cargo:./ruff"]
packages = ["ty"]
version = "0.0.26"
version = "0.0.27"
# Config for 'dist'
[dist]
+3 -3
View File
@@ -71,7 +71,7 @@ ty includes a standalone installer.
Request a specific version by including it in the URL:
```console
$ curl -LsSf https://astral.sh/ty/0.0.26/install.sh | sh
$ curl -LsSf https://astral.sh/ty/0.0.27/install.sh | sh
```
=== "Windows"
@@ -87,7 +87,7 @@ ty includes a standalone installer.
Request a specific version by including it in the URL:
```pwsh-session
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.26/install.ps1 | iex"
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.27/install.ps1 | iex"
```
!!! tip
@@ -163,7 +163,7 @@ COPY --from=ghcr.io/astral-sh/ty:latest /ty /bin/
The following tags are available:
- `ghcr.io/astral-sh/ty:latest`
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.26`
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.27`
- `ghcr.io/astral-sh/ty:{major}.{minor}`, e.g., `ghcr.io/astral-sh/ty:0.0` (the latest patch
version)
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "ty"
version = "0.0.26"
version = "0.0.27"
requires-python = ">=3.8"
dependencies = []
description = "An extremely fast Python type checker, written in Rust."
+1 -1
Submodule ruff updated: 34998be22e...39c3636bc9
Generated
+1 -1
View File
@@ -624,7 +624,7 @@ wheels = [
[[package]]
name = "ty"
version = "0.0.26"
version = "0.0.27"
source = { editable = "." }
[package.dev-dependencies]