diff --git a/Cargo.lock b/Cargo.lock index 535ad6733d5b2..6402536be6536 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1977,7 +1977,7 @@ dependencies = [ [[package]] name = "oxc_language_server" -version = "1.9.0" +version = "1.10.0" dependencies = [ "env_logger", "futures", @@ -1998,7 +1998,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "1.9.0" +version = "1.10.0" dependencies = [ "bitflags 2.9.1", "constcat", @@ -2493,7 +2493,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "1.9.0" +version = "1.10.0" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 884549a94f8c6..942dfaa6ec8a2 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/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). +## [1.10.0] - 2025-08-06 + +### ๐Ÿš€ Features + +- 9b35600 linter/jsx-a11y: Add support for mapped attributes in label association checks (#12805) (camc314) + +### ๐Ÿ› Bug Fixes + +- 45206dd linter: Apply fix span offset after fixing the section source text (#12758) (Sysix) + +### ๐Ÿšœ Refactor + +- 030e397 linter: Simplify parsing CLI args (#12802) (overlookmotel) +- c0e224a linter: Store `ExternalRuleId` in `OxlintOverrides` not raw names (#12502) (camc314) + +### โšก Performance + +- 693673b linter: Reduce iterations when collecting directories for nested configs (#12329) (overlookmotel) + +### ๐ŸŽจ Styling + +- c15da81 codegen, formatter, linter, minifier, transformer: Re-order imports (#12725) (Copilot) + +### ๐Ÿงช Testing + +- d8ccff7 oxlint: Add `Tester::test_fix` mehod (#12754) (Sysix) + + ## [1.9.0] - 2025-07-29 ### ๐Ÿšœ Refactor diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 7d0ffac3622ef..014475a0cf9a8 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "1.9.0" +version = "1.10.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 5a9a67f71c654..61488d8caf934 100644 --- a/crates/oxc_language_server/CHANGELOG.md +++ b/crates/oxc_language_server/CHANGELOG.md @@ -4,6 +4,21 @@ 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.10.0] - 2025-08-06 + +### ๐Ÿš€ Features + +- 5475075 vscode/language_server: Add `tsConfigPath` option (#12484) (Sysix) + +### ๐Ÿšœ Refactor + +- c0e224a linter: Store `ExternalRuleId` in `OxlintOverrides` not raw names (#12502) (camc314) + +### ๐ŸŽจ Styling + +- c15da81 codegen, formatter, linter, minifier, transformer: Re-order imports (#12725) (Copilot) + + ## [1.7.0] - 2025-07-16 diff --git a/crates/oxc_language_server/Cargo.toml b/crates/oxc_language_server/Cargo.toml index 0fe38fce7e20e..96ce63b545b13 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.9.0" +version = "1.10.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 3864a051c7604..c3cb10c408540 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,83 @@ 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.10.0] - 2025-08-06 + +### ๐Ÿš€ Features + +- 44ac5a1 linter: Add eslint/no-unassigned-vars rule (#11365) (yefan) +- ce6eeee linter: Add `eslint/prefer-destructuring` rule (#12721) (yefan) +- 9b35600 linter/jsx-a11y: Add support for mapped attributes in label association checks (#12805) (camc314) +- a754f7a linter: Support `countVoidThis` option in `max-params` rule (#12604) (yefan) + +### ๐Ÿ› Bug Fixes + +- 2c1dab6 linter/no-unassigned-vars: False positive with variables in for loop (#12833) (camc314) +- 5a24574 linter/func-style: Fix more false positives (#12828) (camc314) +- 33a7320 linter/no-throw-literal: Fix unconditional recursion in `could_be_error` (#12819) (camc314) +- a3aec6a linter/explicit-module-boundary-types: Debug assertion fail with top level return (#12820) (camc314) +- 6efe457 linter/no-empty-function: Respect allow options for functions and arrow functions (#12814) (camc314) +- 1c21c46 linter/new-cap: Fix panic with computed member expr (#12804) (camc314) +- 45206dd linter: Apply fix span offset after fixing the section source text (#12758) (Sysix) +- 1e97e35 linter/unicorn/prefer-structured-clone: Update Default implementation for `PreferStructuredCloneConfig` (#12791) (camc314) +- d382159 linter/unicorn/prefer-object-from-entries: Update Default implementation for `PreferObjectFromEntriesConfig` (#12790) (camc314) +- b07d29c linter/typescript/no-this-alias: Update Default implementation for `NoThisAliasConfig` (#12789) (camc314) +- 0db34ab linter/react/jsx-filename-case: Update Default implementation for `JsxFilenameExtensionConfig` (#12788) (camc314) +- ff84eff linter/jest/prefer-lowercase-title: Update Default implementation for `PreferLowercaseTitleConfig` (#12787) (camc314) +- 5175c6d linter/jest/no-large-snapshots: Update Default implementation for `NoLargeSnapshotsConfig` (#12786) (camc314) +- 0eaebcd linter/jest/no-deprecated-functions: Update Default implementation for `JestConfig` (#12785) (camc314) +- 4265db7 linter/import/no-anonymous-default-export: Update Default implementation for `NoAnonymousDefaultExport` config (#12784) (camc314) +- 6a360e3 linter/import/extensions: Update Default implementation for ExtensionsConfig (#12783) (camc314) +- 42c8f29 linter: Default options for `eslint/no-else-return` (#12762) (Sysix) +- 4eac511 linter: Default options for `eslint/no-unneeded-ternary` (#12761) (Sysix) +- 9c01dbf linter: Default options for `eslint/new-cap` (#12760) (Sysix) +- b25406f linter/explicit-function-return-types: Update default values in ExplicitFunctionReturnTypeConfig (#12718) (camc314) +- ce5876d parser: Validate inner expression of type assertions in assignment targets (#12614) (camc314) +- 5383331 linter/explicit-mod-boundary-types: False positive with jsx elements (#12678) (camc314) +- d0e99b5 linter/explicit-mod-boundary-types: False positive with call expressions (#12677) (camc314) +- 525137e linter: Add missing options to no-inner-declarations (#12661) (camc314) +- fc4a327 linter: No-unused-vars false positive with class property initializers (#12660) (camc314) +- 6af8631 linter/no-unused-vars: False positive with chain expression (#12609) (camc314) +- 744ef52 linter: Correct `array-type` handling of `default: 'array-simple'` (#12607) (yefan) + +### ๐Ÿšœ Refactor + +- 3f37ed1 linter: Replace `lazy_static` with `std::sync::LazyLock` (#12822) (Copilot) +- 69fd08d semantic: Improve unused label tracking and add debug assertions (#12812) (camc314) +- c0e224a linter: Store `ExternalRuleId` in `OxlintOverrides` not raw names (#12502) (camc314) +- 61587e4 linter: Correct comment (#12792) (overlookmotel) +- 5adcb98 linter: Use `u32` to keep track of last fixed source text position (#12696) (Sysix) +- 77acc11 linter, transformer: Use `Scoping::symbol_is_unused` (#12666) (overlookmotel) +- ecf1cff language_server: Simplify offset adjustment by using `Message.move_offset` (#12647) (Sysix) +- 7695393 linter: Simplify offset adjustment by using `Message.move_offset` (#12595) (Sysix) +- b36dc92 linter: Refactor large arrays to reduce binary size (#12603) (Boshen) +- 3b9f1f0 linter: Update iter_outer_expressions to take AstNodes reference (#12583) (camc314) + +### ๐Ÿ“š Documentation + +- e760fd4 linter: Complete linter rules documentation with missing "Why is this bad?" sections (#12757) (Copilot) +- 514322c rust: Add minimal documentation to example files in crates directory (#12731) (Copilot) +- 1d910d5 linter: Fix typescript/consistent-type-imports rule options to match TypeScript ESLint (#12707) (Copilot) +- 45e2fe8 rust: Fix typos and grammar mistakes in Rust documentation comments (#12715) (Copilot) +- 7660a88 linter: Improve linter rule documentation with "Why is this bad?" sections and enhanced examples (#12711) (Copilot) +- de1de35 rust: Add comprehensive README.md documentation for all Rust crates (#12706) (Copilot) + +### โšก Performance + +- 09ae2a9 linter: Eliminate unnecessary Iterator::collect() allocations (#12776) (Copilot) + +### ๐ŸŽจ Styling + +- cacbd1e linter/no-empty-function: Order match arms consistently (#12815) (camc314) +- c15da81 codegen, formatter, linter, minifier, transformer: Re-order imports (#12725) (Copilot) + +### ๐Ÿงช Testing + +- 3957fcc linter/no-undef: Add test case for `TSImportType` (#12800) (camc314) +- c6bfb8a linter: Add rule configuration consistency test (#12744) (camc314) +- 2ceb835 linter: Fix offset for partical source texts (#12594) (Sysix) + + ## [1.9.0] - 2025-07-29 ### ๐Ÿ’ฅ BREAKING CHANGES diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index a004ad8dba2cf..09f50e501618b 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "1.9.0" +version = "1.10.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 81adf0cf75885..077a13a77a378 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/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.10.0] - 2025-08-06 + +### ๐Ÿš€ Features + +- 5475075 vscode/language_server: Add `tsConfigPath` option (#12484) (Sysix) + + ## [1.9.0] - 2025-07-29 ### ๐Ÿ› Bug Fixes diff --git a/editors/vscode/package.json b/editors/vscode/package.json index a2b9a6d981d0d..c4758b30c394d 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.9.0", + "version": "1.10.0", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/CHANGELOG.md b/npm/oxlint/CHANGELOG.md index db15a6a87d4bb..aeea3468143e6 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.10.0] - 2025-08-06 + +### ๐Ÿš€ Features + +- 9b35600 linter/jsx-a11y: Add support for mapped attributes in label association checks (#12805) (camc314) + + ## [1.9.0] - 2025-07-29 ### ๐Ÿšœ Refactor diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 54426fbd1fe7d..a9d4bd5d80efa 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "1.9.0", + "version": "1.10.0", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",