From 53ff3493ef7f628e7e80a11d84ea04ae1018a49f Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Thu, 29 Aug 2024 13:04:52 +0800 Subject: [PATCH] Release oxlint v0.9.1 (#5316) ## [0.9.1] - 2024-08-29 ### Features - 6633972 linter: Add fixer for `no-empty` (#5276) (camc314) - a58e448 linter/eslint: Add fixer to `no-var` (#5144) (camc314) - a6e9769 linter/jsx-a11y: Add `label-has-associated-control` (#5163) (Billy Levin) - c8e8532 linter/unicorn: Add fixer to `throw-new-error` (#5275) (camc314) - 7ccde4b linter/unicorn: Add fixer to `prefer-date-now` (#5147) (camc314) ### Bug Fixes - 76e86f8 linter: Eslint-plugin-unicorn prefer-spread wrong linter suggestion on variables of type string (#5265) (Arian94) - b39544e linter/jest: Fixer for `prefer-jest-mocked` creates invalid LHS expressions (#5243) (camc314) - 9953fa5 linter/no-null: Incorrect fixer for `NullLiteral` within `ReturnStatement` (#5247) (Dunqing) - 318479e linter/no-unused-vars: Mark the class/function in the new expression as used (#5306) (magic-akari) ### Refactor - fa1d460 linter: Clean up Fixer and Message (#5308) (DonIsaac) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com> --- Cargo.lock | 4 ++-- apps/oxlint/Cargo.toml | 2 +- crates/oxc_linter/CHANGELOG.md | 23 +++++++++++++++++++++++ crates/oxc_linter/Cargo.toml | 2 +- editors/vscode/package.json | 2 +- npm/oxlint/package.json | 2 +- 6 files changed, 29 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1cba98da6c6d0..a292f0aafce39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1614,7 +1614,7 @@ dependencies = [ [[package]] name = "oxc_linter" -version = "0.9.0" +version = "0.9.1" dependencies = [ "bitflags 2.6.0", "convert_case", @@ -1987,7 +1987,7 @@ dependencies = [ [[package]] name = "oxlint" -version = "0.9.0" +version = "0.9.1" dependencies = [ "bpaf", "glob", diff --git a/apps/oxlint/Cargo.toml b/apps/oxlint/Cargo.toml index 32e9495038cc5..4f3b65f14fdd7 100644 --- a/apps/oxlint/Cargo.toml +++ b/apps/oxlint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxlint" -version = "0.9.0" +version = "0.9.1" publish = false authors.workspace = true description.workspace = true diff --git a/crates/oxc_linter/CHANGELOG.md b/crates/oxc_linter/CHANGELOG.md index 841ff34d93a05..35fe95100d69b 100644 --- a/crates/oxc_linter/CHANGELOG.md +++ b/crates/oxc_linter/CHANGELOG.md @@ -4,6 +4,29 @@ 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.9.1] - 2024-08-29 + +- 234a24c ast: [**BREAKING**] Merge `UsingDeclaration` into `VariableDeclaration` (#5270) (Kevin Deng 三咲智子) + +### Features + +- 6633972 linter: Add fixer for `no-empty` (#5276) (camc314) +- a58e448 linter/eslint: Add fixer to `no-var` (#5144) (camc314) +- a6e9769 linter/jsx-a11y: Add `label-has-associated-control` (#5163) (Billy Levin) +- c8e8532 linter/unicorn: Add fixer to `throw-new-error` (#5275) (camc314) +- 7ccde4b linter/unicorn: Add fixer to `prefer-date-now` (#5147) (camc314) + +### Bug Fixes + +- 76e86f8 linter: Eslint-plugin-unicorn prefer-spread wrong linter suggestion on variables of type string (#5265) (Arian94) +- b39544e linter/jest: Fixer for `prefer-jest-mocked` creates invalid LHS expressions (#5243) (camc314) +- 9953fa5 linter/no-null: Incorrect fixer for `NullLiteral` within `ReturnStatement` (#5247) (Dunqing) +- 318479e linter/no-unused-vars: Mark the class/function in the new expression as used (#5306) (magic-akari) + +### Refactor + +- fa1d460 linter: Clean up Fixer and Message (#5308) (DonIsaac) + ## [0.9.0] - 2024-08-26 - 5946748 linter: [**BREAKING**] Parse and display syntax errors for regular expressions (#5214) (Boshen) diff --git a/crates/oxc_linter/Cargo.toml b/crates/oxc_linter/Cargo.toml index d0e4c374c7c3d..bf247f8e744f7 100644 --- a/crates/oxc_linter/Cargo.toml +++ b/crates/oxc_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_linter" -version = "0.9.0" +version = "0.9.1" publish = false authors.workspace = true description.workspace = true diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 54084aa965a02..7bac79ef0b68b 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -3,7 +3,7 @@ "description": "oxc vscode extension", "packageManager": "pnpm@9.8.0", "license": "MIT", - "version": "0.9.0", + "version": "0.9.1", "icon": "icon.png", "publisher": "oxc", "displayName": "Oxc", diff --git a/npm/oxlint/package.json b/npm/oxlint/package.json index 2b901de7f0eca..6a0a68d9edda6 100644 --- a/npm/oxlint/package.json +++ b/npm/oxlint/package.json @@ -1,6 +1,6 @@ { "name": "oxlint", - "version": "0.9.0", + "version": "0.9.1", "description": "Linter for the JavaScript Oxidation Compiler", "keywords": [], "author": "Boshen and oxc contributors",