|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 0.9.4 |
| 4 | + |
| 5 | +### Preview features |
| 6 | + |
| 7 | +- \[`airflow`\] Extend airflow context parameter check for `BaseOperator.execute` (`AIR302`) ([#15713](https://github.com/astral-sh/ruff/pull/15713)) |
| 8 | +- \[`airflow`\] Update `AIR302` to check for deprecated context keys ([#15144](https://github.com/astral-sh/ruff/pull/15144)) |
| 9 | +- \[`flake8-bandit`\] Permit suspicious imports within stub files (`S4`) ([#15822](https://github.com/astral-sh/ruff/pull/15822)) |
| 10 | +- \[`pylint`\] Do not trigger `PLR6201` on empty collections ([#15732](https://github.com/astral-sh/ruff/pull/15732)) |
| 11 | +- \[`refurb`\] Do not emit diagnostic when loop variables are used outside loop body (`FURB122`) ([#15757](https://github.com/astral-sh/ruff/pull/15757)) |
| 12 | +- \[`ruff`\] Add support for more `re` patterns (`RUF055`) ([#15764](https://github.com/astral-sh/ruff/pull/15764)) |
| 13 | +- \[`ruff`\] Check for shadowed `map` before suggesting fix (`RUF058`) ([#15790](https://github.com/astral-sh/ruff/pull/15790)) |
| 14 | +- \[`ruff`\] Do not emit diagnostic when all arguments to `zip()` are variadic (`RUF058`) ([#15744](https://github.com/astral-sh/ruff/pull/15744)) |
| 15 | +- \[`ruff`\] Parenthesize fix when argument spans multiple lines for `unnecessary-round` (`RUF057`) ([#15703](https://github.com/astral-sh/ruff/pull/15703)) |
| 16 | + |
| 17 | +### Rule changes |
| 18 | + |
| 19 | +- Preserve quote style in generated code ([#15726](https://github.com/astral-sh/ruff/pull/15726), [#15778](https://github.com/astral-sh/ruff/pull/15778), [#15794](https://github.com/astral-sh/ruff/pull/15794)) |
| 20 | +- \[`flake8-bugbear`\] Exempt `NewType` calls where the original type is immutable (`B008`) ([#15765](https://github.com/astral-sh/ruff/pull/15765)) |
| 21 | +- \[`pylint`\] Honor banned top-level imports by `TID253` in `PLC0415`. ([#15628](https://github.com/astral-sh/ruff/pull/15628)) |
| 22 | +- \[`pyupgrade`\] Ignore `is_typeddict` and `TypedDict` for `deprecated-import` (`UP035`) ([#15800](https://github.com/astral-sh/ruff/pull/15800)) |
| 23 | + |
| 24 | +### CLI |
| 25 | + |
| 26 | +- Fix formatter warning message for `flake8-quotes` option ([#15788](https://github.com/astral-sh/ruff/pull/15788)) |
| 27 | +- Implement tab autocomplete for `ruff config` ([#15603](https://github.com/astral-sh/ruff/pull/15603)) |
| 28 | + |
| 29 | +### Bug fixes |
| 30 | + |
| 31 | +- \[`flake8-comprehensions`\] Do not emit `unnecessary-map` diagnostic when lambda has different arity (`C417`) ([#15802](https://github.com/astral-sh/ruff/pull/15802)) |
| 32 | +- \[`flake8-comprehensions`\] Parenthesize `sorted` when needed for `unnecessary-call-around-sorted` (`C413`) ([#15825](https://github.com/astral-sh/ruff/pull/15825)) |
| 33 | +- \[`pyupgrade`\] Handle end-of-line comments for `quoted-annotation` (`UP037`) ([#15824](https://github.com/astral-sh/ruff/pull/15824)) |
| 34 | + |
| 35 | +### Documentation |
| 36 | + |
| 37 | +- Add missing config docstrings ([#15803](https://github.com/astral-sh/ruff/pull/15803)) |
| 38 | +- Add references to `trio.run_process` and `anyio.run_process` ([#15761](https://github.com/astral-sh/ruff/pull/15761)) |
| 39 | +- Use `uv init --lib` in tutorial ([#15718](https://github.com/astral-sh/ruff/pull/15718)) |
| 40 | + |
3 | 41 | ## 0.9.3
|
4 | 42 |
|
5 | 43 | ### Preview features
|
|
0 commit comments