Skip to content

Commit b4cd792

Browse files
Bump version to 0.0.79 (#4484)
1 parent 52f2d5b commit b4cd792

8 files changed

Lines changed: 806 additions & 140 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,84 @@
11
# Changelog
22

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+
382
## 0.0.78
483

584
Released on 2026-09-02.

‎dist-workspace.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
members = ["cargo:./ruff"]
33
packages = ["ty"]
4-
version = "0.0.78"
4+
version = "0.0.79"
55

66
# Config for 'dist'
77
[dist]

‎docs/installation.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ty includes a standalone installer.
7171
Request a specific version by including it in the URL:
7272

7373
```console
74-
$ curl -LsSf https://astral.sh/ty/0.0.78/install.sh | sh
74+
$ curl -LsSf https://astral.sh/ty/0.0.79/install.sh | sh
7575
```
7676

7777
=== "Windows"
@@ -87,7 +87,7 @@ ty includes a standalone installer.
8787
Request a specific version by including it in the URL:
8888

8989
```pwsh-session
90-
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.78/install.ps1 | iex"
90+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.79/install.ps1 | iex"
9191
```
9292

9393
!!! tip
@@ -163,7 +163,7 @@ COPY --from=ghcr.io/astral-sh/ty:latest /ty /bin/
163163
The following tags are available:
164164

165165
- `ghcr.io/astral-sh/ty:latest`
166-
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.78`
166+
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.79`
167167
- `ghcr.io/astral-sh/ty:{major}.{minor}`, e.g., `ghcr.io/astral-sh/ty:0.0` (the latest patch
168168
version)
169169

‎docs/reference/configuration.md‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)