Skip to content

Commit ae10022

Browse files
AlexWaygoodsharkdp
andauthored
Bump version to 0.0.19 (#2908)
Co-authored-by: David Peter <[email protected]>
1 parent 6bdb7d7 commit ae10022

6 files changed

Lines changed: 56 additions & 7 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.19
4+
5+
Released on 2026-02-26.
6+
7+
### Bug fixes
8+
9+
- Fix panic in diagnostic rendering when attempting to render a code frame pointing to leading whitespace ([#23458](https://github.com/astral-sh/ruff/pull/23458))
10+
- Fix panics and incorrect inference stemming from incorrectly considering overloads in another file as being associated with a function in the file being checked ([#21977](https://github.com/astral-sh/ruff/pull/21977))
11+
- Fix panic when attempting to narrow the type of a dictionary key that was assigned using a multi-target assignment, e.g. `x = y = {"a": 1}` ([#23523](https://github.com/astral-sh/ruff/pull/23523))
12+
- Fix infinite hang on mutually recursive `TypeAliasType` definitions ([#23397](https://github.com/astral-sh/ruff/pull/23397))
13+
14+
### LSP server
15+
16+
- Fix inlay hints for starred unpacking targets ([#23454](https://github.com/astral-sh/ruff/pull/23454))
17+
18+
### Core type checking
19+
20+
- Fix assignability, subtyping and equivalence checks relating to `typing.Generator` prior to Python 3.13 ([#23386](https://github.com/astral-sh/ruff/pull/23386))
21+
- Understand that a scope's control flow terminates after `await foo()` if `foo` returns `typing.Awaitable[typing.Never]` or similar ([#23479](https://github.com/astral-sh/ruff/pull/23479))
22+
- Implement stricter handling of calls to instances of `type[T]` types ([#23472](https://github.com/astral-sh/ruff/pull/23472))
23+
- Support basic type narrowing for `case {...}:` patterns in `match` statements ([#23462](https://github.com/astral-sh/ruff/pull/23462))
24+
- Fix bugs that could manifest in incorrect overload evaluation, false-positive complaints regarding `assert_type` calls or false-positive `redundant-cast` diagnostics by reimplementing the equivalence type relation as mutual subtyping of top and bottom materializations ([#23428](https://github.com/astral-sh/ruff/pull/23428))
25+
- Fix equality and `__contains__` narrowing with PEP-695 type aliases ([#23545](https://github.com/astral-sh/ruff/pull/23545))
26+
- Support `_value_` annotations on enum classes ([#22228](https://github.com/astral-sh/ruff/pull/22228))
27+
28+
## Improvements to diagnostics
29+
30+
- Improve diagnostics when attempting to specialize non-generic types ([#23516](https://github.com/astral-sh/ruff/pull/23516))
31+
- Render subdiagnostics when `--output-format=github` is specified ([#23455](https://github.com/astral-sh/ruff/pull/23455))
32+
33+
## Performance
34+
35+
- Add a cached method for calculating the intersection of two types ([#23547](https://github.com/astral-sh/ruff/pull/23547))
36+
- Add a cached method for calculating the union of two types ([#23565](https://github.com/astral-sh/ruff/pull/23565))
37+
- Reduce the threshold above which `Literal` types in unions are upcasted to nominal-instance types in situations where the union type is recursively defined ([#23521](https://github.com/astral-sh/ruff/pull/23521))
38+
- Control flow: isolate the calculation of "loop header reachability" in a dedicated, cached function ([#23520](https://github.com/astral-sh/ruff/pull/23520))
39+
40+
### Contributors
41+
42+
- [@AlexWaygood](https://github.com/AlexWaygood)
43+
- [@silamon](https://github.com/silamon)
44+
- [@ibraheemdev](https://github.com/ibraheemdev)
45+
- [@Hugo-Polloli](https://github.com/Hugo-Polloli)
46+
- [@charliermarsh](https://github.com/charliermarsh)
47+
- [@knutwannheden](https://github.com/knutwannheden)
48+
- [@oconnor663](https://github.com/oconnor663)
49+
- [@carljm](https://github.com/carljm)
50+
- [@mtshiba](https://github.com/mtshiba)
51+
352
## 0.0.18
453

554
Released on 2026-02-20.

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.18"
4+
version = "0.0.19"
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.18/install.sh | sh
74+
$ curl -LsSf https://astral.sh/ty/0.0.19/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.18/install.ps1 | iex"
90+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.19/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.18`
166+
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.19`
167167
- `ghcr.io/astral-sh/ty:{major}.{minor}`, e.g., `ghcr.io/astral-sh/ty:0.0` (the latest patch
168168
version)
169169

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.18"
3+
version = "0.0.19"
44
requires-python = ">=3.8"
55
dependencies = []
66
description = "An extremely fast Python type checker, written in Rust."

ruff

Submodule ruff updated 160 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)