Immutable
release. Only release title and notes can be modified.
Release Notes
Released on 2026-06-18.
Preview features
- Handle nested
ruff:ignorecomments (#25791) - Stop displaying severity in output (#26050)
- Use human-readable names in CLI output (#25937)
- Use human-readable names in LSP and playground diagnostics (#26058)
- [
pydocstyle] Prevent property docstrings starting with verbs (D421) (#23775) - [
flake8-pyi] ExtendPYI033to Python files (#26129)
Bug fixes
- Detect equivalent numeric mapping keys (#26009)
- Detect mapping keys equivalent to booleans (#25982)
- Detect repeated signed and complex dictionary keys (#26007)
Rule changes
- [
flake8-pyi] RenamePYI033tolegacy-type-comment(#26131)
Performance
- Use
ThinVecfor call keywords (#25999) - Inline parser recovery context checks (#26038)
- Match parser keywords as bytes (#26037)
- Move value parsing out of lexing (#25360)
Server
- Render subdiagnostics and secondary annotations as related information (#26011)
Documentation
- Update fix availability for always-fixable rules (#26091)
- [
flake8-tidy-imports] Add fix safety section (TID252) (#17491)
Parser
- Reject
__debug__lambda parameters (#26022) - Reject
_as a match-pattern target (#25977) - Reject multiple starred names in sequence patterns (#25976)
- Reject parenthesized star imports (#26021)
- Reject starred comprehension targets (#26023)
- Reject unparenthesized generator expressions in class bases (#25978)
- Reject
yieldexpressions after commas (#26024) - Validate function type parameter default order (#25981)
Playground
Contributors
Install ruff 0.15.18
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.15.18/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.15.18/ruff-installer.ps1 | iex"Download ruff 0.15.18
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/ruffYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>