Skip to content

Commit 87493a1

Browse files
committed
Bump version to 0.0.20
1 parent 08f4e9f commit 87493a1

File tree

7 files changed

+153
-36
lines changed

7 files changed

+153
-36
lines changed

CHANGELOG.md

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

3+
## 0.0.20
4+
5+
Released on 2026-03-02.
6+
7+
### Bug fixes
8+
9+
- Fix bug where ty would think that a `Callable` with a variadic positional parameter could be a subtype of a `Callable` with a positional-or-keyword parameter ([#23610](https://github.com/astral-sh/ruff/pull/23610))
10+
- Limit recursion depth when displaying self-referential function types ([#23647](https://github.com/astral-sh/ruff/pull/23647))
11+
12+
### LSP server
13+
14+
- Add support for the LSP protocol's "type hierarchy" feature ([#23566](https://github.com/astral-sh/ruff/pull/23566))
15+
16+
### Other changes
17+
18+
- Add more ParamSpec validation for `P.args` and `P.kwargs` ([#23640](https://github.com/astral-sh/ruff/pull/23640))
19+
- Ban nested `Required`/`NotRequired`, and ban them both outside of `TypedDict` fields ([#23627](https://github.com/astral-sh/ruff/pull/23627))
20+
- Bump cargo-dist to 0.31.0 ([#2920](https://github.com/astral-sh/ty/pull/2920))
21+
- Dataclass transform: neither frozen nor non-frozen ([#23366](https://github.com/astral-sh/ruff/pull/23366))
22+
- Detect inconsistent generic base class specializations ([#23615](https://github.com/astral-sh/ruff/pull/23615))
23+
- Detect invalid uses of `@final` on non-methods ([#23604](https://github.com/astral-sh/ruff/pull/23604))
24+
- Fix inference of `t.__mro__` if `t` is an instance of `type[Any]` ([#23632](https://github.com/astral-sh/ruff/pull/23632))
25+
- Fix overloaded callable assignability for unary Callable targets ([#23277](https://github.com/astral-sh/ruff/pull/23277))
26+
- Have `typing.Unpack[tuple[]]` behave more like `*tuple[]` ([#23651](https://github.com/astral-sh/ruff/pull/23651))
27+
- Publish releases to Astral mirror ([#2921](https://github.com/astral-sh/ty/pull/2921))
28+
- Recurse into tuples and nested tuples when applying special-cased validation of `isinstance()` and `issubclass()` ([#23607](https://github.com/astral-sh/ruff/pull/23607))
29+
- Reject ellipsis literals in odd places in type/annotation expressions ([#23611](https://github.com/astral-sh/ruff/pull/23611))
30+
- Reject functions with PEP-695 type parameters that shadow type parameters from enclosing scopes ([#23619](https://github.com/astral-sh/ruff/pull/23619))
31+
- Reject generic metaclasses parameterized by type variables ([#23628](https://github.com/astral-sh/ruff/pull/23628))
32+
- Sync vendored typeshed stubs ([#23642](https://github.com/astral-sh/ruff/pull/23642))
33+
- Update the Python module (notably `find_ty_bin`) for parity with uv ([#2852](https://github.com/astral-sh/ty/pull/2852))
34+
- Validate type variable defaults don't reference later type parameters or type parameters out of scope ([#23623](https://github.com/astral-sh/ruff/pull/23623))
35+
- disallow negative narrowing on SubclassOf types ([#23598](https://github.com/astral-sh/ruff/pull/23598))
36+
- fix binops with NewType of float and Unknown ([#23620](https://github.com/astral-sh/ruff/pull/23620))
37+
- hash-cons `UseDefMap` fields ([#23283](https://github.com/astral-sh/ruff/pull/23283))
38+
- make `StaticClassLiteral::explicit_bases` converge better in cycles ([#23601](https://github.com/astral-sh/ruff/pull/23601))
39+
40+
### Contributors
41+
42+
- [@Hugo-Polloli](https://github.com/Hugo-Polloli)
43+
- [@zanieb](https://github.com/zanieb)
44+
- [@sharkdp](https://github.com/sharkdp)
45+
- [@mtshiba](https://github.com/mtshiba)
46+
- [@carljm](https://github.com/carljm)
47+
- [@charliermarsh](https://github.com/charliermarsh)
48+
- [@sinon](https://github.com/sinon)
49+
- [@BurntSushi](https://github.com/BurntSushi)
50+
- [@oconnor663](https://github.com/oconnor663)
51+
- [@AlexWaygood](https://github.com/AlexWaygood)
52+
- [@zsol](https://github.com/zsol)
53+
354
## 0.0.19
455

556
Released on 2026-02-26.

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

0 commit comments

Comments
 (0)