2.6.9
Patch Changes
-
#13192
d9e86abThanks @dyc3! - Added the nursery rulenoArrayDelete. It reports thedeleteoperator used on array elements, which leaves an empty slot in the array instead of removing the element. The rule needs type information, and offers an unsafe fix that replaces thedeletewith asplice()call.declare const array: number[]; delete array[0];
-
#13209
4408dd4Thanks @dyc3! - Added the nursery rulenoExpectToHaveBeenCalledOnce, which reportstoHaveBeenCalledOnce()andtoBeCalledOnce()assertions and suggeststoHaveBeenCalledTimes(1)andtoBeCalledTimes(1)instead. The rule belongs to thetestdomain.expect(sendEmail).toHaveBeenCalledOnce();
-
#13217
c0dc090Thanks @dyc3! - Added the new nursery rulenoImmediateMutation, which reports arrays, objects,Sets, andMaps that are changed in the statement right after they are created, and variables that are assigned right after they are declared.const array = [1, 2]; array.push(3); // reported: write `[1, 2, 3]` instead let foo; foo = 1; // reported: write `let foo = 1` instead
-
#13120
54eb224Thanks @dyc3! - Added the nursery rulenoJasmineGlobals, which reports Jasmine globals in Jest tests, such asspyOn(),fail(),pending(), and thejasmineobject. Jest's default test runner doesn't provide them.jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
-
#13122
6e2b42eThanks @dyc3! - Added the nursery rulenoReturnInTest, which reportsreturnstatements directly inside the body of a test function. The rule belongs to thetestdomain.test("adds two numbers", () => { return expect(add(1, 2)).toBe(3); });
-
#13161
37692e2Thanks @dyc3! - Added the nursery rulenoTailwindConflictingClasses, which reports Tailwind CSS classes that set the same CSS properties on an element. Only one of the conflicting classes takes effect, so the other one does nothing.<div className="flex grid" />;
-
#13119
0cc8548Thanks @dyc3! - Added the nursery rulenoTestGlobals, which reports Jest and Vitest APIs that are used as global variables instead of being imported.describe("sum", () => {});
-
#13121
5065890Thanks @dyc3! - Added the nursery rulenoTestHooks, which reports setup and teardown hooks in tests, such asbeforeEachandafterAll.beforeEach(() => { // reported cart = createCart(); });
-
#13207
328be47Thanks @dyc3! - Added the nursery rulenoUnsafeSqliteInterpolation, which reports SQL strings that insert values with${}or use a tagged template when passed to theexec()andprepare()methods of anode:sqlitedatabase.import { DatabaseSync } from "node:sqlite"; const database = new DatabaseSync(":memory:"); database.exec(`SELECT * FROM users WHERE id = ${id}`);
-
#12544
0d70b09Thanks @dyc3! - Added the new nursery rulenoUselessBind, which disallows.bind()calls on functions that don't usethis, and on arrow functions.const handler = function () { console.log("clicked"); }.bind(this); // reported
-
#13216
a1c2950Thanks @dyc3! - Added the nursery rulenoUselessDefaultAssignment, which uses type information to report default values that can never be used, because the value they replace can't beundefined.function greet({ name = "friend" }: { name: string }) {} // reported
-
#13101
981cd33Thanks @dyc3! - Added the new nursery rulenoUselessNestedTernary, which reports nested ternary expressions that repeat a result of the expression around them. The conditions of such expressions can be combined with&&or||.const result = a ? (b ? c : d) : d;
-
#13100
8ece6a5Thanks @dyc3! - Added the nursery rulenoUselessSetConstruction, which reports anew Set()that only copies a value used with aSetmethod such asunion()orisSubsetOf(). These methods accept aSetor aMapdirectly, don't change theSetthey are called on, and return a newSetwhen they combine values.const selected = new Set([1, 2]); const other = new Set([2, 3]); selected.union(new Set(other)); new Set(selected).union(other); new Set(selected.union(other));
-
#13164
dc11deaThanks @dyc3! - Added the nursery rulenoVueDuplicateVElseIf, which reportsv-else-ifconditions in Vue templates that repeat, or are covered by, earlier conditions of the samev-if/v-else-ifchain.For example, the second element below can never be rendered:
<template> <div v-if="a || b" /> <div v-else-if="a" /> </template>
-
#13194
9bd7f56Thanks @dyc3! - Added the new nursery rulenoVueNegationElse, which reports a negated condition inv-iforv-else-ifwhen av-elsebranch follows it. Its fix removes the negation and swaps the two branches.<template> <div v-if="!isLoading">Content</div> <!-- reported --> <div v-else>Loading...</div> </template>
-
#13271
31fad4aThanks @dyc3! - Added the nursery ruleuseBiomeKindSets, which reports Biome JS plugins that check thekindof a node or token against several strings. A kind set created withnodeKinds()ortokenKinds()reads the kind natively, which is faster.The rule belongs to the new
biomePlugindomain. Biome doesn't enable this domain automatically, so enable it in the linter configuration of your plugin project.if (node.kind === "JS_CALL_EXPRESSION" || node.kind === "JS_NEW_EXPRESSION") {}
-
#13271
31fad4aThanks @dyc3! - Added the nursery ruleuseBiomeTopLevelTypes, which reports the use ofnodeKinds(),tokenKinds(), orunion()inside a function. The rule belongs to thebiomePlugindomain.import { defineRule, nodeKinds } from "@biomejs/runtime/plugin"; export const rule = defineRule({ run(node) { return nodeKinds("JS_CALL_EXPRESSION").has(node); }, });
-
#13191
4a21426Thanks @dyc3! - Added the new nursery ruleuseConsistentIndexedObjectStyle, which requires one style for object types with arbitrary keys. By default, it requires theRecordtype instead of index signatures and mapped types.// reported, prefer `Record<string, number>` interface Scores { [name: string]: number; }
-
#13205
adde697Thanks @dyc3! - Added the nursery ruleuseDescribeFunctionTitle, which reports test suites (describeblocks) whose title is a string or a.nameproperty that repeats the name of an imported value, and suggests passing the value itself as the title.import { myFunction } from "./myFunction"; describe("myFunction", () => {}); // reported
-
#13206
32daef0Thanks @dyc3! - Added the nursery ruleuseEarlyContinue, which reports anifstatement that wraps the rest of a loop body and suggests skipping the iteration early withcontinueinstead.for (const item of items) { if (item.isActive) { process(item); save(item); } }
-
#13211
aaf89d6Thanks @dyc3! - Added the nursery ruleuseExpectEqualityMatcher, which reports assertions that compare two values with===or!==insideexpect()and check the result against a boolean. Using an equality matcher instead makes failing tests show both values.// Invalid expect(total === 10).toBe(true); // Valid expect(total).toBe(10);
-
#13092
432e8c8Thanks @dyc3! - Added the nursery ruleuseExpectToHaveLength, which reports tests that check thelengthproperty withtoBe(),toEqual(), ortoStrictEqual(), and suggests usingtoHaveLength()instead.expect(files.length).toBe(1);
-
#13091
6f231d0Thanks @dyc3! - Added the nursery ruleuseExpectToStrictEqual, which reports tests that compare values withtoEqual(), and suggests usingtoStrictEqual()instead.toEqual()ignores properties set toundefined, so the following test passes even though the two objects are different.expect({ a: "a", b: undefined }).toEqual({ a: "a" });
-
#13215
3677e52Thanks @dyc3! - Added the new nursery ruleuseTanstackQueryExhaustiveDependencies, which reports TanStack Query options whosequeryKeydoesn't include every value thatqueryFnuses. When the key misses a value, changing that value doesn't fetch new data, and the query keeps returning data for the old value.function Todo({ todoId }) { useQuery({ queryKey: ["todo"], queryFn: () => fetchTodo(todoId), }); }
-
#13212
32f5c05Thanks @dyc3! - Added the nursery ruleuseTanstackQueryMutationPropertyOrder, which requiresonMutateto come beforeonErrorandonSettledin the options of TanStack Query'suseMutation. The type of the value thatonMutatereturns can be wrong in a property that comes before it.import { useMutation } from "@tanstack/react-query"; useMutation({ mutationFn: (todo) => saveTodo(todo), onError: (error, todo, saved) => restoreTodo(saved.previousTodo), onMutate: (todo) => ({ previousTodo: readTodo(todo.id) }), });
-
#13103
c3f850eThanks @dyc3! - Added the nursery ruleuseTopLevelDescribe, which reports tests and hooks that are not inside adescribeblock. ThemaxTopLevelDescribesoption also limits how many top-leveldescribeblocks a file can have.test("adds two numbers", () => {});
-
#13344
60da8a9Thanks @Jayllyz! - Improved the performance of GritQL plugins on files with many matches. Evaluation time no longer grows quadratically with the number of matches. -
#13008
01ce2ddThanks @ematipico! - Improved Astro cross-language JavaScript analysis by resolving embedded bindings and references through Astro scopes instead of document-wide name matching. -
#13011
a5aa4f2Thanks @ematipico! - Fixed #12818:useFilenamingConventionnow reports a filename diagnostic once per HTML, Vue, Svelte, or Astro document instead of once per embedded JavaScript snippet. -
#11372
6ce9395Thanks @renovate! - Improved how Biome aligns edits in diagnostic fix previews. Suggested fixes now group nearby edits more clearly, which can change which repeated lines are shown as unchanged. -
#13273
9add717Thanks @tats-u! - Fixed #13267:biome migrate prettiernow enablesmarkdown.parser.frontmatter, matching Prettier's parsing of YAML frontmatter in Markdown files. -
#13013
e2a8e85Thanks @ematipico! - Implemented the runtime default-export case from #11463 with the newnoAstroComponentDefaultExportnursery rule. The rule reports runtime default exports in Astro component frontmatter while allowing named and type-only exports.--- export default function render() {} ---
-
#13010
8bdb36cThanks @ematipico! - Fixed #12956:useImportTypenow distinguishes Astro template type and value uses, whileuseConstandnoVaraccount for template writes. Cross-language references now prevent unsafe unused-variable rename suggestions. -
#13015
2ec6bbeThanks @ematipico! - Fixed #5242: the HTML-family formatter now collapses whitespace in staticclassattributes and formats validstyleattributes as inline CSS declarations. Component props, dynamic Astro template values, and style attributes containing invalid CSS remain conservative. Embedded replacements also recompute parent layout so formatting converges in one pass.-<div class=" card selected " style="color:red;font-size:10px"></div> +<div class="card selected" style="color: red; font-size: 10px;"></div>
-
#13018
cfb4467Thanks @ematipico! - Fixed #12956: React, React Native, and Next.js rules that rely on framework-specific JSX behavior no longer report Astro template expressions. Mixed-framework projects can enable those rule domains without receiving React- or Next-specific diagnostics for Astro markup such as<head>,<img>, componentchildrenprops, string refs, Astro list rendering, or Polyfill.io scripts. -
#12419
03b0eddThanks @vibbix! - Fixed #9768:noDescendingSpecificityno longer reports nested selectors that style different elements. The following code is now valid:.aaa { ul li { &:hover { color: #1684fc; } } } .bbb { a { &:hover { background: #fff; } } }
The rule now reports
a:hover { color: red; }followed bya { color: blue; }, as Stylelint does, and ignores rules without declarations. -
#13103
c3f850eThanks @dyc3! - Fixed the detection ofdescribeblocks in the test rulesnoIdenticalTestTitle,useTestHooksOnTop, anduseTestHooksInOrder. These rules treateddescribe.todo,describe.shuffle,test.describe.parallel, andtest.describe.serialas tests, and they didn't recognize conditional blocks such asdescribe.skipIf(condition)("title", () => {}). As a result, they didn't check the tests and hooks inside those blocks.For example,
noIdenticalTestTitlenow reports the second test:test.describe.serial("checkout", () => { test("pays", async ({ page }) => {}); test("pays", async ({ page }) => {}); });
The nursery rule
useValidTestTitlenow also checks the titles of tagged-template tables such astest.each`table`("title", () => {})and of conditional calls such astest.skipIf(condition)("title", () => {}). -
#12548
c919f1cThanks @pkallos! - FixeduseNullishCoalescingreportinginert || undefinedwheninertis destructured with a default value, such as{ inert = false }. -
#12419
03b0eddThanks @vibbix! - FixednoDuplicateSelectorsmissing some duplicates. The rule now reports these selectors:.c:is(.a .b) {} :is(.a .b).c {} [data-progress="50%"] {} [data-progress="50%"] {}
-
#13262
b359a58Thanks @GBra-4-669! - Fixed #13258: the HTML parser no longer panics when a CDATA section starts with a second<![CDATA[marker. The marker is kept as literal text. -
#13301
d06ae5dThanks @dyc3! - Fixed #13299: the HTML formatter no longer adds a line break between whitespace-sensitive siblings that touch in the source, such as an element next to a self-closing element, a Svelte{@render}tag, or a text expression. The line break rendered as a space that wasn't in the source.<p> - <span class="label">label</span><img src="image.png"> - <span class="hint">hint</span> + <span class="label">label</span><img src="image.png"><span class="hint" + >hint</span + > </p>
-
#13180
ee7e535Thanks @GBra-4-669! - Fixed #13178: the JS parser no longer panics onimport.deferorimport.sourcewhen either is parsed as an expression without a following parenthesized argument list. It reports a syntax error instead. -
#13269
b6e7d37Thanks @andrew-hesse! - Fixed #13268: the Markdown formatter no longer pairs emphasis markers across paragraphs of a blockquote.-> a _**, b +> a ___, b > -> c 20**. +> c 20__.
-
#13372
399f3a1Thanks @dyc3! - Fixed #13334: the Markdown formatter now usesindentWidthto indent the content of list items, as Prettier does withtabWidth. Some content keeps its current alignment, such as blockquotes, HTML blocks, and lists inside blockquotes.With
indentWidthset to4:- parent - second paragraph - - child + second paragraph + - child
-
#13083
a0acfd5Thanks @jfmcdowell! - Fixed a Markdown parser hang on block quote lines that contain only spaces after the>. For example, Biome no longer hangs when the second line below has two or more spaces after the>:- > - a >
-
#13375
70d6154Thanks @garysassano! - Fixed the HTML formatter adding a line break between a Svelte block ({#if},{#each},{#await},{#key},{#snippet}) or tag ({@const},{let},{@debug}) and a sibling that touches it in the source. Svelte keeps that line break as a text node, so the page rendered a space that wasn't in the source.<p> - Total: - {#each items as item} + Total:{#each items as item} <b>{item}</b> - {/each} - . + {/each}. </p>
-
#13012
ef2d71aThanks @ematipico! - Fixed #12707:useValidAriaValuesno longer reports Astro template-literal attributes that contain substitutions because their runtime value is unknown. Static template-literal attributes remain checked. -
#13184
3f72ebeThanks @dyc3! - FixednoFloatingPromises, which now detects unhandled promises returned through generic class methods, such asfactory.create<Promise<void>>(). -
#13342
eb51fdbThanks @Jayllyz! - Improved the performance of GritQL plugins, especially for plugins that report many matches in large files. -
#13009
4ea9690Thanks @ematipico! - Fixed #12956:noUndeclaredVariablesnow respects Astro server and client scopes,define:vars, and type/value namespaces.noUnusedVariables,noUnusedImports, andnoUnusedFunctionParametersnow follow resolved Astro symbols and treat write-only template references as unused. -
#13193
f0e63ffThanks @dyc3! - Improved performance of all parsers. On large projects,biome lintis up to 1.7% faster. -
#13016
5d4d474Thanks @ematipico! - Fixed #12956: Biome now leaves the contents of unsupported<script>and<style>blocks unchanged instead of trying to format them as JavaScript or CSS. This includes embedded languages such as Less, SCSS, PostCSS, CoffeeScript, and customlangortypevalues.<style lang="less"> @color: red; .card { color: @color; } </style> <script lang="coffee"> square = (value) -> value * value </script>
Malformed Astro frontmatter, expressions, scripts, and styles also retain their original text while Biome formats the surrounding markup.
-
#13208
c4d56beThanks @dyc3! - Added the nursery rulenoCanvasToImage, which reports canvases that are converted to an image or copied pixel by pixel only to be drawn onto another canvas. Pass the canvas todrawImage()instead.const image = await loadImage(canvas.toDataURL()); context.drawImage(image, 0, 0);
-
#13195
f126262Thanks @dyc3! - Added trivia APIs to JavaScript plugins.leadingTrivia()andtrailingTrivia()on nodes and tokens return the whitespace, line breaks, and comments around them, andleadingComments()andtrailingComments()on tokens return only the comments. Each piece has anisComment()method.registerDiagnostic()now also accepts tokens and trivia pieces, and highlights only that element.const keyword = statement.declaration.token("kindToken"); for (const comment of keyword.leadingComments()) { if (comment.text.includes("TODO")) { registerDiagnostic(comment, "warning", "Resolve this TODO."); } }
-
#12962
2ae8b51Thanks @dyc3! - Improved the performance of linting with many rules enabled, such as Biome's recommended rules. In exchange, Biome can use more memory, because each thread now keeps some freed memory for reuse. -
#12937
4dc698aThanks @b84330808! - Fixed.editorconfigsection globs that have a negative number in a numeric range.[{-3..3}]now matches the files named-3to3, instead of only a file named{-3..3}. -
#12960
9ff9ee4Thanks @vibbix! - Fixed a crash when a dependency'spackage.jsonmaps anexportsentry to its own package name, such as"exports": { "sass": "my-package" }. Like Node.js, Biome now rejectsexportstargets that don't start with./. -
#12960
9ff9ee4Thanks @vibbix! - FixednoUnusedClassesreporting classes of SCSS partials loaded with@use,@forwardor@import. Biome now resolves these loads the way Sass does, including partials such as_card.scss,indexfiles, and import-only files, so a class in_card.scsscounts as used when a component importsstyles.scss, which contains@use "card". -
#13139
103dc4eThanks @dyc3! - MadenoArrayForEach,noArraySortForMinMax,noBooleanSortComparator,noNegatedArrayPredicate,noReturnArrayPush, anduseIteratorZipagree on which values are known not to be arrays. They now all ignore calls on literals, object literals, functions, classes,newexpressions other thannew Array()or a typed array, and variables whose type annotation, type alias, orconstvalue is one of those or a built-in type such asMap,Set, orstring | undefined. A type declared in the file with the same name as a built-in type, such astype Set<T> = T[], is no longer treated as the built-in type.// No longer reported by noArrayForEach new Collection().forEach((value) => console.log(value));
-
#12941
ea3b347Thanks @dyc3! - Improved the performance ofbiome lint,biome check, andbiome cion Linux. Biome now spends less time in the operating system for each file it analyzes, so linting large projects is faster. -
#13343
b9fdabaThanks @ematipico! - Fixed range formatting in the editor for Vue, Svelte, and Astro files when full HTML support is disabled. Selections that end before the script block no longer format it or report an error, and edits for selections inside the script block are now applied at the selected location. -
#13007
6981d43Thanks @ematipico! - Recognized Astro<style define:vars>keys as custom-property declarations. ThenoUndeclaredCustomPropertiesrule now accepts statically supplied variables and avoids diagnostics when dynamic keys may provide a declaration. -
#13001
11027d4Thanks @ematipico! - Fixed #10547: Astro files can now place<!doctype html>after top-level elements such as inline scripts without parse errors, and formatting preserves the source order.-<script is:inline>console.log("ready");</script> +<script is:inline> + console.log("ready"); +</script> <!doctype html>
-
#13343
b9fdabaThanks @ematipico! - Fixed #13257: untitled VS Code documents now use their existing workspace project, retain it across workspace-folder removal and re-addition, avoid creating projects from non-file URIs, and preserve URI extensions for language detection. -
#13345
c071912Thanks @dyc3! - Fixed #13335: Svelte{#snippet}blocks with type parameters, such as{#snippet row<T extends string>(item: T)}, are now parsed and formatted. Invalid snippet signatures no longer make the linter panic. -
#13343
b9fdabaThanks @ematipico! - Fixed #12317 and #12984: VCS ignore matching now preserves logical paths for external and symlinked inputs, normalizes stdin paths, combines coexisting.gitignoreand.ignorerules, respects nested ignore precedence and Git's repository exclude file, and reloads ignore state when ignore files change. -
#13014
0c0dfe2Thanks @ematipico! - Fixed #12349: Biome now reads quote character references, such as"and&[#39](https://github.com/biomejs/biome/issues/39);, as string quotes in the CSS of HTML and SVGstyleattributes. Valid values such asfont-family: "Rotis Sans"no longer produce CSS parse diagnostics. -
#13356
abe482cThanks @github-actions! - Updated the Baseline data of theuseBaselinerule. The rule now reports CSS features according to their latest Baseline status.
What's Changed
- fix(parse/js): don't panic on import phase modifier without a call by @GBra-4-669 in #13180
- feat(lint): add useExpectToStrictEqual by @dyc3 in #13091
- feat(lint): add useExpectToHaveLength by @dyc3 in #13092
- feat(lint): add noUselessSetConstruction by @dyc3 in #13100
- feat(lint): add noUselessNestedTernary by @dyc3 in #13101
- feat(lint): add useTopLevelDescribe by @dyc3 in #13103
- feat(lint): add noTestGlobals by @dyc3 in #13119
- feat(lint): add noJasmineGlobals by @dyc3 in #13120
- feat(lint): add noTestHooks by @dyc3 in #13121
- feat(lint): add noReturnInTest by @dyc3 in #13122
- fix(js_type_info): apply destructuring defaults to binding types by @pkallos in #12548
- feat(tools): internal publisher by @ematipico in #13199
- refactor(lint): share the non-array receiver check by @dyc3 in #13139
- chore(deps): update rust crate jiff to 0.2.43 by @renovate[bot] in #13214
- fix(type_inference): keep broad primitives in falsy branches by @ematipico in #13153
- fix(type_inference): require explicit annotations for assertion functions by @ematipico in #13154
- docs(inference): narrowing by @ematipico in #13155
- feat(type_inference): narrow despite eval and arguments by @ematipico in #13156
- feat(type_inference): narrow in roots with destructuring, class expressions, and logical assignments by @ematipico in #13157
- feat(type_inference): treat unsupported statements as opaque regions by @ematipico in #13158
- perf(rowan): allocate red nodes from a per-thread pool by @dyc3 in #12962
- ci: automatically update metadata for useBaseline weekly by @dyc3 in #13093
- feat(plugins/js): add trivia APIs by @dyc3 in #13195
- chore(deps): upgrade syn to v2, declare external crate versions in the workspace by @dyc3 in #13190
- docs(rowan): clarify the red-node pool docs and changeset by @dyc3 in #13250
- perf(parser): match ASCII identifiers in place and trim per-node event work by @dyc3 in #13210
- perf(biome_rowan): commit sibling changes of a BatchMutation in one pass by @dyc3 in #12464
- perf(rowan): build green tokens and nodes without per-item copies by @dyc3 in #13193
- fix(parse/html): don't panic on a second CDATA start marker by @GBra-4-669 in #13262
- refactor(type_inference): identify narrowing subjects by id by @ematipico in #13169
- feat(type_inference): narrow property paths of variables by @ematipico in #13170
- feat(type_inference): narrow element access with literal keys by @ematipico in #13171
- feat(type_inference): narrow properties of this by @ematipico in #13172
- feat(type_inference): narrow optional chain receivers by @ematipico in #13173
- feat(type_inference): narrow through aliased conditions by @ematipico in #13174
- release: crates v0.7.1 by @github-actions[bot] in #13264
- release: crates v0.7.2 by @github-actions[bot] in #13265
- chore(deps): fix advisories by @dyc3 in #13266
- fix(tools): allow recent crate dependencies when publishing by @ematipico in #13275
- feat(lint): add noTailwindConflictingClasses by @dyc3 in #13161
- feat(lint): add noVueDuplicateVElseIf by @dyc3 in #13164
- feat(lint): add useConsistentIndexedObjectStyle by @dyc3 in #13191
- feat(lint): add noUselessBind by @dyc3 in #12544
- fix(markdown_parser): don't pair emphasis across paragraphs in a blockquote by @andrew-hesse in #13269
- fix(cli): enable Markdown frontmatter when migrating Prettier by @tats-u in #13273
- release: crates v0.7.3 by @github-actions[bot] in #13276
- feat(lint): add convex rule source and domain by @dyc3 in #13284
- fix(lint): compare resolved subjects in noDescendingSpecificity by @vibbix in #12419
- perf(service): don't build an empty project layout for every analyzed file by @dyc3 in #12941
- perf(noLateCurrentTargetAccess): skip sync handlers by @dyc3 in #13140
- refactor(lint): restructure useNullishCoalescing and its tests by @pkallos in #13252
- fix(module_graph): resolve Sass @use, @forward and @import by @vibbix in #12960
- ci: add miri by @dyc3 in #13329
- fix(rowan): stop reading green trees through header-only references by @dyc3 in #13319
- perf(parse/tailwind): lex class strings ahead of parsing with a SIMD bulk pass by @dyc3 in #12403
- feat(lint): add noArrayDelete by @dyc3 in #13192
- feat(lint): add noVueNegationElse by @dyc3 in #13194
- feat(lint): add useDescribeFunctionTitle by @dyc3 in #13205
- feat(lint): add useEarlyContinue by @dyc3 in #13206
- feat(lint): add noUnsafeSqliteInterpolation by @dyc3 in #13207
- feat(lint): add noCanvasToImage by @dyc3 in #13208
- feat(lint): add noExpectToHaveBeenCalledOnce by @dyc3 in #13209
- feat(lint): add useExpectEqualityMatcher by @dyc3 in #13211
- feat(lint): add useTanstackQueryMutationPropertyOrder by @dyc3 in #13212
- feat(lint): add useTanstackQueryExhaustiveDependencies by @dyc3 in #13215
- feat(lint): add noImmediateMutation by @dyc3 in #13217
- feat(lint): add noUselessDefaultAssignment by @dyc3 in #13216
- fix(type_inference): resolve class method type parameters in the method scope by @dyc3 in #13184
- fix(type_inference): compare recursive and overloaded generic instances by @dyc3 in #13185
- fix(format/html): keep touching siblings on the same line by @dyc3 in #13301
- chore(devcontainer): add container environment variables for Cargo by @Th3S4mur41 in #13328
- perf(grit): cache the line index when converting match positions by @Jayllyz in #13342
- chore(deps): update rust crates by @renovate[bot] in #13045
- perf(grit): stop copying the match history on every state clone by @Jayllyz in #13344
- chore(deps): update rust crates (major) by @renovate[bot] in #11372
- refactor(core): path handling by @ematipico in #13343
- fix(parse/svelte): support type parameters in snippet blocks by @dyc3 in #13345
- test(astro): establish stability baseline by @ematipico in #13000
- fix(html_parser): parse Astro doctypes after root elements by @ematipico in #13001
- test(lsp): preserve Astro formatting across projects by @ematipico in #13002
- feat(astro): add semantic model foundation by @ematipico in #13003
- feat(astro): resolve frontmatter references by @ematipico in #13004
- feat(astro): model client script scopes by @ematipico in #13005
- feat(astro): model style define vars by @ematipico in #13007
- feat(astro): adapt embedded semantic service by @ematipico in #13008
- fix(astro): resolve cross-language rule references by @ematipico in #13009
- fix(astro): track cross-language uses by @ematipico in #13010
- fix(analyzer): run file rules once per host by @ematipico in #13011
- fix(html_analyze): handle dynamic Astro attribute values by @ematipico in #13012
- feat(astro): disallow component default exports by @ematipico in #13013
- fix(html): decode quotes in style attributes by @ematipico in #13014
- fix(html_formatter): format class and style attributes by @ematipico in #13015
- fix(astro): preserve failed and unsupported embeds by @ematipico in #13016
- fix(astro): skip incompatible runtime JSX rules by @ematipico in #13018
- fix(fmt): memory layout bounds by @ematipico in #13362
- refactor(rowan): token walk by @ematipico in #13355
- chore(deps): fix advisories by @dyc3 in #13364
- chore: update useBaseline data by @github-actions[bot] in #13356
- perf(tailwind_parser): classify lexer bytes with NEON on aarch64 by @dyc3 in #13332
- fix(format/html/svelte): keep
{#if},{#each}and other Svelte blocks touching their siblings by @garysassano in #13375 - fix(markdown_parser): end quoted list items at whitespace-only quote lines by @jfmcdowell in #13083
- fix(markdown_formatter): use indentWidth for list item content by @dyc3 in #13372
- feat(js_parser): parse MDX snippets by @ematipico in #12833
- feat(markdown_formatter): format MDX nodes by @ematipico in #12834
- feat(service): handle MDX documents behind lang_mdx by @ematipico in #12835
- feat(analyze): lint MDX documents by @ematipico in #12836
- fix(glob): support negative numbers in editorconfig numeric ranges by @b84330808 in #12937
- refactor(rowan): batch mutations by @ematipico in #13383
- chore(deps): update dependency tombi to v1.11.3 by @renovate[bot] in #13379
- chore: update rule metadata by @dyc3 in #13388
- feat(lint): add BiomePlugin domain, add useBiomeKindSets and useBiomeTopLevelTypes by @dyc3 in #13271
- fix(biome_js_analyze): allow import attributes on mixed type/value imports by @EnesKartal in #13394
- ci: release by @github-actions[bot] in #13202
New Contributors
- @andrew-hesse made their first contribution in #13269
- @tats-u made their first contribution in #13273
- @garysassano made their first contribution in #13375
- @b84330808 made their first contribution in #12937
- @EnesKartal made their first contribution in #13394
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.6.8...@biomejs/biome@2.6.9