Biome 2.5.4
Breaking: Biome 2.5.4 ships today. The latest patch brings HTML parser performance gains, critical formatter fixes, and a new YAML formatter feature.
What Changed
- HTML parser faster — Improved performance via keyword-based tag lookups, reducing string comparisons
- No more comment moves — On-type formatting no longer shoves comments before
ifstatements into their bodies - Label detection fixed —
noLabelWithoutControlnow correctly handles text interpolation in Astro, Svelte, and Vue - No more hang —
biome check --write --unsafeno longer loops forever when applyingnoCommentTextfixes - Curried test formatting —
test.each,it.each, and friends now break arguments correctly at line width - Stale sockets cleaned — Biome daemon now removes old Unix sockets from previous versions
New Feature
- YAML formatter — Basic block properties formatting now supported
- Sorted classes —
useSortedClassesnow handlesimportant-suffix classes in sort_v4
Housekeeping
- Inference engine migrated to Salsa framework
- Dependencies updated: pnpm 11.11.0, regex 1.13.0, jiff 0.2.32
Upgrade now via npm install -D @biomejs/biome or your package manager of choice.