chore(deps): update vitest monorepo to v3 (major)#162
Merged
Conversation
Reviewer's Guide by SourceryThis PR updates the Class diagram showing updated Vitest v3 core componentsclassDiagram
class Vitest {
+expect
+mocker
+runner
+snapshot
+spy
+utils
}
class VitestUI {
+utils
+fflate
+flatted
+sirv
+tinyglobby
}
class VitestCoverage {
+v8-coverage
+istanbul-lib
+source-maps
+reports
}
Vitest --> VitestUI : uses
Vitest --> VitestCoverage : uses
note for Vitest "Updated to v3.0.0"
note for VitestUI "Updated to v3.0.0"
note for VitestCoverage "Updated to v3.0.0"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
f193b84 to
2bb2785
Compare
2bb2785 to
601b0db
Compare
275695c to
8341af6
Compare
0ecca08 to
8119685
Compare
8119685 to
1212cab
Compare
1212cab to
82844d3
Compare
606ba02 to
9d5ae91
Compare
9d5ae91 to
92c8329
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.9->3.1.22.1.9->3.1.2^2.1.4->^3.0.0Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v3.1.2Compare Source
🚀 Features
🐞 Bug Fixes
chaivariable invitest/globals(fix: #7474) - by @Jay-Karia in https://github.com/vitest-dev/vitest/issues/7771 and https://github.com/vitest-dev/vitest/issues/7474 (d9297)test.excludewhen same object passed incoverage.exclude- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7774 (c3751)envionmentOptions- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7795 (67430)awaitprofiler calls - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7763 (795a6)🏎 Performance
View changes on GitHub
v3.1.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.1.0Compare Source
🚀 Features
%$option to add number of the test to its title - by @kemuridama in https://github.com/vitest-dev/vitest/issues/7412 (df347)diff.maxDepthoption and set non-Infinityvalue as a default to reduce crash - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7481 (eacab)test.each/fortitle formatting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7522 (ea3d6)--configLoaderCLI option - by @Carnageous and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7574 (2a852)vitest-browser-littovitest init browserand docs - by @EskiMojo14 and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7705 (5659a)and,orandfilterlocators - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7463 (63949)--silent=passed-onlyto log failed tasks only - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7530 (f9e1c)test.scopedto overridetest.extendfixtures per-suite - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7233 (e5851)context.skip(boolean)- by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7659 (6adec)🐞 Bug Fixes
diff.expand: falseas default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7697 (f3420)--hideSkippedTestsshould hide suites too - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7695 (ba9b5)🏎 Performance
View changes on GitHub
v3.0.9Compare Source
v3.0.8Compare Source
🐞 Bug Fixes
@vitest/spy- by @mrginglymus in https://github.com/vitest-dev/vitest/issues/7575 (7f7ff)beforeEach/Allcleanup callback timeout - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7500 (0c292)Task.suiteinitialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7414 (ca9ff)buildStarton Vite 6 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7480 (c0f47)View changes on GitHub
v3.0.7Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v3.0.6Compare Source
🐞 Bug Fixes
getMockedSystemTimeforuseFakeTimer- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7405 (03912)queueMicrotaskfrom default fake timers to not break node fetch - by @hi-ogawa in https://github.com/vitest-dev/vitest/pull/7505 (167a9)tinyglobbyinstead offast-glob- by @benmccann in https://github.com/vitest-dev/vitest/issues/7504 (b62ac)toHaveClasstyping - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7383 (7ef23)maxWorkers- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7483 (adbb2)vite-nodeto pass correct execution wrapper offset - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7417 (1f2e5)inspectrelated cli options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7373 (ed15b)View changes on GitHub
v3.0.5Compare Source
This release includes security patches for:
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v3.0.4Compare Source
This release includes security patches for:
🐞 Bug Fixes
development|productioncondition on Vites 6 by @hi-ogawa and @sheremet-va (#7301) (ef146)/__screenshot-error- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7340 (ed9ae)View changes on GitHub
v3.0.3Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v3.0.2Compare Source
🐞 Bug Fixes
expect().resolves/rejectschain typings - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7273 (fa415)View changes on GitHub
v3.0.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.0.0Compare Source
Vitest 3 is here! There are a few breaking changes, but we expect the migration to be smooth. This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
spy.mockResetchanges - by @Lordfirespeed in https://github.com/vitest-dev/vitest/issues/6426 (db7a8)describe(..., { shuffle: boolean })and inherit from parent suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6670 (aa1da)retryandrepeats- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6817 (e8ce9)🚀 Features
diffoptions and supportprintBasicPrototype- by @hi-ogawa, @sheremet-va and Michał Grzegorzewski in https://github.com/vitest-dev/vitest/issues/6740 (39186)ctx.skip()dynamically - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6805 (697c3)vitest/nodeentry point and statically on Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7029 (be8d4)diff.printBasicPrototype: falseby default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7043 (2b5c5)describe.for- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7253 (0ad28)actionTimeoutas playwright provider options - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6984 (e2c29)userEvent.copy, cut, paste- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6769 (843a6)--project=!pattern- by @haines in https://github.com/vitest-dev/vitest/issues/6924 (ebfe9)thresholdsto support maximum uncovered items - by @jonahkagan in https://github.com/vitest-dev/vitest/issues/7061 (bde98)toHaveBeenCalledExactlyOnceWithexpect matcher - by @jacoberdman2147 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6894 (ff662)toHaveBeenCalledAfterandtoHaveBeenCalledBeforeutility - by @Barbapapazes and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6056 (85e6f)toSatisfyasymmetric matcher - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7022 (f691a)toBeOneOfmatcher - by @zirkelc and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6974 (3d742)summaryoption forverboseanddefaultreporters - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6893 (511b7)provide- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6813 (85c64)configtoresolveSnapshotPath- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6800 (746d8)coverageMapin json report - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6606 (9c8f7)onTestsRerunmethod to global setup context - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6803 (e26e0)🐞 Bug Fixes
cacheDirwhen optimizer is enabled - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6910 (0b08b)finallyin case there is an error to avoid it getting stuck - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6951 (02194)Customtype internally - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7032 (7957f)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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.