|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.0.9 |
| 4 | + |
| 5 | +Released on 2026-01-05. |
| 6 | + |
| 7 | +### Bug fixes |
| 8 | + |
| 9 | +- Emit a diagnostic if a class decorator is not a callable accepting a type ([#22375](https://github.com/astral-sh/ruff/pull/22375)) |
| 10 | +- Fix exhaustiveness inference for unions that include enums ([#22290](https://github.com/astral-sh/ruff/pull/22290)) |
| 11 | + |
| 12 | +### Core type checking |
| 13 | + |
| 14 | +- Support `typing.TypeGuard` ([#20974](https://github.com/astral-sh/ruff/pull/20974)) |
| 15 | +- Treat `__setattr__` as fallback-only ([#22014](https://github.com/astral-sh/ruff/pull/22014)) |
| 16 | +- Don't expand type aliases via type mappings unless necessary. This means that the displayed signature of a bound methods will no longer eagerly expand type aliases into their aliased types ([#22241](https://github.com/astral-sh/ruff/pull/22241)) |
| 17 | +- Narrow `TypedDict` unions with `not in` ([#22349](https://github.com/astral-sh/ruff/pull/22349)) |
| 18 | +- Don't including `property` in subclasses properties ([#22088](https://github.com/astral-sh/ruff/pull/22088)) |
| 19 | +- Narrow tagged unions of `TypedDict`s in `match` statements ([#22299](https://github.com/astral-sh/ruff/pull/22299)) |
| 20 | +- Teach bidirectional inference about subtyping. This allows `x` to be inferred as `list[int]` for `x: Iterable[int] = [42]` ([#21930](https://github.com/astral-sh/ruff/pull/21930)) |
| 21 | +- Support narrowing for tagged unions of tuples where one element of the tuple is a `Literal` type ([#22303](https://github.com/astral-sh/ruff/pull/22303)) |
| 22 | + |
| 23 | +### LSP server |
| 24 | + |
| 25 | +- Add autocomplete suggestions for keyword arguments in `class` statements ([#22110](https://github.com/astral-sh/ruff/pull/22110)) |
| 26 | +- Avoid showing misleading inlay hint for unpacked tuple arguments ([#22286](https://github.com/astral-sh/ruff/pull/22286)) |
| 27 | + |
| 28 | +### Other changes |
| 29 | + |
| 30 | +- Sync vendored typeshed stubs ([#22302](https://github.com/astral-sh/ruff/pull/22302), [#22321](https://github.com/astral-sh/ruff/pull/22321), [#22324](https://github.com/astral-sh/ruff/pull/22324)). [Typeshed diff](https://github.com/python/typeshed/compare/3c2dbb1fde8e8d1d59b10161c8bf5fd06c0011cd...d1d5fe58664b30a0c2dde3cd5c3dc8091f0f16ae) |
| 31 | + |
| 32 | +### Contributors |
| 33 | + |
| 34 | +- [@RasmusNygren](https://github.com/RasmusNygren) |
| 35 | +- [@ericmarkmartin](https://github.com/ericmarkmartin) |
| 36 | +- [@AlexWaygood](https://github.com/AlexWaygood) |
| 37 | +- [@ibraheemdev](https://github.com/ibraheemdev) |
| 38 | +- [@charliermarsh](https://github.com/charliermarsh) |
| 39 | +- [@felixscherz](https://github.com/felixscherz) |
| 40 | +- [@MatthewMckee4](https://github.com/MatthewMckee4) |
| 41 | +- [@mtshiba](https://github.com/mtshiba) |
| 42 | + |
3 | 43 | ## 0.0.8 |
4 | 44 |
|
5 | 45 | Released on 2025-12-29. |
|
0 commit comments