Skip to content

Commit 4bf6f69

Browse files
Boshencamc314
andauthored
release(oxlint): v1.20.0 (#14381)
## [1.20.0] - 2025-10-06 ### 🚀 Features - d16df93 linter: Support disable directives for type aware rules (#14052) (camc314) - f5c6acc linter: Add `vue/no-export-in-script-setup` rule (#14307) (Sysix) - 353b153 linter: Implement eslint/no-param-reassign rule (#14341) (Matthew Davis) - a2914fe linter/plugins: Add `loc` field getter to all AST nodes (#14355) (overlookmotel) - 07193c2 linter/plugins: Implement `SourceCode#getAncestors` (#14346) (overlookmotel) - c8de6fe linter/plugins: Add `parent` field to AST nodes (#14345) (overlookmotel) - 5505a86 linter/plugins: Include `range` field in AST (#14321) (overlookmotel) - 3656908 rust: Oxc-index-vec v4.0 (#14254) (Boshen) - 1347de4 linter/plugins: Accept diagnostics with `loc` (#14304) (overlookmotel) - aefc8b3 linter/plugins: Implement `SourceCode#getIndexFromLoc` and `getLocFromIndex` (#14303) (overlookmotel) - 93807db linter/plugins: Implement `SourceCode#lines` property (#14290) (overlookmotel) - 2f8c985 linter/plugins: Implement `SourceCode#visitorKeys` property (#14289) (overlookmotel) - b69028f linter/plugins: Implement `SourceCode#ast` property (#14287) (overlookmotel) - d8d3d18 linter: Add `vue/prefer-import-from-vue` rule (#14284) (Sysix) - f0e760b linter: Add `vue/define-props-destructuring` rule (#14272) (Sysix) - bdf9010 linter/plugins: Add `SourceCode` API (#14281) (overlookmotel) - 7f450fc linter/unicorn: Implement require-module-specifiers (#13089) (keita hino) - a1e7154 linter/unicorn: Implement prefer-classlist-toggle (#14262) (camc314) - 8217dce linter/unicorn: Implement no-unnecessary-array-splice-count (#14255) (camc314) - 3d5db4a linter/unicorn: Implement no-useless-error-capture-stack-trace (#14222) (camc314) - b3b482a linter/unicorn: Implement prefer-top-level-await (#14247) (camc314) - 7931be8 linter/unicorn: Implement prefer-class-fields (#14245) (camc314) - a39434a linter/unicorn: Implement prefer-at (#14232) (camc314) ### 🐛 Bug Fixes - e605222 linter/no-useless-undefined: Correctly respect `checkArguments` option (#14369) (camc314) - f1bc608 linter: Fix flaky import/no_cycle test (#14328) (Boshen) - 9a902c0 linter/plugins: Make `range` field non-optional on AST types (#14354) (overlookmotel) - 0a42d7f tsgolint: Report errors if we fail to parse tsgolint diagnostic messages (#14301) (camc314) - 42f8d7e linter/react-hooks: Fix diagnostic message for literal in dependency array (#14266) (camc314) - ece91c5 linter/react-hooks: Fix diagnostic message for duplicate dependency in array (#14265) (camc314) - 864fa0e linter/no-unused-expression: False positive with satisfies expressions (#14259) (camc314) - adff069 language_server: Don't apply "ignore this rule" fixes for fixAll code action + command (#14243) (Sysix) - 46cceb8 linter/rules-of-hooks: Correctly place primary span to fix disable directive (#14237) (camc314) ### 🚜 Refactor - 1489376 napi/parser, linter/plugins: Minify walker code (#14376) (overlookmotel) - c8eeeb5 linter/plugins: Remove build-time dependency on `napi/parser` (#14374) (overlookmotel) - fb1a067 linter/plugins: Bundle walker and AST types map (#14373) (overlookmotel) - 93d8164 linter/plugins: Export AST types direct from `oxlint` package (#14353) (overlookmotel) - 230d996 linter/plugins: `SourceCode#getText` use `range` (#14352) (overlookmotel) - 6e52bbd linter/plugins: Move location-related code into separate file (#14350) (overlookmotel) - 13f1003 linter/plugins: Share `ast` between files (#14349) (overlookmotel) - 00dde41 tsgolint: Make parsing `TsGoLintMessage` parsing errors an enum (#14300) (camc314) - fc314f5 tsgolint: Make `MessageType` parsing more idomatic (#14299) (camc314) - a24c36e language-server/tsgolint: Use an iterator for tsgolint message parsing (#14298) (camc314) - 8be432a tsgolint: Use an iterator for tsgolint message parsing (#14297) (camc314) - 57daa54 tsgolint: Remove always `Some` option wrapper (#14296) (camc314) - 79eadf8 linter: Introduce `LintRunner` (#14051) (camc314) - 65873ba linter/plugins: Add stubs for all `SourceCode` methods (#14285) (overlookmotel) - 989ce2f linter/plugins: Convert `Node` type to interface (#14280) (overlookmotel) - 891fc47 language_server: Share code for command `oxc.fixAll` and code action `source.fixAll.oxc` (#14244) (Sysix) - 7fe930c language_server: Remove unused fixture files (#14246) (Sysix) - 2b2c345 language-server: Move `generate_inverted_diagnostics` to `error_with_position` (#14118) (camc314) ### ⚡ Performance - fa3712d language_server: Create less `ExternalPluginStore`s (#14378) (overlookmotel) - e75d42d napi/parser, linter/plugins: Remove runtime `preserveParens` option from raw transfer deserializers (#14338) (overlookmotel) - 2e57351 linter/plugins: Initialize `lineStartOffsets` as `[0]` (#14302) (overlookmotel) - c27a393 linter/plugins: Deserialize AST on demand (#14288) (overlookmotel) - 95a8cc4 linter/plugins: Use singleton for `SourceCode` (#14286) (overlookmotel) ### 🧪 Testing - 0061ce7 linter: Add more tests for disable directives in partial loadable files (#14371) (camc314) - 1387aaa linter/plugins: Test `createOnce` returning no visitor functions (#14279) (overlookmotel) - 55ebb8b linter: Add test for `disable_for_this_section` fix (#14240) (Sysix) - a7e8662 linter: Port unicorn test cases to no-named-default (#14239) (camc314) Co-authored-by: camc314 <18101008+camc314@users.noreply.github.com>
1 parent d16df93 commit 4bf6f69

File tree

13 files changed

+231
-61
lines changed

13 files changed

+231
-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: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,100 @@ 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.20.0] - 2025-10-06
8+
9+
### 🚀 Features
10+
11+
- d16df93 linter: Support disable directives for type aware rules (#14052) (camc314)
12+
- a2914fe linter/plugins: Add `loc` field getter to all AST nodes (#14355) (overlookmotel)
13+
- 07193c2 linter/plugins: Implement `SourceCode#getAncestors` (#14346) (overlookmotel)
14+
- c8de6fe linter/plugins: Add `parent` field to AST nodes (#14345) (overlookmotel)
15+
- 5505a86 linter/plugins: Include `range` field in AST (#14321) (overlookmotel)
16+
- 1347de4 linter/plugins: Accept diagnostics with `loc` (#14304) (overlookmotel)
17+
- aefc8b3 linter/plugins: Implement `SourceCode#getIndexFromLoc` and `getLocFromIndex` (#14303) (overlookmotel)
18+
- 93807db linter/plugins: Implement `SourceCode#lines` property (#14290) (overlookmotel)
19+
- 2f8c985 linter/plugins: Implement `SourceCode#visitorKeys` property (#14289) (overlookmotel)
20+
- b69028f linter/plugins: Implement `SourceCode#ast` property (#14287) (overlookmotel)
21+
- bdf9010 linter/plugins: Add `SourceCode` API (#14281) (overlookmotel)
22+
23+
### 🐛 Bug Fixes
24+
25+
- 9a902c0 linter/plugins: Make `range` field non-optional on AST types (#14354) (overlookmotel)
26+
- 46cceb8 linter/rules-of-hooks: Correctly place primary span to fix disable directive (#14237) (camc314)
27+
28+
### 🚜 Refactor
29+
30+
- 1489376 napi/parser, linter/plugins: Minify walker code (#14376) (overlookmotel)
31+
- c8eeeb5 linter/plugins: Remove build-time dependency on `napi/parser` (#14374) (overlookmotel)
32+
- fb1a067 linter/plugins: Bundle walker and AST types map (#14373) (overlookmotel)
33+
- 93d8164 linter/plugins: Export AST types direct from `oxlint` package (#14353) (overlookmotel)
34+
- 230d996 linter/plugins: `SourceCode#getText` use `range` (#14352) (overlookmotel)
35+
- 6e52bbd linter/plugins: Move location-related code into separate file (#14350) (overlookmotel)
36+
- 13f1003 linter/plugins: Share `ast` between files (#14349) (overlookmotel)
37+
- 79eadf8 linter: Introduce `LintRunner` (#14051) (camc314)
38+
- 65873ba linter/plugins: Add stubs for all `SourceCode` methods (#14285) (overlookmotel)
39+
- 989ce2f linter/plugins: Convert `Node` type to interface (#14280) (overlookmotel)
40+
41+
### ⚡ Performance
42+
43+
- e75d42d napi/parser, linter/plugins: Remove runtime `preserveParens` option from raw transfer deserializers (#14338) (overlookmotel)
44+
- 2e57351 linter/plugins: Initialize `lineStartOffsets` as `[0]` (#14302) (overlookmotel)
45+
- c27a393 linter/plugins: Deserialize AST on demand (#14288) (overlookmotel)
46+
- 95a8cc4 linter/plugins: Use singleton for `SourceCode` (#14286) (overlookmotel)
47+
48+
### 🧪 Testing
49+
50+
- 0061ce7 linter: Add more tests for disable directives in partial loadable files (#14371) (camc314)
51+
- 1387aaa linter/plugins: Test `createOnce` returning no visitor functions (#14279) (overlookmotel)
52+
53+
54+
## [1.20.0] - 2025-10-06
55+
56+
### 🚀 Features
57+
58+
- d16df93 linter: Support disable directives for type aware rules (#14052) (camc314)
59+
- a2914fe linter/plugins: Add `loc` field getter to all AST nodes (#14355) (overlookmotel)
60+
- 07193c2 linter/plugins: Implement `SourceCode#getAncestors` (#14346) (overlookmotel)
61+
- c8de6fe linter/plugins: Add `parent` field to AST nodes (#14345) (overlookmotel)
62+
- 5505a86 linter/plugins: Include `range` field in AST (#14321) (overlookmotel)
63+
- 1347de4 linter/plugins: Accept diagnostics with `loc` (#14304) (overlookmotel)
64+
- aefc8b3 linter/plugins: Implement `SourceCode#getIndexFromLoc` and `getLocFromIndex` (#14303) (overlookmotel)
65+
- 93807db linter/plugins: Implement `SourceCode#lines` property (#14290) (overlookmotel)
66+
- 2f8c985 linter/plugins: Implement `SourceCode#visitorKeys` property (#14289) (overlookmotel)
67+
- b69028f linter/plugins: Implement `SourceCode#ast` property (#14287) (overlookmotel)
68+
- bdf9010 linter/plugins: Add `SourceCode` API (#14281) (overlookmotel)
69+
70+
### 🐛 Bug Fixes
71+
72+
- 9a902c0 linter/plugins: Make `range` field non-optional on AST types (#14354) (overlookmotel)
73+
- 46cceb8 linter/rules-of-hooks: Correctly place primary span to fix disable directive (#14237) (camc314)
74+
75+
### 🚜 Refactor
76+
77+
- 1489376 napi/parser, linter/plugins: Minify walker code (#14376) (overlookmotel)
78+
- c8eeeb5 linter/plugins: Remove build-time dependency on `napi/parser` (#14374) (overlookmotel)
79+
- fb1a067 linter/plugins: Bundle walker and AST types map (#14373) (overlookmotel)
80+
- 93d8164 linter/plugins: Export AST types direct from `oxlint` package (#14353) (overlookmotel)
81+
- 230d996 linter/plugins: `SourceCode#getText` use `range` (#14352) (overlookmotel)
82+
- 6e52bbd linter/plugins: Move location-related code into separate file (#14350) (overlookmotel)
83+
- 13f1003 linter/plugins: Share `ast` between files (#14349) (overlookmotel)
84+
- 79eadf8 linter: Introduce `LintRunner` (#14051) (camc314)
85+
- 65873ba linter/plugins: Add stubs for all `SourceCode` methods (#14285) (overlookmotel)
86+
- 989ce2f linter/plugins: Convert `Node` type to interface (#14280) (overlookmotel)
87+
88+
### ⚡ Performance
89+
90+
- e75d42d napi/parser, linter/plugins: Remove runtime `preserveParens` option from raw transfer deserializers (#14338) (overlookmotel)
91+
- 2e57351 linter/plugins: Initialize `lineStartOffsets` as `[0]` (#14302) (overlookmotel)
92+
- c27a393 linter/plugins: Deserialize AST on demand (#14288) (overlookmotel)
93+
- 95a8cc4 linter/plugins: Use singleton for `SourceCode` (#14286) (overlookmotel)
94+
95+
### 🧪 Testing
96+
97+
- 0061ce7 linter: Add more tests for disable directives in partial loadable files (#14371) (camc314)
98+
- 1387aaa linter/plugins: Test `createOnce` returning no visitor functions (#14279) (overlookmotel)
99+
100+
7101
## [1.19.0] - 2025-09-29
8102

9103
### 🚀 Features

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.19.0"
3+
version = "1.20.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.19.0",
3+
"version": "1.20.0",
44
"type": "module",
55
"main": "dist/index.js",
66
"bin": "dist/cli.js",

0 commit comments

Comments
 (0)