Skip to content

Commit f1652f0

Browse files
MichaReiserdhruvmanilaAlexWaygood
authored
Bump version to 0.0.9 (#2338)
Co-authored-by: Dhruv Manilawala <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
1 parent aaa9c82 commit f1652f0

7 files changed

Lines changed: 48 additions & 8 deletions

File tree

CHANGELOG.md

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

3+
## 0.0.9
4+
5+
Released on 2026-01-05.
6+
7+
### Bug fixes
8+
9+
- Emit a diagnostic if a class decorator is not a callable accepting a type ([#22375](https://github.com/astral-sh/ruff/pull/22375))
10+
- Fix exhaustiveness inference for unions that include enums ([#22290](https://github.com/astral-sh/ruff/pull/22290))
11+
12+
### Core type checking
13+
14+
- Support `typing.TypeGuard` ([#20974](https://github.com/astral-sh/ruff/pull/20974))
15+
- Treat `__setattr__` as fallback-only ([#22014](https://github.com/astral-sh/ruff/pull/22014))
16+
- Don't expand type aliases via type mappings unless necessary. This means that the displayed signature of a bound methods will no longer eagerly expand type aliases into their aliased types ([#22241](https://github.com/astral-sh/ruff/pull/22241))
17+
- Narrow `TypedDict` unions with `not in` ([#22349](https://github.com/astral-sh/ruff/pull/22349))
18+
- Don't including `property` in subclasses properties ([#22088](https://github.com/astral-sh/ruff/pull/22088))
19+
- Narrow tagged unions of `TypedDict`s in `match` statements ([#22299](https://github.com/astral-sh/ruff/pull/22299))
20+
- Teach bidirectional inference about subtyping. This allows `x` to be inferred as `list[int]` for `x: Iterable[int] = [42]` ([#21930](https://github.com/astral-sh/ruff/pull/21930))
21+
- Support narrowing for tagged unions of tuples where one element of the tuple is a `Literal` type ([#22303](https://github.com/astral-sh/ruff/pull/22303))
22+
23+
### LSP server
24+
25+
- Add autocomplete suggestions for keyword arguments in `class` statements ([#22110](https://github.com/astral-sh/ruff/pull/22110))
26+
- Avoid showing misleading inlay hint for unpacked tuple arguments ([#22286](https://github.com/astral-sh/ruff/pull/22286))
27+
28+
### Other changes
29+
30+
- Sync vendored typeshed stubs ([#22302](https://github.com/astral-sh/ruff/pull/22302), [#22321](https://github.com/astral-sh/ruff/pull/22321), [#22324](https://github.com/astral-sh/ruff/pull/22324)). [Typeshed diff](https://github.com/python/typeshed/compare/3c2dbb1fde8e8d1d59b10161c8bf5fd06c0011cd...d1d5fe58664b30a0c2dde3cd5c3dc8091f0f16ae)
31+
32+
### Contributors
33+
34+
- [@RasmusNygren](https://github.com/RasmusNygren)
35+
- [@ericmarkmartin](https://github.com/ericmarkmartin)
36+
- [@AlexWaygood](https://github.com/AlexWaygood)
37+
- [@ibraheemdev](https://github.com/ibraheemdev)
38+
- [@charliermarsh](https://github.com/charliermarsh)
39+
- [@felixscherz](https://github.com/felixscherz)
40+
- [@MatthewMckee4](https://github.com/MatthewMckee4)
41+
- [@mtshiba](https://github.com/mtshiba)
42+
343
## 0.0.8
444

545
Released on 2025-12-29.

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.8"
4+
version = "0.0.9"
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.8/install.sh | sh
74+
$ curl -LsSf https://astral.sh/ty/0.0.9/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.8/install.ps1 | iex"
90+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.9/install.ps1 | iex"
9191
```
9292

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

151151
- `ghcr.io/astral-sh/ty:latest`
152-
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.8`
152+
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.9`
153153
- `ghcr.io/astral-sh/ty:{major}.{minor}`, e.g., `ghcr.io/astral-sh/ty:0.0` (the latest patch
154154
version)
155155

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

ruff

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