chore(deps): update dependency vitest to v4#38
Open
Bineryss wants to merge 1 commit into
Open
Conversation
5f300fb to
beaad1b
Compare
beaad1b to
f98a625
Compare
f98a625 to
919b4b5
Compare
919b4b5 to
d2c72d2
Compare
d2c72d2 to
232f101
Compare
232f101 to
c19ecd8
Compare
c19ecd8 to
1a5c868
Compare
1a5c868 to
03196bf
Compare
03196bf to
3137e45
Compare
3137e45 to
f3ba770
Compare
f3ba770 to
227b562
Compare
227b562 to
6686125
Compare
6686125 to
b7ecf3a
Compare
b7ecf3a to
bebf468
Compare
bebf468 to
f0a7fb1
Compare
f0a7fb1 to
fbe0ca5
Compare
fbe0ca5 to
2e83a28
Compare
2e83a28 to
48304c4
Compare
48304c4 to
f849cbc
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^2.1.4->^4.0.0Release Notes
vitest-dev/vitest (vitest)
v4.1.9Compare Source
🐞 Bug Fixes
importOriginalwith optimizer and query import [backport to v4] - by Hiroshi Ogawa, David Harris, Codexand Vladimir in https://github.com/vitest-dev/vitest/issues/10546 (a5180)View changes on GitHub
v4.1.8Compare Source
🐞 Bug Fixes
cdpAPI whenallowWrite/allowExec: false[backport to v4] - by @hi-ogawa and Codex in https://github.com/vitest-dev/vitest/issues/10450 (e4067)View changes on GitHub
v4.1.7Compare Source
🐞 Bug Fixes
View changes on GitHub
v4.1.6Compare Source
🐞 Bug Fixes
ToMatchScreenshotResolvePath- by @macarie and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10138 (31882)sequence.concurrent: truewith top-leveltest(..., { concurrent: false })+ depreactesequentialtest API and options - by @hi-ogawa, Codex and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10196 (2847d)🏎 Performance
View changes on GitHub
v4.1.5Compare Source
🚀 Experimental Features
instrumenteroption - by @BartWaardenburg and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10119 (0e0ff)🐞 Bug Fixes
vi.defineHelpercalled as object method - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10163 (122c2)agentreporter tominimal- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10157 (663b9)View changes on GitHub
v4.1.4Compare Source
🚀 Experimental Features
skipFullif agent detected - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10018 (53757)assertionas a public field - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10095 (a120e)🐞 Bug Fixes
expect(..., message)consistent as error message prefix - by @hi-ogawa and Codex in https://github.com/vitest-dev/vitest/issues/10068 (a1b5f)View changes on GitHub
v4.1.3Compare Source
🚀 Experimental Features
experimental.preParseflag - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10070 (78273)browser.locators.exactoption - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10013 (48799)TestAttachment.bodyEncoding- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9969 (89ca0)🐞 Bug Fixes
expect.pollinterval - by @hi-ogawa and Claude Sonnet 4.6 in https://github.com/vitest-dev/vitest/issues/10022 (3f5bf)@vitest/coverage-v8and@vitest/coverage-istanbulas optional dependency - by @alan-agius4 in https://github.com/vitest-dev/vitest/issues/10025 (146d4)defineHelperfor webkit async stack trace + update playwright 1.59.0 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10036 (5a5fa)JestExtendError.contextfrom verbose error reporting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9983 (66751)vitest- by @hi-ogawa and Codex in https://github.com/vitest-dev/vitest/issues/10042 (691d3)View changes on GitHub
v4.1.2Compare Source
This release bumps Vitest's
flattedversion and removes version pinning to resolveflatted's CVE related issues (https://github.com/vitest-dev/vitest/issues/9975).🐞 Bug Fixes
setupFilesfrom parent directory - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9960 (7aa93)toMatchScreenshotcan't capture a stable screenshot - by @macarie in https://github.com/vitest-dev/vitest/issues/9847 (faace)coverageConfigDefaultsvalues and types - by @Arthie in https://github.com/vitest-dev/vitest/issues/9940 (b3c99)View changes on GitHub
v4.1.1Compare Source
🚀 Features
matchesTagsto test if the current filter matches tags - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9913 (eec53)experimental.vcsProvider- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9928 (56115)🐞 Bug Fixes
TestProject.testFilesListinternal properly - by @sapphi-red in https://github.com/vitest-dev/vitest/issues/9867 (54f26)use- by @oilater in https://github.com/vitest-dev/vitest/issues/9831 and https://github.com/vitest-dev/vitest/issues/9861 (633ae)vi.advanceTimersto the preview provider - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9891 (1bc3e)--standalonemode without running tests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9911 (e78ad)body- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9912 (6fdb2)retry.conditionRegExp serialization issue - by @nstepien and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9942 (7b605)testreturn as tests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9871 (141e7)View changes on GitHub
v4.1.0Compare Source
Vitest 4.1 is out!
This release page lists all changes made to the project during the 4.1 beta. To get a review of all the new features, read our blog post.
🚀 Features
setTickModeto timer controls - by @atscott and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8726 (4b480)toTestSpecificationto reported tasks - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9464 (1a470)vi.mockorvi.hoistedare declared outside of top level of the module - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9387 (5db54)aroundEachandaroundAllhooks - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9450 (2a8cb)neworallin--updateflag - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9543 (a5acf)metain test options - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9535 (7d622)test.extendsyntax - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9550 (e5385)vitest listto statically collect tests instead of running files to collect them - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9630 (7a8e7)--detect-async-leaks- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9528 (c594d)mockThrowandmockThrowOnce- by @thor-juhasz and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9512 (61917)update: "none"and add docs about snapshots behavior on CI - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9700 (05f18)launchOptionswithconnectOptions- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9702 (f0ff1)page/locator.markAPI to enhance playwright trace - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9652 (d0ee5)testinexperimental_parseSpecification- by @jgillick and Jeremy Gillick in https://github.com/vitest-dev/vitest/issues/9235 (2f367)createSpecification- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9336 (c8e6c)runTestFilesas alternative torunTestSpecifications- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9443 (43d76)allowWriteandallowExecoptions toapi- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9350 (20e00)toTestSpecification- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9627 (6f17d)userEvent.wheelAPI - by @macarie in https://github.com/vitest-dev/vitest/issues/9188 (66080)filterNodeoption to prettyDOM for filtering browser assertion error output - by @Copilot, sheremet-va and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9475 (d3220)detailsPanelPositionoption and button - by @shairez in https://github.com/vitest-dev/vitest/issues/9525 (c8a31)findElementand enable strict mode in webdriverio and preview - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9677 (c3f37)ignore start/stopignore hints - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9204 (e59c9)coverage.changedoption to report only changed files - by @kykim00 and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9521 (1d939)onModuleRunnerhook toworker.init- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9286 (e977f)importDurations: { limit, print }options - by @hi-ogawa, Claude Opus 4.6 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9401 (7e10f)importDurations- by @hi-ogawa and Claude Opus 4.6 in https://github.com/vitest-dev/vitest/issues/9533 (3f7a5)beforeAll/afterAll- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9572 (c8339)agentreporter to reduce ai agent token usage - by @cpojer in https://github.com/vitest-dev/vitest/issues/9779 (3e9e0)retryoptions - by @MazenSamehR, Matan Shavit, @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9370 (9e4cf)🐞 Bug Fixes
meta.urlincreateRequire- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9441 (e3422)external/noExternalduringconfigEnvironmenthook - by @hi-ogawa and Claude Opus 4.6 in https://github.com/vitest-dev/vitest/issues/9508 (59ea2)browser.isolateis used - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9410 (3d48e)vi.mock({ spy: true })node v8 coverage - by @hi-ogawa, hi-ogawa and Claude Opus 4.6 in https://github.com/vitest-dev/vitest/issues/9541 (687b6).namefrom statically collected test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9596 (b66ff)expect.soft- by @iumehara, @hi-ogawa and Claude Opus 4.6 in https://github.com/vitest-dev/vitest/issues/9231 (3eb2c)sequence.shuffle.testsis enabled - by @kaigritun, Kai Gritun and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9576 (8182b)expect/src/utilsfromvitest- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9616 (48739)--detect-async-leaks- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9638 (9fd4c)aroundEach/Allwhen inneraroundEach/Allthrows - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9657 (4ec6c)aroundEach/Allsetup timed out - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9670 (bb013)VitestRunnerConfigoptional fields withSerializedConfig- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9661 (79520)toBe*spy assertions in favor oftoHaveBeen*(andtoThrowError) - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9665 (4d390)aroundEach/Allerrors but aggregate them on runner - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9673 (b6365)resolves/rejectschained assertion error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9679 (c6151)maxConcurrency- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9653 (16d13)resolve.conditionsfor externals - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9717 (1d498)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 Renovate Bot.