From 65a17346cddb0dfde0ed18ba3e6a87364a5dfe26 Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Wed, 18 Sep 2024 12:02:09 +0800 Subject: [PATCH] release(oxlint): v0.9.6 (#5843) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [0.9.6] - 2024-09-18 ### Features - 3bf7b24 linter: Make `typescript/no-duplicate-enum-values` a `correctness` rule (#5810) (DonIsaac) - 7799c06 linter/react: Implement `no-danger-with-children` rule (#5420) (Cam McHenry) ### Bug Fixes - f942485 linter: Remove all* remaining "Disallow " messages (#5812) (DonIsaac) - b5ad518 linter: Improve diagnostic messages for various lint rules (#5808) (DonIsaac) - 858f7af linter: Plugin prefix name for eslint-plugin-node (#5807) (DonIsaac) - 737ba1d linter: Fix some cases on ```AssignmentExpression``` for ```unicorn/consistent-function-scoping``` (#5675) (Arian94) - 148c7a8 linter: Replace bitwise AND (&) with logical AND (&&) in explici… (#5780) (kaykdm) - b4ed564 linter/no-unused-vars: Writes to members triggering false positive (#5744) (Dunqing) - e9c084a linter/no-unused-vars: False positive when a variable used as a computed member property (#5722) (Dunqing) ### Performance - 3725d5d linter: Make all rules share a diagnostics vec (#5806) (DonIsaac) - e978567 linter: Shrink size of `DisableDirectives` (#5798) (DonIsaac) - 1bfa515 linter: Remove redundant clone of diagnostics in context (#5797) (DonIsaac) - e413cad linter: Move shared context info to `ContextHost` (#5795) (DonIsaac) ### Refactor - 6dd6f7c ast: Change `Comment` struct (#5783) (Boshen) - 7caae5b codegen: Add `GetSpan` requirement to `Gen` trait (#5772) (Boshen) - 026ee6a linter: Decouple module resolution from import plugin (#5829) (dalaoshu) - 50834bc linter: Move `override_rule` to `OxlintRules` (#5708) (DonIsaac) - a438743 linter: Move `OxlintConfig` to `Oxlintrc` (#5707) (DonIsaac) - f61e8b5 linter: Impl serde and schemars traits for `LintPlugins` (#5706) (DonIsaac) - 20a7861 linter: Shorten `Option` syntax (#5735) (overlookmotel) - d8b612c oxc_linter: Prefer pass Enum instead of str `no_plus_plus` (#5730) (IWANABETHATGUY) - cc0408b semantic: S/AstNodeId/NodeId (#5740) (Boshen) --------- Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- apps/oxlint/CHANGELOG.md | 6 ++++++ apps/oxlint/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/package.json | 2 +- npm/oxlint/CHANGELOG.md | 6 ++++++ npm/oxlint/package.json | 4 ++-- 8 files changed, 55 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 00ec0e587..47e6742c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1625,7 +1625,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.9.5" +version = "0.9.6" dependencies = [ "bitflags 2.6.0", "convert_case", @@ -2017,7 +2017,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.9.5" +version = "0.9.6" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index fc6e59106..2c013f473 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.9.6] - 2024-09-18 + +### Refactor + +- 026ee6a linter: Decouple module resolution from import plugin (#5829) (dalaoshu) + ## [0.9.4] - 2024-09-12 ### Refactor diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 85b90e2ac..8560afc5d 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.9.5" +version = "0.9.6" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index 8437eb48e..b06416d61 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,42 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.9.6] - 2024-09-18 + +### Features + +- 3bf7b24 linter: Make `typescript/no-duplicate-enum-values` a `correctness` rule (#5810) (DonIsaac) +- 7799c06 linter/react: Implement `no-danger-with-children` rule (#5420) (Cam McHenry) + +### Bug Fixes + +- f942485 linter: Remove all* remaining "Disallow " messages (#5812) (DonIsaac) +- b5ad518 linter: Improve diagnostic messages for various lint rules (#5808) (DonIsaac) +- 858f7af linter: Plugin prefix name for eslint-plugin-node (#5807) (DonIsaac) +- 737ba1d linter: Fix some cases on ```AssignmentExpression``` for ```unicorn/consistent-function-scoping``` (#5675) (Arian94) +- 148c7a8 linter: Replace bitwise AND (&) with logical AND (&&) in explici… (#5780) (kaykdm) +- b4ed564 linter/no-unused-vars: Writes to members triggering false positive (#5744) (Dunqing) +- e9c084a linter/no-unused-vars: False positive when a variable used as a computed member property (#5722) (Dunqing) + +### Performance + +- 3725d5d linter: Make all rules share a diagnostics vec (#5806) (DonIsaac) +- e978567 linter: Shrink size of `DisableDirectives` (#5798) (DonIsaac) +- 1bfa515 linter: Remove redundant clone of diagnostics in context (#5797) (DonIsaac) +- e413cad linter: Move shared context info to `ContextHost` (#5795) (DonIsaac) + +### Refactor + +- 6dd6f7c ast: Change `Comment` struct (#5783) (Boshen) +- 7caae5b codegen: Add `GetSpan` requirement to `Gen` trait (#5772) (Boshen) +- 026ee6a linter: Decouple module resolution from import plugin (#5829) (dalaoshu) +- 50834bc linter: Move `override_rule` to `OxlintRules` (#5708) (DonIsaac) +- a438743 linter: Move `OxlintConfig` to `Oxlintrc` (#5707) (DonIsaac) +- f61e8b5 linter: Impl serde and schemars traits for `LintPlugins` (#5706) (DonIsaac) +- 20a7861 linter: Shorten `Option` syntax (#5735) (overlookmotel) +- d8b612c oxc_linter: Prefer pass Enum instead of str `no_plus_plus` (#5730) (IWANABETHATGUY) +- cc0408b semantic: S/AstNodeId/NodeId (#5740) (Boshen) + ## [0.9.5] - 2024-09-12 ### Features diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 06d8c4af9..bd53c767a 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.9.5" +version = "0.9.6" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 79e098fa6..0ebd8188a 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -3,7 +3,7 @@ "description": "oxc vscode extension", "packageManager": "pnpm@9.10.0", "license": "MIT", - "version": "0.9.5", + "version": "0.9.6", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/CHANGELOG.md b/npm/oxlint/CHANGELOG.md index 245eeae25..f66e58120 100644 --- a/npm/oxlint/CHANGELOG.md +++ b/npm/oxlint/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0. +## [0.9.6] - 2024-09-18 + +### Refactor + +- a438743 linter: Move `OxlintConfig` to `Oxlintrc` (#5707) (DonIsaac) + ## [0.9.4] - 2024-09-12 ### Features diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 5e95a3725..99c0faa44 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.9.5", + "version": "0.9.6", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors", @@ -25,4 +25,4 @@ "configuration_schema.json", "README.md" ] -} +} \ No newline at end of file