@@ -4,6 +4,100 @@ All notable changes to this package will be documented in this file.
44
55The 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
0 commit comments