diff --git a/Cargo.lock b/Cargo.lock index 1daa75b4f50ee..02afbcce22142 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1693,7 +1693,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.15.3" +version = "0.15.4" dependencies = [ "bitflags 2.6.0", "convert_case", @@ -2128,7 +2128,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.15.3" +version = "0.15.4" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index f54162f99ba5b..1088d6aa57e42 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/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.15.4] - 2024-12-30 + +### Bug Fixes + +- f3050d4 linter: Exclude svelte files from `no_unused_vars` rule (#8170) (Yuichiro Yamashita) + +### Refactor + +- 6da0b21 oxlint: Remove unused `git.rs` (#7990) (Boshen) +- 58e7777 oxlint: Remove extra if check in `Walkdir` (#7989) (Boshen) + ## [0.15.3] - 2024-12-17 ### Styling diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index c4948db0cbba0..6f3611b7ac023 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.15.3" +version = "0.15.4" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index c8b188a8d0535..9beb0ea8a295d 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,48 @@ 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.4] - 2024-12-30 + +- ed75e42 semantic: [**BREAKING**] Make SymbolTable fields `pub(crate)` instead of `pub` (#7999) (Boshen) + +### Features + +- 47cea9a linter: Implement `eslint/no-extra-label` (#8181) (Anson Heung) +- ef76e28 linter: Implement `eslint/no-multi-assign` (#8158) (Anson Heung) +- 384858b linter: Implement `jsx-a11y/no-noninteractive-tabindex` (#8167) (Tyler Earls) +- afc21a6 linter: Implement `eslint/vars-on-top` (#8157) (Yuichiro Yamashita) +- 65796c4 linter: Implement `eslint/prefer-rest-params` (#8155) (Yuichiro Yamashita) +- 5234d96 linter: Implement `eslint/no-nested-ternary` (#8150) (Yuichiro Yamashita) +- 1c5db72 linter: Implement eslint/no-labels (#8131) (Anson Heung) +- 0b04288 linter: Move `import/named` to nursery (#8068) (Boshen) + +### Bug Fixes + +- f3050d4 linter: Exclude svelte files from `no_unused_vars` rule (#8170) (Yuichiro Yamashita) +- faf7464 linter: Disable rule `react/rules-of-hook` by file extension (#8168) (Alexander S.) +- 1171e00 linter: Disable `react/rules-of-hooks` for vue and svelte files (#8165) (Alexander S.) +- 1b9a5ba linter: False positiver in private member expr in oxc/const-comparison (#8164) (camc314) +- 6bd9ddb linter: False positive in `typescript/ban-tslint-comment` (#8094) (dalaoshu) +- 10a1fd5 linter: Rule: `no-restricted-imports` support option `patterns` with `group` key (#8050) (Alexander S.) +- b3f38ae linter: Rule `no-restricted-imports`: support option `allowImportNames` (#8002) (Alexander S.) +- 340cc90 linter: Rule `no-restricted-imports`: fix option "importNames" (#7943) (Alexander S.) +- ec2128e linter: Fix line calculation for `eslint/max-lines` in diagnostics (#7962) (Dmitry Zakharov) +- 79af100 semantic: Reference flags not correctly resolved when after an export stmt (#8134) (camc314) + +### Performance + +- d8d2ec6 linter: Run rules which require typescript syntax only when source type is actually typescript (#8166) (Alexander S.) +- 2736657 semantic: Allocate `UnresolvedReferences` in allocator (#8046) (Boshen) + +### Refactor + +- 774babb linter: Read `exported_bindings_from_star_export` lazily (#8062) (Boshen) +- 547c102 linter: Use `RwLock` instead of `FxDashMap` for module record data (#8061) (Boshen) +- 952d7e4 linter: Rename `flat.rs` to `config.rs` (#8033) (camc314) +- 50848ed linter: Simplify `ConfigStore` to prep for nested configs (#8032) (camc314) +- b2a4a78 linter: Remove unused `with_rules` and `set_rule` methods (#8029) (camc314) +- 02f968d semantic: Change `Bindings` to a plain `FxHashMap` (#8019) (Boshen) + ## [0.15.3] - 2024-12-17 ### Features diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index 10105e422f152..5a9afa00ad115 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.15.3" +version = "0.15.4" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index dffdf85f44541..0d69527b2e03c 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/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.4] - 2024-12-30 + +### Bug Fixes + +- 0794bee editor/vscode: Set minimum supported ver. to `^1.93.0` (#8182) (Pavel Smirnov) + +### Refactor + +- de8246b language_server: Move structs into own file (#8026) (Alexander S.) + ## [0.15.1] - 2024-12-13 ### Features diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 3beea7c2aa2c8..6f19f93c39b89 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.3", + "version": "0.15.4", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 4bc29eade27be..57fb4d8cfcd52 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.15.3", + "version": "0.15.4", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",