Skip to content

Commit 6eacee2

Browse files
oxc-botBoshen
andauthored
release(oxlint): v1.2.0 (#11801)
## [1.2.0] - 2025-06-19 ### 🚀 Features - 8c341a2 sema/check: Ts setters cannot have initializers (#11695) (Don Isaac) - 38dc614 oxc_linter: Reuse allocators (#11736) (camc314) - bf8263d playground: Allow specifying a JSON string as the linter config (#11710) (Nicholas Rayburn) - 0b4261b vscode: Add `oxc.requireConfig` configuration (#11700) (Sysix) - 52ecc87 linter: Implement import/extensions (#11548) (Tyler Earls) - 094b81c language_server: Add `unusedDisableDirectives` option (#11645) (Sysix) ### 🐛 Bug Fixes - 3d88eeb linter/no-console: False negative when `console.*` methods are used as args to functions (#11790) (camc314) - c80e405 linter/no-new-wrappers: Fix panic in fixer with multi byte chars (#11773) (camc314) - e58a0b0 linter: Panic in unicorn/consistent-function-scoping (#11772) (camc314) - 80c87d4 linter: Typo in typescript/consistent-index-object-style (#11744) (camc314) - ff775e9 linter/consistent-function-scoping: Descriptive diagnostic labels (#11682) (Don Isaac) - 989634a linter/no-inner-declaration: False negative with for loops (#11692) (camc314) - b272b91 linter/no-undef: False negative with unresolved ref after type ref (#11721) (camc314) - 6252275 linter: Panic in import/extensions with empty file names (#11720) (camc314) - f34e432 linter: Use fixer::noop in dangerous cases for eslint/no-var (#11693) (camc314) - 6c2b41c linter/consistent-function-scoping: Allow functions in TS modules/namespaces (#11681) (Don Isaac) - 2ca1c70 linter/exhaustive-deps: False positive with TS Non null assertion operator (#11690) (camc314) - ee15f7d linter: False negative in typescript/prefer-function-type (#11674) (camc314) - abd0441 linter: Add missing menuitemradio and menutitemcheckbox roles (#11651) (Daniel Flynn) - 8776301 linter/no-inner-declarations: Flag `var` statement as body of `for` loop (#11632) (overlookmotel) ### 🚜 Refactor - 5ca3d04 ast: Add `TSArrayType` as `AstKind` (#11745) (camchenry) - abdbaa9 language_server: Use rule name directly from OxcCode instead of parsing out of the stringified version of OxcCode (#11714) (Nicholas Rayburn) - 219adcc ast: Don't generate AstKind for ArrayExpressionElement (#11684) (Ulrich Stark) - c1be6b8 linter: Shorten Span construction (#11686) (Ulrich Stark) - 4ca659c linter: Cleanup typescript/prefer-function-type (#11672) (Brad Dunbar) - 8e30c5f ast: Don't generate AstKind for ForStatementInit (#11617) (Ulrich Stark) ### 📚 Documentation - ea6ce9d linter: Fix typo in import/no-namespace (#11741) (camc314) - 8b6076e linter: Document options for the `typescript/array-type` rule (#11665) (yefan) ### ⚡ Performance - f539f64 allocator: Remove `Arc` from `AllocatorPool` (#11760) (overlookmotel) - cfdc518 linter/no-inner-declarations: Move work to cold path (#11746) (overlookmotel) - 7c0fff7 linter: Skip running `consistent-function-scoping` on `.d.ts` files (#11739) (camc314) - b34c6f6 parser,semantic: Improve handling of diagnostics (#11641) (Boshen) - 2cd786b linter/no-inner-declarations: Remove unnecessary code and reduce branches (#11633) (overlookmotel) ### 🧪 Testing - 44a9df8 linter: Update testsuite for `no-undef` (#11706) (Sysix) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
1 parent 08e666f commit 6eacee2

File tree

11 files changed

+88
-8
lines changed

11 files changed

+88
-8
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ 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.2.0] - 2025-06-19
8+
9+
### 🚀 Features
10+
11+
- 38dc614 oxc_linter: Reuse allocators (#11736) (camc314)
12+
13+
714
## [1.1.0] - 2025-06-12
815

916
### 🚀 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.1.0"
3+
version = "1.2.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_language_server/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ 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.2.0] - 2025-06-19
8+
9+
### 🚀 Features
10+
11+
- 38dc614 oxc_linter: Reuse allocators (#11736) (camc314)
12+
- 094b81c language_server: Add `unusedDisableDirectives` option (#11645) (Sysix)
13+
14+
### 🚜 Refactor
15+
16+
- abdbaa9 language_server: Use rule name directly from OxcCode instead of parsing out of the stringified version of OxcCode (#11714) (Nicholas Rayburn)
17+
18+
719

820
## [1.0.0] - 2025-06-10
921

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.1.0"
3+
version = "1.2.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_linter/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.2.0] - 2025-06-19
8+
9+
### 🚀 Features
10+
11+
- 8c341a2 sema/check: Ts setters cannot have initializers (#11695) (Don Isaac)
12+
- 38dc614 oxc_linter: Reuse allocators (#11736) (camc314)
13+
- bf8263d playground: Allow specifying a JSON string as the linter config (#11710) (Nicholas Rayburn)
14+
- 52ecc87 linter: Implement import/extensions (#11548) (Tyler Earls)
15+
16+
### 🐛 Bug Fixes
17+
18+
- 3d88eeb linter/no-console: False negative when `console.*` methods are used as args to functions (#11790) (camc314)
19+
- c80e405 linter/no-new-wrappers: Fix panic in fixer with multi byte chars (#11773) (camc314)
20+
- e58a0b0 linter: Panic in unicorn/consistent-function-scoping (#11772) (camc314)
21+
- 80c87d4 linter: Typo in typescript/consistent-index-object-style (#11744) (camc314)
22+
- ff775e9 linter/consistent-function-scoping: Descriptive diagnostic labels (#11682) (Don Isaac)
23+
- 989634a linter/no-inner-declaration: False negative with for loops (#11692) (camc314)
24+
- b272b91 linter/no-undef: False negative with unresolved ref after type ref (#11721) (camc314)
25+
- 6252275 linter: Panic in import/extensions with empty file names (#11720) (camc314)
26+
- f34e432 linter: Use fixer::noop in dangerous cases for eslint/no-var (#11693) (camc314)
27+
- 6c2b41c linter/consistent-function-scoping: Allow functions in TS modules/namespaces (#11681) (Don Isaac)
28+
- 2ca1c70 linter/exhaustive-deps: False positive with TS Non null assertion operator (#11690) (camc314)
29+
- ee15f7d linter: False negative in typescript/prefer-function-type (#11674) (camc314)
30+
- abd0441 linter: Add missing menuitemradio and menutitemcheckbox roles (#11651) (Daniel Flynn)
31+
- 8776301 linter/no-inner-declarations: Flag `var` statement as body of `for` loop (#11632) (overlookmotel)
32+
33+
### 🚜 Refactor
34+
35+
- 5ca3d04 ast: Add `TSArrayType` as `AstKind` (#11745) (camchenry)
36+
- 219adcc ast: Don't generate AstKind for ArrayExpressionElement (#11684) (Ulrich Stark)
37+
- c1be6b8 linter: Shorten Span construction (#11686) (Ulrich Stark)
38+
- 4ca659c linter: Cleanup typescript/prefer-function-type (#11672) (Brad Dunbar)
39+
- 8e30c5f ast: Don't generate AstKind for ForStatementInit (#11617) (Ulrich Stark)
40+
41+
### 📚 Documentation
42+
43+
- ea6ce9d linter: Fix typo in import/no-namespace (#11741) (camc314)
44+
- 8b6076e linter: Document options for the `typescript/array-type` rule (#11665) (yefan)
45+
46+
### ⚡ Performance
47+
48+
- f539f64 allocator: Remove `Arc` from `AllocatorPool` (#11760) (overlookmotel)
49+
- cfdc518 linter/no-inner-declarations: Move work to cold path (#11746) (overlookmotel)
50+
- 7c0fff7 linter: Skip running `consistent-function-scoping` on `.d.ts` files (#11739) (camc314)
51+
- b34c6f6 parser,semantic: Improve handling of diagnostics (#11641) (Boshen)
52+
- 2cd786b linter/no-inner-declarations: Remove unnecessary code and reduce branches (#11633) (overlookmotel)
53+
54+
### 🧪 Testing
55+
56+
- 44a9df8 linter: Update testsuite for `no-undef` (#11706) (Sysix)
57+
58+
759
## [1.1.0] - 2025-06-12
860

961
### 🚀 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.1.0"
3+
version = "1.2.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

editors/vscode/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ 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.2.0] - 2025-06-19
8+
9+
### 🚀 Features
10+
11+
- 0b4261b vscode: Add `oxc.requireConfig` configuration (#11700) (Sysix)
12+
- 094b81c language_server: Add `unusedDisableDirectives` option (#11645) (Sysix)
13+
14+
715

816
## [1.0.0] - 2025-06-10
917

editors/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "oxc-vscode",
33
"description": "oxc vscode extension",
44
"license": "MIT",
5-
"version": "1.1.0",
5+
"version": "1.2.0",
66
"icon": "icon.png",
77
"publisher": "oxc",
88
"displayName": "Oxc",

npm/oxlint/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
77

88

99

10+
1011
# Changelog
1112

1213
All notable changes to this package will be documented in this file.

0 commit comments

Comments
 (0)