From 2d40b073cb5ab30b3965bc668a1d92ced76945d5 Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Sun, 3 Nov 2024 11:27:30 +0800 Subject: [PATCH] release(oxlint): v0.11.0 (#7094) ## [0.11.0] - 2024-11-03 - 9fd9f4f linter: [**BREAKING**] Sync sindresorhus/globals; removed Object.prototype properties from builtin and es* globals (#6991) (Boshen) ### Features - 6b619da editor: Listen to config file changes and trigger a didChangeConfiguration update (#6964) (Nicholas Rayburn) - 7872927 editor/vscode: Support window/showMessage event (#7085) (Nicholas Rayburn) - 2184588 linter: Do not bail for unmatched rules yet (#7093) (Boshen) - a6fcd81 linter: Add `import/no-commonjs` rule (#6978) (Dmitry Zakharov) - 1691cab linter: Support user-configurable secrets for `oxc-security/api-keys` (#5938) (DonIsaac) - 610621c linter: Implement `react/style-prop-object` (#6342) (Albert Kaaman) - 1e2f012 linter: Add `oxc/no-map-spread` (#6751) (DonIsaac) - 1c66473 linter: Implement `eslint/prefer-object-has-own` (#6905) (tomoya yanagibashi) ### Bug Fixes - ebf3753 editor: Fix onConfigChange to send the correct config for didChangeConfiguration notification (#6962) (Nicholas Rayburn) - 79bf74a linter: Check is_reference_to_global_variable in `no-array-constructor` (#7067) (Naoya Yoshizawa) - 38d1f78 linter: Remove confusing help text for now (#7081) (Cam McHenry) - 147e2e4 linter: Allow replacing rule when none are enabled yet (#7014) (camchenry) - 7aa496a linter: Remove unsafe fixer of `no-useless-spread` (#6655) (dalaoshu) - f5a7134 linter/no-unused-vars: False positive for discarded reads within sequences (#6907) (DonIsaac) ### Documentation - 4551baa linter: Document `rules` (#6983) (Boshen) ### Refactor - a8dc75d linter: Remove unused CLI result types (#7088) (camchenry) - 8f1460e linter: Move `LintPlugins` from `LintOptions` to `LintConfig` (#6932) (DonIsaac) ### Testing - c35d3f2 linter: Improve test failure output (#6975) (camchenry) --------- 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 | 16 +++++++++++++++ apps/oxlint/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 11 +++++++++++ editors/vscode/package.json | 2 +- npm/oxlint/CHANGELOG.md | 6 ++++++ npm/oxlint/package.json | 2 +- 9 files changed, 75 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d9f881c3e6ae7..ed43c998f8239 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.10.3" +version = "0.11.0" dependencies = [ "aho-corasick", "bitflags 2.6.0", @@ -2078,7 +2078,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.10.3" +version = "0.11.0" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 9ccbc0fff0517..5d3173eee354b 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,22 @@ 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.11.0] - 2024-11-03 + +- 1f2a6c6 linter: [**BREAKING**] Report unmatched rules with error exit code (#7027) (camchenry) + +### Features + +- 2184588 linter: Do not bail for unmatched rules yet (#7093) (Boshen) + +### Bug Fixes + +- 38d1f78 linter: Remove confusing help text for now (#7081) (Cam McHenry) + +### Refactor + +- a8dc75d linter: Remove unused CLI result types (#7088) (camchenry) + ## [0.10.3] - 2024-10-26 ### Features diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index e58edb985fc64..d3d1a21dd997d 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.10.3" +version = "0.11.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 3896330e2802d..1c0b6cc627a76 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,42 @@ 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.11.0] - 2024-11-03 + +- 1f2a6c6 linter: [**BREAKING**] Report unmatched rules with error exit code (#7027) (camchenry) + +- 9fd9f4f linter: [**BREAKING**] Sync sindresorhus/globals; removed Object.prototype properties from builtin and es* globals (#6991) (Boshen) + +- 9a6a2f9 semantic: [**BREAKING**] Remove `SymbolTable::get_symbol_id_from_span` API (#6955) (Boshen) + +### Features + +- 2184588 linter: Do not bail for unmatched rules yet (#7093) (Boshen) +- a6fcd81 linter: Add `import/no-commonjs` rule (#6978) (Dmitry Zakharov) +- 1691cab linter: Support user-configurable secrets for `oxc-security/api-keys` (#5938) (DonIsaac) +- 610621c linter: Implement `react/style-prop-object` (#6342) (Albert Kaaman) +- 1e2f012 linter: Add `oxc/no-map-spread` (#6751) (DonIsaac) +- 1c66473 linter: Implement `eslint/prefer-object-has-own` (#6905) (tomoya yanagibashi) + +### Bug Fixes + +- 79bf74a linter: Check is_reference_to_global_variable in `no-array-constructor` (#7067) (Naoya Yoshizawa) +- 147e2e4 linter: Allow replacing rule when none are enabled yet (#7014) (camchenry) +- 7aa496a linter: Remove unsafe fixer of `no-useless-spread` (#6655) (dalaoshu) +- f5a7134 linter/no-unused-vars: False positive for discarded reads within sequences (#6907) (DonIsaac) + +### Documentation + +- 4551baa linter: Document `rules` (#6983) (Boshen) + +### Refactor + +- 8f1460e linter: Move `LintPlugins` from `LintOptions` to `LintConfig` (#6932) (DonIsaac) + +### Testing + +- c35d3f2 linter: Improve test failure output (#6975) (camchenry) + ## [0.10.3] - 2024-10-26 - 90c786c regular_expression: [**BREAKING**] Support ES2025 Duplicated named capture groups (#6847) (leaysgur) diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 20d6e9b1be656..b1829e26fd1eb 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.10.3" +version = "0.11.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index e24ebd84f8385..fea4ceff24499 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -4,6 +4,17 @@ 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.11.0] - 2024-11-03 + +### Features + +- 6b619da editor: Listen to config file changes and trigger a didChangeConfiguration update (#6964) (Nicholas Rayburn) +- 7872927 editor/vscode: Support window/showMessage event (#7085) (Nicholas Rayburn) + +### Bug Fixes + +- ebf3753 editor: Fix onConfigChange to send the correct config for didChangeConfiguration notification (#6962) (Nicholas Rayburn) + ## [0.10.1] - 2024-10-21 ### Bug Fixes diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 5e5592a838433..ba8d11156508c 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.10.3", + "version": "0.11.0", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/CHANGELOG.md b/npm/oxlint/CHANGELOG.md index 11c57615ebb07..98d7573e56186 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.11.0] - 2024-11-03 + +### Documentation + +- 4551baa linter: Document `rules` (#6983) (Boshen) + ## [0.10.3] - 2024-10-26 ### Documentation diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index a0f617ebd3180..0e746ece06e5f 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.10.3", + "version": "0.11.0", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",