You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
To trigger a single review, invoke the @coderabbitai review command.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
You can directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.
Generate unit-tests for this file.
You can tag CodeRabbit on specific lines of code or entire files in the PR by tagging @coderabbitai in a comment. Examples:
@coderabbitai generate unit tests for this file.
@coderabbitai modularize this function.
You can tag @coderabbitai in a PR comment and ask questions about the PR and the codebase. Examples:
@coderabbitai generate interesting stats about this repository from git and render them as a table.
@coderabbitai show all the console.log statements in this repository.
@coderabbitai read src/utils.ts and generate unit tests.
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid.
@coderabbitai read the files in the src/scheduler package and generate README in the markdown format.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pause to pause the reviews on a PR.
@coderabbitai resume to resume the paused reviews.
@coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
@coderabbitai resolve resolve all the CodeRabbit review comments.
@coderabbitai help to get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
The JSON schema for the configuration file is available here.
If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json
CodeRabbit Discord Community
Join our Discord Community to get help, request features, and share feedback.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesissue or pull request that belongs to a dependency
1 participant
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 contains the following updates:
^0.34.6->^1.1.0Release Notes
vitest-dev/vitest (vitest)
v1.1.0Compare Source
🚀 Features
--workspaceoption, fix root resolution in workspaces - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4773 (67d93)--no-file-parallelism,--maxWorkers,--minWorkersflags - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4705 (fd5d7)--no-isolateflag to improve performance, add documentation about performance - by @sheremet-va, @AriPerkkio and Pascal Jufer in https://github.com/vitest-dev/vitest/issues/4777 (4d55a)--excludeCLI flag - by @Namchee and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4279 (f859e)🐞 Bug Fixes
toHavePropertyassertion error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4734 (f8f70)defineWorkspacefix intellisense and report type errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4743 (9cc36)View changes on GitHub
v1.0.4Compare Source
The previous release was built incorrectly and didn't include the performance fix. This release fixes that.
🐞 Bug Fixes
--coverage.all=falseresolved incorrectly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4697 (a7931)🏎 Performance
log-updateto v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)View changes on GitHub
v1.0.3Compare Source
🐞 Bug Fixes
🏎 Performance
log-updateto v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)View changes on GitHub
v1.0.2Compare Source
🐞 Bug Fixes
stripSnapshotIndentationfor thrown snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4663 (74820)URLequality check only whenURLis available - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4670 (43783)View changes on GitHub
v1.0.1Compare Source
🐞 Bug Fixes
peerDependenciesversions - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4654 (42070)View changes on GitHub
v1.0.0Compare Source
Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
poolandpoolOptions, remove old flags - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4172 (114a9)child_process- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3925 (8b4a4)vitestpeer dependency range for sub packages - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4299 (cd03c)expect().toContain()can handle classList, Node.contains, and any array-like structure. This means you cannot use it to check if one object is a subset of another - useexpect().toMatchObject()in that case - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4239 (ce84f)transformModeand workspace project based source maps - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4309 (28109cc)coverage.allby default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4265 (5a741)🚀 Features
/* v8 ignore...ignore hints - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4573 (f9e4a)expect.closeToapi - by @Dunqing and golebiowskib in https://github.com/vitest-dev/vitest/issues/4260 (7f91c)🐞 Bug Fixes
nextTickmocking error message to mention correct config option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4215 (98fe3)expect- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4405 (9fe38)Errorinstance for thrown snapshot - by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4396 (ac309)retryandbailfrom test config file - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4530 (94f9a)pretty-formatas a sibling dependency - by @nicojs in https://github.com/vitest-dev/vitest/issues/4590 (ed50a)stdinwhen in run mode - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4310 (fc51a)poolandpoolMatchGlobsin defineConfig - by @InfiniteXyy in https://github.com/vitest-dev/vitest/issues/4282 (9112c)thresholdAutoUpdateto detect zero limits - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4287 (a29fe)Object.freezebreakstoEqual- by @Dunqing in https://github.com/vitest-dev/vitest/issues/4303 (a4501)erroroption from TaskResult - by @Dunqing in https://github.com/vitest-dev/vitest/issues/4313 (4cee6)vi.hoistedif assigned - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4285 (ff93a)🏎 Performance
log-updatev9 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4390 (ba1df)all: trueinstruments already instrumented files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4552 (d1e1b)View changes on GitHub
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.