|
1 | 1 | # Changelog |
2 | 2 |
|
| 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 | + |
3 | 40 | ## 0.0.27 |
4 | 41 |
|
5 | 42 | Released on 2026-03-31. |
|
0 commit comments