|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.0.16 |
| 4 | + |
| 5 | +Released on 2026-02-10. |
| 6 | + |
| 7 | +### Bug fixes |
| 8 | + |
| 9 | +- Allow stringified argument in PEP-613 alias to `Optional` ([#23200](https://github.com/astral-sh/ruff/pull/23200)) |
| 10 | +- Fix fuzzer panic on slice expression in unclosed comprehension ([#23146](https://github.com/astral-sh/ruff/pull/23146)) |
| 11 | +- Fix combinatorial explosion due to fixed-length tuple expansion in overload matching ([#23190](https://github.com/astral-sh/ruff/pull/23190)) |
| 12 | +- Respect `@no_type_check` when combined with other decorators ([#23177](https://github.com/astral-sh/ruff/pull/23177)) |
| 13 | +- Fix diagnostic location for an incorrect sub-call to a specialized ParamSpec ([#23036](https://github.com/astral-sh/ruff/pull/23036)) |
| 14 | + |
| 15 | +### LSP server |
| 16 | + |
| 17 | +- Assign lower completions ranking to deprecated functions and classes ([#23089](https://github.com/astral-sh/ruff/pull/23089)) |
| 18 | +- Change goto-def for class constructors to always go to class definition ([#23071](https://github.com/astral-sh/ruff/pull/23071)) |
| 19 | +- Ensure diagnostic mode is consistent across projects inside the LSP server ([#23121](https://github.com/astral-sh/ruff/pull/23121)) |
| 20 | +- Don't include the class `Foo` in autocomplete suggestions when the user is typing out `Foo`'s bases ([#23141](https://github.com/astral-sh/ruff/pull/23141)) |
| 21 | +- Fix parameter references across files via keyword args ([#23012](https://github.com/astral-sh/ruff/pull/23012)) |
| 22 | +- Fix wrong inlay hints for overloaded function arguments ([#23179](https://github.com/astral-sh/ruff/pull/23179)) |
| 23 | +- Support diagnostics in newly created files inside neovim ([#23095](https://github.com/astral-sh/ruff/pull/23095)) |
| 24 | +- Exclude already-included classes when providing completion suggestions for class bases ([#23085](https://github.com/astral-sh/ruff/pull/23085)) |
| 25 | + |
| 26 | +### CLI |
| 27 | + |
| 28 | +- Add support for `TY_OUTPUT_FORMAT` environment variable ([#23123](https://github.com/astral-sh/ruff/pull/23123)) |
| 29 | +- Fall back to `python3` found in `$PATH` if no environment is found ([#22843](https://github.com/astral-sh/ruff/pull/22843)) |
| 30 | + |
| 31 | +### Type checking |
| 32 | + |
| 33 | +- Add `inconsistent-mro` autofix to move `Generic[]` to the end of the bases list ([#22998](https://github.com/astral-sh/ruff/pull/22998)) |
| 34 | +- Add precise return-type inference for `struct.unpack` ([#22562](https://github.com/astral-sh/ruff/pull/22562), [#23130](https://github.com/astral-sh/ruff/pull/23130)) |
| 35 | +- Disallow TypeVars within ClassVars ([#23184](https://github.com/astral-sh/ruff/pull/23184)) |
| 36 | +- Emit diagnostic on unbound call to abstract `@classmethod` or `@staticmethod` ([#23182](https://github.com/astral-sh/ruff/pull/23182)) |
| 37 | +- Fix false-positive diagnostics when providing the `total=` keyword to `TypedDict` classes that had PEP-695 type parameters ([#23114](https://github.com/astral-sh/ruff/pull/23114)) |
| 38 | +- Narrow both left- and right-hand operands where possible ([#23084](https://github.com/astral-sh/ruff/pull/23084)) |
| 39 | +- Narrow chained operators ([#23093](https://github.com/astral-sh/ruff/pull/23093)) |
| 40 | +- Narrow equality subscripts on either operand ([#23104](https://github.com/astral-sh/ruff/pull/23104)) |
| 41 | +- Recognize `__dataclass_transform__` to support SQLModel ([#23070](https://github.com/astral-sh/ruff/pull/23070)) |
| 42 | +- Relax the attribute narrowing condition to support deeper-nested attribute type narrowing ([#22440](https://github.com/astral-sh/ruff/pull/22440)) |
| 43 | +- Support constrained TypeVar compatibility across function boundaries ([#23103](https://github.com/astral-sh/ruff/pull/23103)) |
| 44 | +- Support comparison methods (`__gt__`, etc.) where a parameter is annotated with a `Literal` type ([#23100](https://github.com/astral-sh/ruff/pull/23100)) |
| 45 | +- Support partially specialized type context ([#22748](https://github.com/astral-sh/ruff/pull/22748)) |
| 46 | +- Use type context when inferring constructor argument types ([#23139](https://github.com/astral-sh/ruff/pull/23139)) |
| 47 | +- Validate `TypedDict` constructor calls for generic aliases and `type[...]` targets ([#23113](https://github.com/astral-sh/ruff/pull/23113)) |
| 48 | + |
| 49 | +### Performance |
| 50 | + |
| 51 | +- Conservative narrowing places optimization ([#22734](https://github.com/astral-sh/ruff/pull/22734)) |
| 52 | + |
| 53 | +### Contributors |
| 54 | + |
| 55 | +- [@rbange](https://github.com/rbange) |
| 56 | +- [@rayzeller](https://github.com/rayzeller) |
| 57 | +- [@charliermarsh](https://github.com/charliermarsh) |
| 58 | +- [@11happy](https://github.com/11happy) |
| 59 | +- [@figsoda](https://github.com/figsoda) |
| 60 | +- [@mtshiba](https://github.com/mtshiba) |
| 61 | +- [@ibraheemdev](https://github.com/ibraheemdev) |
| 62 | +- [@ngnpope](https://github.com/ngnpope) |
| 63 | +- [@sakgoyal](https://github.com/sakgoyal) |
| 64 | +- [@oconnor663](https://github.com/oconnor663) |
| 65 | +- [@ericmarkmartin](https://github.com/ericmarkmartin) |
| 66 | +- [@Hugo-Polloli](https://github.com/Hugo-Polloli) |
| 67 | +- [@Glyphack](https://github.com/Glyphack) |
| 68 | +- [@sharkdp](https://github.com/sharkdp) |
| 69 | +- [@carljm](https://github.com/carljm) |
| 70 | +- [@BurntSushi](https://github.com/BurntSushi) |
| 71 | + |
3 | 72 | ## 0.0.15 |
4 | 73 |
|
5 | 74 | Released on 2026-02-04. |
|
0 commit comments