diff --git a/Cargo.lock b/Cargo.lock index 5062406e6932e..aa57190d0cfff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1771,7 +1771,7 @@ dependencies = [ [[package]] name = "oxc_language_server" -version = "0.16.10" +version = "0.16.11" dependencies = [ "env_logger", "futures", @@ -1792,7 +1792,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.16.10" +version = "0.16.11" dependencies = [ "bitflags 2.9.0", "constcat", @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.16.10" +version = "0.16.11" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 788358aefe5fd..a128c3cf52038 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,25 @@ 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.16.11] - 2025-05-16 + +- 4e5c73b span: [**BREAKING**] `SourceType::from_path(".js")` return js instead of jsx (#11038) (Boshen) + +### Features + +- 466c24a linter: Add gitlab reporter output format (#10927) (Connor Pearson) + +### Bug Fixes + +- c52a9ba linter: Fix plugins inside overrides not being applied (#11057) (camc314) +- b12bd48 linter: Fix rule config not being correctly applied (#11055) (camc314) +- 0961296 linter: Add `gitlab` to linter `--help` docs (#10932) (camc314) +- 584d8b9 napi: Enable mimalloc `no_opt_arch` feature on linux aarch64 (#11053) (Boshen) + +### Refactor + +- bb999a3 language_server: Avoid cloning linter by taking reference in LintService (#10907) (Ulrich Stark) + ## [0.16.10] - 2025-05-09 ### Features diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index f5c240105d9db..4870e61bb6c0e 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.16.10" +version = "0.16.11" 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 788274fc94f7a..72e7443bfb7b2 100644 --- a/crates/oxc_language_server/CHANGELOG.md +++ b/crates/oxc_language_server/CHANGELOG.md @@ -4,6 +4,24 @@ 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.16.11] - 2025-05-16 + +### Features + +- 078bf0b language_server: Better fallback handling when passing invalid `Options` values (#10930) (Sysix) +- be7f7e1 language_server/editor: Support multi workspace folders (#10875) (Sysix) + +### Bug Fixes + +- 89cc21b language_server: Normalize oxlintrc config path (#10982) (Sysix) +- 39063ce linter: Reword diagnostic message for no-control-regex (#10993) (camc314) + +### Refactor + +- 3cc1466 language_server: New configuration structure for `initialize` and `workspace/didChangeConfiguration` (#10890) (Sysix) +- bd2ef7d language_server: Use `Arc` for `diagnostic_report_map` (#10940) (Sysix) +- bb999a3 language_server: Avoid cloning linter by taking reference in LintService (#10907) (Ulrich Stark) + ## [0.16.10] - 2025-05-09 ### Features diff --git a/crates/oxc_language_server/Cargo.toml b/crates/oxc_language_server/Cargo.toml index e529d11bdfe81..67c39d43013be 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 = "0.16.10" +version = "0.16.11" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index b3a04c9c71a5b..d49d61363348c 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,54 @@ 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.16.11] - 2025-05-16 + +- 4e5c73b span: [**BREAKING**] `SourceType::from_path(".js")` return js instead of jsx (#11038) (Boshen) + +### Features + +- eef93b4 linter: Add import/no-unassigned-import (#10970) (yefan) +- cc0112f linter: No-unused-vars add setting for `reportVarsOnlyUsedAsTypes` (#11009) (camc314) +- 17e49c3 linter: Implement configuration and checking loops for `eslint/no_constant_condition` (#10949) (Ulrich Stark) +- 21117ac linter: Implement react/forbid-elements (#10928) (Thomas BOCQUEZ) +- a064082 linter: Add import/consistent-type-specifier-style rule (#10858) (yefan) +- 4733b52 linter/no-extraneous-class: Add conditional fixer (#10798) (DonIsaac) + +### Bug Fixes + +- c52a9ba linter: Fix plugins inside overrides not being applied (#11057) (camc314) +- b12bd48 linter: Fix rule config not being correctly applied (#11055) (camc314) +- 9a368be linter: False negative in no-restriced-imports with `patterns` and side effects (#11027) (camc314) +- 8c2cfbc linter: False negative in no-restricted-imports (#11026) (camc314) +- 8956870 linter: False positive in no-unused-vars (#11002) (camc314) +- 33a60d2 linter: Skip eslint/no-redeclare when running on modules (#11004) (camc314) +- 39063ce linter: Reword diagnostic message for no-control-regex (#10993) (camc314) +- 9eedb58 linter: False positive with negative matches in no-restricted-imports (#10976) (camc314) +- 10e77d7 linter: Improve diagnostics for no-control-regex (#10959) (camc314) +- 82889ae linter/no-extraneous-class: Improve docs, reporting and code refactor (#10797) (DonIsaac) +- 11c34e7 linter/no-img-element: Improve diagnostic and docs (#10908) (DonIsaac) +- 126ae75 semantic: Distinguish class private elements (#11044) (magic-akari) +- 773d0de semantic: Correctly handle nested brackets in jsdoc parsing (#10922) (camc314) +- b215b6c semantic: Dont parse `@` as jsdoc tags inside `[`/`]` (#10919) (camc314) + +### Documentation + +- db6afb9 linter: Improve docs of no-debugger (#11033) (camc314) +- 16541de linter: Improve docs of default-param-last (#11032) (camc314) +- 2c2f3c4 linter: Improve docs of default-case-last (#11031) (camc314) +- 56bb9ce linter: Improve docs of array-callback-return (#11030) (camc314) +- 13dbcc6 linter: Correct docs for default config for no-redeclare (#10995) (camc314) +- a86cbb3 linter: Fix incorrect backticks of fenced code blocks (#10947) (Ulrich Stark) + +### Refactor + +- bb999a3 language_server: Avoid cloning linter by taking reference in LintService (#10907) (Ulrich Stark) +- d1b0c83 linter: Remove overrides index vec (#11058) (camc314) +- 7ad6cf8 linter: Store severity separately, remove `RuleWithSeverity` (#11051) (camchenry) +- e31c361 linter: Remove nested match statements in no-restricted-imports (#10975) (camc314) +- 6ad9d4f linter: Tidy `eslint/func-names` (#10923) (camc314) +- faf0a95 syntax: Rename `NameSpaceModule` to `NamespaceModule` (#10917) (Dunqing) + ## [0.16.10] - 2025-05-09 - ad4fbf4 ast: [**BREAKING**] Simplify `RegExpPattern` (#10834) (overlookmotel) diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index c82fa5597204c..fd37f28ca898a 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.16.10" +version = "0.16.11" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index a781cc8e270ca..a20a2642e54c2 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -4,6 +4,26 @@ 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.16.11] - 2025-05-16 + +### Features + +- 078bf0b language_server: Better fallback handling when passing invalid `Options` values (#10930) (Sysix) +- be7f7e1 language_server/editor: Support multi workspace folders (#10875) (Sysix) + +### Bug Fixes + +- 87bf2a8 editor: Send only `workspace/didChangeConfiguration` when some workspace configuration is effected (#11017) (Sysix) +- ed5708d editor: Detect all workspaces config path changes (#11016) (Sysix) + +### Refactor + +- 3cc1466 language_server: New configuration structure for `initialize` and `workspace/didChangeConfiguration` (#10890) (Sysix) + +### Testing + +- 76b6b33 editor: Add tests for multi workspace folder setup (#10904) (Sysix) + ## [0.16.10] - 2025-05-09 ### Features diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 5be06ac1dbf6a..451a541a99051 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": "0.16.10", + "version": "0.16.11", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 9d3e178dbd65a..f247b554cee1d 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.16.10", + "version": "0.16.11", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",