|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.0.79 |
| 4 | + |
| 5 | +Released on 2026-09-07. |
| 6 | + |
| 7 | +### Bug fixes |
| 8 | + |
| 9 | +- Avoid dict keyword-call panics when typing is shadowed ([#28292](https://github.com/astral-sh/ruff/pull/28292)) |
| 10 | +- Discover configs in models derived from legacy generic classes ([#28397](https://github.com/astral-sh/ruff/pull/28397)) |
| 11 | +- Normalize recursive collection-use constraints ([#28332](https://github.com/astral-sh/ruff/pull/28332)) |
| 12 | +- Recover cycles when constructing known class instances ([#28289](https://github.com/astral-sh/ruff/pull/28289)) |
| 13 | + |
| 14 | +### CLI |
| 15 | + |
| 16 | +- Embed archive checksums in the shell installer ([#4458](https://github.com/astral-sh/ty/pull/4458)) |
| 17 | + |
| 18 | +### Diagnostic improvements |
| 19 | + |
| 20 | +- Add `Literal` fixes for diagnostics flagging invalid type annotations ([#28185](https://github.com/astral-sh/ruff/pull/28185)) |
| 21 | +- Add `await` fixes for redundant conditions ([#28169](https://github.com/astral-sh/ruff/pull/28169)) |
| 22 | +- Add `assert_never` fixes for redundant final `elif` branches ([#28178](https://github.com/astral-sh/ruff/pull/28178)) |
| 23 | +- Add defensive assertion fallback for redundant `elif` fixes ([#28179](https://github.com/astral-sh/ruff/pull/28179)) |
| 24 | +- Add rules to detect always-truthy and always-falsy conditions ([#28034](https://github.com/astral-sh/ruff/pull/28034)) |
| 25 | +- Preserve deprecations on decorated callables ([#28256](https://github.com/astral-sh/ruff/pull/28256)) |
| 26 | +- Require a direct dependency for `reveal_type` backport fixes ([#28177](https://github.com/astral-sh/ruff/pull/28177)) |
| 27 | +- Suggest variable-length tuple annotations for redundant conditions ([#28168](https://github.com/astral-sh/ruff/pull/28168)) |
| 28 | + |
| 29 | +### Core type checking |
| 30 | + |
| 31 | +- Align `TypeIs` and `isinstance` narrowing ([#28193](https://github.com/astral-sh/ruff/pull/28193)) |
| 32 | +- Avoid falling back to `Unknown` when collecting type context constraints ([#28297](https://github.com/astral-sh/ruff/pull/28297)) |
| 33 | +- Ensure `f is identity(f)` evaluates to `Literal[True]` ([#28360](https://github.com/astral-sh/ruff/pull/28360)) |
| 34 | +- Fix callable specialization with union-valued `ParamSpec` ([#28085](https://github.com/astral-sh/ruff/pull/28085)) |
| 35 | +- Infer variance through recursive protocols ([#28077](https://github.com/astral-sh/ruff/pull/28077)) |
| 36 | +- Narrow types with ordered length comparisons ([#28264](https://github.com/astral-sh/ruff/pull/28264)) |
| 37 | +- Preserve gradual type context during generic call inference ([#28091](https://github.com/astral-sh/ruff/pull/28091)) |
| 38 | +- Preserve nominal subtyping for top-materialized protocols ([#28271](https://github.com/astral-sh/ruff/pull/28271)) |
| 39 | +- Preserve outer type variables during `ParamSpec` inference ([#28306](https://github.com/astral-sh/ruff/pull/28306)) |
| 40 | +- Preserve protocol intersections when narrowing gradual types ([#28391](https://github.com/astral-sh/ruff/pull/28391)) |
| 41 | +- Promote literals in nested (non-covariant) positions ([#28389](https://github.com/astral-sh/ruff/pull/28389)) |
| 42 | +- Reject missing attributes on `type[]` aliases ([#28267](https://github.com/astral-sh/ruff/pull/28267)) |
| 43 | +- Solve formal unions using constraint-sets ([#28312](https://github.com/astral-sh/ruff/pull/28312)) |
| 44 | +- Sync vendored typeshed stubs ([#28331](https://github.com/astral-sh/ruff/pull/28331)). [Typeshed diff](https://github.com/python/typeshed/compare/cf09d2a4d7614f648e9109dce609887499a7c6ee...bc016545988403f13b2dd9b56e88b931683c80b1) |
| 45 | + |
| 46 | +### Performance |
| 47 | + |
| 48 | +- Avoid unnecessary work when building specializations ([#28369](https://github.com/astral-sh/ruff/pull/28369)) |
| 49 | +- Bypass materialization queries for simple types ([#28367](https://github.com/astral-sh/ruff/pull/28367)) |
| 50 | +- Cache exception suppression for context managers ([#28376](https://github.com/astral-sh/ruff/pull/28376)) |
| 51 | +- Intern statement call predicates ([#28373](https://github.com/astral-sh/ruff/pull/28373)) |
| 52 | +- Lazily compute argument-context specializations ([#28378](https://github.com/astral-sh/ruff/pull/28378)) |
| 53 | +- Pre-size packed AST index chunks ([#28372](https://github.com/astral-sh/ruff/pull/28372)) |
| 54 | +- Reduce repeated work in use-def merges ([#28365](https://github.com/astral-sh/ruff/pull/28365)) |
| 55 | +- Skip decorator flags query for undecorated methods ([#28338](https://github.com/astral-sh/ruff/pull/28338)) |
| 56 | + |
| 57 | +### Memory usage improvements |
| 58 | + |
| 59 | +- Avoid caching simple type specializations ([#28333](https://github.com/astral-sh/ruff/pull/28333)) |
| 60 | +- Box cached MRO error details ([#28351](https://github.com/astral-sh/ruff/pull/28351)) |
| 61 | +- Reuse generic aliases as MRO query keys ([#28350](https://github.com/astral-sh/ruff/pull/28350)) |
| 62 | +- Reuse interned bound method signatures ([#28346](https://github.com/astral-sh/ruff/pull/28346)) |
| 63 | +- Reuse stored function signatures without caching duplicates ([#28347](https://github.com/astral-sh/ruff/pull/28347)) |
| 64 | +- Share retained use-def tables across scopes ([#28313](https://github.com/astral-sh/ruff/pull/28313)) |
| 65 | +- Store single narrowing operations inline ([#28345](https://github.com/astral-sh/ruff/pull/28345)) |
| 66 | +- Store uncommon signature metadata out of line ([#28339](https://github.com/astral-sh/ruff/pull/28339)) |
| 67 | + |
| 68 | +### Other changes |
| 69 | + |
| 70 | +- Declare support for Python 3.15 ([#4476](https://github.com/astral-sh/ty/pull/4476)) |
| 71 | + |
| 72 | +### Contributors |
| 73 | + |
| 74 | +- [@carljm](https://github.com/carljm) |
| 75 | +- [@sharkdp](https://github.com/sharkdp) |
| 76 | +- [@charliemarsh-oai](https://github.com/charliemarsh-oai) |
| 77 | +- [@zsol](https://github.com/zsol) |
| 78 | +- [@charliermarsh](https://github.com/charliermarsh) |
| 79 | +- [@ibraheemdev](https://github.com/ibraheemdev) |
| 80 | +- [@AlexWaygood](https://github.com/AlexWaygood) |
| 81 | + |
3 | 82 | ## 0.0.78 |
4 | 83 |
|
5 | 84 | Released on 2026-09-02. |
|
0 commit comments