Skip to content

Biome CLI v2.3.3

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 09:56
· 6 commits to main since this release
fd282fc

2.3.3

Patch Changes

  • #7907 57bd662 Thanks @ematipico! - Fixed #7839. Now the Biome parser correctly parses the Astro frontmatter even when a triple fence is inside quotes.

  • #7934 a35c496 Thanks @alissonlauffer! - Fixed #7919: The HTML parser now correctly handles Unicode BOM (Byte Order Mark) characters at the beginning of HTML files, ensuring proper parsing and tokenization.

  • #7869 c80361d Thanks @matanshavit! - Fixed #7864: Biome now preserves component tag name casing in Svelte, Astro, and Vue files.

  • #7926 69cecec Thanks @matanshavit! - Added the rule noParametersOnlyUsedInRecursion.

    This rule detects function parameters that are exclusively used in recursive calls and can be removed to simplify the function signature since they are effectively unused.

    function factorial(n, acc) {
      if (n === 0) return 1;
      return factorial(n - 1, acc); // acc is only used here
    }

    Fixes #6484.

  • #7774 2509b91 Thanks @dibashthapa! - Fixed #7657: Added the new rule no-unknown-property from ESLint

  • #7918 7165d06 Thanks @dyc3! - Fixed #7913: The CSS parser, with tailwindDirectives enabled, will now correctly handle @slot.

  • #7959 ffae203 Thanks @siketyan! - Fixed the Biome Language Server so it no longer returns an internal error when the formatter is disabled in the configuration.

What's Changed

  • fix(html): parse frontmatter inside quotes by @ematipico in #7907
  • fix(parse/css): add @slot tailwind at rule by @dyc3 in #7918
  • fix(formatter): preserve component tag casing in Svelte/Astro/Vue files by @matanshavit in #7869
  • feat(lint): new rule: no parameters only used in recursion by @matanshavit in #7926
  • fix(html): correctly handle BOM in HTML-ish languages by @alissonlauffer in #7934
  • feat(yaml_parser): parse document end token by @l0ngvh in #7936
  • feat(parse/tailwind): parse negative candidates, other misc cleanup/refactors by @dyc3 in #7937
  • feat(lint): implement no-unknown-property from eslint react by @dibashthapa in #7774
  • chore: update Rust to v1.91.0 by @Gumichocopengin8 in #7947
  • chore(deps): update github-actions by @renovate[bot] in #7952
  • chore(deps): update dependency @types/node to v22.19.0 by @renovate[bot] in #7953
  • chore(deps): update rust crate ignore to 0.4.25 by @renovate[bot] in #7954
  • chore(deps): update dependency eslint to v9.39.0 - autoclosed by @renovate[bot] in #7955
  • fix(console): escape backquotes in MDX context by @siketyan in #7956
  • fix(lsp): do not return error if the formatter is disabled by @siketyan in #7959
  • ci: release by @github-actions[bot] in #7916

New Contributors

Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/[email protected]...@biomejs/[email protected]