From 4b5a1766307a6e1c19b1a8cc8be2b2131027c689 Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Thu, 21 Nov 2024 22:21:32 +0800 Subject: [PATCH] release(oxlint): v0.13.0 (#7398) ## [0.13.0] - 2024-11-21 - 7bf970a linter: [**BREAKING**] Remove tree_shaking plugin (#7372) (Boshen) - 7f8747d linter: Implement `react/no-array-index-key` (#6960) (BitterGourd) ### Features - be152c0 linter: Add `typescript/no-require-imports` rule (#7315) (Dmitry Zakharov) - 849489e linter: Add suggestion for no-console (#4312) (DonIsaac) - 8cebdc8 linter: Allow appending plugins in override (#7379) (camchenry) - 8cfea3c oxc_cfg: Add implicit return instruction (#5568) (IWANABETHATGUY) - e6922df parser: Fix incorrect AST for `x?.f()` (#7387) (Boshen) ### Bug Fixes - e91c287 linter: Fix panic in react/no-array-index-key (#7395) (Boshen) - a32f5a7 linter/no-array-index-key: Compile error due to it uses a renamed API (#7391) (Dunqing) - 666b6c1 parser: Add missing `ChainExpression` in optional `TSInstantiationExpression` (#7371) (Boshen) ### Documentation - df143ca linter: Add docs for config settings (#4827) (DonIsaac) - ad44cfa linter: Import/first options (#7381) (Zak) ### Refactor - c34d649 linter: Use `scope_id` etc methods (#7394) (overlookmotel) - 466f395 vscode: Split `ConfigService` and `Config` (#7376) (Alexander S.) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> --- Cargo.lock | 4 ++-- apps/oxlint/CHANGELOG.md | 7 +++++++ apps/oxlint/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 6 ++++++ editors/vscode/package.json | 2 +- npm/oxlint/CHANGELOG.md | 6 ++++++ npm/oxlint/package.json | 2 +- 9 files changed, 57 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 547a6bbc9d8fc..21e7f5ba25848 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1700,7 +1700,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.12.0" +version = "0.13.0" dependencies = [ "aho-corasick", "bitflags 2.6.0", @@ -2124,7 +2124,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.12.0" +version = "0.13.0" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 71e77c942eac3..e2d8288b8f84f 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/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.13.0] - 2024-11-21 + +- 878189c parser,linter: [**BREAKING**] Add `ParserReturn::is_flow_language`; linter ignore flow error (#7373) (Boshen) + +### Features + + ## [0.12.0] - 2024-11-20 ### Features diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 2601f0450b3b7..d4778c1c1d206 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.12.0" +version = "0.13.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index 2c0248f73e6fb..cb98251d2976e 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,38 @@ 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.13.0] - 2024-11-21 + +- f059b0e ast: [**BREAKING**] Add missing `ChainExpression` from `TSNonNullExpression` (#7377) (Boshen) + +- 878189c parser,linter: [**BREAKING**] Add `ParserReturn::is_flow_language`; linter ignore flow error (#7373) (Boshen) + +- 7bf970a linter: [**BREAKING**] Remove tree_shaking plugin (#7372) (Boshen) + +### Features + +- 7f8747d linter: Implement `react/no-array-index-key` (#6960) (BitterGourd) +- be152c0 linter: Add `typescript/no-require-imports` rule (#7315) (Dmitry Zakharov) +- 849489e linter: Add suggestion for no-console (#4312) (DonIsaac) +- 8cebdc8 linter: Allow appending plugins in override (#7379) (camchenry) +- 8cfea3c oxc_cfg: Add implicit return instruction (#5568) (IWANABETHATGUY) +- e6922df parser: Fix incorrect AST for `x?.f()` (#7387) (Boshen) + +### Bug Fixes + +- e91c287 linter: Fix panic in react/no-array-index-key (#7395) (Boshen) +- a32f5a7 linter/no-array-index-key: Compile error due to it uses a renamed API (#7391) (Dunqing) +- 666b6c1 parser: Add missing `ChainExpression` in optional `TSInstantiationExpression` (#7371) (Boshen) + +### Documentation + +- df143ca linter: Add docs for config settings (#4827) (DonIsaac) +- ad44cfa linter: Import/first options (#7381) (Zak) + +### Refactor + +- c34d649 linter: Use `scope_id` etc methods (#7394) (overlookmotel) + ## [0.12.0] - 2024-11-20 - 20d9080 linter: [**BREAKING**] Override plugins array when passed in config file (#7303) (camchenry) diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 3c9e856458066..346be12d5b095 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.12.0" +version = "0.13.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index d08b80e4e01fd..6e3cc8cae01a2 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/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.13.0] - 2024-11-21 + +### Refactor + +- 466f395 vscode: Split `ConfigService` and `Config` (#7376) (Alexander S.) + ## [0.12.0] - 2024-11-20 ### Bug Fixes diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 8d767b904a6d6..1cbebad511ff3 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.12.0", + "version": "0.13.0", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/CHANGELOG.md b/npm/oxlint/CHANGELOG.md index 106bedf340811..34c3eecf2c79c 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.13.0] - 2024-11-21 + +### Documentation + +- df143ca linter: Add docs for config settings (#4827) (DonIsaac) + ## [0.12.0] - 2024-11-20 ### Features diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index cff4d6e1a1078..df5014175d31d 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.12.0", + "version": "0.13.0", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",