From d01cbf7f8f57cec8b790cdbb98f75172b64f2bc4 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 19 Sep 2024 23:09:57 -0400 Subject: [PATCH] Bump version to v0.6.6 (#13415) --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ Cargo.lock | 6 +++--- README.md | 6 +++--- crates/ruff/Cargo.toml | 2 +- crates/ruff_linter/Cargo.toml | 2 +- crates/ruff_wasm/Cargo.toml | 2 +- docs/integrations.md | 6 +++--- pyproject.toml | 2 +- scripts/benchmarks/pyproject.toml | 2 +- 9 files changed, 40 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab800c5d66b88..551b91a87cd09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 0.6.6 + +### Preview features + +- \[`refurb`\] Skip `slice-to-remove-prefix-or-suffix` (`FURB188`) when non-trivial slice steps are present ([#13405](https://github.com/astral-sh/ruff/pull/13405)) +- Add a subcommand to generate dependency graphs ([#13402](https://github.com/astral-sh/ruff/pull/13402)) + +### Formatter + +- Fix placement of inline parameter comments ([#13379](https://github.com/astral-sh/ruff/pull/13379)) + +### Server + +- Fix off-by one error in the `LineIndex::offset` calculation ([#13407](https://github.com/astral-sh/ruff/pull/13407)) + +### Bug fixes + +- \[`fastapi`\] Respect FastAPI aliases in route definitions ([#13394](https://github.com/astral-sh/ruff/pull/13394)) +- \[`pydocstyle`\] Respect word boundaries when detecting function signature in docs ([#13388](https://github.com/astral-sh/ruff/pull/13388)) + +### Documentation + +- Add backlinks to rule overview linter ([#13368](https://github.com/astral-sh/ruff/pull/13368)) +- Fix documentation for editor vim plugin ALE ([#13348](https://github.com/astral-sh/ruff/pull/13348)) +- Fix rendering of `FURB188` docs ([#13406](https://github.com/astral-sh/ruff/pull/13406)) + ## 0.6.5 ### Preview features diff --git a/Cargo.lock b/Cargo.lock index 5d13ef987607c..64652add4bfdd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.6.5" +version = "0.6.6" dependencies = [ "anyhow", "argfile", @@ -2471,7 +2471,7 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.6.5" +version = "0.6.6" dependencies = [ "aho-corasick", "annotate-snippets 0.9.2", @@ -2791,7 +2791,7 @@ dependencies = [ [[package]] name = "ruff_wasm" -version = "0.6.5" +version = "0.6.6" dependencies = [ "console_error_panic_hook", "console_log", diff --git a/README.md b/README.md index 1c7d9379202bd..da040fbe70e79 100644 --- a/README.md +++ b/README.md @@ -136,8 +136,8 @@ curl -LsSf https://astral.sh/ruff/install.sh | sh powershell -c "irm https://astral.sh/ruff/install.ps1 | iex" # For a specific version. -curl -LsSf https://astral.sh/ruff/0.6.5/install.sh | sh -powershell -c "irm https://astral.sh/ruff/0.6.5/install.ps1 | iex" +curl -LsSf https://astral.sh/ruff/0.6.6/install.sh | sh +powershell -c "irm https://astral.sh/ruff/0.6.6/install.ps1 | iex" ``` You can also install Ruff via [Homebrew](https://formulae.brew.sh/formula/ruff), [Conda](https://anaconda.org/conda-forge/ruff), @@ -170,7 +170,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.5 + rev: v0.6.6 hooks: # Run the linter. - id: ruff diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml index 5c6583f64e91b..6b1ba0ad5e910 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff" -version = "0.6.5" +version = "0.6.6" publish = true authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_linter/Cargo.toml b/crates/ruff_linter/Cargo.toml index 574f6f079b89d..e4483a3747687 100644 --- a/crates/ruff_linter/Cargo.toml +++ b/crates/ruff_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_linter" -version = "0.6.5" +version = "0.6.6" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_wasm/Cargo.toml b/crates/ruff_wasm/Cargo.toml index 9aed4a9bafa0e..9dd0c286526c0 100644 --- a/crates/ruff_wasm/Cargo.toml +++ b/crates/ruff_wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_wasm" -version = "0.6.5" +version = "0.6.6" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/docs/integrations.md b/docs/integrations.md index 464d48d7a565e..e9099e7f0baf0 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -78,7 +78,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.5 + rev: v0.6.6 hooks: # Run the linter. - id: ruff @@ -91,7 +91,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.5 + rev: v0.6.6 hooks: # Run the linter. - id: ruff @@ -105,7 +105,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.5 + rev: v0.6.6 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index ab8b0ba2a415d..798f39cfb6c5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.6.5" +version = "0.6.6" description = "An extremely fast Python linter and code formatter, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] readme = "README.md" diff --git a/scripts/benchmarks/pyproject.toml b/scripts/benchmarks/pyproject.toml index a895e3fc6c004..b7ce6cab1d4db 100644 --- a/scripts/benchmarks/pyproject.toml +++ b/scripts/benchmarks/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scripts" -version = "0.6.5" +version = "0.6.6" description = "" authors = ["Charles Marsh "]