2.0.0-beta.2Pre-release
CLI v2.0.0-beta.2
What's Changed
Other changes
- fix(lint): keep comments in noUnusedImports by @ematipico in https://github.com/biomejs/biome/pull/5468
- fix(lint/noDestructuredProps): better check when inside a function by @ematipico in https://github.com/biomejs/biome/pull/5467
- fix(migrate): push
noVarmember inside existing list by @ematipico in https://github.com/biomejs/biome/pull/5470 - fix: report non array literal deps list in useExhaustiveDependencies by @siketyan in https://github.com/biomejs/biome/pull/5469
- fix(analyzer): suppression for assist actions by @ematipico in https://github.com/biomejs/biome/pull/5482
- fix(migrate): improve error messages when parsing Prettier configuration by @akx in https://github.com/biomejs/biome/pull/5479
- fix(lsp): restore available code action by @ematipico in https://github.com/biomejs/biome/pull/5492
- fix(core): push ignore matches using their directories by @ematipico in https://github.com/biomejs/biome/pull/5494
- fix(migrate): style rules by @ematipico in https://github.com/biomejs/biome/pull/5491
- refactor(css_parser): implement error handling for the container at rule by @denbezrukov in https://github.com/biomejs/biome/pull/5244
- chore(deps): update @biomejs packages by @renovate in https://github.com/biomejs/biome/pull/5510
- chore(deps): update rust docker tag to v1.85.1 by @renovate in https://github.com/biomejs/biome/pull/5511
- chore(deps): update dependency eslint to v9.23.0 by @renovate in https://github.com/biomejs/biome/pull/5514
- chore(deps): update pnpm to v10.7.0 by @renovate in https://github.com/biomejs/biome/pull/5515
- chore(deps): update github-actions (major) by @renovate in https://github.com/biomejs/biome/pull/5519
- chore(deps): update typescript-eslint monorepo to v8.28.0 by @renovate in https://github.com/biomejs/biome/pull/5517
- chore(deps): update rust crate oxc_resolver to v5 by @renovate in https://github.com/biomejs/biome/pull/5520
- fix(core): enhance error message of incorrect suppressions by @ematipico in https://github.com/biomejs/biome/pull/5497
- fix: use await now warn function with decorator even if it has a call… by @Xstoudi in https://github.com/biomejs/biome/pull/5485
- chore(deps): update rust crate getrandom to 0.3.2 by @renovate in https://github.com/biomejs/biome/pull/5516
- fix(plugins): handle invalid spans by @arendjr in https://github.com/biomejs/biome/pull/5522
- chore: fix warning in WASM build by @arendjr in https://github.com/biomejs/biome/pull/5524
- chore: use dev builds in Node.js pull request check by @arendjr in https://github.com/biomejs/biome/pull/5525
- feat(lint): update and move
noBlankTargetby @arendjr in https://github.com/biomejs/biome/pull/5527 - chore: set 2024 as default Rustfmt style edition by @jelly in https://github.com/biomejs/biome/pull/5528
- feat(lint/useNamingConvention): ignore unused var prefixed with _ by @Conaclos in https://github.com/biomejs/biome/pull/5529
- docs: minor typo by @thejackshelton in https://github.com/biomejs/biome/pull/5535
- feat(linter): make useImportExtensions check imports with sub extensions by @minht11 in https://github.com/biomejs/biome/pull/5532
- feat(linter): implement
noUnresolvedImportsby @arendjr in https://github.com/biomejs/biome/pull/5530 - fix(assist/organizeImports): allow suppression comments by @Conaclos in https://github.com/biomejs/biome/pull/5504
- docs: include how to use configuration in the js-api README by @bedros-p in https://github.com/biomejs/biome/pull/5509
- refactor(migrate): escape squared braces by @Conaclos in https://github.com/biomejs/biome/pull/5531
- chore: add ignore entries to scanner by @arendjr in https://github.com/biomejs/biome/pull/5546
- chore: add Platinum sponsor by @arendjr in https://github.com/biomejs/biome/pull/5547
- fix(docs): update quick test location by @thejackshelton in https://github.com/biomejs/biome/pull/5551
- fix(cli): emit error when no extension exist by @ematipico in https://github.com/biomejs/biome/pull/5544
- fix(lint/noNoninteractiveElementToInteractiveRole): fix mistakenly flagging
<li role="treeitem">by @dyc3 in https://github.com/biomejs/biome/pull/5548 - chore: more ignore entries for the scanner by @arendjr in https://github.com/biomejs/biome/pull/5558
- fix(lint/useRegexLiterals): correctly handle escaped anti-slashes by @Conaclos in https://github.com/biomejs/biome/pull/5549
- fix(css): align CSS value list format with Prettier by @wanghaoPolar in https://github.com/biomejs/biome/pull/5334
- feat(core): add data structures for type info by @arendjr in https://github.com/biomejs/biome/pull/5556
- chore(deps): update dependency vite to v5.4.16 [security] by @renovate in https://github.com/biomejs/biome/pull/5560
- fix(lint/noParameterAssign): handle unparenthesized arrow functions by @Conaclos in https://github.com/biomejs/biome/pull/5559
- chore: rename
DependencyGraphtoModuleGraphby @arendjr in https://github.com/biomejs/biome/pull/5561 - fix(syntax/noTypeOnlyImportAttributes): ignore all commonjs files by @Conaclos in https://github.com/biomejs/biome/pull/5566
- feat(css): add rule
noImportantStylesby @ematipico in https://github.com/biomejs/biome/pull/5555 - refactor: use type info in
noFloatingPromisesby @arendjr in https://github.com/biomejs/biome/pull/5576 - fix(lint/noUselessFragments): fix case where code fix would remove more than just the fragment by @dyc3 in https://github.com/biomejs/biome/pull/5550
- feat(lint): improve useKeyWithClickEvents by @unvalley in https://github.com/biomejs/biome/pull/5507
- chore(deps): update pnpm to v10.7.1 by @renovate in https://github.com/biomejs/biome/pull/5583
- chore(deps): update rust crate tokio to 1.44.2 by @renovate in https://github.com/biomejs/biome/pull/5584
- chore(deps): update dependency vite to v5.4.17 [security] by @renovate in https://github.com/biomejs/biome/pull/5585
- chore(deps): update @biomejs packages by @renovate in https://github.com/biomejs/biome/pull/5586
- chore(deps): update dependency eslint to v9.24.0 by @renovate in https://github.com/biomejs/biome/pull/5587
- chore(deps): update rust crate indexmap to 2.9.0 by @renovate in https://github.com/biomejs/biome/pull/5589
- chore(deps): update rust crate oxc_resolver to 5.1.1 by @renovate in https://github.com/biomejs/biome/pull/5590
- chore(deps): update rust crate smallvec to 1.15.0 by @renovate in https://github.com/biomejs/biome/pull/5591
- chore(deps): update rust docker tag to v1.86.0 by @renovate in https://github.com/biomejs/biome/pull/5592
- chore(deps): update typescript-eslint monorepo to v8.29.0 by @renovate in https://github.com/biomejs/biome/pull/5593
- feat(core): add light version of the semantic model to scanner by @arendjr in https://github.com/biomejs/biome/pull/5599
- feat(html/formatter): add option to control void elements by @ematipico in https://github.com/biomejs/biome/pull/5600
- feat(assist/organizeImports): merge imports and exports by @Conaclos in https://github.com/biomejs/biome/pull/5579
- feat(assist/organizeImports): add an option to separate types by @Conaclos in https://github.com/biomejs/biome/pull/5582
- chore(html/formatter): better control over spacing by @ematipico in https://github.com/biomejs/biome/pull/5604
- fix(assist/useSortedKeys): move comments with the associated key by @Conaclos in https://github.com/biomejs/biome/pull/5606
- test(build): fix test build error by @Conaclos in https://github.com/biomejs/biome/pull/5607
- chore: remove bronze sponsor by @ematipico in https://github.com/biomejs/biome/pull/5612
- feat(linter): implement
noRestrictedElementsby @mdevils in https://github.com/biomejs/biome/pull/5578 - chore: add new bronze sponsor by @ematipico in https://github.com/biomejs/biome/pull/5613
- refactor: use
biome_js_semantic::SemanticEventExtractorinbiome_module_graphby @arendjr in https://github.com/biomejs/biome/pull/5616 - fix(parser): allow excess tokens after expected EOF by @arendjr in https://github.com/biomejs/biome/pull/5621
- fix(xtask/codegen): handle languages with no keywords by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5625
- chore: add EOF token validator by @arendjr in https://github.com/biomejs/biome/pull/5623
- fix(analyzer): suppression by @ematipico in https://github.com/biomejs/biome/pull/5611
- perf(lint): remove allocation of strings by @ematipico in https://github.com/biomejs/biome/pull/5626
- chore: fix linting issues by @ematipico in https://github.com/biomejs/biome/pull/5628
- fix(core): handle
.mjsextension in CommonJS packages by @arendjr in https://github.com/biomejs/biome/pull/5630 - feat(core): skip non-root configuration files by @arendjr in https://github.com/biomejs/biome/pull/5622
- fix(editorconfig): parse char classes in globs by @Conaclos in https://github.com/biomejs/biome/pull/5627
- chore(deps): update dependency vite to v5.4.18 [security] by @renovate in https://github.com/biomejs/biome/pull/5640
- fix(analyzer): use binary search to find diagnostics by @ematipico in https://github.com/biomejs/biome/pull/5631
- chore(deps): update dependency @types/node to v22.14.1 by @renovate in https://github.com/biomejs/biome/pull/5650
- chore(deps): update rust crate anyhow to 1.0.98 by @renovate in https://github.com/biomejs/biome/pull/5651
- chore(deps): update pnpm to v10.8.0 by @renovate in https://github.com/biomejs/biome/pull/5653
- chore(deps): update typescript-eslint monorepo to v8.29.1 by @renovate in https://github.com/biomejs/biome/pull/5652
- chore(deps): update actions/setup-node action to v4.4.0 by @renovate in https://github.com/biomejs/biome/pull/5655
- fix(linter): useImportExtensions should not error on valid imports with sub extensions by @minht11 in https://github.com/biomejs/biome/pull/5647
- fix(deps): update @biomejs packages (major) by @renovate in https://github.com/biomejs/biome/pull/5658
- Revert "fix(deps): update @biomejs packages (major)" by @siketyan in https://github.com/biomejs/biome/pull/5659
- ci: use depot runner by @ematipico in https://github.com/biomejs/biome/pull/5661
- fix(lint):
noConsolerule now correctly handles indirectconsole.logcalls and references by @mdevils in https://github.com/biomejs/biome/pull/5648 - ci(renovate): ignore
randby @ematipico in https://github.com/biomejs/biome/pull/5662 - ci(workflow): use depot for all jobs by @ematipico in https://github.com/biomejs/biome/pull/5664
- feat(organizeImports): add import matchers by @Conaclos in https://github.com/biomejs/biome/pull/5639
- feat(core): implement "thin" type resolution by @arendjr in https://github.com/biomejs/biome/pull/5665
- chore: use test for type size verification by @arendjr in https://github.com/biomejs/biome/pull/5666
- chore: add gold sponsor by @ematipico in https://github.com/biomejs/biome/pull/5668
- chore: fix type in ja translation by @ematipico in https://github.com/biomejs/biome/pull/5669
- chore: disable bumping engines on Renovate by @siketyan in https://github.com/biomejs/biome/pull/5670
- chore: update
oxc_resolverby @ematipico in https://github.com/biomejs/biome/pull/5671 - fix(deps): update @biomejs packages (major) by @renovate in https://github.com/biomejs/biome/pull/5660
- refactor(organizeImports): remove the typePlacement option by @Conaclos in https://github.com/biomejs/biome/pull/5675
- feat(yaml): update yaml grammar by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5615
- fix(lint/noDuplicateObjectKeys): transfer comments by @Conaclos in https://github.com/biomejs/biome/pull/5676
- docs: add RELEASES.md document by @ematipico in https://github.com/biomejs/biome/pull/5674
- fix(no_focused_tests): detect focused test loops in noFocusedTests rule by @amasotti in https://github.com/biomejs/biome/pull/5642
- ci(benchmarks): add code and file to diagnostics by @ematipico in https://github.com/biomejs/biome/pull/5672
- fix(yaml): remaining issues with Yaml grammar by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5680
- fix(lint): remove false-positives on hooks in a class method by @siketyan in https://github.com/biomejs/biome/pull/5681
- fix(deps): update rust crates by @renovate in https://github.com/biomejs/biome/pull/5663
- feat(suppression): syntax rules suppression by @hanseltime in https://github.com/biomejs/biome/pull/5619
- feat(core): add
Typedservice and updatenoFloatingPromisesby @arendjr in https://github.com/biomejs/biome/pull/5685 - fix(lint): correct the source of the rule
noTsIgnoreby @lixiaoyan in https://github.com/biomejs/biome/pull/5690 - chore: format module graph by @ematipico in https://github.com/biomejs/biome/pull/5689
- refactor: light scanner for formatter by @ematipico in https://github.com/biomejs/biome/pull/5692
- chore: use
Selfwhere appropriate by @arendjr in https://github.com/biomejs/biome/pull/5699 - feat: pretty print for type info by @ematipico in https://github.com/biomejs/biome/pull/5694
- chore: verbatim formatting by @ematipico in https://github.com/biomejs/biome/pull/5707
- fix(formatter): do not break properties in object patterns with nested assignment pattern by @siketyan in https://github.com/biomejs/biome/pull/5695
- fix(assist): skip sorting specifiers if it contains any bogus nodes by @siketyan in https://github.com/biomejs/biome/pull/5711
- feat(yaml): initialize parser by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5709
- feat(cli): add advices to no files processed error by @siketyan in https://github.com/biomejs/biome/pull/5708
- feat(lint): implement code action for useConsistentObjectDefinition by @siketyan in https://github.com/biomejs/biome/pull/5712
- feat(lint): implement
useNumericSeparatorsby @uncenter in https://github.com/biomejs/biome/pull/5635 - feat(lint): project domain by @ematipico in https://github.com/biomejs/biome/pull/5705
- chore(deps): update pnpm to v10.8.1 by @renovate in https://github.com/biomejs/biome/pull/5720
- chore(deps): update softprops/action-gh-release action to v2.2.2 by @renovate in https://github.com/biomejs/biome/pull/5722
- chore(deps): update rust crate proc-macro2 to 1.0.95 by @renovate in https://github.com/biomejs/biome/pull/5721
- fix(deps): update @biomejs packages by @renovate in https://github.com/biomejs/biome/pull/5723
- chore(deps): add engines field for pnpm by @fireairforce in https://github.com/biomejs/biome/pull/5718
- chore(deps): update dependency eslint to v9.25.0 by @renovate in https://github.com/biomejs/biome/pull/5726
- chore(deps): update dependency @changesets/cli to v2.29.2 by @renovate in https://github.com/biomejs/biome/pull/5725
- fix(formatter):
indent_sizecan set to tab in.editorconfigby @fireairforce in https://github.com/biomejs/biome/pull/5713 - feat(lint/useImportType): add
styleoption by @Conaclos in https://github.com/biomejs/biome/pull/5717 - feat(core): implement type inference for destructuring by @arendjr in https://github.com/biomejs/biome/pull/5727
- chore: move @siketyan to the Core Contributors team by @siketyan in https://github.com/biomejs/biome/pull/5730
- revert: editorconfig not default by @ematipico in https://github.com/biomejs/biome/pull/5733
- feat(lint)!: support custom messages in noRestrictedGlobals rule by @siketyan in https://github.com/biomejs/biome/pull/5714
- chore: reduce duplication and add formating of object literals by @ematipico in https://github.com/biomejs/biome/pull/5735
- chore: update preview runners by @arendjr in https://github.com/biomejs/biome/pull/5734
- fix(lint/useRegexLiterals): handle useless escapes by @Conaclos in https://github.com/biomejs/biome/pull/5716
- fix(lint/useNamingConvention): ignore declarations in external modules by @Conaclos in https://github.com/biomejs/biome/pull/5741
- chore: add bronze sponsor and alt text by @ematipico in https://github.com/biomejs/biome/pull/5744
- fix(cli): fix the link "Biome in IDE" docs in the "Setup an editor extension" CLI doc by @tyndria in https://github.com/biomejs/biome/pull/5746
- feat(biome_glob): add NormalizedGlob by @Conaclos in https://github.com/biomejs/biome/pull/5742
- chore: update panic error message by @ematipico in https://github.com/biomejs/biome/pull/5748
- feat(type_info): parse literals to value for checking equality by @siketyan in https://github.com/biomejs/biome/pull/5737
- chore: update contact method in CODE_OF_CONDUCT.md by @dyc3 in https://github.com/biomejs/biome/pull/5752
- feat(noExplicitType): cover
constexported variables by @ematipico in https://github.com/biomejs/biome/pull/5684 - refactor(core): don't ignore
node_modulesby @ematipico in https://github.com/biomejs/biome/pull/5760 - chore: fix rules check for actions by @ematipico in https://github.com/biomejs/biome/pull/5751
- fix(cli): only format valid files and skip errors with
--skip-errorsby @unvalley in https://github.com/biomejs/biome/pull/5719 - feat(useExplicitType): cover function parameters by @ematipico in https://github.com/biomejs/biome/pull/5757
- feat(lint): implement
useIterableCallbackReturnrule by @mdevils in https://github.com/biomejs/biome/pull/5754 - test(lint): auto enable module graph for rules in the project domain by @siketyan in https://github.com/biomejs/biome/pull/5753
- fix(lint): use correct
node:processimport by @nhedger in https://github.com/biomejs/biome/pull/5779 - feat(core): suppression reason by @ematipico in https://github.com/biomejs/biome/pull/5776
- fix(core): use deterministic ordering by @ematipico in https://github.com/biomejs/biome/pull/5775
- fix(biome_string_case): don't compare numbers with non-numbers by @Conaclos in https://github.com/biomejs/biome/pull/5787
- docs(assist/organizeImports): update docs with last changes by @Conaclos in https://github.com/biomejs/biome/pull/5602
- chore(deps): update dependency eslint to v9.25.1 by @renovate in https://github.com/biomejs/biome/pull/5788
- chore(deps): update @biomejs packages by @renovate in https://github.com/biomejs/biome/pull/5789
- fix(lint): respect preferred JSX quote style and escape conflicting inner quotes in class attributes by @Hideyasu-Ozawa in https://github.com/biomejs/biome/pull/5781
- chore(deps): update github-actions by @renovate in https://github.com/biomejs/biome/pull/5790
- feat(workspace): add
debug_type_infoby @ematipico in https://github.com/biomejs/biome/pull/5786 - refactor(biome_string_case): minor change of Collator abstraction by @Conaclos in https://github.com/biomejs/biome/pull/5791
- feat(migrate-eslint): migrate useImportType ESLint option by @Conaclos in https://github.com/biomejs/biome/pull/5792
- refactor: revisit type-related data structures by @arendjr in https://github.com/biomejs/biome/pull/5777
- fix(core): fix incorrect JSDoc detection by @arendjr in https://github.com/biomejs/biome/pull/5793
- fix(lsp): related diagnostics by @ematipico in https://github.com/biomejs/biome/pull/5769
- chore: type formatting tweaks by @arendjr in https://github.com/biomejs/biome/pull/5800
- ci: fix binary path when building on Windows by @siketyan in https://github.com/biomejs/biome/pull/5804
- fix(biome_cli): use workspace API to update and format config files by @bushuai in https://github.com/biomejs/biome/pull/5795
- chore: rename
--skip-errorsto--skip-parse-errorby @unvalley in https://github.com/biomejs/biome/pull/5805 - ci: use depot runners for windows by @ematipico in https://github.com/biomejs/biome/pull/5806
- fix(core): diagnostics and scan kind by @ematipico in https://github.com/biomejs/biome/pull/5794
- ci: use GitHub hosted runner for publish workflows by @siketyan in https://github.com/biomejs/biome/pull/5808
- feat(core): add
ModuleIdtoResolvedTypeIdby @arendjr in https://github.com/biomejs/biome/pull/5809
New Contributors
- @akx made their first contribution in https://github.com/biomejs/biome/pull/5479
- @Xstoudi made their first contribution in https://github.com/biomejs/biome/pull/5485
- @jelly made their first contribution in https://github.com/biomejs/biome/pull/5528
- @thejackshelton made their first contribution in https://github.com/biomejs/biome/pull/5535
- @bedros-p made their first contribution in https://github.com/biomejs/biome/pull/5509
- @mdevils made their first contribution in https://github.com/biomejs/biome/pull/5578
- @amasotti made their first contribution in https://github.com/biomejs/biome/pull/5642
- @hanseltime made their first contribution in https://github.com/biomejs/biome/pull/5619
- @lixiaoyan made their first contribution in https://github.com/biomejs/biome/pull/5690
- @tyndria made their first contribution in https://github.com/biomejs/biome/pull/5746
- @Hideyasu-Ozawa made their first contribution in https://github.com/biomejs/biome/pull/5781
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/js-api@v0.8.0-beta.1...@biomejs/biome@2.0.0-beta.2