From 6127842760c58655ae346612007ffa7a260f1bd8 Mon Sep 17 00:00:00 2001 From: camc314 <18101008+camc314@users.noreply.github.com> Date: Wed, 16 Jul 2025 15:49:20 +0000 Subject: [PATCH] chore(release): oxlint) v1.7.0 --- Cargo.lock | 6 +-- apps/oxlint/CHANGELOG.md | 29 +++++++++++++ apps/oxlint/Cargo.toml | 2 +- crates/oxc_language_server/CHANGELOG.md | 17 ++++++++ crates/oxc_language_server/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 57 +++++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 1 + editors/vscode/package.json | 2 +- npm/oxlint/CHANGELOG.md | 7 +++ npm/oxlint/package.json | 2 +- 11 files changed, 119 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aee10ac6cbedf..0c2db40b05e89 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1914,7 +1914,7 @@ dependencies = [ [[package]] name = "oxc_language_server" -version = "1.6.0" +version = "1.7.0" dependencies = [ "env_logger", "futures", @@ -1935,7 +1935,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "1.6.0" +version = "1.7.0" dependencies = [ "bitflags 2.9.1", "constcat", @@ -2421,7 +2421,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "1.6.0" +version = "1.7.0" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 604055ccdf860..462d065117269 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,35 @@ 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). +## [1.7.0] - 2025-07-16 + +### ๐Ÿš€ Features + +- 5e428a4 linter/eslint-plugin-next: No-html-link-for-pages rule addition (#12194) (Gabriel Dรญaz Aguilera) +- c551b8f linter: Report diagnostics from custom plugins (#12219) (camc314) +- d387729 linter: JS custom rules config (#12160) (camc314) +- 152e59d napi/oxlint: Read source text into start of allocator (#12122) (overlookmotel) +- d4ebd14 linter: Add `oxlint2`/`disable_oxlint2` feature flags (#12130) (camc314) +- a4dae73 linter: Introduce `LintPlugins` to store builtin + custom plugins (#12117) (camc314) + +### ๐Ÿ› Bug Fixes + +- 9720774 linter: Report implicit config parse errors (#12260) (Simon Buchan) +- 853d2bc linter, language_server: Correctly identify usage of `import` plugin (#12157) (overlookmotel) + +### ๐Ÿšœ Refactor + +- 6e54645 language_server: Store `LintService` instead of `Linter` (#12016) (Sysix) +- 113cf8c linter: Move `LintServiceOptions.paths` to `LintService.with_paths` (#12015) (Sysix) +- acfac68 oxlint: Adjust ignore patterns by counting bytes instead of chars (#12209) (Sysix) +- 1d2eaca oxlint2: Introduce `force_test_reporter` feature for consistent graphical outputs (#12133) (camc314) +- f7c675d linter: Rename `LintPlugins` to `BuiltinLintPlugins` (#12116) (camc314) + +### ๐Ÿงช Testing + +- d1194e8 oxlint: Ignore test on windows (#12262) (camc314) + + ## [1.6.0] - 2025-07-07 ### ๐Ÿš€ Features diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 8f85ddc5ee120..9cf923339031d 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "1.6.0" +version = "1.7.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_language_server/CHANGELOG.md b/crates/oxc_language_server/CHANGELOG.md index a26c270555cb6..b54f7912a13e3 100644 --- a/crates/oxc_language_server/CHANGELOG.md +++ b/crates/oxc_language_server/CHANGELOG.md @@ -4,6 +4,23 @@ 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). +## [1.7.0] - 2025-07-16 + +### ๐Ÿš€ Features + +- d387729 linter: JS custom rules config (#12160) (camc314) + +### ๐Ÿ› Bug Fixes + +- 1920c6b language_server: Respect the root `.oxlintrc.json` file for `ignorePatterns` (#12171) (Sysix) +- 853d2bc linter, language_server: Correctly identify usage of `import` plugin (#12157) (overlookmotel) + +### ๐Ÿšœ Refactor + +- 6e54645 language_server: Store `LintService` instead of `Linter` (#12016) (Sysix) +- 113cf8c linter: Move `LintServiceOptions.paths` to `LintService.with_paths` (#12015) (Sysix) + + ## [1.6.0] - 2025-07-07 ### ๐Ÿš€ Features diff --git a/crates/oxc_language_server/Cargo.toml b/crates/oxc_language_server/Cargo.toml index 1c1ca1a91d7bd..1337b57e9054c 100644 --- a/crates/oxc_language_server/Cargo.toml +++ b/crates/oxc_language_server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_language_server" -version = "1.6.0" +version = "1.7.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index 7b69cb965e2ac..ab1628458827a 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,63 @@ 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). +## [1.7.0] - 2025-07-16 + +### ๐Ÿš€ Features + +- 5e428a4 linter/eslint-plugin-next: No-html-link-for-pages rule addition (#12194) (Gabriel Dรญaz Aguilera) +- 9b14fbc ast: Add `ThisExpression` to `TSTypeName` (#12156) (Boshen) +- c551b8f linter: Report diagnostics from custom plugins (#12219) (camc314) +- d387729 linter: JS custom rules config (#12160) (camc314) +- bde1ef1 linter: Load custom JS plugins (#11980) (camc314) +- d4ebd14 linter: Add `oxlint2`/`disable_oxlint2` feature flags (#12130) (camc314) +- a4dae73 linter: Introduce `LintPlugins` to store builtin + custom plugins (#12117) (camc314) + +### ๐Ÿ› Bug Fixes + +- 3f9a1f0 linter/no-unused-private-class-members: Fix false positive with nullish coalescing assignments (#12317) (camc314) +- 47fad0e linter/no-empty-file: False positive with empty file with triple slash directive (#12293) (camc314) +- 633ba30 linter: False positive with unknown plugins when unmatched eslint rule (#12285) (camc314) +- 98708eb linter: Fix inconsistent behavior in `no-duplicate-imports` rule (#12192) (yefan) + +### ๐Ÿšœ Refactor + +- ee761de ast: Remove `AstKind` for `AssignmentTarget` (#12252) (Tyler Earls) +- c68b607 ast: Rename `TemplateLiteral::quasi` to `TemplateLiteral::single_quasi` (#12266) (Dunqing) +- 32c32af ast: Check whether there is a single `quasi` in `TemplateLiteral::quasi` (#12265) (Dunqing) +- 8f6a1da linter/js-plugins: Use `u32` for IDs (#12243) (overlookmotel) +- 36cd364 linter/js-plugins: Clean up code (#12242) (overlookmotel) +- 8c02ebd linter/js-plugins: Rename `specifiers` to `paths` (#12241) (overlookmotel) +- 3adaf98 linter: Simplify getting nodes count (#12239) (overlookmotel) +- 6e54645 language_server: Store `LintService` instead of `Linter` (#12016) (Sysix) +- 113cf8c linter: Move `LintServiceOptions.paths` to `LintService.with_paths` (#12015) (Sysix) +- 729b82b linter: Rename `plugin_name` to `plugin_specifier` (#12148) (overlookmotel) +- 532b816 linter: Use `to_string` instead of `into` (#12147) (overlookmotel) +- 89f2a69 linter: TODO comment (#12146) (overlookmotel) +- f90d3e1 linter: Feature gate `load_external_plugin` by both `oxlint2` and `disable_oxlint2` features (#12141) (overlookmotel) +- 12e4ec7 linter: Make `tokio` dependency optional (#12140) (overlookmotel) +- 1d2eaca oxlint2: Introduce `force_test_reporter` feature for consistent graphical outputs (#12133) (camc314) +- 8814c53 ast: Remove `AstKind` for `PropertyKey` (#12108) (camchenry) +- 228cff5 semantic,linter: Assert that Program is always the first node (#12123) (Ulrich Stark) +- e8e2a25 ast: Remove `AstKind` for `AssignmentTargetPattern` (#12105) (camchenry) +- f7c675d linter: Rename `LintPlugins` to `BuiltinLintPlugins` (#12116) (camc314) +- a9e5ec0 linter: Access plugins through config instead of storing directly (#12115) (camc314) +- 9736a7f linter: Simplify `unicorn/require-post-message-target-origin` (#12110) (shulaoda) + +### ๐Ÿ“š Documentation + +- 2e3db46 linter: Add missing backtick preventing website from building (#12113) (camc314) + +### โšก Performance + +- d0f8b88 linter/js-plugins: Do not copy `Vec` (#12248) (overlookmotel) +- 4284d19 linter/js-plugins: Use hashmap `Entry` API + remove temp `Vec` (#12247) (overlookmotel) +- c7889c3 semantic,linter: Simplify implementation and uses of ancestors iterators (#12164) (Ulrich Stark) +- f99959c linter: Move work out of loop (#12145) (overlookmotel) +- 514d40c linter: Do not create `Resolver` unless required (#12142) (overlookmotel) +- 7103527 linter/no-constructor-return: Optimize loop (#12138) (overlookmotel) + + ## [1.6.0] - 2025-07-07 ### ๐Ÿš€ Features diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 99b326eb35f0d..2fbf7f8d50640 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "1.6.0" +version = "1.7.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index c62bbdf5a5120..c92c010d3f510 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [1.3.0] - 2025-06-23 ### ๐Ÿš€ Features diff --git a/editors/vscode/package.json b/editors/vscode/package.json index ed7a9aa47ec3c..3e5eea9c73cec 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -2,7 +2,7 @@ "name": "oxc-vscode", "description": "oxc vscode extension", "license": "MIT", - "version": "1.6.0", + "version": "1.7.0", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/CHANGELOG.md b/npm/oxlint/CHANGELOG.md index 8c47cfb429463..18e051cfa84e0 100644 --- a/npm/oxlint/CHANGELOG.md +++ b/npm/oxlint/CHANGELOG.md @@ -4,6 +4,13 @@ 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). +## [1.7.0] - 2025-07-16 + +### ๐Ÿš€ Features + +- a4dae73 linter: Introduce `LintPlugins` to store builtin + custom plugins (#12117) (camc314) + + diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 5928f8f5e25d8..dc14b1be14511 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "1.6.0", + "version": "1.7.0", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",