Skip to content

Commit

Permalink
chore(release): v1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos committed Oct 17, 2024
1 parent 30a016b commit 03923da
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 31 deletions.
41 changes: 23 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ 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
## v1.9.4 (2024-10-18)

### Analyzer

#### Bug fixes

- Improved the message for unused suppression comments. Contributed by @dyc3

- Fix [#4228](https://github.com/biomejs/biome/issues/4228), where the rule `a11y/noInteractiveElementToNoninteractiveRole` incorrectlly reports a `role` for non interactive elements. Contributed by @eryue0220
- Catch suspicious semicolon in react fragment in `noSuspiciousSemicolonInJsx`. Contributed by @vasucp1207
- Fix [#4228](https://github.com/biomejs/biome/issues/4228), where the rule `a11y/noInteractiveElementToNoninteractiveRole` incorrectly reports a `role` for non-interactive elements. Contributed by @eryue0220

- `noSuspiciousSemicolonInJsx` now catches suspicious semicolons in React fragments. Contributed by @vasucp1207

### CLI

Expand Down Expand Up @@ -48,13 +49,17 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

#### New features

- Add [useGuardForIn](https://biomejs.dev/linter/rules/use-guard-for-in/). Contributed by @fireairforce
- Add [noDocumentCookie](https://biomejs.dev/linter/rules/no-document-cookie/). Contributed by @tunamaguro
- Add [noDocumentImportInPage](https://biomejs.dev/linter/rules/no-document-import-in-page/). Contributed by @kaioduarte
- Add [noDuplicateProperties](https://biomejs.dev/linter/rules/no-duplicate-properties/). Contributed by @togami2864
- Add [noHeadElement](https://biomejs.dev/linter/rules/no-head-element/). Contributed by @kaioduarte
- Add [noHeadImportInDocument](https://biomejs.dev/linter/rules/no-head-import-in-document/). Contributed by @kaioduarte
- Add [noImgElement](https://biomejs.dev/linter/rules/no-img-element/). Contributed by @kaioduarte
- Add [guardForIn](https://biomejs.dev/linter/rules/guard-for-in/). Contributed by @fireairforce
- Add [noUselessStringRaw](https://github.com/biomejs/biome/pull/4263). Contributed by @fireairforce
- Add [noUnknownTypeSelector](https://biomejs.dev/linter/rules/no-unknown-type-selector/). Contributed by @Kazuhiro-Mimaki
- Add [useAtIndex](https://biomejs.dev/linter/rules/use-at-index/). Contributed by @GunseiKPaseri
- Add [noUselessStringRaw](https://biomejs.dev/linter/rules/no-useless-string-raw/). Contributed by @fireairforce
- Add [nursery/useCollapsedIf](https://biomejs.dev/linter/rules/use-collapsed-if/). Contributed by @siketyan
- Add [useGoogleFontDisplay](https://biomejs.dev/linter/rules/use-google-font-display/). Contributed by @kaioduarte

#### Bug Fixes
Expand All @@ -64,10 +69,10 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b
This fixes a regression introduced in Biome 1.9.3
The regression affected the following linter rules:

- nursery/useSortedClasses
- nursery/useTrimStartEnd
- style/useTemplate
- suspicious/noMisleadingCharacterClass
- `nursery/useSortedClasses`
- `nursery/useTrimStartEnd`
- `style/useTemplate`
- `suspicious/noMisleadingCharacterClass`

Contributed by @Conaclos

Expand Down Expand Up @@ -167,13 +172,13 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

- [noUnknownFunction](https://biomejs.dev/linter/rules/no-unknown-function/) correctly handles `calc-size` function ([#4212](https://github.com/biomejs/biome/issues/4212)).

The following code `calc-size` is no longer reported as unknown:
The following code `calc-size` is no longer reported as unknown:

```css
.a { height: calc-size(0px); }
```
```css
.a { height: calc-size(0px); }
```

Contributed by @fireairforce
Contributed by @fireairforce

- [useNamingConvention](https://biomejs.dev/linter/rules/use-naming-convention/) now allows configuring conventions for readonly index signatures.

Expand All @@ -188,9 +193,9 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

- Add support for parsing the defer attribute in import statements ([#4215](https://github.com/biomejs/biome/issues/4215)).

```js
import defer * as myModule from "my-module";
```
```js
import defer * as myModule from "my-module";
```

Contributed by @fireairforce

Expand All @@ -211,7 +216,7 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b
- The CSS parser now accepts more emoji in identifiers ([#3627](https://github.com/biomejs/biome/issues/3627#issuecomment-2392388022)).

Browsers accept more emoji than the standard allows.
Biome now accepts these additional emoji.
Biome now accepts these additional emojis.

The following code is now correctly parsed:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare_lint_rule! {
/// ```
///
pub NoDuplicateProperties {
version: "next",
version: "1.9.4",
name: "noDuplicateProperties",
language: "css",
recommended: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare_lint_rule! {
/// ```
///
pub NoUnknownTypeSelector {
version: "next",
version: "1.9.4",
name: "noUnknownTypeSelector",
language: "css",
recommended: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare_lint_rule! {
/// ```
///
pub NoDocumentCookie {
version: "next",
version: "1.9.4",
name: "noDocumentCookie",
language: "js",
recommended: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare_lint_rule! {
/// ```
///
pub NoDocumentImportInPage {
version: "next",
version: "1.9.4",
name: "noDocumentImportInPage",
language: "jsx",
sources: &[RuleSource::EslintNext("no-document-import-in-page")],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ declare_lint_rule! {
/// }
/// ```
pub NoHeadElement {
version: "next",
version: "1.9.4",
name: "noHeadElement",
language: "jsx",
sources: &[RuleSource::EslintNext("no-head-element")],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare_lint_rule! {
/// ```
///
pub NoHeadImportInDocument {
version: "next",
version: "1.9.4",
name: "noHeadImportInDocument",
language: "jsx",
sources: &[RuleSource::EslintNext("no-head-import-in-document")],
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_js_analyze/src/lint/nursery/no_img_element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ declare_lint_rule! {
/// ```
///
pub NoImgElement {
version: "next",
version: "1.9.4",
name: "noImgElement",
language: "jsx",
sources: &[RuleSource::EslintNext("no-img-element")],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare_lint_rule! {
/// String.raw`\n`;
/// ```
pub NoUselessStringRaw {
version: "next",
version: "1.9.4",
name: "noUselessStringRaw",
language: "js",
recommended: false,
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_js_analyze/src/lint/nursery/use_at_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ declare_lint_rule! {
/// array[array.length - 1] = foo;
/// ```
pub UseAtIndex {
version: "next",
version: "1.9.4",
name: "useAtIndex",
language: "js",
recommended: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ declare_lint_rule! {
/// ```
///
pub UseCollapsedIf {
version: "next",
version: "1.9.4",
name: "useCollapsedIf",
language: "js",
sources: &[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ declare_lint_rule! {
/// <link rel="stylesheet" />
/// ```
pub UseGoogleFontDisplay {
version: "next",
version: "1.9.4",
name: "useGoogleFontDisplay",
language: "jsx",
sources: &[RuleSource::EslintNext("google-font-display")],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ declare_lint_rule! {
/// ```
///
pub UseGuardForIn {
version: "next",
version: "1.9.4",
name: "useGuardForIn",
language: "js",
sources: &[RuleSource::Eslint("guard-for-in")],
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/biome/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/biome",
"version": "1.9.3",
"version": "1.9.4",
"bin": {
"biome": "bin/biome"
},
Expand Down

0 comments on commit 03923da

Please sign in to comment.