diff --git a/Cargo.lock b/Cargo.lock index fa1a904ba9a1b..568afa2838f06 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1508,7 +1508,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.6.0" +version = "0.6.1" dependencies = [ "convert_case", "dashmap 6.0.1", @@ -1865,7 +1865,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.6.0" +version = "0.6.1" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/CHANGELOG.md b/apps/oxlint/CHANGELOG.md index 01f511be2596f..af3c7440ed17a 100644 --- a/apps/oxlint/CHANGELOG.md +++ b/apps/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.6.1] - 2024-07-17 + +### Features + +- 1f8968a linter: Add eslint-plugin-promise rules: avoid-new, no-new-statics, params-names (#4293) (Jelle van der Waa) + ## [0.5.1] - 2024-06-29 ### Bug Fixes diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index c848e34ad6a14..6355c17a4d9a4 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.6.0" +version = "0.6.1" publish = false authors.workspace = true description.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index aa0dbf6866956..39da0a10ac714 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.6.1] - 2024-07-17 + +### Features + +- 83c2c62 codegen: Add option for choosing quotes; remove slow `choose_quot` method (#4219) (Boshen) +- 1f8968a linter: Add eslint-plugin-promise rules: avoid-new, no-new-statics, params-names (#4293) (Jelle van der Waa) +- a4dc56c linter: Add fixer for unicorn/no_useless_promise_resolve_reject (#4244) (Burlin) +- 6fb808f linter: Add typescript-eslint/no-confusing-non-null-assertion (#4224) (Jaden Rodriguez) +- 126b66c linter: Support eslint-plugin-vitest/valid-describe-callback (#4185) (cinchen) +- 05b9a73 linter: Support eslint-plugin-vitest/valid-expect (#4183) (cinchen) +- 3e56b2b linter: Support eslint-plugin-vitest/no-test-prefixes (#4182) (cinchen) +- 3016f03 linter: Let fixer functions return a `None` fix (#4210) (DonIsaac) +- bbe6137 linter: Implement unicorn/no-useless-undefined (#4079) (Burlin) +- 20cdb1f semantic: Align class scope with typescript (#4195) (Dunqing) + +### Bug Fixes + +- 9df60da linter: Correct find first non whitespace logic in @typescript-eslint/consistent-type-imports (#4198) (mysteryven) +- 67240dc linter: Not ignore adjacent spans when fixing (#4217) (mysteryven) +- dd07a54 linter: Global variables should always check the builtin variables (#4209) (Jelle van der Waa) +- 351ecf2 semantic: Incorrect resolve references for `TSTypeQuery` (#4310) (Dunqing) +- 1108f2a semantic: Resolve references to the incorrect symbol (#4280) (Dunqing) + +### Performance + +- 0fdc88b linter: Optimize no-dupe-keys (#4292) (lucab) + +### Refactor + +- 2c7bb9f ast: Pass final `ScopeFlags` into `visit_function` (#4283) (overlookmotel) +- aa22073 codegen: Improve print API (#4196) (Boshen) +- b5a8f3c linter: Use get_first_parameter_name from unicorn utils (#4255) (Jelle van der Waa) +- 7089a3d linter: Split up fixer code into separate files (#4222) (DonIsaac) +- ace4f1f semantic: Update the order of `visit_function` and `Visit` fields in the builder to be consistent (#4248) (Dunqing) +- 7f1addd semantic: Correct scope in CatchClause (#4192) (Dunqing) + ## [0.6.0] - 2024-07-11 - 5731e39 ast: [**BREAKING**] Store span details inside comment struct (#4132) (Luca Bruno) diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index f6a412404d349..40e5ea0f327d6 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.6.0" +version = "0.6.1" publish = false authors.workspace = true description.workspace = true diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 0cf28e5cfc98e..1dc9f4e4d2ada 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.6.0", + "version": "0.6.1", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", @@ -130,4 +130,4 @@ "vsce": { "dependencies": false } -} +} \ No newline at end of file diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 35e15bbe2893c..2ed7020040400 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.6.0", + "version": "0.6.1", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",