Skip to content

Commit e96ea4c

Browse files
Bump version to 0.0.16 (#2779)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent b393d32 commit e96ea4c

10 files changed

Lines changed: 240 additions & 115 deletions

File tree

CHANGELOG.md

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

3+
## 0.0.16
4+
5+
Released on 2026-02-10.
6+
7+
### Bug fixes
8+
9+
- Allow stringified argument in PEP-613 alias to `Optional` ([#23200](https://github.com/astral-sh/ruff/pull/23200))
10+
- Fix fuzzer panic on slice expression in unclosed comprehension ([#23146](https://github.com/astral-sh/ruff/pull/23146))
11+
- Fix combinatorial explosion due to fixed-length tuple expansion in overload matching ([#23190](https://github.com/astral-sh/ruff/pull/23190))
12+
- Respect `@no_type_check` when combined with other decorators ([#23177](https://github.com/astral-sh/ruff/pull/23177))
13+
- Fix diagnostic location for an incorrect sub-call to a specialized ParamSpec ([#23036](https://github.com/astral-sh/ruff/pull/23036))
14+
15+
### LSP server
16+
17+
- Assign lower completions ranking to deprecated functions and classes ([#23089](https://github.com/astral-sh/ruff/pull/23089))
18+
- Change goto-def for class constructors to always go to class definition ([#23071](https://github.com/astral-sh/ruff/pull/23071))
19+
- Ensure diagnostic mode is consistent across projects inside the LSP server ([#23121](https://github.com/astral-sh/ruff/pull/23121))
20+
- Don't include the class `Foo` in autocomplete suggestions when the user is typing out `Foo`'s bases ([#23141](https://github.com/astral-sh/ruff/pull/23141))
21+
- Fix parameter references across files via keyword args ([#23012](https://github.com/astral-sh/ruff/pull/23012))
22+
- Fix wrong inlay hints for overloaded function arguments ([#23179](https://github.com/astral-sh/ruff/pull/23179))
23+
- Support diagnostics in newly created files inside neovim ([#23095](https://github.com/astral-sh/ruff/pull/23095))
24+
- Exclude already-included classes when providing completion suggestions for class bases ([#23085](https://github.com/astral-sh/ruff/pull/23085))
25+
26+
### CLI
27+
28+
- Add support for `TY_OUTPUT_FORMAT` environment variable ([#23123](https://github.com/astral-sh/ruff/pull/23123))
29+
- Fall back to `python3` found in `$PATH` if no environment is found ([#22843](https://github.com/astral-sh/ruff/pull/22843))
30+
31+
### Type checking
32+
33+
- Add `inconsistent-mro` autofix to move `Generic[]` to the end of the bases list ([#22998](https://github.com/astral-sh/ruff/pull/22998))
34+
- Add precise return-type inference for `struct.unpack` ([#22562](https://github.com/astral-sh/ruff/pull/22562), [#23130](https://github.com/astral-sh/ruff/pull/23130))
35+
- Disallow TypeVars within ClassVars ([#23184](https://github.com/astral-sh/ruff/pull/23184))
36+
- Emit diagnostic on unbound call to abstract `@classmethod` or `@staticmethod` ([#23182](https://github.com/astral-sh/ruff/pull/23182))
37+
- Fix false-positive diagnostics when providing the `total=` keyword to `TypedDict` classes that had PEP-695 type parameters ([#23114](https://github.com/astral-sh/ruff/pull/23114))
38+
- Narrow both left- and right-hand operands where possible ([#23084](https://github.com/astral-sh/ruff/pull/23084))
39+
- Narrow chained operators ([#23093](https://github.com/astral-sh/ruff/pull/23093))
40+
- Narrow equality subscripts on either operand ([#23104](https://github.com/astral-sh/ruff/pull/23104))
41+
- Recognize `__dataclass_transform__` to support SQLModel ([#23070](https://github.com/astral-sh/ruff/pull/23070))
42+
- Relax the attribute narrowing condition to support deeper-nested attribute type narrowing ([#22440](https://github.com/astral-sh/ruff/pull/22440))
43+
- Support constrained TypeVar compatibility across function boundaries ([#23103](https://github.com/astral-sh/ruff/pull/23103))
44+
- Support comparison methods (`__gt__`, etc.) where a parameter is annotated with a `Literal` type ([#23100](https://github.com/astral-sh/ruff/pull/23100))
45+
- Support partially specialized type context ([#22748](https://github.com/astral-sh/ruff/pull/22748))
46+
- Use type context when inferring constructor argument types ([#23139](https://github.com/astral-sh/ruff/pull/23139))
47+
- Validate `TypedDict` constructor calls for generic aliases and `type[...]` targets ([#23113](https://github.com/astral-sh/ruff/pull/23113))
48+
49+
### Performance
50+
51+
- Conservative narrowing places optimization ([#22734](https://github.com/astral-sh/ruff/pull/22734))
52+
53+
### Contributors
54+
55+
- [@rbange](https://github.com/rbange)
56+
- [@rayzeller](https://github.com/rayzeller)
57+
- [@charliermarsh](https://github.com/charliermarsh)
58+
- [@11happy](https://github.com/11happy)
59+
- [@figsoda](https://github.com/figsoda)
60+
- [@mtshiba](https://github.com/mtshiba)
61+
- [@ibraheemdev](https://github.com/ibraheemdev)
62+
- [@ngnpope](https://github.com/ngnpope)
63+
- [@sakgoyal](https://github.com/sakgoyal)
64+
- [@oconnor663](https://github.com/oconnor663)
65+
- [@ericmarkmartin](https://github.com/ericmarkmartin)
66+
- [@Hugo-Polloli](https://github.com/Hugo-Polloli)
67+
- [@Glyphack](https://github.com/Glyphack)
68+
- [@sharkdp](https://github.com/sharkdp)
69+
- [@carljm](https://github.com/carljm)
70+
- [@BurntSushi](https://github.com/BurntSushi)
71+
372
## 0.0.15
473

574
Released on 2026-02-04.

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.15"
4+
version = "0.0.16"
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.15/install.sh | sh
74+
$ curl -LsSf https://astral.sh/ty/0.0.16/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.15/install.ps1 | iex"
90+
PS> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/ty/0.0.16/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.15`
166+
- `ghcr.io/astral-sh/ty:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/ty:0.0.16`
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: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/configuration.md

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

docs/reference/environment.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ For example, how many files should be checked in parallel.
3838
This isn't the same as a thread limit. ty may spawn additional threads
3939
when necessary, e.g. to watch for file system changes or a dedicated UI thread.
4040

41+
### `TY_OUTPUT_FORMAT`
42+
43+
The format to use for printing diagnostic messages.
44+
45+
When set, ty will use this format for output instead of the default.
46+
47+
Accepts the same values as the `--output-format` command-line argument.
48+
4149
## Externally-defined variables
4250

4351
ty also reads the following externally defined environment variables:

0 commit comments

Comments
 (0)