Skip to content

Commit 3933e69

Browse files
Bump version to 0.0.92 (#4821)
Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com> Co-authored-by: Charlie Marsh <[email protected]>
1 parent 9aaec9b commit 3933e69

8 files changed

Lines changed: 58 additions & 8 deletions

File tree

‎CHANGELOG.md‎

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

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+
352
## 0.0.91
453

554
Released on 2026-10-22.

‎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.91"
4+
version = "0.0.92"
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.91/install.sh | sh
74+
$ curl -LsSf https://astral.sh/ty/0.0.92/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.91/install.ps1 | iex"
90+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.92/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.91`
166+
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.92`
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/cli.md‎

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

‎docs/reference/configuration.md‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ty"
3-
version = "0.0.91"
3+
version = "0.0.92"
44
requires-python = ">=3.8"
55
dependencies = []
66
description = "An extremely fast Python type checker, written in Rust."

‎ruff‎

Submodule ruff updated 236 files

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)