Skip to content

Commit 90add74

Browse files
authored
release(oxlint): v1.24.0 (#14893)
1 parent dd1fdd4 commit 90add74

File tree

13 files changed

+259
-61
lines changed

13 files changed

+259
-61
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/oxlint/CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,58 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
66

7+
## [1.24.0] - 2025-10-22
8+
9+
### 🚀 Features
10+
11+
- 54ec8e3 linter: Add `cwd` property to JS plugin `Context` (#14814) (magic-akari)
12+
- 9700a56 linter/plugins: Comment-related APIs (#14715) (Arsh)
13+
- bec7a7d semantic: Add scope to `TSConstructorType` (#14676) (camc314)
14+
- b1a9a03 linter/plugins: Implement `SourceCode#getAllComments` (#14589) (Arsh)
15+
16+
### 🐛 Bug Fixes
17+
18+
- 28e76ec oxlint: Resolving JS plugin failing when `extends` is used (#14556) (camc314)
19+
- 78ee7b8 linter/plugins: Handle utf16 characters within comment spans (#14768) (Arsh)
20+
- 47d8db1 linter/plugins: Prevent `comments` being accessed after file is linted (#14727) (overlookmotel)
21+
- 5238891 linter/plugins: Add `comments` field to TS type def for `Program` (#14626) (overlookmotel)
22+
- 84b2605 linter/plugins: Remove `parent` property from comments (#14624) (overlookmotel)
23+
- 0961c3a oxlint,oxfmt: Skip traversing `.git` directories (#14590) (Boshen)
24+
25+
### 🚜 Refactor
26+
27+
- 4520695 linter/plugins: Reorganise `SourceCode` methods (#14773) (overlookmotel)
28+
- 6942d75 linter/plugins: Shorten import of comment-related `SourceCode` methods (#14772) (overlookmotel)
29+
- b9a3f46 linter/plugins: Move scope-related `SourceCode` methods into separate file (#14771) (overlookmotel)
30+
- cd068aa linter/plugins: Move token-related `SourceCode` methods into separate file (#14770) (overlookmotel)
31+
- ec816ba linter/plugins: Move comments-related code into separate file (#14753) (overlookmotel)
32+
- e9c3b18 linter/plugins: Update outdated comment (#14750) (overlookmotel)
33+
- 14de671 linter/plugins: Simplify `comments` getter (#14728) (overlookmotel)
34+
- b402024 linter/plugins: Rename function (#14726) (overlookmotel)
35+
- 85a2743 linter/plugins, napi/parser: Remove extraneous code from raw transfer deserializers (#14683) (overlookmotel)
36+
- 2b14abc napi/parser: Shorten raw transfer deserializer for `Comment` (#14623) (overlookmotel)
37+
38+
### 📚 Documentation
39+
40+
- 207b62b linter/plugins: Correct JSDoc comments for `SourceCode` tokens methods (#14776) (overlookmotel)
41+
- cd266b4 linter/plugins: Improve docs for comments APIs (#14754) (overlookmotel)
42+
43+
### ⚡ Performance
44+
45+
- 10182e8 linter/plugins: Use binary search (#14778) (Arsh)
46+
- e6f351d linter/plugins: Speed up `SourceCode#getAncestors` (#14747) (overlookmotel)
47+
- 58ba6d6 linter/plugins: Lazy deserialize comments array (#14637) (Arsh)
48+
49+
### 🎨 Styling
50+
51+
- 3029dfb linter/plugins: Reorder code (#14725) (overlookmotel)
52+
53+
### 🧪 Testing
54+
55+
- 5933097 oxlint: Add test for nested configs importing the same plugin 2x (#14646) (camc314)
56+
- 6570f36 linter/custom-plugins: Snapshot test start, end, range, and loc for comments (#14779) (Arsh)
57+
58+
759
## [1.23.0] - 2025-10-13
860

961
### 🐛 Bug Fixes

apps/oxlint/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxlint"
3-
version = "1.23.0"
3+
version = "1.24.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

apps/oxlint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oxlint",
3-
"version": "1.23.0",
3+
"version": "1.24.0",
44
"type": "module",
55
"main": "dist/index.js",
66
"bin": "dist/cli.js",

apps/oxlint/src-js/bindings.js

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

crates/oxc_language_server/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
66

7+
## [1.24.0] - 2025-10-22
8+
9+
### 🚀 Features
10+
11+
- e3d65c3 language_server: Search both .json and .jsonc config file (#14868) (Sysix)
12+
- 2609c74 language_server: Watch for `fmt.configPath` file content change (#14509) (Sysix)
13+
- fec2ed9 oxfmt: Use Prettier style config key and value (#14612) (leaysgur)
14+
- 1b58521 oxfmt,language_server: Enable JSX for all JS source type (#14605) (leaysgur)
15+
16+
### 🐛 Bug Fixes
17+
18+
- 644dfd4 language_server: Make unused directives fixable again (#14872) (Sysix)
19+
- e560cc1 language_server: Fix panic when "disable rule for this line" position is after error span (#14597) (Sysix)
20+
21+
### 🚜 Refactor
22+
23+
- 699c91c language_server: Improve file watching for different tools (#14645) (Sysix)
24+
- 3bfb8e1 linter: Make `Message.span` public (#14601) (Sysix)
25+
- 9a589ca language_server: Use Message span for Diagnostic's Range (#14600) (Sysix)
26+
- b301795 linter: Remove unused allocator param in `Runtime` for LSP & tests (#14489) (Sysix)
27+
28+
### ⚡ Performance
29+
30+
- df48416 language_server: Return `Diagnostic` when relinting all files (#14737) (Sysix)
31+
- 22ee19f language_server: Avoid creating HashMap in `Backend::did_change_configuration` (#14736) (Sysix)
32+
- ed922ec language_server: Avoid creating HashMap in `Backend::did_change_watched_files` (#14735) (Sysix)
33+
34+
735
## [1.23.0] - 2025-10-13
836

937
### 🚀 Features

crates/oxc_language_server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_language_server"
3-
version = "1.23.0"
3+
version = "1.24.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_linter/CHANGELOG.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,102 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
66

7+
## [1.24.0] - 2025-10-22
8+
9+
### 🚀 Features
10+
11+
- dd1fdd4 linter: Add react/forbid-dom-props rule (#14365) (Mikhail Baev)
12+
- 8b02074 linter: Merge vitest/prefer-to-be rule into existing jest/prefer-to-be rule implementation (#14738) (Tyler Earls)
13+
- ba6517b linter: Add `no-warning-comments` rule (#14734) (Iván Ovejero)
14+
- 5858641 linter: Implement constructor-super rule (#14506) (Tyler Earls)
15+
- ae2003c semantic: Add `symbol_id` to ts function type binding idents (#14673) (camc314)
16+
- 9cd7a67 linter/no-unused-vars: Support `ignoreUsingDeclarations` option (#14632) (camc314)
17+
18+
### 🐛 Bug Fixes
19+
20+
- 831974f linter: Postmessage is not called on window (#14192) (Kenzo Wada)
21+
- 801e1d1 linter: Error on unexpected tokens when declaring lint rule (#14881) (howen)
22+
- dc03c3a linter/no-invalid-fetch-options: Ignore non static method (#14806) (camc314)
23+
- 28e76ec oxlint: Resolving JS plugin failing when `extends` is used (#14556) (camc314)
24+
- aa562f7 linter/no-unused-private-class-members: Fix false positive in default param (#14801) (camc314)
25+
- ad12974 linter: `no-unused-vars`: allow updates in for loop test/update (#14766) (camchenry)
26+
- 78ee7b8 linter/plugins: Handle utf16 characters within comment spans (#14768) (Arsh)
27+
- c69201c linter: Copy over js plugins when applying overrides (#14542) (Arsh)
28+
- 6bb9902 linter: Improve `jest/no_export` heuristic (#14620) (Arsh)
29+
- c8ea37d linter: `unicorn/filename-case` report only on the first js block for `astro`, `vue` and `svelte` files (#14599) (Sysix)
30+
- baab7eb semantic: Fix quote handling in jsdoc parser(#13776) (#14561) (Li Wei)
31+
32+
### 🚜 Refactor
33+
34+
- 1e93ceb linter/no-unwanted-polyfillio: Move `NEXT_POLYFILLED_FEATURES` to shared utils (#14793) (shulaoda)
35+
- 3bfb8e1 linter: Make `Message.span` public (#14601) (Sysix)
36+
- 544c092 linter/no-process-env: Restructure match to improve generated node types (#14643) (camc314)
37+
- 90f5f89 linter: Remove `run_on_symbol` (#14610) (camchenry)
38+
- b301795 linter: Remove unused allocator param in `Runtime` for LSP & tests (#14489) (Sysix)
39+
40+
### 📚 Documentation
41+
42+
- 3f1c3c7 linter: Add documentation on `ignoreRestSiblings` option for `no-unused-vars` rule (#14807) (howen)
43+
- 9cd4160 linter: Fix documentation formatting for max_params options (#14744) (Connor Shea)
44+
- cbdf261 linter: Document no-shadow-restricted-names rule config options. (#14843) (Connor Shea)
45+
- a6f720b linter: Expose use-isnan rule config options. (#14844) (Connor Shea)
46+
- 7dc609b linter: Add docs for no-param-reassign config options. (#14849) (Connor Shea)
47+
- 983c31c linter: Improve the Options documentation for no-empty-function rule (#14789) (Connor Shea)
48+
- 77e4b30 linter: Add autogen doc support for max_nested_describe in jest plugin. (#14797) (Connor Shea)
49+
- b6402dd linter: Move documentation comments for the valid-typeof rule to the struct (#14841) (Connor Shea)
50+
- a02567f linter: Update no-invalid-regexp rule to expose documentation for config options (#14838) (Connor Shea)
51+
- ebca4a6 linter: Update no-plusplus rule to expose documentation for config options (#14837) (Connor Shea)
52+
- 1665ab4 linter: Add doc comments for func_style options. (#14847) (Connor Shea)
53+
- b1fb269 linter: Add configuration docs info for import/namespace rule (#14799) (Connor Shea)
54+
- c80da95 linter: Add configuration docs to no-useless-escape lint rule. (#14791) (Connor Shea)
55+
- 7b64f27 linter: Improve `no-plusplus` and `no-irregular-whitespace` rule docs (#14790) (Connor Shea)
56+
57+
### ⚡ Performance
58+
59+
- 11b055e linter: `no-unused-private-class-members`: only run when there are any classes (#14869) (camchenry)
60+
- 5493278 linter: `no-dupe-class-members`: only run when there are any classes (#14867) (camchenry)
61+
- ef53462 linter: `no-this-before-super`: only run when file contains super or this (#14866) (camchenry)
62+
- 19d168a linter: `max-classes-per-file`: skip when no classes (#14865) (camchenry)
63+
- b8f8ce5 linter: `id-length`: reduce allocations and add more ASCII checks (#14821) (camchenry)
64+
- bb4347c linter: Use precomputed extension (#14819) (camchenry)
65+
- 92b4302 linter: `id-length`: check if ident is ASCII before segmenting (#14767) (camchenry)
66+
- 7be9489 linter: Cache file extension (#14794) (camchenry)
67+
- 86ecae1 linter: Remove simple `phf_map!` calls (#14701) (camchenry)
68+
- 2fe9dfa linter: Update `prefer-node-protocol` to use diverging match (#14699) (camchenry)
69+
- 07db921 linter: Update `catch-error-name` to use top-level match (#14698) (camchenry)
70+
- 2582a50 linter: Update `no-extra-non-null-assertion` to use diverging match (#14697) (camchenry)
71+
- 231bac0 linter: Update `typescript/array-type` to only have top-level match (#14696) (camchenry)
72+
- 6b9b972 linter: Refactor `jsdoc/require-yields` to deref instead of `self.0` (#14695) (camchenry)
73+
- 9ac561c linter: Inline `is_function_node` calls for some jsdoc rules (#14694) (camchenry)
74+
- 5e014cb linter: Refactor `jest/require-hook` to use top-level match (#14693) (camchenry)
75+
- c8d775c linter: Refactor `jest/no-conditional-in-test` to use diverging match (#14692) (camchenry)
76+
- b666c26 linter: Move root scope check into match arms in `import/no-webpack-loader-syntax` (#14691) (camchenry)
77+
- be33a15 linter: Refactor `no-amd` to do scope check after node type check (#14690) (camchenry)
78+
- 71cfeaa linter: Refactor `no-unsafe-finally` to have a diverging match as first statement (#14689) (camchenry)
79+
- 801bb10 linter: Refactor `no-labels` to use top-level match on node kind (#14688) (camchenry)
80+
- 1217411 linter: Refactor class-methods-use-this to be analyzed (#14687) (camchenry)
81+
- f830bea linter: Add codegen support for `is_member_expression_kind` in match (#14677) (camchenry)
82+
- 400a99a linter: Switch `if !matches!(node.kind(), ...)` to match block (#14650) (camchenry)
83+
- f2c33f5 linter: Rearrange rules for node type analysis (#14648) (camchenry)
84+
- 73f2cbb linter: Support getting `as_member_expression_kind()` variants (#14642) (camchenry)
85+
- 58e17ae linter: Only check for call expr once in `unicorn/no-array-method-this` (#14641) (camchenry)
86+
- 12a9934 linter: Detect diverging match blocks for node type skipping (#14631) (camchenry)
87+
- 82196e7 linter: Update `react/prefer-es6-class` to use top-level match (#14630) (camchenry)
88+
- 48e3348 linter: Update linter codegen to support wildcard with empty tuple (#14611) (camchenry)
89+
- 0485859 linter: Update `no-const-assign` to run on nodes instead of symbols (#14609) (camchenry)
90+
- 976bde0 linter: Run `next/no-duplicate-head` on nodes instead of symbols (#14607) (camchenry)
91+
- c821c50 linter: Switch `no-param-reassign` to run on nodes (#14604) (camchenry)
92+
- 676ee99 linter: Run `no-class-assign` on class nodes instead of symbols (#14578) (camchenry)
93+
- 463be73 linter: Support `as_*` for node type codegen (#14582) (camchenry)
94+
- 8df1e24 linter: Use top-level match for `const-comparisons` (#14581) (camchenry)
95+
96+
### 🧪 Testing
97+
98+
- a64180e linter/no-fallthrough: Add another test case with logical expr (#14832) (camc314)
99+
- 1fcf56c linter/no-fallthrough: Add test for switch with logical operators + break (#14811) (camc314)
100+
- cd9ef3e linter: Add test case with function params in no-const-assign (#14674) (camc314)
101+
102+
7103
## [1.23.0] - 2025-10-13
8104

9105
### 🚀 Features

crates/oxc_linter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_linter"
3-
version = "1.23.0"
3+
version = "1.24.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

editors/vscode/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
66

7+
## [1.24.0] - 2025-10-22
8+
9+
### 🚀 Features
10+
11+
- 8b322d4 editor: Support `oxc.fmt.configPath` configuration (#14639) (Sysix)
12+
13+
### 🐛 Bug Fixes
14+
15+
- 644dfd4 language_server: Make unused directives fixable again (#14872) (Sysix)
16+
17+
### 🧪 Testing
18+
19+
- faada4d editor: Reduce sleep time (#14749) (Sysix)
20+
21+
722

823

924

0 commit comments

Comments
 (0)