|
1 | 1 | # Changelog |
2 | 2 |
|
| 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 | + |
3 | 54 | ## 0.0.57 |
4 | 55 |
|
5 | 56 | Released on 2026-07-07. |
|
0 commit comments