---
title: "ruff 0.17.5 Breaking Changes on PyPI | Since.dev"
description: "What each ruff release removed, renamed or changed: 273 breaking changes in 65 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/ruff
last_updated: 2026-12-04
---

# ruff breaking changes

ruff 0.17.5 (November 12, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed B008. Every breaking API change we have recorded in ruff on PyPI: 273 breaking changes in 65 versions. Below, its 65 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.17.6`, released November 19, 2026. [Source repository](https://github.com/astral-sh/ruff)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.1.0](#v-0-1-0) to [0.17.5](#v-0-17-5): 266 breaking changes in 64 versions.

## ruff 0.17.5 breaking changes

ruff 0.17.5, released November 12, 2026: 2 breaking changes.

- **Behavior changed** `B008`  

The flake8-bugbear B008 rule now ignores frozen dataclass instantiations, so code that was reported before may no longer be flagged. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.5)
- **Behavior changed** `G004`  

The autofix for G004 in flake8-logging-format is now marked unsafe. Users who run fixes with unsafe fixes enabled should review the rewritten code. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.5)

## ruff 0.17.2 breaking changes

ruff 0.17.2, released October 22, 2026: 3 breaking changes.

- **Behavior changed** `PLR5501`  

The autofix for PLR5501 is now classed as unsafe when it deletes comments, so it is no longer applied by default and must be enabled explicitly with unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.2)
- **Behavior changed** `PLW0120`  

The autofix for PLW0120 is now classed as unsafe when it deletes comments, so it is no longer applied by default and must be enabled explicitly with unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.2)
- **Behavior changed** `UP035`  

The autofix for UP035 is now classed as unsafe when it deletes comments, so it is no longer applied by default and must be enabled explicitly with unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.2)

## ruff 0.17.1 breaking changes

ruff 0.17.1, released October 15, 2026: 3 breaking changes.

- **Behavior changed**  

More collections and weakref containers are now treated as mutable, so rules that depend on mutability may flag code they did not flag before. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.1)
- **Behavior changed**  

In preview mode, E271 to E274 no longer treat None, True, and False as keywords, so code that relied on those findings may now lint differently. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.1)
- **Default changed** `flake8-import-conventions.aliases`  

The default aliases used by the flake8-import-conventions rules were changed, so projects relying on the old defaults may see different results. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.1)

## ruff 0.17.0 breaking changes

ruff 0.17.0, released October 9, 2026: 17 breaking changes.

- **Removed**  

The conda-forge build no longer installs Python, so python -m ruff and import ruff stop working. Run ruff directly from PATH instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Removed** `ruff-lsp`  

The VS Code extension now always uses the native language server. Migrate settings using the migration guide and run ruff server instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Behavior changed**  

Consumers of JUnit XML must read skipped instead of disabled on testsuite elements. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Behavior changed**  

The default full output shows unsafe fixes and suggestions even when unsafe-fixes is off. Applying them still requires opt-in. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Behavior changed** `E501`  

Trailing pragma comments no longer count toward line length, so some existing lines may now be reported or reformatted differently. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Behavior changed** `I001`  

Trailing pragma comments no longer count toward line length when sorting imports, so existing imports may be reformatted. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Behavior changed** `W505`  

Trailing pragma comments no longer count toward doc line length, so results can differ for existing code. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Default changed** `DTZ001`  

The rule is no longer on by default. Enable it explicitly in the rule selection if you still want it. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Default changed** `DTZ005`  

The rule is no longer on by default. Enable it explicitly in the rule selection if you still want it. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)
- **Default changed** `DTZ006`  

The rule is no longer on by default. Enable it explicitly in the rule selection if you still want it. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.17.0)

And 7 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## ruff 0.16.8 breaking changes

ruff 0.16.8, released September 16, 2026: 5 breaking changes.

- **Behavior changed** `TC001`  

On Python 3.15 and later, TC001 now recommends lazy imports instead of TYPE_CHECKING blocks, which changes its reported findings and fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.8)
- **Behavior changed** `TC002`  

On Python 3.15 and later, TC002 now recommends lazy imports instead of TYPE_CHECKING blocks, which changes its reported findings and fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.8)
- **Behavior changed** `TC003`  

On Python 3.15 and later, TC003 now recommends lazy imports instead of TYPE_CHECKING blocks, which changes its reported findings and fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.8)
- **Behavior changed** `UP035`  

UP035 no longer suggests the deprecated ByteString aliases, so code that relied on its suggested replacements will see different findings. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.8)
- **Behavior changed** `UP040`  

The autofix for UP040 is now always marked unsafe, so it will no longer apply without enabling unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.8)

## ruff 0.16.7 breaking changes

ruff 0.16.7, released September 10, 2026: 3 breaking changes.

- **Behavior changed** `ISC003`  

The autofix for ISC003 is now unsafe when it would create a docstring, so applying it with unsafe fixes enabled may change code behavior. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.7)
- **Behavior changed** `TID254`  

The TID254 rule no longer applies autofixes to imports with multiple members, so code relying on those fixes must be edited by hand. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.7)
- **Behavior changed** `UP035`  

The UP035 rule stops suggesting typing.no_type_check_decorator, which was removed from Python, so lint output for that code changes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.7)

## Older versions

59 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### ruff 0.16.4 breaking changes

ruff 0.16.4, released August 20, 2026: 1 breaking change.

- **Behavior changed** `FURB131`  

The preview rule FURB131 (delete-full-slice) is restricted to lists, so it no longer flags other types. Preview rules are opt-in, so only users who enable preview may see different results. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.4)

### ruff 0.16.1 breaking changes

ruff 0.16.1, released July 30, 2026: 3 breaking changes.

- **Behavior changed** `FURB105`  

FURB105 fixes that remove unknown separators are now unsafe and no longer apply under safe fixing. Opt in to unsafe fixes to keep the automatic change. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.1)
- **Behavior changed** `PT018`  

PT018 fixes are now safe unless comments are present, in which case they are unsafe. Code relying on unsafe fixes being applied for PT018 may need to opt in explicitly. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.1)

And 1 more in this version.

### ruff 0.16.0 breaking changes

ruff 0.16.0, released July 23, 2026: 23 breaking changes.

- **Behavior changed**  

Filename, location and fix edit location fields in JSON output may be null rather than an empty string or row 1, column 1. Consumers parsing this output must handle null. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.0)
- **Behavior changed**  

Ruff now formats Python code blocks in Markdown files by default, so format runs will change Markdown files unless this is disabled. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.16.0)

And 21 more in this version.

### ruff 0.15.21 breaking changes

ruff 0.15.21, released July 9, 2026: 4 breaking changes.

- **Behavior changed** `C409`  

The preview behavior of flake8-comprehensions rule C409 (tuple comprehension) was removed, so preview users may see different results from this rule. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.21)
- **Behavior changed** `D418`  

The pydocstyle rule D418 no longer reports overload docstrings in stub files, so code relying on that report will change. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.21)

And 2 more in this version.

### ruff 0.15.20 breaking changes

ruff 0.15.20, released June 25, 2026: 1 breaking change.

- **Removed** `RUF076`  

The preview rule pytest-fixture-autouse (RUF076) was removed. Configurations that select RUF076 or this rule must drop it. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.20)

### ruff 0.15.19 breaking changes

ruff 0.15.19, released June 24, 2026: 1 breaking change.

- **Behavior changed**  

The fix suggestions for PLC2801 on \_\_floor\_\_, \_\_trunc\_\_, \_\_length_hint\_\_ and \_\_matmul\_\_ were updated, which may change autofix output for existing code. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.19)

### ruff 0.15.18 breaking changes

ruff 0.15.18, released June 18, 2026: 1 breaking change.

- **Renamed** `PYI033`  

The flake8-pyi rule PYI033 is now named legacy-type-comment. Update any noqa comments or rule selections that still use the old name. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.18)

### ruff 0.15.17 breaking changes

ruff 0.15.17, released June 11, 2026: 2 breaking changes.

- **Behavior changed** `np.in1d`  

The NPY201 rule no longer offers an automatic fix for np.in1d, so code that relied on the fix must be updated by hand. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.17)
- **Behavior changed** `PLR2004`  

Comparisons against Python version numbers no longer trigger PLR2004, so existing lint runs may report fewer diagnostics. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.17)

### ruff 0.15.14 breaking changes

ruff 0.15.14, released May 21, 2026: 3 breaking changes.

- **Behavior changed** `C417`  

C417 no longer reports lambdas that have positional-only parameters, so code previously flagged by it will pass. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.14)
- **Behavior changed** `SIM101`  

The SIM101 autofix now keeps f-string source text unchanged, which alters the output of applied fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.14)

And 1 more in this version.

### ruff 0.15.13 breaking changes

ruff 0.15.13, released May 14, 2026: 1 breaking change.

- **Behavior changed** `PYI034`  

PYI034 now only checks in-place operations against the enclosing class, so some diagnostics it previously reported may no longer appear. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.13)

### ruff 0.15.10 breaking changes

ruff 0.15.10, released April 9, 2026: 2 breaking changes.

- **Behavior changed**  

Code with multi-line f-string elements that targets Python versions before 3.12 is now rejected instead of accepted, so such code must be rewritten. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.10)
- **Behavior changed** `RUF019`  

The RUF019 rule no longer assumes f-string interpolations are side-effect free, so code it previously flagged may no longer be reported. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.10)

### ruff 0.15.9 breaking changes

ruff 0.15.9, released April 2, 2026: 2 breaking changes.

- **Behavior changed**  

Code using a starred expression as the value of another starred expression is now reported as invalid syntax, so such code must be rewritten. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.9)
- **Behavior changed** `RUF010`  

The RUF010 autofix is marked unsafe when it would delete a comment, so it is no longer applied by default and must be enabled explicitly. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.9)

### ruff 0.15.8 breaking changes

ruff 0.15.8, released March 26, 2026: 1 breaking change.

- **Behavior changed** `S603`  

The flake8-bandit S603 rule now treats sys.executable as trusted input, so subprocess calls using it are no longer reported. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.8)

### ruff 0.15.6 breaking changes

ruff 0.15.6, released March 12, 2026: 1 breaking change.

- **Default changed**  

Some rules are no longer enabled by default in preview mode. If you rely on them, select them explicitly in your configuration. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.6)

### ruff 0.15.5 breaking changes

ruff 0.15.5, released March 5, 2026: 1 breaking change.

- **Behavior changed**  

In preview mode, Ruff now discovers Markdown files by default, so users running preview may see Markdown files checked or formatted without opting in. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.5)

### ruff 0.15.3 breaking changes

ruff 0.15.3, released February 26, 2026: 4 breaking changes.

- **Removed**  

Ruff no longer explicitly supports .qmd files. To keep linting them, set the extension option to map qmd to markdown. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.3)
- **Removed** `ruff.__main__`  

ruff.\_\_main\_\_ was removed in ruff 0.15.3 [pypi.org](https://pypi.org/project/ruff/0.15.3/)

And 2 more in this version.

### ruff 0.15.2 breaking changes

ruff 0.15.2, released February 19, 2026: 1 breaking change.

- **Default changed**  

In preview, Ruff now enables 412 rules by default instead of the stable 59. Preview users who want the old defaults must set lint select to E4, E7, E9 and F. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.2)

### ruff 0.15.1 breaking changes

ruff 0.15.1, released February 12, 2026: 1 breaking change.

- **Behavior changed**  

The GitHub output format now uses lowercase \`ruff\` as the program name. Tools that match the old \`Ruff\` name in output need updating. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.1)

### ruff 0.15.0 breaking changes

ruff 0.15.0, released February 3, 2026: 11 breaking changes.

- **Removed**  

Release binaries for ppc64 are no longer published; users on that architecture must build Ruff manually. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.0)
- **Behavior changed**  

The ruff:debian and ruff:debian-slim Docker images now use Debian 13 Trixie instead of Debian 12 Bookworm. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.15.0)

And 9 more in this version.

### ruff 0.14.14 breaking changes

ruff 0.14.14, released January 22, 2026: 1 breaking change.

- **Behavior changed**  

Several lint rule fixes that would delete comments are now unsafe, so they will not be applied by default and need an explicit opt-in to run. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.14.14)

### ruff 0.14.13 breaking changes

ruff 0.14.13, released January 15, 2026: 1 breaking change.

- **Behavior changed**  

The WASM build now requires logging to be initialized explicitly. Code that uses the WASM build must add that initialization call. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.14.13)

### ruff 0.14.11 breaking changes

ruff 0.14.11, released January 8, 2026: 3 breaking changes.

- **Behavior changed** `PLR1714`  

The rule PLR1714 no longer reports certain cases where members are identical, so existing lint results may change. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.14.11)
- **Behavior changed** `src`  

Ruff now includes configured src directories when resolving module graphs, which can change results for projects that use src. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.14.11)

And 1 more in this version.

### ruff 0.14.1 breaking changes

ruff 0.14.1, released October 16, 2025: 2 breaking changes.

- **Behavior changed** `B905`  

The automatic fix for B905 is now classed as unsafe, so it is no longer applied by default and must be enabled with unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.14.1)
- **Behavior changed** `B912`  

The automatic fix for B912 is now classed as unsafe, so it is no longer applied by default and must be enabled with unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.14.1)

### ruff 0.14.0 breaking changes

ruff 0.14.0, released October 7, 2025: 1 breaking change.

- **Default changed**  

Ruff's default and latest Python versions were updated for 3.14. Code that relies on the previous default Python version may see different results, so set the target Python version explicitly if you need the old behavior. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.14.0)

### ruff 0.13.3 breaking changes

ruff 0.13.3, released October 2, 2025: 1 breaking change.

- **Configuration changed** `--add-noqa`  

Passing --add-noqa together with --diff is now rejected as a conflicting option combination. Drop one of the two flags in scripts that used both. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.13.3)

### ruff 0.13.2 breaking changes

ruff 0.13.2, released September 25, 2025: 1 breaking change.

- **Default changed**  

Ruff now includes .pyw files by default when linting and formatting. If you don't want them checked, exclude them in your configuration. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.13.2)

### ruff 0.13.1 breaking changes

ruff 0.13.1, released September 18, 2025: 3 breaking changes.

- **Behavior changed** `B004`  

The fix for unreliable-callable-check is now always marked unsafe, so it is no longer applied by default and must be enabled explicitly with unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.13.1)
- **Behavior changed** `FURB171`  

The fix for single-item-membership-test is now always marked unsafe, so it is no longer applied by default and must be enabled explicitly with unsafe fixes. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.13.1)

And 1 more in this version.

### ruff 0.13.0 breaking changes

ruff 0.13.0, released September 10, 2025: 13 breaking changes.

- **Removed** `non-pep604-isinstance`  

The rule is gone, so configurations selecting UP038 no longer have it. Remove references to it. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.13.0)
- **Removed** `pandas-df-variable-name`  

The rule is gone, so configurations selecting PD901 no longer have it. Remove references to it. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.13.0)

And 11 more in this version.

### ruff 0.12.11 breaking changes

ruff 0.12.11, released August 28, 2025: 1 breaking change.

- **Behavior changed** `PTH100`  

The autofix for PTH100 is now marked unsafe because it can change behavior, so it will not be applied by default. Review its changes before applying it. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.11)

### ruff 0.12.10 breaking changes

ruff 0.12.10, released August 21, 2025: 1 breaking change.

- **Behavior changed** `E731`  

The E731 fix for class assignments is now marked unsafe, so it is no longer applied as a display-only suggestion. Code relying on the previous behavior should review fixes applied under this rule. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.10)

### ruff 0.12.9 breaking changes

ruff 0.12.9, released August 14, 2025: 1 breaking change.

- **Behavior changed** `PLE2513`  

The pylint rule PLE2513 now uses lowercase hex characters, matching the formatter. Code with uppercase hex characters may now be reported by this rule. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.9)

### ruff 0.12.8 breaking changes

ruff 0.12.8, released August 7, 2025: 1 breaking change.

- **Behavior changed** `PLC0207`  

Autofixes for PLC0207 are now flagged unsafe in that case, so they no longer apply under default fix settings. Users relying on automatic fixes may need to enable unsafe fixes or apply them by hand. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.8)

### ruff 0.12.1 breaking changes

ruff 0.12.1, released June 26, 2025: 2 breaking changes.

- **Behavior changed**  

Single-quoted f-strings and t-strings with a newline in the format specifier are now disallowed. Code that relied on this syntax must put the format specifier on one line or use a triple-quoted string. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.1)
- **Behavior changed** `analyze.direction`  

The variant names for analyze.direction now use corrected casing. Configuration that wrote the old casing may need to be updated to match. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.1)

### ruff 0.12.0 breaking changes

ruff 0.12.0, released June 17, 2025: 10 breaking changes.

- **Removed** `suspicious-xmle-tree-usage`  

The S320 rule is gone, so configuration or noqa comments that select it no longer have an effect. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.0)
- **Behavior changed**  

Ruff now flags syntax that requires newer Python versions, such as match statements before 3.10, and some errors CPython's compiler emits. Code that previously passed checks may now report errors. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.12.0)

And 8 more in this version.

### ruff 0.11.12 breaking changes

ruff 0.11.12, released May 29, 2025: 1 breaking change.

- **Behavior changed** `UP010`  

The UP010 autofix is now marked unsafe when it would delete comments, so it no longer applies under the default safe-fix setting. Review or enable unsafe fixes if you relied on it removing comments. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.12)

### ruff 0.11.11 breaking changes

ruff 0.11.11, released May 22, 2025: 1 breaking change.

- **Renamed** `AIR312`  

Rules previously under the AIR312 code are moved to AIR302 in preview mode. Update any rule selection or noqa comments that reference AIR312. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.11)

### ruff 0.11.10 breaking changes

ruff 0.11.10, released May 15, 2025: 2 breaking changes.

- **Behavior changed** `FURB116`  

The FURB116 autofix is marked safe only for number literals, so other cases will no longer be applied by default. Review or apply those fixes manually if needed. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.10)
- **Behavior changed** `PIE804`  

The autofix for PIE804 is marked unsafe when the dictionary contains comments, so it will not be applied by default. Review or apply it manually if needed. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.10)

### ruff 0.11.9 breaking changes

ruff 0.11.9, released May 9, 2025: 1 breaking change.

- **Default changed**  

In preview, Ruff now uses the latest supported Python version when reporting version-related syntax errors if no version is configured. Users who rely on the previous default should set the target Python version explicitly. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.9)

### ruff 0.11.3 breaking changes

ruff 0.11.3, released April 3, 2025: 6 breaking changes.

- **Renamed** `AIR301`  

The preview airflow rule code AIR301 is now AIR002. Update any config, noqa comments or selections that name AIR301. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.3)
- **Renamed** `AIR302`  

The preview airflow rule code AIR302 is now AIR301. Update any config, noqa comments or selections that name AIR302. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.3)

And 4 more in this version.

### ruff 0.11.0 breaking changes

ruff 0.11.0, released March 14, 2025: 2 breaking changes.

- **Behavior changed** `blanket-noqa`  

The stabilized PGH004 rule also flags blanket file-level noqa comments, not only line-level ones. Code with blanket file-level noqa comments may now get new violations. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.0)
- **Configuration changed** `target-version`  

Ruff now reads requires-python from pyproject.toml files even when they lack a \[tool.ruff\] section, so the inferred Python version can differ from before. Set target-version explicitly to keep the previous behavior. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.11.0)

### ruff 0.10.0 breaking changes

ruff 0.10.0, released March 13, 2025: 13 breaking changes.

- **Removed**  

Ruff no longer treats if 0: or if False: blocks as type-checking blocks; use a local TYPE_CHECKING variable instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.10.0)
- **Renamed** `RUF035`  

The unsafe-markup-use rule moved from RUF035 to S704; update rule selections and noqa comments that name RUF035. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.10.0)

And 11 more in this version.

### ruff 0.9.10 breaking changes

ruff 0.9.10, released March 7, 2025: 1 breaking change.

- **Behavior changed**  

The GitLab output serializer moved the rule code from the description field to the check_name field. Tools that read the rule code from description must read check_name instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.10)

### ruff 0.9.8 breaking changes

ruff 0.9.8, released February 27, 2025: 3 breaking changes.

- **Behavior changed** `PLW1507`  

The autofix for PLW1507 is now marked unsafe, so it will not be applied automatically when only safe fixes are enabled. Review the rule's output or enable unsafe fixes if you relied on the automatic fix. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.8)
- **Behavior changed** `PYI030`  

The autofix for PYI030 is now marked unsafe when it would delete comments, so it will not be applied automatically when only safe fixes are enabled. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.8)

And 1 more in this version.

### ruff 0.9.6 breaking changes

ruff 0.9.6, released February 10, 2025: 4 breaking changes.

- **Behavior changed** `A005`  

The flake8-builtins A005 rule now compares module names the way upstream does, which can change which modules are reported. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.6)
- **Behavior changed** `PLE1310`  

The pylint PLE1310 rule no longer reports calls where the object type and argument type mismatch, and its custom escape handling was removed. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.6)

And 2 more in this version.

### ruff 0.9.5 breaking changes

ruff 0.9.5, released February 6, 2025: 1 breaking change.

- **Renamed** `PYI019`  

The PYI019 rule was renamed and its message improved. Configurations or noqa comments that select or ignore PYI019 by its old name may need updating. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.5)

### ruff 0.9.3 breaking changes

ruff 0.9.3, released January 23, 2025: 2 breaking changes.

- **Behavior changed** `SIM201`  

The automatic fix for SIM201 is now labeled unsafe, so it is only applied when unsafe fixes are enabled. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.3)
- **Behavior changed** `SIM202`  

The automatic fix for SIM202 is now labeled unsafe, so it is only applied when unsafe fixes are enabled. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.3)

### ruff 0.9.0 breaking changes

ruff 0.9.0, released January 9, 2025: 5 breaking changes.

- **Renamed** `builtin-module-shadowing`  

Update rule selections and noqa comments that use the old name to stdlib-module-shadowing (A005). [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.0)
- **Renamed** `RUF025`  

Update rule selections and noqa comments that use RUF025 to RUF037. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.9.0)

And 3 more in this version.

### ruff 0.8.6 breaking changes

ruff 0.8.6, released January 4, 2025: 1 breaking change.

- **Behavior changed**  

Errors from attempted fixes are no longer printed by default. Pass --verbose to see them. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.6)

### ruff 0.8.5 breaking changes

ruff 0.8.5, released January 2, 2025: 3 breaking changes.

- **Renamed**  

Some rules were renamed to follow the naming convention. Update any rule codes or names used in your configuration or noqa comments. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.5)
- **Behavior changed** `D403`  

The first word is now determined by splitting on the first whitespace character, which can change which docstrings are flagged. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.5)

And 1 more in this version.

### ruff 0.8.2 breaking changes

ruff 0.8.2, released December 5, 2024: 1 breaking change.

- **Configuration changed** `unconventional-import-alias`  

The syntax check for import aliases supplied in configuration for unconventional-import-alias was improved, so configuration values that were previously accepted may now be rejected. Check your alias settings for ICN001. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.2)

### ruff 0.8.1 breaking changes

ruff 0.8.1, released November 29, 2024: 2 breaking changes.

- **Behavior changed**  

Several rules now skip .pyi stub files, so lint results for stubs may change. Review any stub-related lint suppressions you rely on. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.1)
- **Behavior changed**  

Fixes for unsorted \_\_all\_\_ and \_\_slots\_\_ are now unsafe when the sequence contains complex comments, so they are skipped unless unsafe fixes are enabled. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.1)

### ruff 0.8.0 breaking changes

ruff 0.8.0, released November 22, 2024: 16 breaking changes.

- **Removed** `missing-type-cls`  

The deprecated rule ANN102 is no longer available, so configuration selecting or ignoring it must be updated. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.0)
- **Removed** `missing-type-self`  

The deprecated rule ANN101 is no longer available, so configuration selecting or ignoring it must be updated. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.8.0)

And 14 more in this version.

### ruff 0.7.0 breaking changes

ruff 0.7.0, released October 17, 2024: 9 breaking changes.

- **Removed** `lint.allow-unused-imports`  

The lint.allow-unused-imports setting has been removed. Use lint.pyflakes.allow-unused-imports instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.7.0)
- **Renamed** `TRY302`  

The useless-try-except rule now uses code TRY203 instead of TRY302. Update rule selections and noqa comments that reference TRY302. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.7.0)

And 7 more in this version.

### ruff 0.6.0 breaking changes

ruff 0.6.0, released August 15, 2024: 6 breaking changes.

- **Renamed** `RUF025`  

The rule moved from RUF025 to C420, so configuration selecting RUF025 must be updated. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.6.0)
- **Behavior changed** `xml.etree.ElementTree`  

The flake8-import-conventions rules now include xml.etree.ElementTree in their default conventions, which can change lint results. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.6.0)

And 4 more in this version.

### ruff 0.5.0 breaking changes

ruff 0.5.0, released June 27, 2024: 28 breaking changes.

- **Removed** `--no-show-source`  

The deprecated --no-show-source option was removed. Use --output-format=concise instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.5.0)
- **Removed** `--show-source`  

The deprecated --show-source option was removed. Use --output-format=full instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/0.5.0)

And 26 more in this version.

### ruff 0.4.0 breaking changes

ruff 0.4.0, released April 18, 2024: 2 breaking changes.

- **Behavior changed** `B006`  

The flake8-bugbear rule B006 now treats functions whose body only raises NotImplemented as stubs. Violations in such functions will no longer be reported. [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.4.0)
- **Behavior changed** `urllib.request.urlopen`  

The flake8-bandit rule S310 now allows urllib.request.urlopen calls when the argument is a static Request. Code that relied on this being reported will see fewer S310 violations. [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.4.0)

### ruff 0.3.0 breaking changes

ruff 0.3.0, released February 29, 2024: 5 breaking changes.

- **Removed** `S410`  

The preview lint rule S410 (suspicious-lxml-import) was removed. Stop selecting or ignoring it. [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.3.0)
- **Behavior changed**  

Formatted output changes, such as blank lines around class docstrings and stub files, parenthesized type hints and module docstring formatting. Expect code to be reformatted. [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.3.0)

And 3 more in this version.

### ruff 0.2.0 breaking changes

ruff 0.2.0, released February 1, 2024: 12 breaking changes.

- **Removed** `NURSERY`  

The NURSERY rule selector was removed; select nursery rules through preview or explicit codes instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.2.0)
- **Removed** `PLR1706`  

Preview rule and-or-ternary (PLR1706) was removed in ruff 0.2.0 [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.2.0)

And 10 more in this version.

### ruff 0.1.0 breaking changes

ruff 0.1.0, released October 16, 2023: 7 breaking changes.

- **Removed** `--format`  

Use --output-format with ruff check instead of --format. [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.1.0)
- **Removed** `format`  

The format setting can no longer configure output format; use output-format instead. [github.com](https://github.com/astral-sh/ruff/releases/tag/v0.1.0)

And 5 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
