From 61a40bcf521def047f79ab73f1776d6cb33e2813 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 16 Oct 2023 18:22:50 -0500 Subject: [PATCH] Bump extension version to 2023.42.0 (#305) Closes https://github.com/astral-sh/ruff-vscode/issues/303 --- CHANGELOG.md | 14 ++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- pyproject.toml | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b82d30d..1571794 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ See [here](https://github.com/charliermarsh/ruff/releases) for the Ruff release notes. +## 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). @@ -10,6 +22,8 @@ See [here](https://github.com/charliermarsh/ruff/releases) for the Ruff release 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 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" },