From 5e0123bd57b8a1aa5434a5ff05bcd109a59fdc48 Mon Sep 17 00:00:00 2001 From: Zanie Date: Mon, 16 Oct 2023 18:11:22 -0500 Subject: [PATCH 1/2] Bump extension version to 2023.42.0 --- CHANGELOG.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b82d30d..a4aa959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ See [here](https://github.com/charliermarsh/ruff/releases) for the Ruff release notes. -## 2023.40.0 +## 2023.42.0 - **Deprecation**: `ruff.args` has been renamed to `ruff.lint.args` (see: https://github.com/astral-sh/ruff-vscode/pull/293). - **Deprecation**: `ruff.run` has been renamed to `ruff.lint.run` (see: https://github.com/astral-sh/ruff-vscode/pull/293). diff --git a/package-lock.json b/package-lock.json index c5be72f..688a186 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ruff", - "version": "2023.40.0", + "version": "2023.42.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ruff", - "version": "2023.40.0", + "version": "2023.42.0", "license": "MIT", "dependencies": { "fs-extra": "^11.1.1", diff --git a/package.json b/package.json index e535a94..e4a1ad4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ruff", "displayName": "Ruff", "description": "A Visual Studio Code extension with support for the Ruff linter.", - "version": "2023.40.0", + "version": "2023.42.0", "serverInfo": { "name": "Ruff", "module": "ruff" diff --git a/pyproject.toml b/pyproject.toml index 2b87922..2bf7f51 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "ruff-vscode" -version = "2023.40.0" +version = "2023.42.0" description = "A Visual Studio Code extension with support for the Ruff linter." authors = [ { name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" }, From 585b1476ba3ded4bfd33a0d5a9565301151dd73c Mon Sep 17 00:00:00 2001 From: Zanie Date: Mon, 16 Oct 2023 18:18:07 -0500 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4aa959..1571794 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,26 @@ See [here](https://github.com/charliermarsh/ruff/releases) for the Ruff release ## 2023.42.0 +This release is required for compatibility with [Ruff v0.1.0+](https://github.com/astral-sh/ruff/releases/v0.1.0) +which includes breaking changes. + +Ruff fixes are now labeled as "safe" or "unsafe". By default, the "Fix all" action will no longer apply unsafe +fixes. However, unsafe fixes can be applied manually with the "Quick fix" action. Application of unsafe fixes when +using "Fix all" can be enabled by setting `unsafe-fixes = true` in your Ruff configuration file or adding +`--unsafe-fixes` flag to the "Lint args" setting. + +**Full Changelog**: https://github.com/astral-sh/ruff-vscode/compare/2023.40.0...2023.42.0 + +## 2023.40.0 + - **Deprecation**: `ruff.args` has been renamed to `ruff.lint.args` (see: https://github.com/astral-sh/ruff-vscode/pull/293). - **Deprecation**: `ruff.run` has been renamed to `ruff.lint.run` (see: https://github.com/astral-sh/ruff-vscode/pull/293). The extension will continue to respect the deprecated variants (`ruff.args` and `ruff.run`), but they will be removed in a future release. +**Full Changelog**: https://github.com/astral-sh/ruff-vscode/compare/2023.38.0...2023.40.0 + ## 2023.38.0 **Full Changelog**: https://github.com/astral-sh/ruff-vscode/compare/2023.36.0...2023.38.0