|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 0.11.3 |
| 4 | + |
| 5 | +### Preview features |
| 6 | + |
| 7 | +- \[`airflow`\] Add more autofixes for `AIR302` ([#16876](https://github.com/astral-sh/ruff/pull/16876), [#16977](https://github.com/astral-sh/ruff/pull/16977), [#16976](https://github.com/astral-sh/ruff/pull/16976), [#16965](https://github.com/astral-sh/ruff/pull/16965)) |
| 8 | +- \[`airflow`\] Move `AIR301` to `AIR002` ([#16978](https://github.com/astral-sh/ruff/pull/16978)) |
| 9 | +- \[`airflow`\] Move `AIR302` to `AIR301` and `AIR303` to `AIR302` ([#17151](https://github.com/astral-sh/ruff/pull/17151)) |
| 10 | +- \[`flake8-bandit`\] Mark `str` and `list[str]` literals as trusted input (`S603`) ([#17136](https://github.com/astral-sh/ruff/pull/17136)) |
| 11 | +- \[`ruff`\] Support slices in `RUF005` ([#17078](https://github.com/astral-sh/ruff/pull/17078)) |
| 12 | +- [syntax-errors] Start detecting compile-time syntax errors ([#16106](https://github.com/astral-sh/ruff/pull/16106)) |
| 13 | +- [syntax-errors] Duplicate type parameter names ([#16858](https://github.com/astral-sh/ruff/pull/16858)) |
| 14 | +- [syntax-errors] Irrefutable `case` pattern before final case ([#16905](https://github.com/astral-sh/ruff/pull/16905)) |
| 15 | +- [syntax-errors] Multiple assignments in `case` pattern ([#16957](https://github.com/astral-sh/ruff/pull/16957)) |
| 16 | +- [syntax-errors] Single starred assignment target ([#17024](https://github.com/astral-sh/ruff/pull/17024)) |
| 17 | +- [syntax-errors] Starred expressions in `return`, `yield`, and `for` ([#17134](https://github.com/astral-sh/ruff/pull/17134)) |
| 18 | +- [syntax-errors] Store to or delete `__debug__` ([#16984](https://github.com/astral-sh/ruff/pull/16984)) |
| 19 | + |
| 20 | +### Bug fixes |
| 21 | + |
| 22 | +- Error instead of `panic!` when running Ruff from a deleted directory (#16903) ([#17054](https://github.com/astral-sh/ruff/pull/17054)) |
| 23 | +- [syntax-errors] Fix false positive for parenthesized tuple index ([#16948](https://github.com/astral-sh/ruff/pull/16948)) |
| 24 | + |
| 25 | +### CLI |
| 26 | + |
| 27 | +- Check `pyproject.toml` correctly when it is passed via stdin ([#16971](https://github.com/astral-sh/ruff/pull/16971)) |
| 28 | + |
| 29 | +### Configuration |
| 30 | + |
| 31 | +- \[`flake8-import-conventions`\] Add import `numpy.typing as npt` to default `flake8-import-conventions.aliases` ([#17133](https://github.com/astral-sh/ruff/pull/17133)) |
| 32 | + |
| 33 | +### Documentation |
| 34 | + |
| 35 | +- \[`refurb`\] Document why `UserDict`, `UserList`, and `UserString` are preferred over `dict`, `list`, and `str` (`FURB189`) ([#16927](https://github.com/astral-sh/ruff/pull/16927)) |
| 36 | + |
3 | 37 | ## 0.11.2
|
4 | 38 |
|
5 | 39 | ### Preview features
|
|
0 commit comments