|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.16.3 |
| 4 | + |
| 5 | +Released on 2026-08-13. |
| 6 | + |
| 7 | +### Preview features |
| 8 | + |
| 9 | +- \[`pylint`\] Fix false negatives on negative numbers (`PLR6104`) ([#27251](https://github.com/astral-sh/ruff/pull/27251)) |
| 10 | +- \[`pyupgrade`\] Add rule to replace `while 1` with `while True` (`UP048`) ([#27190](https://github.com/astral-sh/ruff/pull/27190)) |
| 11 | + |
| 12 | +### Bug fixes |
| 13 | + |
| 14 | +- \[`flake8-bandit`\] Also check keyword arguments (`S602`, `S603`, `S607`, `S609`) ([#27687](https://github.com/astral-sh/ruff/pull/27687)) |
| 15 | +- \[`pylint`\] Allow `continue` in `finally` on Python 3.8 ([#27626](https://github.com/astral-sh/ruff/pull/27626)) |
| 16 | +- \[`pylint`\] Fix `PLE1307` false positive with bools ([#27651](https://github.com/astral-sh/ruff/pull/27651)) |
| 17 | +- \[`pylint`\] Fix false positives and negatives with `%b` format character (`PLE1300`, `PLE1307`) ([#27560](https://github.com/astral-sh/ruff/pull/27560)) |
| 18 | +- \[`pylint`\] Improve handling of concatenated strings (`PLE1300`) ([#27659](https://github.com/astral-sh/ruff/pull/27659)) |
| 19 | + |
| 20 | +### Rule changes |
| 21 | + |
| 22 | +- \[`numpy`\] Make `np.chararray` autofix backwards-compatible (`NPY201`) ([#27527](https://github.com/astral-sh/ruff/pull/27527)) |
| 23 | + |
| 24 | +### Performance |
| 25 | + |
| 26 | +- Enable PGO for Linux x86-64 Ruff releases ([#27570](https://github.com/astral-sh/ruff/pull/27570)) |
| 27 | +- Enable PGO for Linux ARM64 Ruff releases ([#27574](https://github.com/astral-sh/ruff/pull/27574)) |
| 28 | +- Enable PGO for Windows x86-64 Ruff releases ([#27573](https://github.com/astral-sh/ruff/pull/27573)) |
| 29 | +- Enable PGO for macOS ARM64 Ruff releases ([#27572](https://github.com/astral-sh/ruff/pull/27572)) |
| 30 | +- Reduce `Expr` size to 64 bytes ([#27591](https://github.com/astral-sh/ruff/pull/27591)) |
| 31 | + |
| 32 | +### CLI |
| 33 | + |
| 34 | +- Hyperlink rule codes in `ruff check --statistics` output ([#27646](https://github.com/astral-sh/ruff/pull/27646)) |
| 35 | + |
| 36 | +### Documentation |
| 37 | + |
| 38 | +- \[`ruff`\] Also suggest `asyncio.TaskGroup` (`RUF006`) ([#27461](https://github.com/astral-sh/ruff/pull/27461)) |
| 39 | + |
| 40 | +### Other changes |
| 41 | + |
| 42 | +- Use mimalloc v3 ([#27586](https://github.com/astral-sh/ruff/pull/27586)) |
| 43 | + |
| 44 | +### Contributors |
| 45 | + |
| 46 | +- [@Andrej730](https://github.com/Andrej730) |
| 47 | +- [@alonfaraj](https://github.com/alonfaraj) |
| 48 | +- [@romero-deshaw](https://github.com/romero-deshaw) |
| 49 | +- [@Avasam](https://github.com/Avasam) |
| 50 | +- [@tjkuson](https://github.com/tjkuson) |
| 51 | +- [@charliermarsh](https://github.com/charliermarsh) |
| 52 | +- [@chirizxc](https://github.com/chirizxc) |
| 53 | +- [@saberoueslati](https://github.com/saberoueslati) |
| 54 | +- [@MichaReiser](https://github.com/MichaReiser) |
| 55 | + |
3 | 56 | ## 0.16.2 |
4 | 57 |
|
5 | 58 | Released on 2026-08-06. |
|
0 commit comments