Packages

@biomejs/biome

2.6.8 · 15 Nov 2026MIT OR Apache-2.030.3M / weekRepositoryHomepagenpmAtom feed

Your version

2.5.1

23 Jun 2026Where it was published

2.6.9 is the newest release of 2.x.

In short

18 fixed

Release note

Patch Changes

  • Fixed CSS formatter output for comments between import media queries.

    -@import url("print.css") print,
    -/* comment */
    -screen;
    +@import url("print.css") print, /* comment */ screen;
  • Fixed #9899: the json and json-pretty reporters now escape backslashes in a diagnostic's location.path. Previously, paths containing backslashes (such as Windows-style paths) were emitted unescaped, producing invalid JSON.

    -    "path": "src\account\setup-passkey.tsx",
    +    "path": "src\\account\\setup-passkey.tsx",
  • Fixed #10625: biome migrate no longer emits an invalid trailing comma when a renamed rule (such as noConsoleLog → noConsole) is the last member of its rule group. Previously this produced malformed output that aborted the migration of a strict-JSON biome.json with a parsing error.

  • Fixed a false positive in noUnusedVariables for Svelte files where variables referenced inside {@html expr} blocks were incorrectly reported as unused.

  • The biome init command has been updated to include a more up-to-date URL to the first-party extensions page.

  • Fixed #10664: useErrorCause now correctly detects a shorthand property.

  • Fixed #9566. Improved how the Biome Language Server loads multiple configuration files inside a workspace.

  • Fixed #10652. Biome plugins are now properly filtered when using --only and --skip flags.

  • Fixed #10651: useInlineScriptId now correctly trims trivia to detect if an id attribute has been set.

  • Fixed #10658. The issue was caused by the "Go-to definition" editor feature, which was enabled by default. The feature is now disabled by default. To work, the feature triggers the scanner to build the module graph. This caused memory leak issues in cases where Biome starts in the home directory to modify files.

    If you relied on this new feature, you must now turn on using the [editor settings] of the extension e.g. Zed and VSCode.

  • Fixed #10674. Biome now throws an error when the field level is missing from a rule option.

  • Improved the diagnostic and the documentation of useFlatMap.

  • Improved the DX the JSON schema when it's used by certain code editors like VSCode.

  • Fixed a bug where the Biome Daemon did not correctly shut down when the editor was closed during an in-progress operation, especially while scanning.

  • Fixed #10694. The Biome Language Server no longer prints an error when the user hovers a variable imported from node_modules.

  • Fixed useExportType that reported useless details in some diagnostics.

  • Fixed useAnchorContent false positive for <a> elements used as render prop values (e.g. render={<a href="..." />}), a pattern where the receiving component renders its children inside the anchor element.

  • Fixed #10612. The Biome parser now correctly parses processing instructions. The following SVG doesn't throw errors anymore:

    <?xml version="1.0" encoding="UTF-8" ?>
    
    <svg></svg>

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.