diff --git a/Cargo.lock b/Cargo.lock index 86a7630cd91ff..b2e48cb3d2b63 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1815,7 +1815,7 @@ dependencies = [ [[package]] name = "oxc_language_server" -version = "0.16.3" +version = "0.16.4" dependencies = [ "cow-utils", "env_logger", @@ -1840,7 +1840,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.16.3" +version = "0.16.4" dependencies = [ "bitflags 2.9.0", "constcat", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.16.3" +version = "0.16.4" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 142c47f75f5ca..129411fa8a658 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,20 @@ 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.4] - 2025-04-01 + +### Features + +- 370266c semantic: Check redeclaration of variable declaration and function declaration in the block scope (#10074) (Dunqing) + +### Bug Fixes + +- 2c80858 linter: Enable multi-file analysis for nested configs (#10089) (camchenry) + +### Refactor + +- d8e49a1 linter: Compute lintable extensions at compile time (#10090) (camchenry) + ## [0.16.3] - 2025-03-25 ### Refactor diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 9f5c50ba752ed..4599fb5ae1e38 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.16.3" +version = "0.16.4" 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 1b7c587f9b95e..1088d0f1c5b07 100644 --- a/crates/oxc_language_server/CHANGELOG.md +++ b/crates/oxc_language_server/CHANGELOG.md @@ -4,6 +4,20 @@ 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.4] - 2025-04-01 + +- da6336c language_server: [**BREAKING**] Remove `enable` configuration, the client should shutdown the server instead (#9990) (Sysix) + +### Bug Fixes + +- 07f2a25 editor: Enable regex parsing in language server (#10035) (camchenry) +- fcf7702 language_server: Start from a default oxlint configuration + SafeFix for nested configuration (#10043) (Sysix) + +### Refactor + +- c0e5251 language_server: Set `null` as a default value for `configPath` (#10047) (Sysix) +- d8e49a1 linter: Compute lintable extensions at compile time (#10090) (camchenry) + ## [0.16.3] - 2025-03-25 ### Bug Fixes diff --git a/crates/oxc_language_server/Cargo.toml b/crates/oxc_language_server/Cargo.toml index 11c15e2e58bc9..63f500115962f 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.3" +version = "0.16.4" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index 55eb4b110faaf..59e4b8cad8a90 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,34 @@ 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.4] - 2025-04-01 + +- cd1f035 semantic: [**BREAKING**] Store symbol information as the first entry in `symbol_declarations` when it is redeclared (#10062) (Dunqing) + +### Features + +- 06e3db9 linter: Support `multipleFileExtensions` option for `unicorn/filename-case` (#10118) (shulaoda) +- dbe0e46 linter: Support `ignore` option for `unicorn/filename-case` (#10107) (shulaoda) +- 84a3490 semantic: Add `symbol_id` for declare function binding (#10078) (Dunqing) +- b804f7c semantic: Introduce `Redeclaraion` for `Scoping::symbol_declarations` (#10059) (Dunqing) + +### Bug Fixes + +- aba3654 linter: Span disable directive correctly on next line (#10141) (Ulrich Stark 🦀) + +### Performance + +- 566be59 linter: Replace `phf_set` with `array` in `eslint/func-names` (#10119) (shulaoda) +- 5e14fe9 linter: Inline `PRE_DEFINE_VAR` and use `array` format (#10079) (shulaoda) + +### Refactor + +- 09c0ac6 linter: Improve `unicorn/filename-case` (#10117) (shulaoda) +- d8e49a1 linter: Compute lintable extensions at compile time (#10090) (camchenry) +- b3ec235 linter: Use items of `oxc_ast::ast` module directly (#10100) (Ulrich Stark 🦀) +- 93e6c0b linter: Use `FormalParameter::has_modifier` to detect parameter properties (#10097) (Ulrich Stark 🦀) +- 5d829c2 semantic: Align handling of declaring symbol for function with TypeScript (#10086) (Dunqing) + ## [0.16.3] - 2025-03-25 ### Features diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 6fd17d474f79f..b8220f55e38f9 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.16.3" +version = "0.16.4" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index f1a6bfd10a3a0..680fda9686969 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -4,6 +4,28 @@ 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.4] - 2025-04-01 + +- da6336c language_server: [**BREAKING**] Remove `enable` configuration, the client should shutdown the server instead (#9990) (Sysix) + +### Bug Fixes + +- 0a33e27 editor: Update `initializationOptions` for a possible restart (#10121) (Sysix) +- ac780a2 editor: Repair filewatchers when no custom config provided (#10104) (Sysix) +- 4303ace editor: Dont send `didChangeConfiguration` request to the server when it is shutdown (#10084) (Sysix) + +### Refactor + +- 327be53 editor: `LanguageClient` can be undefined (#10112) (Sysix) +- 5ec477c editor: Make `onConfigChange` async (#10110) (Sysix) +- a278d73 editor: Use warning background when the plugin is deactived (#10085) (Sysix) +- c0e5251 language_server: Set `null` as a default value for `configPath` (#10047) (Sysix) + +### Testing + +- 410b8d6 editor: Use debug build of the language server (#10083) (Sysix) +- 500add0 editor: Add test for `oxc.fixAll` command (#10045) (Sysix) + ## [0.16.3] - 2025-03-25 ### Testing diff --git a/editors/vscode/package.json b/editors/vscode/package.json index a2bbea2dfb5bb..d9ab96252f636 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.3", + "version": "0.16.4", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", @@ -95,7 +95,10 @@ "description": "Traces the communication between VS Code and the language server." }, "oxc.configPath": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "scope": "window", "default": null, "description": "Path to ESlint configuration. Keep it empty to enable nested configuration." diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 5a65c45737e26..9fb12555e5854 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.16.3", + "version": "0.16.4", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",