Skip to content

Commit 2a001a0

Browse files
oxc-botBoshen
andauthored
Release oxlint v0.9.0 (#5219)
## [0.9.0] - 2024-08-26 - 5946748 linter: [**BREAKING**] Parse and display syntax errors for regular expressions (#5214) (Boshen) - b894d3b linter: [**BREAKING**] Make `no-unused-vars` correctness (#5081) (DonIsaac) ### Features - 1ce9630 linter/config: Implement FromIterator for LintPluginOptions (#5102) (DonIsaac) - 34bfaf6 linter/react: Add fixer to `jsx-props-no-spread-multi` (#5145) (camc314) - 982bd6e linter/unicorn: Add fixer to `require-array-join-separator` (#5152) (camc314) - a6704bd linter/unicorn: Add fixer to `prefer-set-size` (#5149) (camc314) - ac7edcc linter/unicorn: Add fixer to `prefer-array-some` (#5153) (camc314) - 1d01aa3 linter/unicorn: Add partial fixer for `prefer-array-flat` (#5143) (camc314) - 22d57f9 linter/unicorn: Add fixer to `prefer-string-slice` (#5150) (Cameron) - 2fe4415 linter/unicorn: Add fixer to `no-redundant-roles` (#5146) (Cameron) - d35c6f5 linter/unicorn: Add fixer to `prefer-regexp-test` (#5151) (Cameron) - 27db769 linter/unicorn: Add fixer to `text-encoding-identifier-case` (#5154) (Cameron) - f7958c4 linter/unicorn: Add prefer-structured-clone (#5095) (Jelle van der Waa) - 004ffa0 linter/vitest: Implement `prefer-each` (#5203) (dalaoshu) ### Bug Fixes - aaaf26c linter: Error in fixer for prefer-to-have-length (#5197) (dalaoshu) - 1f5b6b6 linter: Bug in fixer for prefer-to-have-length (#5164) (dalaoshu) - 7eb052e linter: `no-hex-escape` fixer removing regex flags (#5137) (Cameron) - 76c66b4 linter/max-lines: Point span to end of file for disable directive to work (#5117) (Boshen) - 8ff6f2c linter/no-unused-vars: Panic on UsingDeclarations (#5206) (DonIsaac) - d29042e linter/no-unused-vars: Function expression in implicit arrow function return (#5155) (DonIsaac) - 36e4a28 linter/no-unused-vars: Panic in variable declarator usage checks (#5160) (DonIsaac) - ba62a71 linter/react: Fixed false positive with missing key inside React.Children.toArray() for fragments (#5133) (Earl Chase) - fd1031a linter/unicorn: Breaking fixer in case statements for `no-null` (#5176) (DonIsaac) - 7b86ed6 linter/unicorn: Handle type casts and parens in `no-null` (#5175) (Don Isaac) - b629e16 linter/unicorn: Improve diagnostic message for `no-null` (#5172) (DonIsaac) ### Performance - ce454cf Use simdutf8 to validate UTF-8 when reading files (#5196) (dalaoshu) ### Refactor - 543cad6 codegen: Remove some pub APIs (Boshen) - 0d3661a linter: Remove meaningless `span0` (#5209) (dalaoshu) - 2a91ef1 linter: `eslint/no_redeclare` rule use `run_on_symbol` not `run_once` (#5201) (overlookmotel) - 33599b0 linter: Split options into multiple files (#5101) (DonIsaac) - 7ab6152 linter/unicorn: Clean up `no-null` (#5174) (DonIsaac) ### Testing - a877e5a linter/no-unused-vars: Ensure type annotations on property accessors are considered used (#5183) (DonIsaac) - 7886618 linter/unicorn: Add fixer tests for `no-null` (#5173) (DonIsaac) Co-authored-by: Boshen <[email protected]>
1 parent d4c3778 commit 2a001a0

File tree

7 files changed

+65
-7
lines changed

7 files changed

+65
-7
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/oxlint/CHANGELOG.md

+7
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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.
66

7+
## [0.9.0] - 2024-08-26
8+
9+
- b894d3b linter: [**BREAKING**] Make `no-unused-vars` correctness (#5081) (DonIsaac)
10+
11+
### Features
12+
13+
714
## [0.7.2] - 2024-08-15
815

916
### Documentation

apps/oxlint/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxlint"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
publish = false
55
authors.workspace = true
66
description.workspace = true

crates/oxc_linter/CHANGELOG.md

+51
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,57 @@ 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/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.
66

7+
## [0.9.0] - 2024-08-26
8+
9+
- 5946748 linter: [**BREAKING**] Parse and display syntax errors for regular expressions (#5214) (Boshen)
10+
11+
- b894d3b linter: [**BREAKING**] Make `no-unused-vars` correctness (#5081) (DonIsaac)
12+
13+
### Features
14+
15+
- 1ce9630 linter/config: Implement FromIterator for LintPluginOptions (#5102) (DonIsaac)
16+
- 34bfaf6 linter/react: Add fixer to `jsx-props-no-spread-multi` (#5145) (camc314)
17+
- 982bd6e linter/unicorn: Add fixer to `require-array-join-separator` (#5152) (camc314)
18+
- a6704bd linter/unicorn: Add fixer to `prefer-set-size` (#5149) (camc314)
19+
- ac7edcc linter/unicorn: Add fixer to `prefer-array-some` (#5153) (camc314)
20+
- 1d01aa3 linter/unicorn: Add partial fixer for `prefer-array-flat` (#5143) (camc314)
21+
- 22d57f9 linter/unicorn: Add fixer to `prefer-string-slice` (#5150) (Cameron)
22+
- 2fe4415 linter/unicorn: Add fixer to `no-redundant-roles` (#5146) (Cameron)
23+
- d35c6f5 linter/unicorn: Add fixer to `prefer-regexp-test` (#5151) (Cameron)
24+
- 27db769 linter/unicorn: Add fixer to `text-encoding-identifier-case` (#5154) (Cameron)
25+
- f7958c4 linter/unicorn: Add prefer-structured-clone (#5095) (Jelle van der Waa)
26+
- 004ffa0 linter/vitest: Implement `prefer-each` (#5203) (dalaoshu)
27+
28+
### Bug Fixes
29+
30+
- aaaf26c linter: Error in fixer for prefer-to-have-length (#5197) (dalaoshu)
31+
- 1f5b6b6 linter: Bug in fixer for prefer-to-have-length (#5164) (dalaoshu)
32+
- 7eb052e linter: `no-hex-escape` fixer removing regex flags (#5137) (Cameron)
33+
- 76c66b4 linter/max-lines: Point span to end of file for disable directive to work (#5117) (Boshen)
34+
- 8ff6f2c linter/no-unused-vars: Panic on UsingDeclarations (#5206) (DonIsaac)
35+
- d29042e linter/no-unused-vars: Function expression in implicit arrow function return (#5155) (DonIsaac)
36+
- 36e4a28 linter/no-unused-vars: Panic in variable declarator usage checks (#5160) (DonIsaac)
37+
- ba62a71 linter/react: Fixed false positive with missing key inside React.Children.toArray() for fragments (#5133) (Earl Chase)
38+
- fd1031a linter/unicorn: Breaking fixer in case statements for `no-null` (#5176) (DonIsaac)
39+
- 7b86ed6 linter/unicorn: Handle type casts and parens in `no-null` (#5175) (Don Isaac)
40+
- b629e16 linter/unicorn: Improve diagnostic message for `no-null` (#5172) (DonIsaac)
41+
42+
### Performance
43+
- ce454cf Use simdutf8 to validate UTF-8 when reading files (#5196) (dalaoshu)
44+
45+
### Refactor
46+
47+
- 543cad6 codegen: Remove some pub APIs (Boshen)
48+
- 0d3661a linter: Remove meaningless `span0` (#5209) (dalaoshu)
49+
- 2a91ef1 linter: `eslint/no_redeclare` rule use `run_on_symbol` not `run_once` (#5201) (overlookmotel)
50+
- 33599b0 linter: Split options into multiple files (#5101) (DonIsaac)
51+
- 7ab6152 linter/unicorn: Clean up `no-null` (#5174) (DonIsaac)
52+
53+
### Testing
54+
55+
- a877e5a linter/no-unused-vars: Ensure type annotations on property accessors are considered used (#5183) (DonIsaac)
56+
- 7886618 linter/unicorn: Add fixer tests for `no-null` (#5173) (DonIsaac)
57+
758
## [0.8.0] - 2024-08-23
859

960
- 5f4c9ab semantic: [**BREAKING**] Rename `SymbolTable::get_flag` to `get_flags` (#5030) (overlookmotel)

crates/oxc_linter/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_linter"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
publish = false
55
authors.workspace = true
66
description.workspace = true

editors/vscode/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "oxc vscode extension",
44
"packageManager": "[email protected]",
55
"license": "MIT",
6-
"version": "0.8.0",
6+
"version": "0.9.0",
77
"icon": "icon.png",
88
"publisher": "oxc",
99
"displayName": "Oxc",
@@ -155,4 +155,4 @@
155155
"vsce": {
156156
"dependencies": false
157157
}
158-
}
158+
}

npm/oxlint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oxlint",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"description": "Linter for the JavaScript Oxidation Compiler",
55
"keywords": [],
66
"author": "Boshen and oxc contributors",

0 commit comments

Comments
 (0)