Skip to content

Latest commit

 

History

History
383 lines (227 loc) · 14.1 KB

CHANGELOG.md

File metadata and controls

383 lines (227 loc) · 14.1 KB

Changelog

See here for the Ruff release notes.

2024.20.0

This release upgrades the bundled Ruff version to v0.4.1.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.18.0...2024.20.0

2024.18.0

This release upgrades the bundled Ruff version to v0.4.0.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.16.0...2024.18.0

2024.16.0

This release upgrades the bundled Ruff version to v0.3.1.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.14.0...2024.16.0

2024.14.0

This release upgrades the bundled Ruff version to v0.3.0.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.12.0...2024.14.0

2024.12.0

This release upgrades the bundled Ruff version to v0.2.2.

As of v0.2.2, Ruff now accepts configuration for arbitrary settings on command-line arguments via the --config flag, which in turn allows for configuration arbitrary settings within the VS Code extension.

For example, to set Ruff's lint.isort.combine-as-imports setting to false, add the following to your settings.json:

{
  "ruff.lint.args": ["--config", "lint.isort.combine-as-imports=false"]
}

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.10.0...2024.12.0

2024.10.0

This release includes support for "Format Selection" (i.e., the ability to format specific lines within a source file) for Ruff v0.2.1 and later.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.8.0...2024.10.0

2024.8.0

This release upgrades the bundled Ruff version to v0.2.0.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.6.0...2024.8.0

2024.6.0

This release upgrades the Ruff LSP in anticipation of Ruff's upcoming v0.2.0 release

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.4.0...2024.6.0

2024.4.0

This release upgrades the bundled Ruff version to v0.1.14 and adds two additional settings to the extension:

  • ruff.lint.enable: Defaults to true. Set to false to use Ruff for formatting exclusively.
  • ruff.ignoreStandardLibrary: Defaults to true. Set to false to disable the extension's standard library exclusion logic.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.2.0...2024.4.0

2024.2.0

This release upgrades the bundled Ruff version to v0.1.13 and adds Alpine Linux support to the extension.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2024.0.0...2024.2.0

2024.0.0

This release upgrades the bundled Ruff version to v0.1.11 and adds support for Notebook-wide code actions on save via the notebook.codeActionsOnSave setting.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.60.0...2024.0.0

2023.60.0

This release upgrades the bundled Ruff version to v0.1.9.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.58.0...2023.60.0

2023.58.0

This release avoids surfacing errors when formatting files with syntax errors.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.56.0...2023.58.0

2023.56.0

This release fixes a bug in which the bundled version of Ruff was incompatible with ARM Mac devices.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.54.0...2023.56.0

2023.54.0

This release fixes a bug in which Ruff overwrite files when invalid settings were provided via ruff.lint.args or ruff.format.args.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.52.0...2023.54.0

2023.52.0

This release upgrades the bundled Ruff version to v0.1.8.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.50.0...2023.52.0

2023.50.0

This release fixes a bug in which Ruff overwrite excluded files during formatting.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.48.0...2023.50.0

2023.48.0

This release fixes a bug in which syntax errors caused files to clear when formatting.

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.46.0...2023.48.0

2023.46.0

This release includes full support for using Ruff with Jupyter Notebooks in VS Code. For example:

{
  "notebook.formatOnSave.enabled": true,
  "notebook.codeActionsOnSave": {
    "source.fixAll": true,
    "source.organizeImports": true
  },
  "[python]": {
    "editor.defaultFormatter": "charliermarsh.ruff"
  }
}

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.44.0...2023.46.0

2023.44.0

This release includes full support for using Ruff as a Python formatter via Ruff's ruff format command.

You can configure Ruff to format Python code by marking it as your default formatter in VS Code's settings.json:

{
  "[python]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "charliermarsh.ruff"
  }
}

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.42.0...2023.44.0

2023.42.0

This release is required for compatibility with Ruff 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: #293).
  • Deprecation: ruff.run has been renamed to ruff.lint.run (see: #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

2023.36.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.34.0...2023.36.0

2023.34.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.32.0...2023.34.0

2023.32.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.30.0...2023.32.0

2023.30.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.28.0...2023.30.0

2023.28.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.26.0...2023.28.0

2023.26.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.24.0...2023.26.0

2023.24.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.22.0...2023.24.0

2023.22.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.20.0...2023.22.0

2023.20.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.18.0...2023.20.0

2023.18.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.16.0...2023.18.0

2023.16.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.14.0...2023.16.0

2023.14.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.12.0...2023.14.0

2023.12.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.10.0...2023.12.0

2023.10.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.8.0...2023.10.0

2023.8.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.6.0...2023.8.0

2023.6.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.4.0...2023.6.0

2023.4.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2023.2.0...2023.4.0

2023.2.0

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.2.0...2023.2.0

2022.0.26 (22 December 2022)

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.25...2022.0.26

2022.0.25 (22 December 2022)

  • Migrate to ruff-lsp by @charliermarsh in #75
  • Simplify some TypeScript code by @charliermarsh in #77
  • Upgrade ruff-lsp to v0.0.8 by @charliermarsh in #79

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.24...2022.0.25

2022.0.24 (21 December 2022)

  • Add docs on replacing Black et al by @charliermarsh in #66
  • Skip JSON RPC abstraction for cross-interpreter calls by @charliermarsh in #67
  • Remove mypy.ini by @charliermarsh in #68
  • Clarify Black + Ruff compatibility in README by @charliermarsh in #69
  • Show check summary when hovering on checkcode in noqa comment by @harupy in #26
  • Bump Ruff version to 0.0.190 by @charliermarsh in #74

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.23...2022.0.24

2022.0.23 (17 December 2022)

  • Modify settings logic to match isort plugin by @charliermarsh in #60
  • Remove severity from default settings by @charliermarsh in #62
  • Bump Ruff version to 0.0.185 by @charliermarsh in #63
  • Add ruff-lsp to README by @charliermarsh in #64

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.22...2022.0.23

2022.0.22 (14 December 2022)

  • Fix 'Exception ignored in atexit callback' in jsonrpc by @eddyg in #54
  • Mark unused imports and local variables as unnecessary by @charliermarsh in #55
  • Bump Ruff version to 0.0.182 by @charliermarsh in #57

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.21...2022.0.22

2022.0.21 (6 December 2022)

  • Bump Ruff version to 0.0.165 by @charliermarsh in #52

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.20...2022.0.21

2022.0.20 (1 December 2022)

  • Bump default line length by @charliermarsh in #46
  • Enable CI by @charliermarsh in #47
  • Delay import of typing_extensions by @charliermarsh in #49

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.19...2022.0.20

2022.0.19 (1 December 2022)

  • Restore Python 3.7 compatibility by @charliermarsh in #44

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.18...2022.0.19

2022.0.18 (1 December 2022)

  • Enable ruff: Organize Imports action by @charliermarsh in #32
  • Bump Ruff version to 0.0.149 by @charliermarsh in #33
  • Fix failing lint test by @charliermarsh in #34
  • Fix mypy by @charliermarsh in #35
  • Remove pylint ignore directives by @charliermarsh in #36
  • Add name and version to LanguageServer by @charliermarsh in #38
  • Upgrade to pygls==1.0.0a3 by @charliermarsh in #37
  • Bump Ruff version to 0.0.150 by @charliermarsh in #40
  • Implement code actions for Ruff autofix by @charliermarsh in #39
  • Update noxfile and fix lint errors by @charliermarsh in #41
  • Add diagnostic code to Quickfix by @charliermarsh in #42

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.17...2022.0.18

2022.0.17 (25 November 2022)

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.16...2022.0.17

2022.0.16 (25 November 2022)

  • Publish to OpenVSX by @charliermarsh in #30
  • Bump Ruff version to 0.0.138 by @charliermarsh in #31

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.15...2022.0.16

2022.0.15 (20 November 2022)

  • Bump Ruff version to 0.0.132 by @charliermarsh in #27
  • add changelog.md by @akanz1 in #24

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.14...2022.0.15

2022.0.14 (15 November 2022)

  • Update README.md by @akanz1 in #21
  • Bump Ruff version to 0.0.121 by @charliermarsh in #22
  • Bump version to 2022.0.14 by @charliermarsh in #23

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.13...2022.0.14

2022.0.13 (13 November 2022)

  • Use scripts path when interpreter is set by @charliermarsh in #18
  • Bump Ruff version to 0.0.117 by @charliermarsh in #19

Full Changelog: https://github.com/astral-sh/ruff-vscode/compare/2022.0.12...2022.0.13

2022.0.12 (11 November 2022)

  • Add .idea and .ruff_cache to .vscodeignore by @charliermarsh in #14