diff --git a/Cargo.lock b/Cargo.lock index 0247e26139205..816b0e517e658 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1816,7 +1816,7 @@ dependencies = [ [[package]] name = "oxc_language_server" -version = "1.3.0" +version = "1.4.0" dependencies = [ "env_logger", "futures", @@ -1837,7 +1837,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "1.3.0" +version = "1.4.0" dependencies = [ "bitflags 2.9.1", "constcat", @@ -2318,7 +2318,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "1.3.0" +version = "1.4.0" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 8fcffce4dd0f6..63d0afa952de9 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,22 @@ 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.4.0] - 2025-06-30 + +### ๐Ÿš€ Features + +- 9b19b40 napi: Add basic oxlint napi bindings (#11877) (camc314) +- f102cb1 linter: Add `import/prefer-default-export` rule (#11891) (yefan) + +### ๐Ÿ› Bug Fixes + +- d991fed linter: Fix `jsx-a11y/label-has-associated-control` default values (#11832) (Sysix) + +### ๐Ÿšœ Refactor + +- 2cf9fa3 linter: Derive debug for `extensions` (#11938) (camc314) + + ## [1.3.0] - 2025-06-23 ### ๐Ÿšœ Refactor diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index f0059da0f32d8..bdf93beb65fd4 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "1.3.0" +version = "1.4.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 e9c65fcc1e2c3..2d1c0e2e0f277 100644 --- a/crates/oxc_language_server/CHANGELOG.md +++ b/crates/oxc_language_server/CHANGELOG.md @@ -4,6 +4,7 @@ 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.3.0] - 2025-06-23 ### ๐Ÿš€ Features diff --git a/crates/oxc_language_server/Cargo.toml b/crates/oxc_language_server/Cargo.toml index 7cee204a8a43e..fc5f448c86b73 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.3.0" +version = "1.4.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 c90cfd710ce35..c2f7e8d09da18 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.4.0] - 2025-06-30 + +### ๐Ÿš€ Features + +- 8e1573d linter: Add id-length rule from eslint (#11887) (Nicholas Rayburn) +- 5dfcac5 linter: Add eslint/arrow-body-style rule (#11937) (yefan) +- f102cb1 linter: Add `import/prefer-default-export` rule (#11891) (yefan) + +### ๐Ÿ› Bug Fixes + +- 114c4fb linter/no-useless-spread: Panic with multi byte char (#11964) (camc314) +- c2e5439 linter: Fix default values for `unicorn/consistent-function-scoping` (#11960) (Sysix) +- 214c8e7 linter: Fix default values for `import/no-absolute-path` (#11959) (Sysix) +- b4cc222 linter: Fix `typescript/no-namespace` default values (#11958) (Sysix) +- 11e0a43 linter/prefer-dom-node-remove: Panic when callee is ts non null expression (#11949) (camc314) +- 4903e39 linter/no-standalone-expect: False positive in callback fn (#11940) (camc314) +- 1e88dba oxc_linter: Make linter file paths clickable within JetBrains terminals (#11619) (Nicholas Rayburn) +- fe4006b linter/jsx-key: False positive in react/jsx-key (#11918) (camc314) +- d32cb4b linter: Fix default values for `eslint/no-redeclare` (#11911) (Sysix) +- d80c19d linter: Fix default values for `eslint/max-lines-per-function` (#11910) (Sysix) +- 41a5342 linter: Fix default values for `eslint/max-nested-callbacks` (#11909) (Sysix) +- 2e3db4e linter: Fix default values for `eslint/max-depth` (#11908) (Sysix) +- a358797 linter: Remove false positives for `no-extend-native` (#11888) (camchenry) +- 6f67b52 linter: Revert prefer-promise-reject-errors to old behavior (#11889) (camchenry) +- d991fed linter: Fix `jsx-a11y/label-has-associated-control` default values (#11832) (Sysix) +- a0a4aa1 linter: Count own indirect export entries to the threshold for `oxc/no-barrel-file` (#11838) (Sysix) + +### ๐Ÿšœ Refactor + +- 344f3f9 linter: Minor refactors to `eslint/id-length` (#11976) (camc314) +- 46b59d8 linter: Remove unused `ContextHost::with_config` (#11970) (camc314) +- 17e0898 linter: Move `import/no-duplicates` to style category (#11929) (Sysix) +- dd2e196 linter: Move `unicorn/no-nested-ternary` to style category (#11928) (Sysix) +- 8404da4 linter: Remove unused `LintPluginOptions` (#11919) (camc314) +- 87b8496 ast: Remove `AstKind` for `MemberExpression` and replace with `StaticMemberExpression` and `PrivateFieldExpression` (#11767) (camchenry) +- e840680 linter/no-named-as-default-members: Remove needless lambda (#11896) (camc314) +- 2760591 linter/no-console: Early return if ident does not match (#11895) (camc314) +- 190e390 ast: Add `AstKind` for `ComputedMemberExpression` (#11766) (camchenry) + +### ๐Ÿ“š Documentation + +- 940b98f linter: Fix docs for `typescript/no-this-alias` (#11963) (Sysix) +- c4a95a2 linter: Move `jest/valid-title` options into a codeblock (#11961) (Sysix) +- 0d3e8e7 linter: Fix prefer-string-replace-all example (#11921) (Bruno Henriques) +- 06781ab linter: Fix doc formatting for perfer-logical-op-over-ternary (#11920) (camc314) + +### โšก Performance + +- 2cf63ea linter: `nextjs/no-document-import-in-page` check the filepath before running the rule (#11962) (Sysix) +- 19cee8c linter/no-extend-native: Do not create unnecessary `CompactStr` (#11885) (overlookmotel) +- 66dbf9d linter/no-console: Get static property name only once (#11880) (overlookmotel) + +### ๐Ÿงช Testing + +- 168f776 linter/no-console: Add more tests (#11878) (overlookmotel) + + ## [1.3.0] - 2025-06-23 ### ๐Ÿš€ Features diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 8323c2a919ea4..b09c9eb801074 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "1.3.0" +version = "1.4.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index d07714c3cfe75..f1637fe0c2d71 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -4,6 +4,7 @@ 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.3.0] - 2025-06-23 ### ๐Ÿš€ Features diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 92548b47b3916..240392b51ee23 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.3.0", + "version": "1.4.0", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/CHANGELOG.md b/npm/oxlint/CHANGELOG.md index 7e42b0f3c4747..a2c8567b00bd6 100644 --- a/npm/oxlint/CHANGELOG.md +++ b/npm/oxlint/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + # Changelog All notable changes to this package will be documented in this file. diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index e13c9600a1a95..8c1f928220e5e 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "1.3.0", + "version": "1.4.0", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",