diff --git a/Cargo.lock b/Cargo.lock index 8696678dfd662..2bd7f58ec94ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1823,7 +1823,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.15.8" +version = "0.15.9" dependencies = [ "bitflags 2.7.0", "convert_case 0.7.1", @@ -2269,7 +2269,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.15.8" +version = "0.15.9" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 7b1faf0f2030b..40c96e90ee12d 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/oxlint/CHANGELOG.md @@ -4,6 +4,37 @@ 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.9] - 2025-02-01 + +### Bug Fixes + +- 8ce21d1 linter: Can't disable `no-nested-ternary` rule anymore (#8600) (dalaoshu) +- e929f26 linter: Output `LintCommandInfo` for `CliRunResult::LintNoFilesFound` (#8714) (Sysix) +- 9cc9d5f linter: `ignorePatterns` does not work when files are provided as command arguments (#8590) (dalaoshu) + +### Refactor + +- 194a5ff linter: Remove `LintResult` (#8712) (Sysix) +- 4a2f2a9 linter: Move default `all_rules` output to trait (#8710) (Sysix) +- 741fb40 linter: Move stdout outside LintRunner (#8694) (Sysix) +- 10e5920 linter: Move finishing default diagnostic message to `GraphicalReporter` (#8683) (Sysix) +- 9731c56 oxlint: Move output from `CliRunResult::InvalidOption` to outside and use more Enums for different invalid options (#8778) (Sysix) +- fe45bee oxlint: Create different `CliRunResult` instead of passing `ExitCode` to it (#8777) (Sysix) +- 2378fef oxlint: Move ConfigFileInit output outside CliRunResult, exit code 1 when it fails (#8776) (Sysix) +- f4cecb5 oxlint: Remove unused `CliRunResult::PathNotFound` (#8775) (Sysix) + +### Testing + +- ad35e82 linter: Use snapshot testing instead of LintResult (#8711) (Sysix) +- bf895eb linter: Add diagnostic format test snapshots (#8696) (Alexander S.) +- 34d3d72 linter: Add snapshot tester for cli (#8695) (Sysix) +- 0bf2bcf oxlint: Test two real rules with same name but from different plugins (#8821) (dalaoshu) +- 2b83b71 oxlint: Improve disabling "no-nested-ternary" tests (#8814) (Alexander S.) +- 45648e7 oxlint: Fix InvalidOptionTsConfig tests for windows (#8791) (Alexander S.) +- 48bfed9 oxlint: Ignore windows path mismatch (Boshen) +- 6f4a023 oxlint: Remove "--print-config" test (#8792) (Sysix) +- 55c2025 oxlint: Add `CliRunResult` to snapshot (#8780) (Sysix) + ## [0.15.8] - 2025-01-24 ### Features diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index fbe2544ec89bb..3a6d70d7ded49 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.15.8" +version = "0.15.9" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index 81f38c46230f5..bb779b7fedf1b 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,36 @@ 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.9] - 2025-02-01 + +### Features + +- 1a41181 linter: Implement `eslint/prefer-object-spread` (#8216) (tbashiyy) +- adb8ebd linter: Implement no-useless-call rule (#8789) (keita hino) +- 3790933 linter: Add vitest/prefer-lowercase-title rule (#8152) (Tyler Earls) +- e8e6917 linter: Unicorn/switch-cases-braces support options (#8704) (1zumii) + +### Bug Fixes + +- 8ce21d1 linter: Can't disable `no-nested-ternary` rule anymore (#8600) (dalaoshu) +- 4f30a17 linter: Unicorn/switch-case-braces mangles code when applying fix (#8758) (Tyler Earls) +- 1de6f85 linter: No-lone-blocks erroring on block statements containing comments (#8720) (Tyler Earls) +- 77ef61a linter: Fix diagnostic spans for `oxc/no-async-await` (#8721) (camchenry) +- f15bdce linter: Catch `Promise` in `typescript/array-type` rule (#8702) (Rintaro Itokawa) + +### Performance + +- d318238 linter: Remove sorting of rules in cache (#8718) (camchenry) + +### Documentation + +- 57b7ca8 ast: Add documentation for all remaining JS AST methods (#8820) (Cam McHenry) + +### Refactor + +- c2fdfc4 linter: Correctly handle loose options for `eslint/eqeqeq` (#8798) (dalaoshu) +- 0aeaedd linter: Support loose options for `eslint/eqeqeq` (#8790) (dalaoshu) + ## [0.15.8] - 2025-01-24 ### Features diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index a504ae725f343..fd4b8319d512f 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.15.8" +version = "0.15.9" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 5490bb241bdc1..0e3f34d8e5f0e 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.15.9] - 2025-02-01 + +### Bug Fixes + +- 5041cb3 vscode: Fix commands by reverting commit `259a47b` (#8819) (Alexander S.) + ## [0.15.8] - 2025-01-24 ### Refactor diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 586782f640a1e..1d9ea2c7cfbc0 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.8", + "version": "0.15.9", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index db160ae1a0f74..a7ba95d6852da 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.15.8", + "version": "0.15.9", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",