Skip to content

Bump @biomejs/biome from 2.4.16 to 2.5.6 - #387

Merged
jhump merged 3 commits into
mainfrom
dependabot/npm_and_yarn/biomejs/biome-2.5.6
Aug 3, 2026
Merged

Bump @biomejs/biome from 2.4.16 to 2.5.6#387
jhump merged 3 commits into
mainfrom
dependabot/npm_and_yarn/biomejs/biome-2.5.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps @biomejs/biome from 2.4.16 to 2.5.6.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.5.6

2.5.6

Patch Changes

  • #11035 0e4b03b Thanks @​ematipico! - Fixed a performance regression in noMisusedPromises that caused type inference to run repeatedly while linting a file.

  • #11043 22ec076 Thanks @​denbezrukov! - Fixed CSS formatting for multiline function arguments preceded by comments:

     .example {
       value: outer(
         1,
         /* comment */
         nested(
    -      first,
    -      second
    -    )
    +        first,
    +        second
    +      )
       );
     }
  • #11007 c9acb25 Thanks @​BTF-Kabir-2020! - Fixed #9195: useHookAtTopLevel no longer reports hooks in named forwardRef components that receive a ref parameter.

  • #10152 50a9bd8 Thanks @​Zelys-DFKH! - Fixed #10131: Biome now correctly parses curried arrow functions in ternary consequents when the inner arrow's parameters use a destructuring pattern, e.g. cond ? (x) => ({ a, b }) => body : alt.

  • #11105 8ffe2b9 Thanks @​dadavidtseng! - Fixed #11092: The noUselessTernary quick fix now preserves operator spacing when simplifying or inverting boolean ternary expressions.

  • #10533 5809875 Thanks @​Mokto! - Fixed #10515: biome check --write was not idempotent on Svelte files — multi-line template literals in <script> blocks and block comments in <style> blocks gained an extra indent level on every run.

  • #11040 0abb620 Thanks @​Mokto! - Fixed an issue where the HTML formatter would duplicate a comment placed directly before a Svelte {@const ...} or {@debug ...} block. The duplication compounded on every subsequent --write, causing the file to grow exponentially.

  • #10858 6d18204 Thanks @​ruidosujeira! - Fixed #10839: Svelte {#each} array destructuring no longer includes spaces inside square brackets, and multiline bind function expressions now indent their getter, setter, and function body correctly.

  • #11009 2c36626 Thanks @​ematipico! - Improved the accuracy of type-aware lint rules by resolving more inferred types. For example, noFloatingPromises now detects floating Promises returned by aliased callbacks and arrays of Promises created by async mapping callbacks.

    The following statements are now reported:

    type AsyncCallback = () => Promise<void>;
    declare const callback: AsyncCallback;
    callback();
    [1, 2, 3].map(async (value) => value);

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

2.5.6

Patch Changes

  • #11035 0e4b03b Thanks @​ematipico! - Fixed a performance regression in noMisusedPromises that caused type inference to run repeatedly while linting a file.

  • #11043 22ec076 Thanks @​denbezrukov! - Fixed CSS formatting for multiline function arguments preceded by comments:

     .example {
       value: outer(
         1,
         /* comment */
         nested(
    -      first,
    -      second
    -    )
    +        first,
    +        second
    +      )
       );
     }
  • #11007 c9acb25 Thanks @​BTF-Kabir-2020! - Fixed #9195: useHookAtTopLevel no longer reports hooks in named forwardRef components that receive a ref parameter.

  • #10152 50a9bd8 Thanks @​Zelys-DFKH! - Fixed #10131: Biome now correctly parses curried arrow functions in ternary consequents when the inner arrow's parameters use a destructuring pattern, e.g. cond ? (x) => ({ a, b }) => body : alt.

  • #11105 8ffe2b9 Thanks @​dadavidtseng! - Fixed #11092: The noUselessTernary quick fix now preserves operator spacing when simplifying or inverting boolean ternary expressions.

  • #10533 5809875 Thanks @​Mokto! - Fixed #10515: biome check --write was not idempotent on Svelte files — multi-line template literals in <script> blocks and block comments in <style> blocks gained an extra indent level on every run.

  • #11040 0abb620 Thanks @​Mokto! - Fixed an issue where the HTML formatter would duplicate a comment placed directly before a Svelte {@const ...} or {@debug ...} block. The duplication compounded on every subsequent --write, causing the file to grow exponentially.

  • #10858 6d18204 Thanks @​ruidosujeira! - Fixed #10839: Svelte {#each} array destructuring no longer includes spaces inside square brackets, and multiline bind function expressions now indent their getter, setter, and function body correctly.

  • #11009 2c36626 Thanks @​ematipico! - Improved the accuracy of type-aware lint rules by resolving more inferred types. For example, noFloatingPromises now detects floating Promises returned by aliased callbacks and arrays of Promises created by async mapping callbacks.

    The following statements are now reported:

    type AsyncCallback = () => Promise<void>;
    declare const callback: AsyncCallback;
    callback();
    [1, 2, 3].map(async (value) => value);

  • #10973 9cb044c Thanks @​ematipico! - Fixed false positives in noMisleadingReturnType when generic-constraint, normalization, substitution, or structural return-type comparison cannot complete. The rule now suppresses diagnostics rather than suggesting a return type derived from partial information. For example, this unresolved return type is no longer reported:

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2026
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
connect Ready Ready Preview Aug 3, 2026 4:46pm

Request Review

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/biomejs/biome-2.5.6 branch from e8c7cdf to a27c729 Compare August 3, 2026 13:16
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.4.16 to 2.5.6.
- [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.5.6/packages/@biomejs/biome)

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

Signed-off-by: dependabot[bot] <support@github.com>
@jhump
jhump force-pushed the dependabot/npm_and_yarn/biomejs/biome-2.5.6 branch from a27c729 to cd5f3a8 Compare August 3, 2026 16:44
jhump added 2 commits August 3, 2026 12:44
Biome 2.5 began linting standalone .svg files: on the same tree, 2.4.16
checked 20 files and reported nothing, while 2.5.6 checks 35 and reports
15 errors. The 15-file delta is exactly the SVG assets.

Two of those were real. The "Created by <logo>" links to buf.build, in
both the desktop and mobile menus, inlined a logo carrying no accessible
name, so the links announced as just "Created by"; they now label the
anchor and hide the decorative graphic. The CNCF logo in the footer sat
unnamed beside text that already says we are a sandbox project, so it is
now hidden the same way SiteTitle.astro already hides its logo.

The other 13 are false positives. noSvgWithoutTitle judges SVG inlined
into markup, where the usage site decides whether a graphic is
decorative; an asset file by itself has no usage site to judge. The logos
under public/img are embedded through <img alt>, which ignores any
<title> inside the file, and simple-connect.svg was flagged even though
its usage site already sets aria-hidden. Adding <title> to a dozen
vendored brand assets would be both wrong and undone by the next asset
refresh, so scope the rule off for .svg instead. Same for the lone
noUnknownProperty hit, which is dead Illustrator output. Both rules stay
active for inline SVG in .ts and .tsx.

Also run `biome migrate`: 2.5 deprecates linter.rules.recommended in
favor of preset. It only warned, but it breaks at the next major.

Signed-off-by: Josh Humphries <2035234+jhump@users.noreply.github.com>
lint:md makes rumdl write a .rumdl_cache directory. It stays out of git
via its own .gitignore, but biome.jsonc sets vcs.useIgnoreFile to false,
so a later `biome check` walked into it and demanded that rumdl's cache
files be reformatted. That made `npm run ci` fail on a second run: the
first run passes only because check:fix is ordered ahead of lint:md, and
a fresh CI checkout never runs it twice. Exclude the directory alongside
the other caches we already skip.

The new clean script removes the artifacts the current toolchain
generates, so a stale tree can be reset without hand-deleting paths.

Signed-off-by: Josh Humphries <2035234+jhump@users.noreply.github.com>
@jhump
jhump force-pushed the dependabot/npm_and_yarn/biomejs/biome-2.5.6 branch from cd5f3a8 to f6d4f2a Compare August 3, 2026 16:45
@jhump
jhump merged commit 21b6c17 into main Aug 3, 2026
4 checks passed
@jhump
jhump deleted the dependabot/npm_and_yarn/biomejs/biome-2.5.6 branch August 3, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant