Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@biomejs/[email protected]
Patch Changes
#6908
d77eaffThanks @ematipico! - Fix #6485: Handle multiple semicolons correctly in blocks (π CSS parser errors on multiple semicolonsΒ #6485)#6908
d77eaffThanks @ematipico! - Fixed #6762, Biome now knows that~/.config/zed/settings.jsonand~/.config/Code/User/settings.jsonallows comments by default.#6908
d77eaffThanks @ematipico! - Refactor: remove one level of indirection for CSS declarations with semicolonPreviously, accessing a declaration from a list required an extra step:
Now, it can be done directly with:
#6908
d77eaffThanks @ematipico! - Fixed a bug where the Biome Language Server didn't correctly ignore specific files whenvcs.useIgnoreFileis set totrue.#6908
d77eaffThanks @ematipico! - Improved the performance ofnoImportCyclesby ~30%.#6908
d77eaffThanks @ematipico! - Fixed #6829: Fixed a false positive reported byuseImportExtensionswhen importing a.jsfile that had a matching.d.tsfile in the same folder.#6908
d77eaffThanks @ematipico! - Fixed an issue where biome was using the wrong string quotes when the classes string has quotes, resulting in invalid code after applying the fix.#6908
d77eaffThanks @ematipico! - Improved #6172: Optimised the way function arguments are stored in Biome's type inference. This led to about 10% performance improvement inRedisCommander.d.tsand about 2% on@next/fonttype definitions.#6908
d77eaffThanks @ematipico! - Fixed a bug where the Biome Language Server would apply an unsafe fix when using the code actionquickfix.biome.Now Biome no longer applies an unsafe code fix when using the code action
quickfix.biome.#6908
d77eaffThanks @ematipico! - Fixed #6719: ThenoInvalidUseBeforeDeclarationrule covers additional use cases.Examples:
#6908
d77eaffThanks @ematipico! - Biome now considers whether the linter is enabled when figuring out how the project should be scanned. Resolves #6815.#6908
d77eaffThanks @ematipico! - Fixed #6165: Fixed false negative innoUnusedPrivateClassMembersrule when checking member usage in classes#6908
d77eaffThanks @ematipico! - Fixed a bug where the root ignore file wasn't correctly loaded during the scanning phase, causing false positives and incorrect expectations among users.Now, when using
vcs.useIgnoreFile, the the globs specified in the ignore file from the project root will have the same semantics as thefiles.includessetting of the root configuration.Refer to the relative web page to understand how they work.
#6908
d77eaffThanks @ematipico! - Fixed #6891: Improved type inference for array indices.Example:
#6908
d77eaffThanks @ematipico! - Fixed #6796: Fixed a false positive that happened innoFloatingPromiseswhen calling functions that were declared as part offor ... ofsyntax insideasyncfunctions.Instead, the variables declared inside
for ... ofloops are now correctlyinferred if the expression being iterated evaluates to an
Array(support for other iterables will follow later).Invalid example
Valid example
#6908
d77eaffThanks @ematipico! - Added the rulenoVueReservedProps, resolves #6309.It prevents the use of reserved Vue prop names such as
keyandrefwhich can cause conflicts and unexpected behavior in Vue components.Invalid example
Valid examples
#6912
af7c6c0Thanks @ematipico! - Fixed #6904. Now Biome correctly applies the argument--assist-enabled=falsewhen running the commandciand the commandcheck.#6908
d77eaffThanks @ematipico! - Allow multiple identifiers in ::part() pseudo-element selector.#6908
d77eaffThanks @ematipico! - Fixed #6510: The scanner no longer shows diagnostics on inaccessible files unless--verboseis used.#6908
d77eaffThanks @ematipico! - Fixed #6837: Fixed regression with multiple consecutive line suppression comments using instances (like// biome-ignore lint/correctness/useExhaustiveDependencies(depName): reason).#6908
d77eaffThanks @ematipico! - Fixed an issue wheretextDocument/codeActionin the LSP could respond with outdated text edits after the workspace watcher observed outdated changes to the file.#6908
d77eaffThanks @ematipico! -noFloatingPromiseswill no longer suggest to addawaitkeyword inside synchronous callbacks nested insideasyncfunctions.#6908
d77eaffThanks @ematipico! - Fixed #6777: Fixed type inference handling ofthisto avoid infinite recursion.Thanks to @sterliakov for the thorough investigation!
#6908
d77eaffThanks @ematipico! - Fixed #6775:useReadonlyClassPropertiesnow also captures mutations inside function arguments.Example:
#6723
c434f01Thanks @sterliakov! -useUniqueElementIdsnow has anexcludedComponentsoption to support elements usingidprop for reasons not related to DOM element id. Fixed #6722.#6908
d77eaffThanks @ematipico! - Fixed a bug where Biome didn't throw any error whenvcs.useIgnoreFileis set totrue, and there wasn't any ignore file read. Now Biome correctly throws an error if no ignore files are found.#6911
6d68074Thanks @arendjr! - Fixed #6838: Reduce resource consumption in the Biome Language Server by using non-recursive filesystem watchers instead of recursive ones.Watchers are responsible for notifying Biome of changes to files in the filesystem. We used to set up a single recursive watcher, but that meant that Biome would receive filesystem notifications for all files in your project, even for ignored folders such as
build/ordist/folders.With this patch, we set up non-recursive watchers only for the folders that are relevant to a project.
Related to this, we also solved an issue where incoming notifications were incorrectly filtered, causing ignored files to be processed and stored in our module graph anyway.
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]
@biomejs/[email protected]