Skip to content

Commit 3ac02fd

Browse files
oxc-botBoshen
andauthored
Release oxlint v0.7.0 (#4657)
## [0.7.0] - 2024-08-05 - 85a7cea semantic: [**BREAKING**] Remove name from `reference` (#4329) (Dunqing) ### Features - aaee07e ast: Add `AstKind::AssignmentTargetPattern`, `AstKind::ArrayAssignmentTarget` and `AstKind::ObjectAssignmentTarget` (#4456) (Dunqing) - 9df7b56 jsx-a11y/no-autofocus: Implement fixer support (#4171) (Jelle van der Waa) - b87bf70 linter: Add fix capabilties to existing lint rules (#4560) (DonIsaac) - ddd8b27 linter: Support conditional fix capabilities (#4559) (DonIsaac) - b952942 linter: Add eslint/no-unused-vars (⭐ attempt 3.2) (#4445) (DonIsaac) - 6543958 linter: Add auto-fix metadata to RuleMeta (#4557) (Don Isaac) - 85e8418 linter: Add react/jsx-curly-brace-presence (#3949) (Don Isaac) - 4c4da56 linter: Add typescript-eslint/prefer-keyword-namespce (#4438) (Aza Walker) - d8c2a83 linter: Eslint-plugin-vitest/no-import-node-test (#4440) (cinchen) - e3b0c40 linter: Eslint-plugin-vitest/no-identical-title (#4422) (cinchen) - c936782 linter: Eslint-plugin-vitest/no-conditional-expect (#4425) (cinchen) - 27fdd69 linter: Eslint-plugin-vitest/no-commented-out-tests (#4424) (cinchen) - 51f5025 linter: Add fixer for unicorn/prefer-string-starts-ends-with (#4378) (DonIsaac) - 3c0c709 linter: Add typescript-eslint/no-extraneous-class (#4357) (Jaden Rodriguez) - 7afa1f0 linter: Support suggestions and dangerous fixes (#4223) (DonIsaac) - acc5729 linter: Eslint-plugin-vitest/expect-expect (#4299) (cinchen) - 2213f93 linter: Eslint-plugin-vitest/no-alias-methods (#4301) (cinchen) - c296bc3 linter/eslint: Implement func-names (#4618) (Alexander S.) - e116ae0 linter/eslint: Implement fixer for prefer-numeric-literals (#4591) (Jelle van der Waa) - eaf834f linter/eslint: Implement prefer-numeric-literals (#4109) (Jelle van der Waa) - db2fd70 linter/eslint-plugin-promise: Implement no-webpack-loader-syntax (#4331) (Jelle van der Waa) - 5f1e070 linter/eslint-plugin-unicorn: Add fixer for prefer-code-point (#4353) (Jelle van der Waa) - ed49e16 linter/eslint-plugin-unicorn: Implement fixer for prefer-dom-node-append (#4306) (Jelle van der Waa) - e2b15ac linter/react: Implement react-jsx-boolean-value (#4613) (Jelle van der Waa) - 68efcd4 linter/react-perf: Handle new objects and arrays in prop assignment patterns (#4396) (DonIsaac) ### Bug Fixes - 368112c ast: Remove `#[visit(ignore)]` from `ExportDefaultDeclarationKind`'s `TSInterfaceDeclaration` (#4497) (Dunqing) - d384f60 ci: Remove unused(?) .html file (#4545) (Yuji Sugiura) - 06aec77 linter: Invalid binary expression with overflow (#4647) (DonIsaac) - b2da22b linter: Invalid tags in rule docs (#4646) (DonIsaac) - 94440ad linter: Panic on invalid lang in `a11y/lang`. (#4630) (rzvxa) - e0b03f8 linter: Improve the boundary for eslint/for-direction (#4590) (heygsc) - 70b8cfa linter: Missing return in no-obj-calls recursion (#4594) (DonIsaac) - fe1356d linter: Change no-unused-vars to nursery (#4588) (DonIsaac) - 72337b1 linter: Change typescript-eslint/no-namespace to restriction (#4539) (Don Isaac) - 732f4e2 linter: Fix `oxlint` allocator cfg (#4527) (overlookmotel) - 289dc39 linter: Overflow in no-obj-calls (#4397) (DonIsaac) - a664715 linter/eslint: Fix invalid regexp in no_regex_spaces test (#4605) (Yuji Sugiura) - 74fa75a linter/eslint: Drop quotes around max-params lint warning (#4608) (Jelle van der Waa) - 9fcd9ae linter/eslint: Fix invalid regexp in no_control_regex test (#4544) (leaysgur) - ac08de8 linter/react_perf: Allow new objects, array, fns, etc in top scope (#4395) (DonIsaac) - 0fba738 npm: SyntaxError caused by optional chaining in low version node (#4650) (heygsc) - 73d2558 oxlint: Fix oxlint failed to build due to missing feature (Boshen) ### Performance - 6ff200d linter: Change react rules and utils to use `Cow` and `CompactStr` instead of `String` (#4603) (DonIsaac) - f259df0 linter: Make img-redundant-alt only build a regex once (#4604) (DonIsaac) - 7585e16 linter: Remove allocations for string comparisons (#4570) (DonIsaac) - b60bdf1 linter: `no_shadow_restricted_names` only look up name in hashmap once (#4472) (overlookmotel) - 81384f5 linter: Avoid unnecessary work in `nextjs:no_duplicate_head` rule (#4465) (overlookmotel) - f7da22d linter: Disable lint rules by file type (#4380) (DonIsaac) - 348c1ad semantic: Remove `span` field from `Reference` (#4464) (overlookmotel) - 6a9f4db semantic: Reduce storage size for symbol redeclarations (#4463) (overlookmotel)- a207923 Replace some CompactStr usages with Cows (#4377) (DonIsaac) ### Refactor - 7a75e0f linter: Use diagnostic codes in lint rules (#4349) (DonIsaac) - ccb1835 semantic: Methods take `Span` as param, not `&Span` (#4470) (overlookmotel) - 7cd53f3 semantic: Var hoisting (#4379) (Dunqing) - c99b3eb syntax: Give `ScopeId` a niche (#4468) (overlookmotel) Co-authored-by: Boshen <[email protected]>
1 parent 1763597 commit 3ac02fd

File tree

8 files changed

+93
-6
lines changed

8 files changed

+93
-6
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

+13
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ 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.7.0] - 2024-08-05
8+
9+
### Features
10+
11+
- b952942 linter: Add eslint/no-unused-vars (⭐ attempt 3.2) (#4445) (DonIsaac)
12+
- 7afa1f0 linter: Support suggestions and dangerous fixes (#4223) (DonIsaac)
13+
14+
### Bug Fixes
15+
16+
- fe1356d linter: Change no-unused-vars to nursery (#4588) (DonIsaac)
17+
- 72337b1 linter: Change typescript-eslint/no-namespace to restriction (#4539) (Don Isaac)
18+
- 732f4e2 linter: Fix `oxlint` allocator cfg (#4527) (overlookmotel)
19+
720
## [0.6.1] - 2024-07-17
821

922
### Features

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.6.1"
3+
version = "0.7.0"
44
publish = false
55
authors.workspace = true
66
description.workspace = true

crates/oxc_linter/CHANGELOG.md

+68
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,74 @@ 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.7.0] - 2024-08-05
8+
9+
- 85a7cea semantic: [**BREAKING**] Remove name from `reference` (#4329) (Dunqing)
10+
11+
### Features
12+
13+
- aaee07e ast: Add `AstKind::AssignmentTargetPattern`, `AstKind::ArrayAssignmentTarget` and `AstKind::ObjectAssignmentTarget` (#4456) (Dunqing)
14+
- 9df7b56 jsx-a11y/no-autofocus: Implement fixer support (#4171) (Jelle van der Waa)
15+
- b87bf70 linter: Add fix capabilties to existing lint rules (#4560) (DonIsaac)
16+
- ddd8b27 linter: Support conditional fix capabilities (#4559) (DonIsaac)
17+
- b952942 linter: Add eslint/no-unused-vars (⭐ attempt 3.2) (#4445) (DonIsaac)
18+
- 6543958 linter: Add auto-fix metadata to RuleMeta (#4557) (Don Isaac)
19+
- 85e8418 linter: Add react/jsx-curly-brace-presence (#3949) (Don Isaac)
20+
- 4c4da56 linter: Add typescript-eslint/prefer-keyword-namespce (#4438) (Aza Walker)
21+
- d8c2a83 linter: Eslint-plugin-vitest/no-import-node-test (#4440) (cinchen)
22+
- e3b0c40 linter: Eslint-plugin-vitest/no-identical-title (#4422) (cinchen)
23+
- c936782 linter: Eslint-plugin-vitest/no-conditional-expect (#4425) (cinchen)
24+
- 27fdd69 linter: Eslint-plugin-vitest/no-commented-out-tests (#4424) (cinchen)
25+
- 51f5025 linter: Add fixer for unicorn/prefer-string-starts-ends-with (#4378) (DonIsaac)
26+
- 3c0c709 linter: Add typescript-eslint/no-extraneous-class (#4357) (Jaden Rodriguez)
27+
- 7afa1f0 linter: Support suggestions and dangerous fixes (#4223) (DonIsaac)
28+
- acc5729 linter: Eslint-plugin-vitest/expect-expect (#4299) (cinchen)
29+
- 2213f93 linter: Eslint-plugin-vitest/no-alias-methods (#4301) (cinchen)
30+
- c296bc3 linter/eslint: Implement func-names (#4618) (Alexander S.)
31+
- e116ae0 linter/eslint: Implement fixer for prefer-numeric-literals (#4591) (Jelle van der Waa)
32+
- eaf834f linter/eslint: Implement prefer-numeric-literals (#4109) (Jelle van der Waa)
33+
- db2fd70 linter/eslint-plugin-promise: Implement no-webpack-loader-syntax (#4331) (Jelle van der Waa)
34+
- 5f1e070 linter/eslint-plugin-unicorn: Add fixer for prefer-code-point (#4353) (Jelle van der Waa)
35+
- ed49e16 linter/eslint-plugin-unicorn: Implement fixer for prefer-dom-node-append (#4306) (Jelle van der Waa)
36+
- e2b15ac linter/react: Implement react-jsx-boolean-value (#4613) (Jelle van der Waa)
37+
- 68efcd4 linter/react-perf: Handle new objects and arrays in prop assignment patterns (#4396) (DonIsaac)
38+
39+
### Bug Fixes
40+
41+
- 368112c ast: Remove `#[visit(ignore)]` from `ExportDefaultDeclarationKind`'s `TSInterfaceDeclaration` (#4497) (Dunqing)
42+
- d384f60 ci: Remove unused(?) .html file (#4545) (Yuji Sugiura)
43+
- 06aec77 linter: Invalid binary expression with overflow (#4647) (DonIsaac)
44+
- b2da22b linter: Invalid tags in rule docs (#4646) (DonIsaac)
45+
- 94440ad linter: Panic on invalid lang in `a11y/lang`. (#4630) (rzvxa)
46+
- e0b03f8 linter: Improve the boundary for eslint/for-direction (#4590) (heygsc)
47+
- 70b8cfa linter: Missing return in no-obj-calls recursion (#4594) (DonIsaac)
48+
- fe1356d linter: Change no-unused-vars to nursery (#4588) (DonIsaac)
49+
- 72337b1 linter: Change typescript-eslint/no-namespace to restriction (#4539) (Don Isaac)
50+
- 289dc39 linter: Overflow in no-obj-calls (#4397) (DonIsaac)
51+
- a664715 linter/eslint: Fix invalid regexp in no_regex_spaces test (#4605) (Yuji Sugiura)
52+
- 74fa75a linter/eslint: Drop quotes around max-params lint warning (#4608) (Jelle van der Waa)
53+
- 9fcd9ae linter/eslint: Fix invalid regexp in no_control_regex test (#4544) (leaysgur)
54+
- ac08de8 linter/react_perf: Allow new objects, array, fns, etc in top scope (#4395) (DonIsaac)
55+
- 73d2558 oxlint: Fix oxlint failed to build due to missing feature (Boshen)
56+
57+
### Performance
58+
59+
- 6ff200d linter: Change react rules and utils to use `Cow` and `CompactStr` instead of `String` (#4603) (DonIsaac)
60+
- f259df0 linter: Make img-redundant-alt only build a regex once (#4604) (DonIsaac)
61+
- 7585e16 linter: Remove allocations for string comparisons (#4570) (DonIsaac)
62+
- b60bdf1 linter: `no_shadow_restricted_names` only look up name in hashmap once (#4472) (overlookmotel)
63+
- 81384f5 linter: Avoid unnecessary work in `nextjs:no_duplicate_head` rule (#4465) (overlookmotel)
64+
- f7da22d linter: Disable lint rules by file type (#4380) (DonIsaac)
65+
- 348c1ad semantic: Remove `span` field from `Reference` (#4464) (overlookmotel)
66+
- 6a9f4db semantic: Reduce storage size for symbol redeclarations (#4463) (overlookmotel)- a207923 Replace some CompactStr usages with Cows (#4377) (DonIsaac)
67+
68+
### Refactor
69+
70+
- 7a75e0f linter: Use diagnostic codes in lint rules (#4349) (DonIsaac)
71+
- ccb1835 semantic: Methods take `Span` as param, not `&Span` (#4470) (overlookmotel)
72+
- 7cd53f3 semantic: Var hoisting (#4379) (Dunqing)
73+
- c99b3eb syntax: Give `ScopeId` a niche (#4468) (overlookmotel)
74+
775
## [0.6.1] - 2024-07-17
876

977
### Features

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.6.1"
3+
version = "0.7.0"
44
publish = false
55
authors.workspace = true
66
description.workspace = true

editors/vscode/package.json

+1-1
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": "0.6.1",
5+
"version": "0.7.0",
66
"icon": "icon.png",
77
"publisher": "oxc",
88
"displayName": "Oxc",

npm/oxlint/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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.7.0] - 2024-08-05
8+
9+
### Bug Fixes
10+
11+
- 0fba738 npm: SyntaxError caused by optional chaining in low version node (#4650) (heygsc)
12+
713
## [0.6.0] - 2024-07-11
814

915
### Features

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.6.1",
3+
"version": "0.7.0",
44
"description": "Linter for the JavaScript Oxidation Compiler",
55
"keywords": [],
66
"author": "Boshen and oxc contributors",

0 commit comments

Comments
 (0)