Skip to content

Bump @biomejs/biome from 1.9.4 to 2.4.4#260

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/biomejs/biome-2.4.4
Closed

Bump @biomejs/biome from 1.9.4 to 2.4.4#260
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/biomejs/biome-2.4.4

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps @biomejs/biome from 1.9.4 to 2.4.4.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.4.4

2.4.4

Patch Changes

  • #9150 6946835 Thanks @​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 aa6f837 Thanks @​dyc3! - Fixed #9138: The HTML parser incorrectly failing to parse bracket characters ([ and ]) in text content (e.g. <div>[Foo]</div>).

  • #9151 c0d4b0c Thanks @​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 7f1e060 Thanks @​dyc3! - Fixed #9161: The Vue parser now correctly handles colon attributes like xlink:href and xmlns:xlink by parsing them as single attributes instead of splitting them into separate tokens.

  • #9164 458211b Thanks @​dyc3! - Fixed #9161: The noAssignInExpressions rule 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

Full Changelog: https://github.com/biomejs/biome/compare/@​biomejs/biome@​2.4.3...@​biomejs/biome@​2.4.4

Biome CLI v2.4.3

2.4.3

Patch Changes

  • #9120 aa40fc2 Thanks @​ematipico! - Fixed #9109, where the GitHub reporter wasn't correctly enabled when biome ci runs on GitHub Actions.

  • #9128 8ca3f7f Thanks @​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 f5b0e8d Thanks @​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 3ca066b Thanks @​THernandez03! - Fixed #9141: The noUnknownAttribute rule no longer reports closedby as an unknown attribute on <dialog> elements.

  • #9126 792013e Thanks @​ematipico! - Added missing Mocha globals to the Test domain: context, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, xcontext, xdescribe, xit, and xspecify. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.

  • #8855 6918c9e Thanks @​ruidosujeira! - Fixed #8840. Now the Biome CSS parser correctly parses not + scroll-state inside @container queries.

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

2.4.4

Patch Changes

  • #9150 6946835 Thanks @​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 aa6f837 Thanks @​dyc3! - Fixed #9138: The HTML parser incorrectly failing to parse bracket characters ([ and ]) in text content (e.g. <div>[Foo]</div>).

  • #9151 c0d4b0c Thanks @​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 7f1e060 Thanks @​dyc3! - Fixed #9161: The Vue parser now correctly handles colon attributes like xlink:href and xmlns:xlink by parsing them as single attributes instead of splitting them into separate tokens.

  • #9164 458211b Thanks @​dyc3! - Fixed #9161: The noAssignInExpressions rule 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.

2.4.3

Patch Changes

  • #9120 aa40fc2 Thanks @​ematipico! - Fixed #9109, where the GitHub reporter wasn't correctly enabled when biome ci runs on GitHub Actions.

  • #9128 8ca3f7f Thanks @​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 f5b0e8d Thanks @​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 3ca066b Thanks @​THernandez03! - Fixed #9141: The noUnknownAttribute rule no longer reports closedby as an unknown attribute on <dialog> elements.

  • #9126 792013e Thanks @​ematipico! - Added missing Mocha globals to the Test domain: context, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, xcontext, xdescribe, xit, and xspecify. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.

  • #8855 6918c9e Thanks @​ruidosujeira! - Fixed #8840. Now the Biome CSS parser correctly parses not + scroll-state inside @container queries.

  • #9111 4fb55cf Thanks @​Jayllyz! - Slightly improved performance of noIrregularWhitespace by adding early return optimization and simplifying character detection logic.

  • #8975 086a0c5 Thanks @​FrankFMY! - Fixed #8478: useDestructuring no longer suggests destructuring when the variable has a type annotation, like const foo: string = object.foo.

2.4.2

Patch Changes

  • #9103 fc9850c Thanks @​dyc3! - Fixed #9098: useImportType no longer incorrectly flags imports used in Svelte control flow blocks ({#if}, {#each}, {#await}, {#key}) as type-only imports.

  • #9106 f4b7296 Thanks @​dyc3! - Updated rule source metadata for rules from html-eslint.

  • #8960 4a5ff40 Thanks @​abossenbroek! - Added the nursery rule noConditionalExpect. This rule disallows conditional expect() calls inside tests, which can lead to tests that silently pass when assertions never run.

    // Invalid - conditional expect may not run
    test("conditional", async ({ page }) => {
      if (someCondition) {
        await expect(page).toHaveTitle("Title");
      }

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​biomejs/biome since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated development tooling to the latest version.

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.9.4 to 2.4.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.4.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'tools'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

Updated the development dependency "@biomejs/biome" from version "^1.9.4" to "^2.4.4" in package.json. No other modifications to project configuration or dependencies.

Changes

Cohort / File(s) Summary
Dependency Version Update
package.json
Bumped @biomejs/biome devDependency from ^1.9.4 to ^2.4.4, updating to a major version with potential breaking changes in the linting/formatting tool.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing required sections from the template: a 'Changes' section and incomplete 'Checklist' items (only labels are partially addressed but documentation/tests sections lack acknowledgment). Add a 'Changes' section describing the update, and complete all checklist items including explicit confirmation about documentation and test changes.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: bumping the @biomejs/biome dependency from version 1.9.4 to 2.4.4.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/npm_and_yarn/biomejs/biome-2.4.4

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 48: The project bumped `@biomejs/biome` to v2.x which introduces breaking
config changes; update biome.json to the new v2 schema (replace
files.include/files.ignore with includes array, adjust rule/severity keys, and
verify glob patterns are relative to the config file), then run the CLI
migration and checks: execute biome migrate --write to apply automatic changes
and then run biome check and biome check --write to validate/fix remaining
issues; locate and update the biome.json config and re-run the commands until no
migration warnings remain.

ℹ️ Review info

Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6750dc1 and 6f8cf4f.

📒 Files selected for processing (1)
  • package.json

},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@biomejs/biome": "^2.4.4",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check for biome configuration files and how biome is used in the project

echo "=== Biome configuration files ==="
find . -type f \( -name "biome.json" -o -name "biome.jsonc" \) 2>/dev/null | head -20

echo -e "\n=== Biome scripts in package.json ==="
rg -A 1 -B 1 'biome' package.json

echo -e "\n=== Dependencies related to biome ==="
rg '@biomejs|@lokalise' package.json

Repository: lokalise/node-core

Length of output: 738


🌐 Web query:

breaking changes @biomejs/biome 2.0 from 1.9

💡 Result:

Key breaking changes when upgrading @biomejs/biome 1.9 → 2.0:

  • Config file paths/globs semantics changed

    • Globs/paths in config are now resolved relative to the configuration file, not the current working directory. [1]
    • files.include / files.ignore (and similar include/ignore usage) are removed and replaced by a single includes array with different glob semantics (notably * vs **/*, and negation via !). [1][2]
  • Rome-legacy features removed

    • No more rome.json, rome-ignore comments, ROME_BINARY, and legacy suppression formats. [1][2]
  • LSP/daemon CLI change

    • --config-path was removed from biome lsp-proxy and biome start (plugins/editors must use workspace configuration instead). [1][2]
  • Linter behavior/severity changes

    • Default severities were reworked (more nuance than “recommended=error”). [1]
    • Some previously “recommended and CI-blocking” rules were made less strict (can be breaking if you relied on them to fail CI). [1][2]
    • linter.rules.all and linter.rules.<group>.all were removed. [1][2]
  • Rule/config option breaking changes

    • noRestrictedGlobals: deniedGlobals changed from array → record/map (supports per-global custom messages). [1]
    • noUnusedVariables no longer reports unused function parameters (use noUnusedFunctionParameters). [1]
    • Deprecated rules were deleted (e.g. noConsoleLog, noInvalidNewBuiltin, etc.). [1]
    • useNamingConvention: removed enumMemberCase option (use conventions). [1]
  • Formatter / CLI option breaking changes

    • .json formatter no longer adds trailing commas even if json.formatter.trailingCommas=true. [1]
    • Formatting aligns with Prettier’s newer string-escape normalization behavior (can change output). [1]
    • Several formatter CLI options accept fewer enum values (e.g. --trailing-commas no longer accepts ES5/All/None, etc.). [1]
    • indentSize option (and related CLI flags) removed; use indentWidth. [1]
    • trailingComma option removed; use trailingCommas. [1]
    • biome check --apply/--apply-unsafe removed; use --write / --write --unsafe. [1]
  • JS syntax support

    • Import assertions assert { ... } are no longer supported; use with { ... }. [1][2]

Practical tip: run biome migrate --write after upgrading; it auto-updates many config-breaking changes (e.g., includes, deniedGlobals, removed/deprecated options/rules). [1][2]

Sources: Biome v2.0.0 changelog/version history [1], “Upgrade to Biome v2” guide [2].


Verify biome.json compatibility with v2.x configuration changes and run migration.

This major version upgrade (1.x → 2.x) includes breaking changes to configuration syntax. The CLI commands used (biome check and biome check --write) are compatible, but the biome.json configuration file requires updates:

  • Glob semantics changed (now resolved relative to config file, not working directory)
  • files.include/files.ignore replaced with includes array syntax
  • Various rule and severity adjustments

Since @lokalise/biome-config is already at v2.0.0, compatibility is maintained. After upgrading, run biome migrate --write to automatically update config-breaking changes.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 48, The project bumped `@biomejs/biome` to v2.x which
introduces breaking config changes; update biome.json to the new v2 schema
(replace files.include/files.ignore with includes array, adjust rule/severity
keys, and verify glob patterns are relative to the config file), then run the
CLI migration and checks: execute biome migrate --write to apply automatic
changes and then run biome check and biome check --write to validate/fix
remaining issues; locate and update the biome.json config and re-run the
commands until no migration warnings remain.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 2, 2026

Superseded by #261.

@dependabot dependabot bot closed this Mar 2, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/biomejs/biome-2.4.4 branch March 2, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants