From 62d45bf14ef16831f6057495ce02262ca09bfc7c Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Tue, 8 Oct 2024 12:14:54 +0800 Subject: [PATCH] release(oxlint): v0.9.10 (#6340) ## [0.9.10] - 2024-10-07 ### Features - f272137 editors/vscode: Clear diagnostics on file deletion (#6326) (dalaoshu) - 1a5f293 editors/vscode: Update VSCode extention to use project's language server (#6132) (dalaoshu) - 376cc09 linter: Implement `no-throw-literal` (#6144) (dalaoshu) - 5957214 linter: Allow fixing in files with source offsets (#6197) (camchenry) - a089e19 linter: Eslint/no-else-return (#4305) (yoho) - 183739f linter: Implement prefer-await-to-callbacks (#6153) (dalaoshu) - ae539af linter: Implement no-return-assign (#6108) (Radu Baston) ### Bug Fixes - 9e9808b linter: Fix regression when parsing ts in vue files (#6336) (Boshen) - 93c6db6 linter: Improve docs and diagnostics message for no-else-return (#6327) (DonIsaac) - e0a3378 linter: Correct false positive in `unicorn/prefer-string-replace-all` (#6263) (H11) - ea28ee9 linter: Improve the fixer of `prefer-namespace-keyword` (#6230) (dalaoshu) - f6a3450 linter: Get correct source offsets for astro files (#6196) (camchenry) - be0030c linter: Allow whitespace control characters in `no-control-regex` (#6140) (camchenry) - e7e8ead linter: False positive in `no-return-assign` (#6128) (DonIsaac) ### Performance - ac0a82a linter: Reuse allocator when there are multiple source texts (#6337) (Boshen) - 50a0029 linter: Do not concat vec in `no-useless-length-check` (#6276) (camchenry) ### Documentation - 7ca70dd linter: Add docs for `ContextHost` and `LintContext` (#6272) (camchenry) - a949ecb linter: Improve docs for `eslint/getter-return` (#6229) (DonIsaac) - 14ba263 linter: Improve docs for `eslint-plugin-import` rules (#6131) (dalaoshu) ### Refactor - 642725c linter: Rename vars from `ast_node_id` to `node_id` (#6305) (overlookmotel) - 8413175 linter: Move shared function from utils to rule (#6127) (dalaoshu) - ba9c372 linter: Make jest/vitest rule mapping more clear (#6273) (camchenry) - 82b8f21 linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories (#6119) (DonIsaac) - ea908f7 linter: Consolidate file loading logic (#6130) (DonIsaac) - db751f0 linter: Use regexp AST visitor in `no-control-regex` (#6129) (camchenry) - 3aa7e42 linter: Use RegExp AST visitor for `no-hex-escape` (#6117) (camchenry) - 9d5b44a linter: Use regex visitor in `no-regex-spaces` (#6063) (camchenry) - 0d44cf7 linter: Use regex visitor in `no-useless-escape` (#6062) (camchenry) - eeb8873 linter: Use regex visitor in `no-empty-character-class` (#6058) (camchenry) ### Testing - d883562 linter: Invalid `eslint/no-unused-vars` options (#6228) (DonIsaac) --------- Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- Cargo.lock | 4 +-- apps/oxlint/CHANGELOG.md | 10 +++++++ apps/oxlint/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 7 +++++ editors/vscode/package.json | 2 +- npm/oxlint/package.json | 2 +- 8 files changed, 73 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a5ca9086bd279..aa27cae1a51a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1644,7 +1644,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.9.9" +version = "0.9.10" dependencies = [ "aho-corasick", "bitflags 2.6.0", @@ -2072,7 +2072,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.9.9" +version = "0.9.10" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index a4f471a7898a0..ca7dca7ed32dc 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this package will be documented in this file. 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. +## [0.9.10] - 2024-10-07 + +### Bug Fixes + +- 9e9808b linter: Fix regression when parsing ts in vue files (#6336) (Boshen) + +### Refactor + +- ea908f7 linter: Consolidate file loading logic (#6130) (DonIsaac) + ## [0.9.7] - 2024-09-23 ### Features diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 60aadfe79b387..51e39c05c5612 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.9.9" +version = "0.9.10" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index da3eda5fab752..677bd365739be 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,56 @@ All notable changes to this package will be documented in this file. 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. +## [0.9.10] - 2024-10-07 + +- 5a73a66 regular_expression: [**BREAKING**] Simplify public APIs (#6262) (leaysgur) + +### Features + +- 376cc09 linter: Implement `no-throw-literal` (#6144) (dalaoshu) +- 5957214 linter: Allow fixing in files with source offsets (#6197) (camchenry) +- a089e19 linter: Eslint/no-else-return (#4305) (yoho) +- 183739f linter: Implement prefer-await-to-callbacks (#6153) (dalaoshu) +- ae539af linter: Implement no-return-assign (#6108) (Radu Baston) + +### Bug Fixes + +- 9e9808b linter: Fix regression when parsing ts in vue files (#6336) (Boshen) +- 93c6db6 linter: Improve docs and diagnostics message for no-else-return (#6327) (DonIsaac) +- e0a3378 linter: Correct false positive in `unicorn/prefer-string-replace-all` (#6263) (H11) +- ea28ee9 linter: Improve the fixer of `prefer-namespace-keyword` (#6230) (dalaoshu) +- f6a3450 linter: Get correct source offsets for astro files (#6196) (camchenry) +- be0030c linter: Allow whitespace control characters in `no-control-regex` (#6140) (camchenry) +- e7e8ead linter: False positive in `no-return-assign` (#6128) (DonIsaac) + +### Performance + +- ac0a82a linter: Reuse allocator when there are multiple source texts (#6337) (Boshen) +- 50a0029 linter: Do not concat vec in `no-useless-length-check` (#6276) (camchenry) + +### Documentation + +- 7ca70dd linter: Add docs for `ContextHost` and `LintContext` (#6272) (camchenry) +- a949ecb linter: Improve docs for `eslint/getter-return` (#6229) (DonIsaac) +- 14ba263 linter: Improve docs for `eslint-plugin-import` rules (#6131) (dalaoshu) + +### Refactor + +- 642725c linter: Rename vars from `ast_node_id` to `node_id` (#6305) (overlookmotel) +- 8413175 linter: Move shared function from utils to rule (#6127) (dalaoshu) +- ba9c372 linter: Make jest/vitest rule mapping more clear (#6273) (camchenry) +- 82b8f21 linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories (#6119) (DonIsaac) +- ea908f7 linter: Consolidate file loading logic (#6130) (DonIsaac) +- db751f0 linter: Use regexp AST visitor in `no-control-regex` (#6129) (camchenry) +- 3aa7e42 linter: Use RegExp AST visitor for `no-hex-escape` (#6117) (camchenry) +- 9d5b44a linter: Use regex visitor in `no-regex-spaces` (#6063) (camchenry) +- 0d44cf7 linter: Use regex visitor in `no-useless-escape` (#6062) (camchenry) +- eeb8873 linter: Use regex visitor in `no-empty-character-class` (#6058) (camchenry) + +### Testing + +- d883562 linter: Invalid `eslint/no-unused-vars` options (#6228) (DonIsaac) + ## [0.9.9] - 2024-09-27 ### Bug Fixes diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 73874ed8b8fe2..702f914a81a13 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.9.9" +version = "0.9.10" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index ed3432ca94fd3..3e8607801daab 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. 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. +## [0.9.10] - 2024-10-07 + +### Features + +- f272137 editors/vscode: Clear diagnostics on file deletion (#6326) (dalaoshu) +- 1a5f293 editors/vscode: Update VSCode extention to use project's language server (#6132) (dalaoshu) + ## [0.9.3] - 2024-09-07 ### Styling diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 4db184eb0f7e1..99106aa11ebaf 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -3,7 +3,7 @@ "description": "oxc vscode extension", "packageManager": "pnpm@9.10.0", "license": "MIT", - "version": "0.9.9", + "version": "0.9.10", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 548e7f97d1bc3..f06c7b12409cc 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.9.9", + "version": "0.9.10", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",