Skip to content

Commit 927aad2

Browse files
Bump version to 0.0.28 (#3206)
Co-authored-by: Alex Waygood <[email protected]>
1 parent 29d288e commit 927aad2

7 files changed

Lines changed: 184 additions & 178 deletions

File tree

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Changelog
22

3+
## 0.0.28
4+
5+
Released on 2026-04-02.
6+
7+
### Bug fixes
8+
9+
- Mark loop header assignments as used to avoid false positives in "unused variable" diagnostics ([#24336](https://github.com/astral-sh/ruff/pull/24336))
10+
11+
### LSP server
12+
13+
- Show constructor signature of classes when hovering over them ([#24257](https://github.com/astral-sh/ruff/pull/24257))
14+
15+
### Core type checking
16+
17+
- Avoid emitting cascading diagnostics when parsing invalid type expressions ([#24326](https://github.com/astral-sh/ruff/pull/24326))
18+
- Handle most "deep" mutual TypeVar constraints ([#24079](https://github.com/astral-sh/ruff/pull/24079))
19+
- Improve consistency and quality of diagnostics relating to invalid type forms ([#24325](https://github.com/astral-sh/ruff/pull/24325))
20+
- Improve robustness of various type-qualifier-related checks ([#24251](https://github.com/astral-sh/ruff/pull/24251))
21+
- Infer the `extra_items` keyword argument to class-based TypedDicts as an annotation expression ([#24362](https://github.com/astral-sh/ruff/pull/24362))
22+
- Use bidirectional inference to fix false positives on operations such as `x: list[int | None] = [None] * 2` ([#24197](https://github.com/astral-sh/ruff/pull/24197))
23+
- Sync vendored typeshed stubs ([#24340](https://github.com/astral-sh/ruff/pull/24340)). [Typeshed diff](https://github.com/python/typeshed/compare/f8f0794d0fe249c06dc9f31a004d85be6cca6ced...c5e47faeda2cf9d233f91bc1dc95814b0cc7ccba)
24+
- Tighten up validation of subscripts and attributes in type expressions ([#24329](https://github.com/astral-sh/ruff/pull/24329))
25+
- Use `infer_type_expression` for parsing parameter annotations and return-type annotations ([#24353](https://github.com/astral-sh/ruff/pull/24353))
26+
- Use `infer_type_expression` for validating PEP-613 type aliases ([#24370](https://github.com/astral-sh/ruff/pull/24370))
27+
- Validate TypedDict fields when subclassing ([#24338](https://github.com/astral-sh/ruff/pull/24338))
28+
- Validate type qualifiers in functional TypedDict fields and the `extra_items` keyword to functional TypedDicts ([#24360](https://github.com/astral-sh/ruff/pull/24360))
29+
- Improve diagnostics for invalid functional `TypedDict`s ([#24345](https://github.com/astral-sh/ruff/pull/24345))
30+
31+
### Contributors
32+
33+
- [@zsol](https://github.com/zsol)
34+
- [@dcreager](https://github.com/dcreager)
35+
- [@charliermarsh](https://github.com/charliermarsh)
36+
- [@oconnor663](https://github.com/oconnor663)
37+
- [@AlexWaygood](https://github.com/AlexWaygood)
38+
- [@Glyphack](https://github.com/Glyphack)
39+
340
## 0.0.27
441

542
Released on 2026-03-31.

dist-workspace.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
members = ["cargo:./ruff"]
33
packages = ["ty"]
4-
version = "0.0.27"
4+
version = "0.0.28"
55

66
# Config for 'dist'
77
[dist]

docs/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ty includes a standalone installer.
7171
Request a specific version by including it in the URL:
7272

7373
```console
74-
$ curl -LsSf https://astral.sh/ty/0.0.27/install.sh | sh
74+
$ curl -LsSf https://astral.sh/ty/0.0.28/install.sh | sh
7575
```
7676

7777
=== "Windows"
@@ -87,7 +87,7 @@ ty includes a standalone installer.
8787
Request a specific version by including it in the URL:
8888

8989
```pwsh-session
90-
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.27/install.ps1 | iex"
90+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.28/install.ps1 | iex"
9191
```
9292

9393
!!! tip
@@ -163,7 +163,7 @@ COPY --from=ghcr.io/astral-sh/ty:latest /ty /bin/
163163
The following tags are available:
164164

165165
- `ghcr.io/astral-sh/ty:latest`
166-
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.27`
166+
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.28`
167167
- `ghcr.io/astral-sh/ty:{major}.{minor}`, e.g., `ghcr.io/astral-sh/ty:0.0` (the latest patch
168168
version)
169169

0 commit comments

Comments
 (0)