Skip to content

CLI v1.9.2

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Sep 13:16
· 236 commits to main since this release
5f2287e

CLI

New features

Bug fixes

  • Fix #3917, where the fixed files were incorrectly computed. Contributed by @ematipico
  • Fixed an issue that caused GritQL contains queries to report false positives when the matched
    node appeared inside a sibling node. Contributed by @arendjr

Editors

Bug fixes

  • Fix #3923. Now the .editorconfig is correctly parsed by the LSP, and the options are correctly applied to files when formatting is triggered.
    Plus, the Biome LSP now watches for any change to the .editorconfig, and updates the formatting settings.

  • Reduced the number of log files generated by the LSP server. Now the maximum number of logs saved on disk is seven. Contributed by @ematipico

  • Fix the code actions capabilities available in the LSP Biome server. Before, the LSP was using the default capabilities, which resulted in pulling code actions even when they were disabled by the editor.

    This means that the code actions are pulled by the client only when the editor enables quickfix.biome, source.organizeImports.biome and source.fixAll.biome.

    Now, if you enable organizeImports.enabled: true in the biome.json, and then you configure your editor with the following code action source.organizeImports.biome: false, the editor won't sort the imports.

    Contributed by @ematipico

Linter

New features

Bug fixes

Parser

Bug fixes

  • useStrictMode now reports Script files with some directives, but without the use strict directive. Contributed by @Conaclos

  • The CSS parser now accepts the characters U+FFDCF and U+FFFD in identifiers. Contributed by @Conaclos

What's Changed

Other changes

  • chore: update biome version of rules by @nhedger in #3901
  • chore(ci): add gh token for setup-rust by @Jayllyz in #3902
  • fix(deps): update rust crates by @renovate in #3910
  • chore(deps): update rust crate serde_json to 1.0.128 by @renovate in #3909
  • feat(format/grit): grit formatter initial configuration by @branberry in #3885
  • docs(readme): add zh-tw readme translation by @jacklee814 in #3894
  • chore(deps): update dependency eslint to v9.10.0 by @renovate in #3913
  • chore(deps): update rust crate tokio to 1.40.0 by @renovate in #3918
  • chore(deps): update rust docker tag to v1.81.0 by @renovate in #3919
  • fix: re-implement #3856 to improve correctness by @anthonyshew in #3865
  • chore(deps): update rust crate insta to 1.40.0 by @renovate in #3916
  • chore(deps): update rust crate dashmap to 6.1.0 by @renovate in #3915
  • chore(deps): update dependency @typescript-eslint/eslint-plugin to v8.5.0 by @renovate in #3912
  • chore(deps): update @biomejs packages by @renovate in #3911
  • chore(deps): update rust crate serde to 1.0.210 by @renovate in #3906
  • chore(deps): update rust crate anyhow to 1.0.89 by @renovate in #3905
  • fix(parser/html): fix whitespace being lexed as html literal by @dyc3 in #3908
  • fix(config): handle unset and off values in editorconfig files by @dyc3 in #3907
  • fix: preserve other children in useConsistentCurlyBraces by @suzak in #3925
  • test: fix outdated snapshot tests by @ematipico in #3953
  • feat(format/html): port JsxChildList formatting to HtmlElementList by @dyc3 in #3782
  • chore(deps): update dependency vite to v5.4.6 [security] by @renovate in #3963
  • fix(parser/html): check void element names case insensitively by @dyc3 in #3959
  • fix(format/html): keep single quotes if string contains a double quote by @dyc3 in #3960
  • fix(format/html): fix doctype formatting by @dyc3 in #3961
  • feat(markdown): support markdown grammar code generation by @suxin2017 in #3775
  • feat(parser/html): lex and parse unquoted attribute values by @dyc3 in #3951
  • feat(parser/html): parse doctype declarations by @dyc3 in #3962
  • feat(parser/html): handle script and style tags by @dyc3 in #3970
  • build: upgrade to Rust 1.81 by @Conaclos in #3972
  • feat(html): add experimental-html feature flag to enable html file handler by @dyc3 in #3967
  • feat(grit): support for Grit pattern, predicate and function definitions by @arendjr in #3983
  • feat(grit): implement Grit built-ins by @arendjr in #3987
  • fix(grit): fix node walking by @arendjr in #3988

New Contributors

Full Changelog: cli/v1.9.1...cli/v1.9.2