From 66c872000243f66927ad70e8c7ed0ba07dc7e35f Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Sun, 19 Jan 2025 09:00:00 +0800 Subject: [PATCH] release(oxlint): v0.15.7 (#8592) ## [0.15.7] - 2025-01-19 ### Features - 01ac773 linter: Support `ignoreTypeOfTestName` for `jest/valid-title` (#8589) (dalaoshu) - 538b24a linter: Format the configuration documentation correctly (#8583) (Tapan Prakash) - 7ab14cc linter: Add more Vitest compatible Jest rules (#8445) (Anson Heung) - d178360 linter: Implement `eslint/prefer-promise-reject-errors` (#8254) (tbashiyy) - 4ac2e99 oxlint: Implement `--init` cli option (#8453) (Tapan Prakash) ### Bug Fixes - 855c839 codegen: Shorthand assignment target identifier consider mangled names (#8536) (Boshen) - c15af02 linter: False positive in `eslint/no-lone-blocks` (#8587) (dalaoshu) - 41f2070 linter: Rule `no-restricted-imports` support missing options (#8076) (Alexander S.) - 869bc73 linter: Enhance `default_param_last` rule to handle optional parameters (#8563) (Tapan Prakash) - c6260c2 linter: Support rest params for `prefer_promise_reject_errors` (#8468) (Yuichiro Yamashita) - 2be1e82 linter/no-unused-vars: False positives when variable and type have same name (#8465) (Dunqing) ### Performance - 250bbd1 linter/react-exhaustive-deps: Use stack of `AstType`s instead of `AstKind`s (#8522) (overlookmotel) ### Refactor - 40f5165 linter: Improve `eslint/no-lone-blocks` (#8588) (dalaoshu) - b4c87e2 linter: Move DiagnosticsReporters to oxlint (#8454) (Alexander S.) - bf00f82 linter: Move rule `prefer-each` from vitest to jest + remapping (#8448) (Alexander S.) - 8dd0013 linter/consistent-function-scoping: Remove `Visit::enter_node` usage (#8538) (overlookmotel) - 30c0689 linter/no-map-spread: Remove `Visit::enter_node` usage (#8537) (overlookmotel) - b5ed58e span: All methods take owned `Span` (#8297) (overlookmotel) ### Styling - 3789d2f linter/react-exhaustive-deps: Fix indentation (#8520) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> --- Cargo.lock | 4 ++-- apps/oxlint/CHANGELOG.md | 10 +++++++++ apps/oxlint/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 37 ++++++++++++++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/package.json | 2 +- npm/oxlint/CHANGELOG.md | 6 ++++++ npm/oxlint/package.json | 2 +- 8 files changed, 59 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4ad204d17c0d4..b051a9f4452fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1780,7 +1780,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.15.6" +version = "0.15.7" dependencies = [ "bitflags 2.7.0", "convert_case 0.7.1", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.15.6" +version = "0.15.7" dependencies = [ "bpaf", "ignore", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index da4d75da162a4..52056ff43e8b5 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.15.7] - 2025-01-19 + +### Features + +- 4ac2e99 oxlint: Implement `--init` cli option (#8453) (Tapan Prakash) + +### Refactor + +- b4c87e2 linter: Move DiagnosticsReporters to oxlint (#8454) (Alexander S.) + ## [0.15.6] - 2025-01-13 ### Refactor diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 727fa52e82a20..a27156fa1c83a 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.15.6" +version = "0.15.7" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index cff3edbe064af..f9a84938c5787 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,43 @@ 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.15.7] - 2025-01-19 + +- 4ce6329 semantic: [**BREAKING**] Ensure program outlives semantic (#8455) (Valentinas Janeiko) + +### Features + +- 01ac773 linter: Support `ignoreTypeOfTestName` for `jest/valid-title` (#8589) (dalaoshu) +- 538b24a linter: Format the configuration documentation correctly (#8583) (Tapan Prakash) +- 7ab14cc linter: Add more Vitest compatible Jest rules (#8445) (Anson Heung) +- d178360 linter: Implement `eslint/prefer-promise-reject-errors` (#8254) (tbashiyy) + +### Bug Fixes + +- 855c839 codegen: Shorthand assignment target identifier consider mangled names (#8536) (Boshen) +- c15af02 linter: False positive in `eslint/no-lone-blocks` (#8587) (dalaoshu) +- 41f2070 linter: Rule `no-restricted-imports` support missing options (#8076) (Alexander S.) +- 869bc73 linter: Enhance `default_param_last` rule to handle optional parameters (#8563) (Tapan Prakash) +- c6260c2 linter: Support rest params for `prefer_promise_reject_errors` (#8468) (Yuichiro Yamashita) +- 2be1e82 linter/no-unused-vars: False positives when variable and type have same name (#8465) (Dunqing) + +### Performance + +- 250bbd1 linter/react-exhaustive-deps: Use stack of `AstType`s instead of `AstKind`s (#8522) (overlookmotel) + +### Refactor + +- 40f5165 linter: Improve `eslint/no-lone-blocks` (#8588) (dalaoshu) +- b4c87e2 linter: Move DiagnosticsReporters to oxlint (#8454) (Alexander S.) +- bf00f82 linter: Move rule `prefer-each` from vitest to jest + remapping (#8448) (Alexander S.) +- 8dd0013 linter/consistent-function-scoping: Remove `Visit::enter_node` usage (#8538) (overlookmotel) +- 30c0689 linter/no-map-spread: Remove `Visit::enter_node` usage (#8537) (overlookmotel) +- b5ed58e span: All methods take owned `Span` (#8297) (overlookmotel) + +### Styling + +- 3789d2f linter/react-exhaustive-deps: Fix indentation (#8520) (overlookmotel) + ## [0.15.6] - 2025-01-13 ### Features diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 9f38022b22e76..0fe2751b148f7 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.15.6" +version = "0.15.7" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 3ba05f1fe9e80..ade39d397de92 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -2,7 +2,7 @@ "name": "oxc-vscode", "description": "oxc vscode extension", "license": "MIT", - "version": "0.15.6", + "version": "0.15.7", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/CHANGELOG.md b/npm/oxlint/CHANGELOG.md index 5436c844399ab..b6c1d85346ef0 100644 --- a/npm/oxlint/CHANGELOG.md +++ b/npm/oxlint/CHANGELOG.md @@ -4,6 +4,12 @@ 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.15.7] - 2025-01-19 + +### Features + +- 538b24a linter: Format the configuration documentation correctly (#8583) (Tapan Prakash) + ## [0.14.0] - 2024-12-01 ### Features diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 00995567d7360..f5fab415accb9 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.15.6", + "version": "0.15.7", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",