2.0.0-beta.3Pre-release
CLI v2.0.0-beta.3
What's Changed
Other changes
- feat(wasm): expose
getTypeInfoby @ematipico in https://github.com/biomejs/biome/pull/5815 - refactor(core): break down type info and registered types by @ematipico in https://github.com/biomejs/biome/pull/5816
- fix(core): fix downgrading of project references by @arendjr in https://github.com/biomejs/biome/pull/5818
- chore: fix Windows CI by @arendjr in https://github.com/biomejs/biome/pull/5824
- fix(core): ignore node_modules during the traversal by @ematipico in https://github.com/biomejs/biome/pull/5825
- feat(analyze/js): implement
noShadowby @dyc3 in https://github.com/biomejs/biome/pull/5761 - fix(core): don't scan
node_moduleswhen using the light scanner by @ematipico in https://github.com/biomejs/biome/pull/5827 - fix(biome_migrate): use object-level syntax node as rule state for the
organize_importsanalyzer to do action mutation by @bushuai in https://github.com/biomejs/biome/pull/5828 - feat(workspace): add semantic model debug printer by @dyc3 in https://github.com/biomejs/biome/pull/5821
- fix(package_json): catch panic error when by @ematipico in https://github.com/biomejs/biome/pull/5829
- feat(core): implement full (project-level) inference by @arendjr in https://github.com/biomejs/biome/pull/5830
- chore(deps): update dependency vite to v6.3.4 [security] by @renovate in https://github.com/biomejs/biome/pull/5833
- fix(lint/useNumericSeparators): avoid false positive on single-digit 0 by @lucasweng in https://github.com/biomejs/biome/pull/5834
- perf(lint): use
Arc<T>to sharePackageJsonamong analyzer rules by @siketyan in https://github.com/biomejs/biome/pull/5839 - feat(lint/noUselessBackrefInRegex): add rule by @Conaclos in https://github.com/biomejs/biome/pull/5813
- perf(scanner): update type info in worker threads by @siketyan in https://github.com/biomejs/biome/pull/5840
- fix(core): printed directories by @ematipico in https://github.com/biomejs/biome/pull/5841
- fix(core): scanner should not descend into symlinked directories by @arendjr in https://github.com/biomejs/biome/pull/5853
- fix(lint): mark whole fragment as incorrect if without key by @DerTimonius in https://github.com/biomejs/biome/pull/5773
- feat(lint/noShadow): handle some cases from typescript-eslint by @dyc3 in https://github.com/biomejs/biome/pull/5843
- fix(core): fix incorrect module ID in reexport by @arendjr in https://github.com/biomejs/biome/pull/5855
- fix(core): don't load manifests inside
node_modulesfor now by @arendjr in https://github.com/biomejs/biome/pull/5857 - fix(yaml_parser): only allows maximum 2 properties per node by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5864
- fix(yaml_parser): add properties to yaml block scalars by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5866
- fix(schema): more precise type for organizeImports predfined groups by @Conaclos in https://github.com/biomejs/biome/pull/5869
- docs: add @vitest/eslint-plugin as rule source by @drwpow in https://github.com/biomejs/biome/pull/5872
- fix(organizeImports): fix Display impl by @Conaclos in https://github.com/biomejs/biome/pull/5878
- perf(js_analyze): use Box in more places to reduce memory by @minht11 in https://github.com/biomejs/biome/pull/5880
- feat(yaml_parser): lex plain token by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5870
- fix(deps): update @biomejs packages by @renovate in https://github.com/biomejs/biome/pull/5887
- chore(deps): update rust crate insta to 1.43.1 by @renovate in https://github.com/biomejs/biome/pull/5890
- chore(deps): update dependency eslint to v9.26.0 by @renovate in https://github.com/biomejs/biome/pull/5888
- chore(deps): update typescript-eslint monorepo to v8.31.1 by @renovate in https://github.com/biomejs/biome/pull/5892
- chore(deps): update rust crate oxc_resolver to v5.3.0 by @renovate in https://github.com/biomejs/biome/pull/5891
- chore(js_analyze): enforce usage of
should not generate diagnosticscomment for tests by @minht11 in https://github.com/biomejs/biome/pull/5883 - chore(deps): update rust:1.86.0 docker digest to 640960f by @renovate in https://github.com/biomejs/biome/pull/5886
- feat(yaml): implement BumpWithContext for YamlTokenSource by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5895
- feat(yaml): implement rewind and checkpoint for yaml parser by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5894
- fix(watcher): fix failing watcher tests on macOS by @siketyan in https://github.com/biomejs/biome/pull/5905
- feat(cli): prettify ESLint config on loading for migration by @siketyan in https://github.com/biomejs/biome/pull/5902
- feat(yaml): parse plain node by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5904
- perf(core): reusable scoped resolver by @arendjr in https://github.com/biomejs/biome/pull/5906
- fix(cli): support nested
filesproperty in ESLint flat config by @siketyan in https://github.com/biomejs/biome/pull/5903 - refactor(core): pull manifest on demand by @ematipico in https://github.com/biomejs/biome/pull/5910
- feat(lint): handle jsdoc and tsdoc syntax in nounusedimports by @Danielku15 in https://github.com/biomejs/biome/pull/5698
- fix(cli): format diagnostic location by @ematipico in https://github.com/biomejs/biome/pull/5911
- feat(linter): useSingleJsDocAsterisk by @minht11 in https://github.com/biomejs/biome/pull/5844
- fix(cli): apply
--skip-parse-errorsto lint, check and ci commands by @unvalley in https://github.com/biomejs/biome/pull/5780 - fix(lint/useJsxKeyIterable): reports missing keys inside
ifandswitchby @unvalley in https://github.com/biomejs/biome/pull/5909 - fix(core): track resolver data by @arendjr in https://github.com/biomejs/biome/pull/5918
- chore: upgrade to
oxc-resolver8 by @arendjr in https://github.com/biomejs/biome/pull/5922 - fix(core): handle named reexports by @arendjr in https://github.com/biomejs/biome/pull/5921
- perf: faster manifest handling by @arendjr in https://github.com/biomejs/biome/pull/5926
- fix(analyzer): placeholder shouldn't block signals by @ematipico in https://github.com/biomejs/biome/pull/5923
- chore: update rust-toolchain.toml on Renovate by @siketyan in https://github.com/biomejs/biome/pull/5928
- chore(config): migrate renovate config by @renovate in https://github.com/biomejs/biome/pull/5929
- ci: build GNU/Linux binaries in Docker by @siketyan in https://github.com/biomejs/biome/pull/5924
- docs(readme): fix wrong translations by @hms5232 in https://github.com/biomejs/biome/pull/5927
- feat(lint): implement
useExhaustiveSwitchCases-typescript-eslint/switch-exhaustiveness-checkby @siketyan in https://github.com/biomejs/biome/pull/5762 - fix(core): infer type of dynamic import by @arendjr in https://github.com/biomejs/biome/pull/5933
- chore(deps): update dependency rust to v1.86.0 by @renovate in https://github.com/biomejs/biome/pull/5931
- fix(core): fix resolving of (relative) imports by @arendjr in https://github.com/biomejs/biome/pull/5934
- refactor(lsp): use
tower-lsp-serverby @ematipico in https://github.com/biomejs/biome/pull/5930 - feat(lint): promote rules by @Conaclos in https://github.com/biomejs/biome/pull/5899
- docs(linter): add rule naming and severity choice guidelines by @Conaclos in https://github.com/biomejs/biome/pull/5937
- fix(core): fix flattening issues by @arendjr in https://github.com/biomejs/biome/pull/5940
- fix(js-api): regression of tests by @ematipico in https://github.com/biomejs/biome/pull/5943
- fix(core): add guard for flattening depth by @arendjr in https://github.com/biomejs/biome/pull/5945
- fix(core): update crossbeam channel due to CVE by @ematipico in https://github.com/biomejs/biome/pull/5946
- fix(lint): ignore async and generator callbacks in useIterableCallbackReturn by @siketyan in https://github.com/biomejs/biome/pull/5951
- chore(tests): add test utils for asserting valid snapshots did not generate diagnostics by @minht11 in https://github.com/biomejs/biome/pull/5912
- fix(yaml): make indented block in mapping optional by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5956
- fix(js_analyze): suggest fix for unused
JsFunctionDeclarationby @daivinhtran in https://github.com/biomejs/biome/pull/5955 - fix(parser): should parse Fragment syntax correct by @fireairforce in https://github.com/biomejs/biome/pull/5938
- chore(css_analyzer): add "should not generate diagnostics" to valid test snapshots by @minht11 in https://github.com/biomejs/biome/pull/5961
- refactor(migrate): add rule mover migration by @Conaclos in https://github.com/biomejs/biome/pull/5959
- fix(core): scanner tweak: mostly respect ignored dirs by @arendjr in https://github.com/biomejs/biome/pull/5952
- feat(yaml_parser): parse explicit mapping by @vohoanglong0107 in https://github.com/biomejs/biome/pull/5957
- refactor(migrate): improve organizeImports migration by @Conaclos in https://github.com/biomejs/biome/pull/5962
- fix(cli): normalise config-path path by @ematipico in https://github.com/biomejs/biome/pull/5920
New Contributors
- @Danielku15 made their first contribution in https://github.com/biomejs/biome/pull/5698
- @hms5232 made their first contribution in https://github.com/biomejs/biome/pull/5927
- @daivinhtran made their first contribution in https://github.com/biomejs/biome/pull/5955
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.0.0-beta.2...@biomejs/biome@2.0.0-beta.3