|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.15.17 |
| 4 | + |
| 5 | +Released on 2026-06-11. |
| 6 | + |
| 7 | +### Preview features |
| 8 | + |
| 9 | +- Allow human-readable names in suppression comments ([#25614](https://github.com/astral-sh/ruff/pull/25614)) |
| 10 | +- Fix handling of `ignore` comments within a `disable`/`enable` pair ([#25845](https://github.com/astral-sh/ruff/pull/25845)) |
| 11 | +- Prioritize human-readable names in CLI output ([#25869](https://github.com/astral-sh/ruff/pull/25869)) |
| 12 | +- Respect diagnostic start and parent ranges and trailing comments in `ruff:ignore` suppressions ([#25673](https://github.com/astral-sh/ruff/pull/25673)) |
| 13 | +- \[`flake8-async`\] Add `trio.as_safe_channel` to safe decorators (`ASYNC119`) ([#25775](https://github.com/astral-sh/ruff/pull/25775)) |
| 14 | +- \[`flake8-pytest-style`\] Also check `pytest_asyncio` fixtures ([#25375](https://github.com/astral-sh/ruff/pull/25375)) |
| 15 | +- \[`ruff`\] Ban `pytest` autouse fixtures (`RUF076`) ([#25477](https://github.com/astral-sh/ruff/pull/25477)) |
| 16 | +- \[`pyupgrade`\] Add `from __future__ import annotations` automatically (`UP007`, `UP045`) ([#23259](https://github.com/astral-sh/ruff/pull/23259)) |
| 17 | + |
| 18 | +### Bug fixes |
| 19 | + |
| 20 | +- Fix diagnostic when `ruff:enable` or `ruff:disable` appears where `ruff:ignore` is expected ([#25700](https://github.com/astral-sh/ruff/pull/25700)) |
| 21 | +- \[`pyupgrade`\] Preserve leading empty literals to avoid syntax errors (`UP032`) ([#25491](https://github.com/astral-sh/ruff/pull/25491)) |
| 22 | + |
| 23 | +### Rule changes |
| 24 | + |
| 25 | +- \[`flake8-pytest-style`\] Clarify diagnostic message for single parameters (`PT007`) ([#25592](https://github.com/astral-sh/ruff/pull/25592)) |
| 26 | +- \[`numpy`\] Drop autofix for `np.in1d` (`NPY201`) ([#25612](https://github.com/astral-sh/ruff/pull/25612)) |
| 27 | +- \[`pylint`\] Exempt Python version comparisons (`PLR2004`) ([#25743](https://github.com/astral-sh/ruff/pull/25743)) |
| 28 | + |
| 29 | +### Performance |
| 30 | + |
| 31 | +- Reserve AST `Vec`s with correct capacity for common cases ([#25451](https://github.com/astral-sh/ruff/pull/25451)) |
| 32 | + |
| 33 | +### Formatter |
| 34 | + |
| 35 | +- Preserve whitespace for Quarto cell option comments ([#25641](https://github.com/astral-sh/ruff/pull/25641)) |
| 36 | + |
| 37 | +### CLI |
| 38 | + |
| 39 | +- Allow rule names in `ruff rule` ([#25640](https://github.com/astral-sh/ruff/pull/25640)) |
| 40 | + |
| 41 | +### Other changes |
| 42 | + |
| 43 | +- Fix playground diagnostics scrollbars ([#25642](https://github.com/astral-sh/ruff/pull/25642)) |
| 44 | + |
| 45 | +### Contributors |
| 46 | + |
| 47 | +- [@SuryanshSS1011](https://github.com/SuryanshSS1011) |
| 48 | +- [@anishgirianish](https://github.com/anishgirianish) |
| 49 | +- [@romero-deshaw](https://github.com/romero-deshaw) |
| 50 | +- [@karlhillx](https://github.com/karlhillx) |
| 51 | +- [@carljm](https://github.com/carljm) |
| 52 | +- [@ntBre](https://github.com/ntBre) |
| 53 | +- [@11happy](https://github.com/11happy) |
| 54 | +- [@Kilo59](https://github.com/Kilo59) |
| 55 | +- [@oconnor663](https://github.com/oconnor663) |
| 56 | +- [@LeonidasZhak](https://github.com/LeonidasZhak) |
| 57 | +- [@DavisVaughan](https://github.com/DavisVaughan) |
| 58 | +- [@MeGaGiGaGon](https://github.com/MeGaGiGaGon) |
| 59 | +- [@jonathandung](https://github.com/jonathandung) |
| 60 | +- [@MichaReiser](https://github.com/MichaReiser) |
| 61 | +- [@brianmego](https://github.com/brianmego) |
| 62 | + |
3 | 63 | ## 0.15.16 |
4 | 64 |
|
5 | 65 | Released on 2026-06-04. |
|
0 commit comments