0.17.0 0.17.1
astral-sh/ruffOct 9, 2026 → Oct 15, 20266 days between releases
What's New
Fixes dedent and flake8-pyi bugs; adds preview feature for boolean literal keyword detection
New Features
- Preview feature: Treat boolean literals as keywords (E271-E274)
Improvements
- Treat more `collections` and `weakref` containers as mutable
- Update default and example aliases for flake8-import-conventions
Bug Fixes
- Fix dedent issues when multiple leading comments are present
- Fix false positives in flake8-pyi for legacy positional-only parameters and quoted annotations
- Avoid invalid comprehension suggestions (PERF401, PERF403)
Upgrade Notes
No configuration changes are required. The boolean literal preview feature must be explicitly enabled via settings. The mutable container rule change may trigger new linting warnings.
The Two Releases
0.17.0
Oct 9, 2026· 12 days ago
Ruff 0.17.0 enhances security by code-signing executables on macOS and Windows and updates default Python versions to 3.11 and 3.15. The release also removes legacy support for ruff-lsp and the Python dependency from conda-forge builds, while introducing support for Unicode 17 and new linting conventions.
Full release notes0.17.1
Oct 15, 2026· 6 days ago
This release focuses on bug fixes for dedent handling and flake8-pyi rules, along with a preview feature to treat boolean literals as keywords in pycodestyle.
Full release notes