|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.4.2 |
| 4 | + |
| 5 | +### Rule changes |
| 6 | + |
| 7 | +- \[`flake8-pyi`\] Allow for overloaded `__exit__` and `__aexit__` definitions (`PYI036`) ([#11057](https://github.com/astral-sh/ruff/pull/11057)) |
| 8 | +- \[`pyupgrade`\] Catch usages of `"%s" % var` and provide an unsafe fix (`UP031`) ([#11019](https://github.com/astral-sh/ruff/pull/11019)) |
| 9 | +- \[`refurb`\] Implement new rule that suggests min/max over `sorted()` (`FURB192`) ([#10868](https://github.com/astral-sh/ruff/pull/10868)) |
| 10 | + |
| 11 | +### Server |
| 12 | + |
| 13 | +- Fix an issue with missing diagnostics for Neovim and Helix ([#11092](https://github.com/astral-sh/ruff/pull/11092)) |
| 14 | +- Implement hover documentation for `noqa` codes ([#11096](https://github.com/astral-sh/ruff/pull/11096)) |
| 15 | +- Introduce common Ruff configuration options with new server settings ([#11062](https://github.com/astral-sh/ruff/pull/11062)) |
| 16 | + |
| 17 | +### Bug fixes |
| 18 | + |
| 19 | +- Use `macos-12` for building release wheels to enable macOS 11 compatibility ([#11146](https://github.com/astral-sh/ruff/pull/11146)) |
| 20 | +- \[`flake8-blind-expect`\] Allow raise from in `BLE001` ([#11131](https://github.com/astral-sh/ruff/pull/11131)) |
| 21 | +- \[`flake8-pyi`\] Allow simple assignments to `None` in enum class scopes (`PYI026`) ([#11128](https://github.com/astral-sh/ruff/pull/11128)) |
| 22 | +- \[`flake8-simplify`\] Avoid raising `SIM911` for non-`zip` attribute calls ([#11126](https://github.com/astral-sh/ruff/pull/11126)) |
| 23 | +- \[`refurb`\] Avoid `operator.itemgetter` suggestion for single-item tuple ([#11095](https://github.com/astral-sh/ruff/pull/11095)) |
| 24 | +- \[`ruff`\] Respect per-file-ignores for `RUF100` with no other diagnostics ([#11058](https://github.com/astral-sh/ruff/pull/11058)) |
| 25 | +- \[`ruff`\] Fix async comprehension false positive (`RUF029`) ([#11070](https://github.com/astral-sh/ruff/pull/11070)) |
| 26 | + |
| 27 | +### Documentation |
| 28 | + |
| 29 | +- \[`flake8-bugbear`\] Document explicitly disabling strict zip (`B905`) ([#11040](https://github.com/astral-sh/ruff/pull/11040)) |
| 30 | +- \[`flake8-type-checking`\] Mention `lint.typing-modules` in `TCH001`, `TCH002`, and `TCH003` ([#11144](https://github.com/astral-sh/ruff/pull/11144)) |
| 31 | +- \[`isort`\] Improve documentation around custom `isort` sections ([#11050](https://github.com/astral-sh/ruff/pull/11050)) |
| 32 | +- \[`pylint`\] Fix documentation oversight for `invalid-X-returns` ([#11094](https://github.com/astral-sh/ruff/pull/11094)) |
| 33 | + |
| 34 | +### Performance |
| 35 | + |
| 36 | +- Use `matchit` to resolve per-file settings ([#11111](https://github.com/astral-sh/ruff/pull/11111)) |
| 37 | + |
3 | 38 | ## 0.4.1 |
4 | 39 |
|
5 | 40 | ### Preview features |
|
0 commit comments