Skip to content

CLI v1.4.1

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Nov 19:48
· 1953 commits to main since this release
a887513

Biome scores 96% compatibility with Prettier! Read our announcement on our blog.

Editors

  • Fix #933. Some files are properly ignored in the LSP too. E.g. package.json, tsconfig.json, etc.

Formatter

Bug fixes

  • Fix some accidental line breaks when printing array expressions within arrow functions and other long lines #917. Contributed by @faultyserver

  • Match Prettier's breaking strategy for ArrowChain layouts #934. Contributed by @faultyserver

  • Fix double-printing of leading comments in arrow chain expressions #951. Contributed by @faultyserver

Linter

Bug fixes

  • Fix #910, where the rule noSvgWithoutTitle should skip elements that have aria-hidden attributes. Contributed by @vasucp1207

Enhancement

  • Implements #924 and #920. noUselessElse now ignores else clauses that follow at least one if statement that doesn't break early. Contributed by @Conaclos

    For example, the following code is no longer reported by the rule:

    function f(x) {
        if (x < 0) {
          // this `if` doesn't break early.
        } else if (x > 0) {
            return x;
        } else {
            // This `else` block was previously reported as useless.
        }
    }

Bug fixes

Parser

What's Changed

Other changes

  • fix: fix blog list not showing all posts by @Yan-Thomas in #915
  • fix(js_formatter): array printing and grouping in arrows by @faultyserver in #917
  • ci(release_cli): fix homebrew job by @nhedger in #919
  • fix(website): fix title tags by @Yan-Thomas in #925
  • fix: typo by @u-abyss in #929
  • doc(ja): translate How Biome works into Japanese by @Spice-Z in #930
  • doc(ja): translate versioning into Japanese by @yossydev in #906
  • doc(ja): translate Formatter doc into Japanese by @Gumichocopengin8 in #904
  • doc(ja): translate credits into Japanese by @hitohata in #903
  • fix: typo by @gc in #936
  • fix: noSvgWithoutTitle skip on aria-hidden by @vasucp1207 in #928
  • docs(ja): translate Getting Started into Japanese by @Yuiki in #940
  • docs(website): show sponsors on japanese document by @unvalley in #945
  • fix(website): json schema for 1.4.0 by @Conaclos in #948
  • fix(js_formatter): Match Prettier's breaking strategy for ArrowChain layouts by @faultyserver in #934
  • feat(css_parser): CSS Parser pseudo element selector #268 by @denbezrukov in #883
  • fix(js_formatter): Avoid double-printing the first leading comments in arrow chains by @faultyserver in #951
  • fix(package): add ROME MIT license by @Conaclos in #949
  • docs(ja): translate vscode into Japanese by @sakimyto in #938
  • doc(ja): translate continuous-integration into Japanese by @yossydev in #955
  • docs(ja): translate Philosophy into Japanese by @yoshi2no in #944
  • docs(ja): translate Architecture into Japanese by @seo1nk in #912
  • feat(website): Move blog to CC and fix RSS by @Yan-Thomas in #937
  • docs(ja): translate big-projects into Japanese by @u-abyss in #962
  • feat(css_parser): CSS Parser charset #268 by @denbezrukov in #950
  • fix(website): fix fragile blog links by @Yan-Thomas in #965
  • feat(css_parser): CSS Parser color profile at rule #268 by @denbezrukov in #966
  • feat(website): optimize blog images and fix meta/a11y by @Yan-Thomas in #973
  • chore: improve issue templates by @Conaclos in #981

New Contributors

Full Changelog: cli/v1.4.0...cli/v1.4.1