@biomejs/biome
2.6.8 · 15 Nov 2026MIT OR Apache-2.030.3M / weekRepositoryHomepagenpmAtom feed
2.6.9 is the newest release of 2.x.
In short
1 deprecated1 new2 fixed6 internal
- Deprecated
Added the rule
useDeprecatedDate, which makes a deprecation date required for the graphql@deprecateddirective.
Release note
Patch Changes
Added the
useQwikMethodUsagelint rule for the Qwik domain.This rule validates Qwik hook usage. Identifiers matching
useXxxmust be called only within serialisable reactive contexts (for example, insidecomponent$, route loaders/actions, or within other Qwik hooks), preventing common Qwik antipatterns.Invalid:
// Top-level hook call is invalid. const state = useStore({ count: 0 }); function helper() { // Calling a hook in a non-reactive function is invalid. const loc = useLocation(); }Valid:
component$(() => { const state = useStore({ count: 0 }); // OK inside component$. return <div>{state.count}</div>; }); const handler = $(() => { const loc = useLocation(); // OK inside a $-wrapped closure. console.log(loc.params); });Fixed #6981: The NoUnknownPseudoClass rule no longer reports local pseudo-classes when CSS Modules are used.
Fixed #7638:
useImportExtensionsno longer emits diagnostics on valid import paths that end with a query or hash.
Example
// This no longer warns if `index.css` exists: import style from "../theme/index.css?inline";
- Deprecated
Added the rule
useDeprecatedDate, which makes a deprecation date required for the graphql@deprecateddirective.
Invalid
query {
member @deprecated(reason: "Use `members` instead") {
id
}
}Valid
query {
member
@deprecated(reason: "Use `members` instead", deletionDate: "2099-12-25") {
id
}
}A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.