2.5.4
Patch Changes
-
#10665
55ff995Thanks @dyc3! - Improved the performance of the HTML parser slightly in our synthetic benchmarks. -
#10894
f4fb10eThanks @ematipico! - Fixed #6392: On-type formatting no longer moves comments before anifstatement into its body. -
#10939
f2799dbThanks @Netail! - Fixed #10930:noLabelWithoutControlnow correctly detects text interpolation in Astro, Svelte & Vue as valid accessible content. -
#10945
ae15d98Thanks @Netail! - Fixed #10942: Svelte directives don't throw an accidental debug log anymore. -
#10842
5e1abfeThanks @JamBalaya56562! - Fixed #9196:biome check --write --unsafeno longer hangs forever when applying thenoCommentTextcode fix.The rule's fix now wraps the comment in a real JSX expression container (
{/* comment */}) instead of re-inserting the braces as plain JSX text, so the fixed code is no longer reported again by the same rule. -
#10891
ecca79eThanks @ematipico! - Fixed#10885: prevented a module-inference regression introduced by a housekeeping change. -
#10886
60c8043Thanks @dyc3! - Fixed #10727: Biome now breaks the arguments of curriedtest.each,it.each,describe.each, andtest.forcalls when they exceed the configured line width.- test.each([[1, 2]])("a description that is long enough to push the hugged opening line beyond the print width", (a, b) => { - expect(a).toBe(b); - }); + test.each([[1, 2]])( + "a description that is long enough to push the hugged opening line beyond the print width", + (a, b) => { + expect(a).toBe(b); + }, + );
-
#10895
01a85f0Thanks @ematipico! - Biome will now remove stale Unix daemon sockets from older Biome versions when starting a newer daemon.
What's Changed
- feat(yml/fmt): basic block properties by @ematipico in #10873
- feat(useSortedClasses): sort important-suffix classes in sort_v4 by @johncarmack1984 in #10880
- fix(format/js): wrap curried test each calls by @dyc3 in #10886
- fix(markdown): parse whitespace after list markers by @tidefield in #10869
- fix(inference): use correct function when cloning data by @ematipico in #10891
- docs(noDuplicateProperties): note that @Keyframes declarations are ignored by @dfedoryshchev in #10893
- fix(lint): prevent noCommentText fix from looping forever by @JamBalaya56562 in #10842
- fix(core): cleanup old sockets in Unix by @ematipico in #10895
- feat(inference): inference engine via salsa by @ematipico in #10888
- chore(deps): update dependency @types/node to v24.13.3 by @renovate[bot] in #10920
- chore(deps): update github-actions by @renovate[bot] in #10921
- chore(deps): update pnpm to v11.11.0 by @renovate[bot] in #10925
- chore(deps): update rust crate jiff to 0.2.32 by @renovate[bot] in #10923
- chore(deps): update rust crate regex to 1.13.0 by @renovate[bot] in #10926
- fix(fmt): don't move comments inside if statement by @ematipico in #10894
- fix(html_analyze): noLabelWithoutControl interpolation by @Netail in #10939
- refactor(parse/html): keywords for all html/svg tags by @dyc3 in #10665
- perf(lint/html): avoid string comparisons for tag names by @dyc3 in #10692
- fix: accidental debug log by @Netail in #10945
- ci: release by @github-actions[bot] in #10887
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.5.3...@biomejs/biome@2.5.4