You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -414,7 +424,7 @@ This release introduces the new 2025 stable style ([#13371](https://github.com/a
414
424
### Server
415
425
416
426
- Improve the observability by removing the need for the ["trace" value](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#traceValue) to turn on or off logging. The server logging is solely controlled using the [`logLevel` server setting](https://docs.astral.sh/ruff/editors/settings/#loglevel)
417
-
which defaults to `info`. This addresses the issue where users were notified about an error and told to consult the log, but it didn’t contain any messages. ([#15232](https://github.com/astral-sh/ruff/pull/15232))
427
+
which defaults to `info`. This addresses the issue where users were notified about an error and told to consult the log, but it didn’t contain any messages. ([#15232](https://github.com/astral-sh/ruff/pull/15232))
418
428
- Ignore diagnostics from other sources for code action requests ([#15373](https://github.com/astral-sh/ruff/pull/15373))
419
429
420
430
### CLI
@@ -645,27 +655,24 @@ Check out the [blog post](https://astral.sh/blog/ruff-v0.8.0) for a migration gu
645
655
See also, the "Remapped rules" section which may result in disabled rules.
646
656
647
657
-**Default to Python 3.9**
648
-
649
-
Ruff now defaults to Python 3.9 instead of 3.8 if no explicit Python version is configured using [`ruff.target-version`](https://docs.astral.sh/ruff/settings/#target-version) or [`project.requires-python`](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#python-requires) ([#13896](https://github.com/astral-sh/ruff/pull/13896))
650
-
658
+
659
+
Ruff now defaults to Python 3.9 instead of 3.8 if no explicit Python version is configured using [`ruff.target-version`](https://docs.astral.sh/ruff/settings/#target-version) or [`project.requires-python`](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#python-requires) ([#13896](https://github.com/astral-sh/ruff/pull/13896))
651
660
-**Changed location of `pydoclint` diagnostics**
652
-
653
-
[`pydoclint`](https://docs.astral.sh/ruff/rules/#pydoclint-doc) diagnostics now point to the first-line of the problematic docstring. Previously, this was not the case.
654
-
655
-
If you've opted into these preview rules but have them suppressed using
656
-
[`noqa`](https://docs.astral.sh/ruff/linter/#error-suppression) comments in
657
-
some places, this change may mean that you need to move the `noqa` suppression
658
-
comments. Most users should be unaffected by this change.
659
-
661
+
662
+
[`pydoclint`](https://docs.astral.sh/ruff/rules/#pydoclint-doc) diagnostics now point to the first-line of the problematic docstring. Previously, this was not the case.
663
+
664
+
If you've opted into these preview rules but have them suppressed using
665
+
[`noqa`](https://docs.astral.sh/ruff/linter/#error-suppression) comments in
666
+
some places, this change may mean that you need to move the `noqa` suppression
667
+
comments. Most users should be unaffected by this change.
660
668
-**Use XDG (i.e. `~/.local/bin`) instead of the Cargo home directory in the standalone installer**
661
-
662
-
Previously, Ruff's installer used `$CARGO_HOME` or `~/.cargo/bin` for its target install directory. Now, Ruff will be installed into `$XDG_BIN_HOME`, `$XDG_DATA_HOME/../bin`, or `~/.local/bin` (in that order).
663
-
664
-
This change is only relevant to users of the standalone Ruff installer (using the shell or PowerShell script). If you installed Ruff using uv or pip, you should be unaffected.
665
-
669
+
670
+
Previously, Ruff's installer used `$CARGO_HOME` or `~/.cargo/bin` for its target install directory. Now, Ruff will be installed into `$XDG_BIN_HOME`, `$XDG_DATA_HOME/../bin`, or `~/.local/bin` (in that order).
671
+
672
+
This change is only relevant to users of the standalone Ruff installer (using the shell or PowerShell script). If you installed Ruff using uv or pip, you should be unaffected.
666
673
-**Changes to the line width calculation**
667
-
668
-
Ruff now uses a new version of the [unicode-width](https://github.com/unicode-rs/unicode-width) Rust crate to calculate the line width. In very rare cases, this may lead to lines containing Unicode characters being reformatted, or being considered too long when they were not before ([`E501`](https://docs.astral.sh/ruff/rules/line-too-long/)).
674
+
675
+
Ruff now uses a new version of the [unicode-width](https://github.com/unicode-rs/unicode-width) Rust crate to calculate the line width. In very rare cases, this may lead to lines containing Unicode characters being reformatted, or being considered too long when they were not before ([`E501`](https://docs.astral.sh/ruff/rules/line-too-long/)).
669
676
670
677
### Removed Rules
671
678
@@ -879,15 +886,15 @@ Check out the [blog post](https://astral.sh/blog/ruff-v0.7.0) for a migration gu
879
886
### Breaking changes
880
887
881
888
- The pytest rules `PT001` and `PT023` now default to omitting the decorator parentheses when there are no arguments
@@ -906,7 +913,7 @@ Check out the [blog post](https://astral.sh/blog/ruff-v0.7.0) for a migration gu
906
913
-\[`flake8-todos`\] Only flag the word "TODO", not words starting with "todo" (`TD006`) ([#13640](https://github.com/astral-sh/ruff/pull/13640))
0 commit comments