|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.0.92 |
| 4 | + |
| 5 | +Released on 2026-10-26. |
| 6 | + |
| 7 | +### Core type checking |
| 8 | + |
| 9 | +- Infer the types of Django model primary keys (`pk` and the automatic `id`) with `django-types` ([#29642](https://github.com/astral-sh/ruff/pull/29642)) |
| 10 | +- Infer Django foreign key `<field>_id` types from the referenced field ([#29664](https://github.com/astral-sh/ruff/pull/29664)) |
| 11 | +- Recognize `get_<field>_display()` on Django model fields with choices ([#29651](https://github.com/astral-sh/ruff/pull/29651)) |
| 12 | +- Recognize `get_next_by_<field>()` and `get_previous_by_<field>()` on non-nullable Django date and datetime fields ([#29653](https://github.com/astral-sh/ruff/pull/29653)) |
| 13 | + |
| 14 | +### Bug fixes |
| 15 | + |
| 16 | +- Preserve generic callback parameters when forwarding overloaded functions through a `ParamSpec` ([#29649](https://github.com/astral-sh/ruff/pull/29649)) |
| 17 | +- Check implicit and PEP 613 type aliases as type expressions at their definitions ([#29200](https://github.com/astral-sh/ruff/pull/29200)) |
| 18 | + |
| 19 | +### CLI |
| 20 | + |
| 21 | +- Emit SARIF reports with `ty check --output-format sarif` ([#29635](https://github.com/astral-sh/ruff/pull/29635)) |
| 22 | + |
| 23 | +### LSP server |
| 24 | + |
| 25 | +- Skip scanning for scripts at startup and reload when uv script environments are disabled ([#29697](https://github.com/astral-sh/ruff/pull/29697)) |
| 26 | + |
| 27 | +### Diagnostic improvements |
| 28 | + |
| 29 | +- Abbreviate large nested tuple types in diagnostics and inlay hints ([#29691](https://github.com/astral-sh/ruff/pull/29691)) |
| 30 | +- Point to the expression that makes a type alias invalid, even when the alias is imported ([#29654](https://github.com/astral-sh/ruff/pull/29654)) |
| 31 | + |
| 32 | +### Performance |
| 33 | + |
| 34 | +- Avoid redundant work when checking inherited attributes ([#29699](https://github.com/astral-sh/ruff/pull/29699)) |
| 35 | +- Check for instance storage without inferring method assignments ([#29709](https://github.com/astral-sh/ruff/pull/29709)) |
| 36 | +- Collect receiver annotations once per class ([#29703](https://github.com/astral-sh/ruff/pull/29703)) |
| 37 | +- Check non-recursive protocol members before recursive ones ([#29542](https://github.com/astral-sh/ruff/pull/29542)) |
| 38 | +- Reuse class member lookups when checking overrides ([#29716](https://github.com/astral-sh/ruff/pull/29716)) |
| 39 | +- Reuse each generic context's inferable type variables ([#29700](https://github.com/astral-sh/ruff/pull/29700)) |
| 40 | +- Short-circuit comparisons involving top and bottom callable signatures ([#29537](https://github.com/astral-sh/ruff/pull/29537)) |
| 41 | +- Skip inferred writes when a declaration determines an instance member ([#29702](https://github.com/astral-sh/ruff/pull/29702)) |
| 42 | +- Skip method signature inference for concrete decorator results ([#29708](https://github.com/astral-sh/ruff/pull/29708)) |
| 43 | + |
| 44 | +### Contributors |
| 45 | + |
| 46 | +- [@charliermarsh](https://github.com/charliermarsh) |
| 47 | +- [@ntBre](https://github.com/ntBre) |
| 48 | +- [@carljm](https://github.com/carljm) |
| 49 | +- [@dcreager](https://github.com/dcreager) |
| 50 | +- [@sharkdp](https://github.com/sharkdp) |
| 51 | + |
3 | 52 | ## 0.0.91 |
4 | 53 |
|
5 | 54 | Released on 2026-10-22. |
|
0 commit comments