2.4.4
Patch Changes
-
#9150
6946835Thanks @dyc3! - Fixed #9138: Astro files containing---in HTML content (e.g.,<h1>---Hi</h1>) are now parsed correctly, both when a frontmatter block is present and when there is no frontmatter at all. -
#9150
aa6f837Thanks @dyc3! - Fixed #9138: The HTML parser incorrectly failing to parse bracket characters ([and]) in text content (e.g.<div>[Foo]</div>). -
#9151
c0d4b0cThanks @dyc3! - Fixed parsing of Svelte directive keywords (use,style) when used as plain text content in HTML/Svelte files. Previously,<p>use JavaScript</p>or<p>style it</p>would incorrectly produce a bogus element instead of proper text content. -
#9162
7f1e060Thanks @dyc3! - Fixed #9161: The Vue parser now correctly handles colon attributes likexlink:hrefandxmlns:xlinkby parsing them as single attributes instead of splitting them into separate tokens. -
#9164
458211bThanks @dyc3! - Fixed #9161: ThenoAssignInExpressionsrule no longer flags assignments in Vue v-on directives (e.g.,@click="counter += 1"). Assignments in event handlers are idiomatic Vue patterns and are now skipped by the rule.
What's Changed
- chore(scss): cherry-picks by @denbezrukov in #9149
- fix(parse/html): don't lex square brackets as special tokens in contexts where they don't mean anything by @dyc3 in #9150
- refactor(parse/html): use token_set! instead of matches! for svelte keywords and directives helpers by @dyc3 in #9148
- fix(parse/html): don't lex "use" as
USE_KWwhen in html text content by @dyc3 in #9151 - feat(css): enhance SCSS qualified name detection by @denbezrukov in #9159
- chore(html): more html benchmarks by @dyc3 in #8153
- fix(parse/html/vue): don't treat
:as special token outside of vue directives by @dyc3 in #9162 - feat(lint/vue): automatically ignore
noAssignInExpressionsfor vue v-on directives by @dyc3 in #9164 - ci: release by @github-actions[bot] in #9160
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.4.3...@biomejs/biome@2.4.4