CLI v1.4.1
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 havearia-hidden
attributes. Contributed by @vasucp1207
Enhancement
-
Implements #924 and #920. noUselessElse now ignores
else
clauses that follow at least oneif
statement that doesn't break early. Contributed by @ConaclosFor 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
-
Fix #918, useSimpleNumberKeys no longer repports false positive on comments. Contributed by @kalleep
-
Fix #953, noRedeclare no longer reports type parameters with the same name in different mapped types as redeclarations. Contributed by @Conaclos
-
Fix #608, useExhaustiveDependencies no longer repports missing dependencies for React hooks without dependency array. Contributed by @kalleep
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
- @Yan-Thomas made their first contribution in #915
- @u-abyss made their first contribution in #929
- @Spice-Z made their first contribution in #930
- @hitohata made their first contribution in #903
- @gc made their first contribution in #936
- @sakimyto made their first contribution in #938
- @kalleep made their first contribution in #957
- @seo1nk made their first contribution in #912
Full Changelog: cli/v1.4.0...cli/v1.4.1