From 5179abd24b315194416f357afe6b69e11e6470e7 Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Sat, 21 Oct 2023 15:27:33 +0200 Subject: [PATCH] docs(changelog): fix changelog entry location (#574) --- CHANGELOG.md | 19 ++++++++++--------- .../src/content/docs/internals/changelog.mdx | 19 ++++++++++--------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19af2326f8eb..ae984c5411ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom ### Linter +#### Bug fixes + +- Fix [#557](https://github.com/biomejs/biome/issues/557) which made [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports) report imported types used in `typeof` expression. Contributed by @Conaclos + ### Parser ### VSCode @@ -51,8 +55,6 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom - Fix [#555](https://github.com/biomejs/biome/issues/555), by correctly map `globals` into the workspace. -- Fix [#557](https://github.com/biomejs/biome/issues/557) which made [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports) report imported types used in `typeof` expression. Contributed by @Conaclos - ## 1.3.0 (2023-10-19) ### Analyzer @@ -220,13 +222,6 @@ The following rules are now recommended: - [noFallthroughSwitchClause](https://biomejs.dev/linter/rules/no-fallthrough-switch-clause) - [noForEach](https://biomejs.dev/linter/rules/no-for-each) - -#### Bug fixes - -- Fix [#243](https://github.com/biomejs/biome/issues/243) a false positive case where the incorrect scope was defined for the `infer` type. in rule [noUndeclaredVariables](https://biomejs.dev/linter/rules/no-undeclared-variables/). Contributed by @denbezrukov -- Fix [#322](ttps://github.com/biomejs/biome/issues/322), now [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) correctly handles literals inside call expressions. -- Changed how [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) behaves. The rule is not triggered anymore on function calls. Contributed by @ematipico - #### New features - Add [noEmptyCharacterClassInRegex](https://biomejs.dev/linter/rules/no-empty-character-class-in-regex) rule. The rule reports empty character classes and empty negated character classes in regular expression literals. Contributed by @Conaclos @@ -313,6 +308,12 @@ The following rules are now recommended: - Fix [#104](https://github.com/biomejs/biome/issues/104). We now correctly handle types and values with the same name. +- Fix [#243](https://github.com/biomejs/biome/issues/243) a false positive case where the incorrect scope was defined for the `infer` type. in rule [noUndeclaredVariables](https://biomejs.dev/linter/rules/no-undeclared-variables/). Contributed by @denbezrukov + +- Fix [#322](ttps://github.com/biomejs/biome/issues/322), now [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) correctly handles literals inside call expressions. + +- Changed how [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) behaves. The rule is not triggered anymore on function calls. Contributed by @ematipico + ### Parser - Enhance diagnostic for infer type handling in the parser. The 'infer' keyword can only be utilized within the 'extends' clause of a conditional type. Using it outside of this context will result in an error. Ensure that any type declarations using 'infer' are correctly placed within the conditional type structure to avoid parsing issues. Contributed by @denbezrukov diff --git a/website/src/content/docs/internals/changelog.mdx b/website/src/content/docs/internals/changelog.mdx index 05d38b7db613..fe6b15f927d8 100644 --- a/website/src/content/docs/internals/changelog.mdx +++ b/website/src/content/docs/internals/changelog.mdx @@ -30,6 +30,10 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom ### Linter +#### Bug fixes + +- Fix [#557](https://github.com/biomejs/biome/issues/557) which made [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports) report imported types used in `typeof` expression. Contributed by @Conaclos + ### Parser ### VSCode @@ -57,8 +61,6 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom - Fix [#555](https://github.com/biomejs/biome/issues/555), by correctly map `globals` into the workspace. -- Fix [#557](https://github.com/biomejs/biome/issues/557) which made [noUnusedImports](https://biomejs.dev/linter/rules/no-unused-imports) report imported types used in `typeof` expression. Contributed by @Conaclos - ## 1.3.0 (2023-10-19) ### Analyzer @@ -226,13 +228,6 @@ The following rules are now recommended: - [noFallthroughSwitchClause](https://biomejs.dev/linter/rules/no-fallthrough-switch-clause) - [noForEach](https://biomejs.dev/linter/rules/no-for-each) - -#### Bug fixes - -- Fix [#243](https://github.com/biomejs/biome/issues/243) a false positive case where the incorrect scope was defined for the `infer` type. in rule [noUndeclaredVariables](https://biomejs.dev/linter/rules/no-undeclared-variables/). Contributed by @denbezrukov -- Fix [#322](ttps://github.com/biomejs/biome/issues/322), now [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) correctly handles literals inside call expressions. -- Changed how [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) behaves. The rule is not triggered anymore on function calls. Contributed by @ematipico - #### New features - Add [noEmptyCharacterClassInRegex](https://biomejs.dev/linter/rules/no-empty-character-class-in-regex) rule. The rule reports empty character classes and empty negated character classes in regular expression literals. Contributed by @Conaclos @@ -319,6 +314,12 @@ The following rules are now recommended: - Fix [#104](https://github.com/biomejs/biome/issues/104). We now correctly handle types and values with the same name. +- Fix [#243](https://github.com/biomejs/biome/issues/243) a false positive case where the incorrect scope was defined for the `infer` type. in rule [noUndeclaredVariables](https://biomejs.dev/linter/rules/no-undeclared-variables/). Contributed by @denbezrukov + +- Fix [#322](ttps://github.com/biomejs/biome/issues/322), now [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) correctly handles literals inside call expressions. + +- Changed how [noSelfAssign](https://biomejs.dev/linter/rules/no-self-assign/) behaves. The rule is not triggered anymore on function calls. Contributed by @ematipico + ### Parser - Enhance diagnostic for infer type handling in the parser. The 'infer' keyword can only be utilized within the 'extends' clause of a conditional type. Using it outside of this context will result in an error. Ensure that any type declarations using 'infer' are correctly placed within the conditional type structure to avoid parsing issues. Contributed by @denbezrukov