From 288d913ed2d5ddf37636b1d14f770d8c81565ce7 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Mon, 30 Sep 2024 13:27:20 +0100 Subject: [PATCH 1/4] release: v1.9.3 --- CHANGELOG.md | 4 +--- packages/@biomejs/biome/package.json | 2 +- packages/@biomejs/js-api/package.json | 2 +- packages/@biomejs/wasm-nodejs/package.json | 9 +++++---- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98f9c745add7..39e0a213c770 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,7 @@ New entries must be placed in a section entitled `Unreleased`. Read our [guidelines for writing a good changelog entry](https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#changelog). -## Unreleased - -### Analyzer +## v1.9.3 (2024-10-01) ### CLI diff --git a/packages/@biomejs/biome/package.json b/packages/@biomejs/biome/package.json index 9c64abcc38e5..8c37801d3730 100644 --- a/packages/@biomejs/biome/package.json +++ b/packages/@biomejs/biome/package.json @@ -1,6 +1,6 @@ { "name": "@biomejs/biome", - "version": "1.9.2", + "version": "1.9.3", "bin": { "biome": "bin/biome" }, diff --git a/packages/@biomejs/js-api/package.json b/packages/@biomejs/js-api/package.json index 04927b025ce3..94c8f64fcd24 100644 --- a/packages/@biomejs/js-api/package.json +++ b/packages/@biomejs/js-api/package.json @@ -1,6 +1,6 @@ { "name": "@biomejs/js-api", - "version": "0.6.2", + "version": "0.7.0", "description": "JavaScript APIs for the Biome package", "scripts": { "tsc": "tsc --noEmit", diff --git a/packages/@biomejs/wasm-nodejs/package.json b/packages/@biomejs/wasm-nodejs/package.json index 9884da9cdad0..1ab3959cbd0d 100644 --- a/packages/@biomejs/wasm-nodejs/package.json +++ b/packages/@biomejs/wasm-nodejs/package.json @@ -1,14 +1,15 @@ { - "name": "@biomejs/biome_wasm", + "name": "@biomejs/wasm-nodejs", "collaborators": [ "Biome Developers and Contributors" ], "description": "WebAssembly bindings to the Biome workspace API", - "version": "1.7.3", + "version": "1.8.3", "license": "MIT OR Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/biomejs/biome" + "url": "git+https://github.com/biomejs/biome.git", + "directory": "packages/@biomejs/biome/wasm-nodejs" }, "files": [ "biome_wasm_bg.wasm", @@ -24,4 +25,4 @@ "formatter", "wasm" ] -} \ No newline at end of file +} From 53392ff9ed42c7353e3d398bc4bc37ab11df9c90 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 1 Oct 2024 11:38:06 +0100 Subject: [PATCH 2/4] update version of rules --- .../src/lint/nursery/no_descending_specificity.rs | 2 +- crates/biome_js_analyze/src/lint/nursery/no_nested_ternary.rs | 2 +- crates/biome_js_analyze/src/lint/nursery/no_octal_escape.rs | 2 +- .../src/lint/nursery/no_template_curly_in_string.rs | 2 +- .../src/lint/nursery/use_explicit_function_return_type.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/biome_css_analyze/src/lint/nursery/no_descending_specificity.rs b/crates/biome_css_analyze/src/lint/nursery/no_descending_specificity.rs index 94da4204046e..f8efdb1c4763 100644 --- a/crates/biome_css_analyze/src/lint/nursery/no_descending_specificity.rs +++ b/crates/biome_css_analyze/src/lint/nursery/no_descending_specificity.rs @@ -72,7 +72,7 @@ declare_lint_rule! { /// ``` /// pub NoDescendingSpecificity { - version: "next", + version: "1.9.3", name: "noDescendingSpecificity", language: "css", recommended: true, diff --git a/crates/biome_js_analyze/src/lint/nursery/no_nested_ternary.rs b/crates/biome_js_analyze/src/lint/nursery/no_nested_ternary.rs index 7587478829f4..55a1a0162dc0 100644 --- a/crates/biome_js_analyze/src/lint/nursery/no_nested_ternary.rs +++ b/crates/biome_js_analyze/src/lint/nursery/no_nested_ternary.rs @@ -41,7 +41,7 @@ declare_lint_rule! { /// ``` /// pub NoNestedTernary { - version: "next", + version: "1.9.3", name: "noNestedTernary", language: "js", recommended: false, diff --git a/crates/biome_js_analyze/src/lint/nursery/no_octal_escape.rs b/crates/biome_js_analyze/src/lint/nursery/no_octal_escape.rs index 0ed47eda2b57..b51d64cf5fec 100644 --- a/crates/biome_js_analyze/src/lint/nursery/no_octal_escape.rs +++ b/crates/biome_js_analyze/src/lint/nursery/no_octal_escape.rs @@ -28,7 +28,7 @@ declare_lint_rule! { /// ``` /// pub NoOctalEscape { - version: "next", + version: "1.9.3", name: "noOctalEscape", language: "js", sources: &[RuleSource::Eslint("no-octal-escape")], diff --git a/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs b/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs index f141da3b4c7a..e9d43e297585 100644 --- a/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs +++ b/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs @@ -39,7 +39,7 @@ declare_lint_rule! { /// ``` /// pub NoTemplateCurlyInString { - version: "next", + version: "1.9.3", name: "noTemplateCurlyInString", language: "js", sources: &[RuleSource::Eslint("no-template-curly-in-string")], diff --git a/crates/biome_js_analyze/src/lint/nursery/use_explicit_function_return_type.rs b/crates/biome_js_analyze/src/lint/nursery/use_explicit_function_return_type.rs index 788378c6cd24..3cd1520f13cd 100644 --- a/crates/biome_js_analyze/src/lint/nursery/use_explicit_function_return_type.rs +++ b/crates/biome_js_analyze/src/lint/nursery/use_explicit_function_return_type.rs @@ -169,7 +169,7 @@ declare_lint_rule! { /// ``` /// pub UseExplicitFunctionReturnType { - version: "next", + version: "1.9.3", name: "useExplicitFunctionReturnType", language: "ts", recommended: false, From e84538595226e2a67eb16c26b4a4f0c94c839a84 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 1 Oct 2024 11:38:46 +0100 Subject: [PATCH 3/4] remove file that isn't needed --- aria-data-1-3-draft.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 aria-data-1-3-draft.json diff --git a/aria-data-1-3-draft.json b/aria-data-1-3-draft.json deleted file mode 100644 index e69de29bb2d1..000000000000 From 9fec99f4380cb8a3ac9dbbd6c52b852cc2b234fa Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Tue, 1 Oct 2024 14:04:31 +0200 Subject: [PATCH 4/4] docs(changelog): add missing rules --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39e0a213c770..74c97e2fd1af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -78,6 +78,10 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b #### New features +- Add [noDescendingSpecificity](https://biomejs.dev/linter/rules/no-descending-specificity/). Contributed by @tunamaguro + +- Add [noNestedTernary](https://biomejs.dev/linter/rules/no-nested-ternary/). Contributed by @kaykdm + - Add [noTemplateCurlyInString](https://biomejs.dev/linter/rules/no-template-curly-in-string/). Contributed by @fireairforce - Add [noOctalEscape](https://biomejs.dev/linter/rules/no-octal-escape/). Contributed by @fireairforce