Changelog

biomejs/biome · · 3 commits

Biome tightens HTML whitespace and class sorting

HTML formatter whitespace fixes and smarter Tailwind v4 class ordering headline a notable day, with smaller CLI flags metadata cleanup.

HTML formatter now handles whitespace more accurately in fallback elements (dyc336430eb)

Biome fixed whitespace borrowing/classification around marquee, noscript, video, audio, and object, reducing cases where text or child content was formatted with the wrong spacing. The change also adds coverage for CSS display classifications and noscript adjacency, so formatting is more consistent with the elements’ actual layout behavior.

Tailwind v4 useSortedClasses learns custom-property ordering and stricter modifier validation (johncarmack1984ff31f40)

The sorter now handles custom properties and unknown property names explicitly, placing them after real properties instead of misclassifying them. It also rejects invalid modifiers for arbitrary properties and extends the Tailwind v4 preset/type plumbing, which should make class sorting more correct for newer Tailwind syntax.

Other misc changes

  • biome rage metadata updated to include more environment variables and clearer wording (yanthomasdev57b197e)
  • Test snapshot updates and minor CLI assertion tweaks
  • Changeset/release-note entries added