|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 0.1.14 |
| 4 | + |
| 5 | +### Preview features |
| 6 | + |
| 7 | +- \[`flake8-bugbear`\] Add fix for `duplicate-value` (`B033`) ([#9510](https://github.com/astral-sh/ruff/pull/9510)) |
| 8 | +- \[`flake8-simplify`\] Implement `enumerate-for-loop` (`SIM113`) ([#7777](https://github.com/astral-sh/ruff/pull/7777)) |
| 9 | +- \[`pygrep_hooks`\] Add fix for `deprecated-log-warn` (`PGH002`) ([#9519](https://github.com/astral-sh/ruff/pull/9519)) |
| 10 | +- \[`pylint`\] Implement `import-private-name` (`C2701`) ([#5920](https://github.com/astral-sh/ruff/pull/5920)) |
| 11 | +- \[`refurb`\] Implement `regex-flag-alias` with fix (`FURB167`) ([#9516](https://github.com/astral-sh/ruff/pull/9516)) |
| 12 | +- \[`ruff`\] Add rule and fix to sort contents of `__all__` (`RUF022`) ([#9474](https://github.com/astral-sh/ruff/pull/9474)) |
| 13 | +- \[`tryceratops`\] Add fix for `error-instead-of-exception` (`TRY400`) ([#9520](https://github.com/astral-sh/ruff/pull/9520)) |
| 14 | + |
| 15 | +### Rule changes |
| 16 | + |
| 17 | +- \[`flake8-pyi`\] Fix `PYI047` false negatives on PEP-695 type aliases ([#9566](https://github.com/astral-sh/ruff/pull/9566)) |
| 18 | +- \[`flake8-pyi`\] Fix `PYI049` false negatives on call-based `TypedDict`s ([#9567](https://github.com/astral-sh/ruff/pull/9567)) |
| 19 | +- \[`pylint`\] Exclude `self` and `cls` when counting method arguments (`PLR0917`) ([#9563](https://github.com/astral-sh/ruff/pull/9563)) |
| 20 | + |
| 21 | +### CLI |
| 22 | + |
| 23 | +- `--show-settings` displays active settings in a far more readable format ([#9464](https://github.com/astral-sh/ruff/pull/9464)) |
| 24 | +- Add `--extension` support to the formatter ([#9483](https://github.com/astral-sh/ruff/pull/9483)) |
| 25 | + |
| 26 | +### Configuration |
| 27 | + |
| 28 | +- Ignore preview status for fixable and unfixable selectors ([#9538](https://github.com/astral-sh/ruff/pull/9538)) |
| 29 | +- \[`pycodestyle`\] Use the configured tab size when expanding indents ([#9506](https://github.com/astral-sh/ruff/pull/9506)) |
| 30 | + |
| 31 | +### Bug fixes |
| 32 | + |
| 33 | +- Recursively visit deferred AST nodes ([#9541](https://github.com/astral-sh/ruff/pull/9541)) |
| 34 | +- Visit deferred lambdas before type definitions ([#9540](https://github.com/astral-sh/ruff/pull/9540)) |
| 35 | +- \[`flake8-simplify`\] Avoid some more `enumerate-for-loop` false positives (`SIM113`) ([#9515](https://github.com/astral-sh/ruff/pull/9515)) |
| 36 | +- \[`pandas-vet`\] Limit inplace diagnostics to methods that accept inplace ([#9495](https://github.com/astral-sh/ruff/pull/9495)) |
| 37 | +- \[`pylint`\] Add the `__prepare__` method to the list of recognized dunder method ([#9529](https://github.com/astral-sh/ruff/pull/9529)) |
| 38 | +- \[`pylint`\] Ignore unnecessary dunder calls within dunder definitions ([#9496](https://github.com/astral-sh/ruff/pull/9496)) |
| 39 | +- \[`refurb`\] Avoid bailing when `reimplemented-operator` is called on function (`FURB118`) ([#9556](https://github.com/astral-sh/ruff/pull/9556)) |
| 40 | +- \[`ruff`\] Avoid treating named expressions as static keys (`RUF011`) ([#9494](https://github.com/astral-sh/ruff/pull/9494)) |
| 41 | + |
| 42 | +### Documentation |
| 43 | + |
| 44 | +- Add instructions on using `noqa` with isort rules ([#9555](https://github.com/astral-sh/ruff/pull/9555)) |
| 45 | +- Documentation update for URL giving 'page not found' ([#9565](https://github.com/astral-sh/ruff/pull/9565)) |
| 46 | +- Fix admonition in dark mode ([#9502](https://github.com/astral-sh/ruff/pull/9502)) |
| 47 | +- Update contributing docs to use `cargo bench -p ruff_benchmark` ([#9535](https://github.com/astral-sh/ruff/pull/9535)) |
| 48 | +- Update emacs integration section to include `emacs-ruff-format` ([#9403](https://github.com/astral-sh/ruff/pull/9403)) |
| 49 | +- \[`flake8-blind-except`\] Document exceptions to `blind-except` rule ([#9580](https://github.com/astral-sh/ruff/pull/9580)) |
| 50 | + |
3 | 51 | ## 0.1.13
|
4 | 52 |
|
5 | 53 | ### Bug fixes
|
|
0 commit comments