Skip to content

Commit 17d3f6d

Browse files
Bump version to 0.0.58 (#3955)
1 parent 03cfaaf commit 17d3f6d

7 files changed

Lines changed: 94 additions & 7 deletions

File tree

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.58
4+
5+
Released on 2026-07-09.
6+
7+
### Bug fixes
8+
9+
- Fix protocol matching for class variables ([#26669](https://github.com/astral-sh/ruff/pull/26669))
10+
- Fix reflected binary dispatch for runtime classes ([#26623](https://github.com/astral-sh/ruff/pull/26623))
11+
- Support cached properties in protocols ([#26681](https://github.com/astral-sh/ruff/pull/26681))
12+
13+
### Diagnostics
14+
15+
- Add assignability context to upper-bound diagnostics ([#26645](https://github.com/astral-sh/ruff/pull/26645))
16+
- Add blanket ignore comment rule ([#26426](https://github.com/astral-sh/ruff/pull/26426))
17+
- Improve protocol attribute diagnostic context ([#26644](https://github.com/astral-sh/ruff/pull/26644))
18+
19+
### Library support
20+
21+
- Pydantic: Add fields from mixin classes ([#26631](https://github.com/astral-sh/ruff/pull/26631))
22+
- Pydantic: Add support for `validate_by_{name,alias}` ([#26598](https://github.com/astral-sh/ruff/pull/26598))
23+
- Pydantic: Add support for `validation_alias` ([#26629](https://github.com/astral-sh/ruff/pull/26629))
24+
- Pydantic: Fix float conversion in unions ([#26655](https://github.com/astral-sh/ruff/pull/26655))
25+
- Pydantic: Ignore private attributes ([#26630](https://github.com/astral-sh/ruff/pull/26630))
26+
- Pydantic: Make `BaseSettings` fields optional by default ([#26628](https://github.com/astral-sh/ruff/pull/26628))
27+
- Pydantic: Recognize frozen models via config ([#26648](https://github.com/astral-sh/ruff/pull/26648))
28+
- Pydantic: Support dict model configurations ([#26632](https://github.com/astral-sh/ruff/pull/26632))
29+
- Pydantic: Support validation of `RootModel` fields ([#26634](https://github.com/astral-sh/ruff/pull/26634))
30+
- Pydantic: Understand ellipsis as providing no default value ([#26637](https://github.com/astral-sh/ruff/pull/26637))
31+
32+
### Core type checking
33+
34+
- Gate membership narrowing on `__contains__` semantics ([#25964](https://github.com/astral-sh/ruff/pull/25964))
35+
- Handle callable classes in solver ([#26090](https://github.com/astral-sh/ruff/pull/26090))
36+
- Infer `ModuleType.__doc__` as `str` in the presence of a docstring ([#26505](https://github.com/astral-sh/ruff/pull/26505))
37+
- Infer metaclass-declared attributes on class instances ([#26512](https://github.com/astral-sh/ruff/pull/26512))
38+
- Respect user stub overlays during module resolution ([#26123](https://github.com/astral-sh/ruff/pull/26123))
39+
40+
### Performance
41+
42+
- Avoid allocating decorated parameter names ([#26666](https://github.com/astral-sh/ruff/pull/26666))
43+
- Optimize `TypeCollector` ([#26593](https://github.com/astral-sh/ruff/pull/26593))
44+
45+
### Contributors
46+
47+
- [@carljm](https://github.com/carljm)
48+
- [@charliermarsh](https://github.com/charliermarsh)
49+
- [@mtshiba](https://github.com/mtshiba)
50+
- [@MichaReiser](https://github.com/MichaReiser)
51+
- [@sharkdp](https://github.com/sharkdp)
52+
- [@kaapstorm](https://github.com/kaapstorm)
53+
354
## 0.0.57
455

556
Released on 2026-07-07.

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

Lines changed: 36 additions & 0 deletions
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.57"
3+
version = "0.0.58"
44
requires-python = ">=3.8"
55
dependencies = []
66
description = "An extremely fast Python type checker, written in Rust."

ruff

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