2.4.3
Patch Changes
-
#9120
aa40fc2Thanks @ematipico! - Fixed #9109, where the GitHub reporter wasn't correctly enabled whenbiome ciruns on GitHub Actions. -
#9128
8ca3f7fThanks @dyc3! - Fixed #9107: The HTML parser can now correctly parse Astro directives (client/set/class/is/server), which fixes the formatting for Astro directives. -
#9124
f5b0e8dThanks @ematipico! - Fixed #8882 and #9108: The Astro frontmatter lexer now correctly identifies the closing---fence when the frontmatter contains multi-line block comments with quote characters, strings that mix quote types (e.g."it's"), or escaped quote characters (e.g."\"). -
#9142
3ca066bThanks @THernandez03! - Fixed #9141: ThenoUnknownAttributerule no longer reportsclosedbyas an unknown attribute on<dialog>elements. -
#9126
792013eThanks @ematipico! - Added missing Mocha globals to theTestdomain:context,run,setup,specify,suite,suiteSetup,suiteTeardown,teardown,xcontext,xdescribe,xit, andxspecify. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha. -
#8855
6918c9eThanks @ruidosujeira! - Fixed #8840. Now the Biome CSS parser correctly parsesnot + scroll-stateinside@containerqueries. -
#9111
4fb55cfThanks @Jayllyz! - Slightly improved performance ofnoIrregularWhitespaceby adding early return optimization and simplifying character detection logic. -
#8975
086a0c5Thanks @FrankFMY! - Fixed #8478:useDestructuringno longer suggests destructuring when the variable has a type annotation, likeconst foo: string = object.foo.
What's Changed
- perf(lint): optimize noIrregularWhitespace rule by @Jayllyz in #9111
- fix(cli): use github reporter in github actions env by @ematipico in #9120
- fix: add more globals for mocha by @ematipico in #9126
- fix(parse/html): astro fence by @ematipico in #9124
- fix(linter): skip useDestructuring for variables with type annotations by @FrankFMY in #8975
- fix(parser): accept scroll-state(...) in @container not queries by @ruidosujeira in #8855
- fix(noUnknownAttribute): add
closedbyas a valid attribute for<dialog>by @THernandez03 in #9142 - feat(parse/html): parse astro directives by @dyc3 in #9128
- ci: release by @github-actions[bot] in #9116
New Contributors
- @THernandez03 made their first contribution in #9142
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.4.2...@biomejs/biome@2.4.3