From 5f4f6d140bde634eeda4705dab5db82cde817e2a Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Fri, 6 Dec 2024 13:06:54 +0800 Subject: [PATCH] release(oxlint): v0.14.1 (#7692) --- Cargo.lock | 4 +-- apps/oxlint/CHANGELOG.md | 12 ++++++++ apps/oxlint/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 51 ++++++++++++++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/package.json | 2 +- npm/oxlint/package.json | 2 +- 7 files changed, 69 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d32247277fa1a..dfbcb10c03fe3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1670,7 +1670,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.14.0" +version = "0.14.1" dependencies = [ "aho-corasick", "bitflags 2.6.0", @@ -2086,7 +2086,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.14.0" +version = "0.14.1" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index cfb794e2ff368..a3a34ef5bd3ca 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,18 @@ 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.14.1] - 2024-12-06 + +### Features + +- 275d625 linter: Output rules to json array (#7574) (camc314) + +### Bug Fixes + +- 9761e94 apps/oxlint: Incorrect matching in `.oxlintignore` (#7566) (dalaoshu) +- 29db060 linter: Detect typescript eslint alias rules (#7622) (Alexander S.) +- 810671a linter: Detect vitest jest alias rules (#7567) (Alexander S.) + ## [0.14.0] - 2024-12-01 ### Features diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 26268185c81c3..efc50565baa6a 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.14.0" +version = "0.14.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index 4ab3fc4e570c6..7a752942a160d 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,57 @@ 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.14.1] - 2024-12-06 + +- ebc80f6 ast: [**BREAKING**] Change 'raw' from &str to Option (#7547) (Song Gao) + +### Features + +- fd0935c linter: Change `react/rules-of-hooks` category to `pedantic` (#7691) (Boshen) +- e64fd95 linter: Map `.js` to `.ts` when resolving with tsconfig.json (#7675) (Boshen) +- bd9d38a linter: Implement eslint:yoda (#7559) (tbashiyy) +- a14e76a linter: Report identical logical expressions in const-comparisons (#7630) (camc314) +- afe1e9b linter: Enhance `const-comparisons` for more cases (#7628) (camc314) +- 4eb87ea linter: RulesOfHooks from nursery to correctness (#7607) (Boshen) +- 275d625 linter: Output rules to json array (#7574) (camc314) +- b8dc333 syntax: Add `ExportEntry::is_type` (#7676) (Boshen) + +### Bug Fixes + +- 7cee065 linter: Panic in `yoda` (#7679) (camc314) +- 6ae178e linter: Ignore type references in `no-undef` (#7670) (Boshen) +- fcc2546 linter: Move `no-unused-expressions` from TS to eslint (#7624) (camc314) +- 29db060 linter: Detect typescript eslint alias rules (#7622) (Alexander S.) +- e824501 linter: False positive in exhaustive-deps (#7626) (camc314) +- 8a68ef4 linter: Update reporting spans for exhaustive-deps (#7625) (camc314) +- 543df6e linter: Fix false positives in exhaustive-deps (#7615) (camc314) +- e80214c linter: Fix false positives in rules-of-hooks (#7606) (camc314) +- 3dc46a8 linter: No-unused-expressions false positive with arrow fn expressions (#7585) (Cameron) +- 810671a linter: Detect vitest jest alias rules (#7567) (Alexander S.) +- 4e3044e linter: Rules-of-hooks fix false positive with default export (#7570) (camc314) + +### Documentation + +- f029090 linter: Update rule documentation (#7684) (camc314) +- 4e489bd linter: Update rule documentation (#7681) (camc314) +- 56fe5f8 linter: Update rule documentation (#7680) (Cameron) + +### Refactor + +- a0973dc linter: Use `BigIntLiteral::raw` field (#7660) (overlookmotel) +- 3711a8e linter: Rename `is_same_reference` to `is_same_expression` (#7654) (camc314) +- b445654 linter: Use `get_inner_expression` in `const-comparisons` (#7627) (camc314) +- f0e7acc syntax: Change `ModuleRecord::not_esm` to `has_module_syntax` (#7579) (Boshen) +- 18519de syntax: Remove `ModuleRecord::export_default` (#7578) (Boshen) +- d476660 syntax: Remove `ModuleRecord::exported_bindings_duplicated` because it is a syntax error (#7577) (Boshen) +- 17663f5 syntax: Remove `ModuleRecord::export_default_duplicated` because it is a syntax error (#7576) (Boshen) +- 79014ff syntax: Clean up `ModuleRecord` (#7568) (Boshen) + +### Testing + +- be9863a linter: Add more tests fo rules-of-hooks (#7683) (camc314) +- 6dd71c6 linter: Port eslint tests to no-unused-expressions (#7611) (camc314) + ## [0.14.0] - 2024-12-01 - c2ced15 parser,linter: [**BREAKING**] Use a different `ModuleRecord` for linter (#7554) (Boshen) diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index f8a69ddd6c08d..69c25f713d720 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.14.0" +version = "0.14.1" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 1fc479a5fcefe..b200fb4ee46af 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.14.0", + "version": "0.14.1", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 0f7005878efac..bc3cc11cb2741 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.14.0", + "version": "0.14.1", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",