serve-placeholder
serve-placeholder copied to clipboard
chore(deps): update vitest monorepo to v3 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vitest/coverage-v8 (source) | ^1.6.0 -> ^3.2.4 |
||||
| vitest (source) | ^1.6.0 -> ^3.2.4 |
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v3.2.4
🐞 Bug Fixes
- Use correct path for optimisation of strip-literal - by @mrginglymus in https://github.com/vitest-dev/vitest/issues/8139 (44940)
- Print uint and buffer as a simple string - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8141 (b86bf)
- browser:
- Show a helpful error when spying on an export - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8178 (56007)
- cli:
vitest run --watchshould be watch-mode - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8128 (657e8)- Use absolute path environment on Windows - by @colinaaa in https://github.com/vitest-dev/vitest/issues/8105 (85dc0)
- Throw error when
--shard x/<count>exceeds count of test files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8112 (8a18c)
- coverage:
- Ignore SCSS in browser mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8161 (0c3be)
- deps:
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/8123 (93f32)
- expect:
- Handle async errors in expect.soft - by @lzl0304 in https://github.com/vitest-dev/vitest/issues/8145 (68699)
- pool:
- Auto-adjust
minWorkerswhen onlymaxWorkersspecified - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8110 (14dc0)
- Auto-adjust
- reporter:
task.metashould be available in custom reporter's errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8115 (27df6)
- runner:
- Preserve handler wrapping on extend - by @pengooseDev in https://github.com/vitest-dev/vitest/issues/8153 (a9281)
- ui:
- Ensure ui config option works correctly - by @lzl0304 in https://github.com/vitest-dev/vitest/issues/8147 (42eeb)
View changes on GitHub
v3.2.3
🚀 Features
- browser: Use base url instead of vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8126 (1d8eb)
- ui: Show test annotations and metadata in the test report tab - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8093 (c69be)
🐞 Bug Fixes
- Rerun tests when project's setup file is changed - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8097 (0f335)
- Revert
expect.anyreturn type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8129 (47514) - Run only the name plugin last, not all config plugins - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8130 (83862)
- pool:
- Throw if user's tests use
process.send()- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8125 (dfe81)
- Throw if user's tests use
- runner:
- Fast sequential task updates missing - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8121 (7bd11)
- Comments between fixture destructures - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8127 (dc469)
- vite-node:
- Unable to handle errors where sourcemap mapping empty - by @blake-newman and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8071 (8aa25)
View changes on GitHub
v3.2.2
🚀 Features
- Support rolldown-vite - by @sheremet-va and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7509 (c8d62)
🐞 Bug Fixes
- browser:
- Calculate prepare time from
createTesterscall on the main thread - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8101 (142c7) - Optimize build output and always prebundle vitest - by @sheremet-va (00a39)
- Make custom locators available in
vitest-browser-*packages - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8103 (247ef)
- Calculate prepare time from
- expect:
- Ensure we can always self
toEqual- by @dubzzz in https://github.com/vitest-dev/vitest/issues/8094 (02ec8)
- Ensure we can always self
- reporter:
- Allow
dotreporter to work in non interactive terminals - by @bstephen1 and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7994 (6db9f)
- Allow
View changes on GitHub
v3.2.1
🐞 Bug Fixes
- Use sha1 instead of md5 for hashing - by @sheremet-va (e4c73)
- expect:
- Fix chai import in dts - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8077 (a7593)
- Export
DeeplyAllowMatchers- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8078 (30ab4)
View changes on GitHub
v3.2.0
v3.1.4
v3.1.3
🐞 Bug Fixes
- Correctly resolve vitest import if
inline: trueis set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7856 (a83f3) - Fix fixture parsing with lowered async with esbuild 0.25.3 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7921 (c5c85)
- Remove event-catcher code - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7898 (deb1b)
- Reset mocks on test retry/repeat - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7897 (2fa76)
- Ignore failures on writeToCache - by @orgads in https://github.com/vitest-dev/vitest/issues/7893 (8c7f7)
- browser: Correctly inherit CLI options - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7858 (03660)
- deps: Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7867 (67ef7)
- reporters:
--merge-reportsto show each total run times - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7877 (d613b)
View changes on GitHub
v3.1.2
🚀 Features
- Draft implementation - by @sheremet-va (86010)
- Draft implementation" - by @sheremet-va (ce2a0)
🐞 Bug Fixes
- Add global
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) - Prevent modifying
test.excludewhen same object passed incoverage.exclude- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7774 (c3751) - Fix already hoisted mock - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7815 (773b1)
- Fix test.scoped inheritance - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7814 (db6c3)
- Remove pointer-events-none after resizing the left panel - by @alexprudhomme in https://github.com/vitest-dev/vitest/issues/7811 (a7e77)
- Default to run mode when stdin is not a TTY - by @kentonv, @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7673 (6358f)
- Use happy-dom/jsdom types for
envionmentOptions- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7795 (67430) - browser:
- Fix transform error before browser server initialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7783 (5f762)
- Fix mocking from outside of root - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7789 (03f55)
- Scale iframe for non ui case - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6512 (c3374)
- coverage:
awaitprofiler calls - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7763 (795a6)- Expose profiling timers - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7820 (5652b)
- deps:
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7765 (7c3df)
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7831 (15701)
- runner:
- Correctly call test hooks and teardown functions - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7775 (3c00c)
- Show stacktrace on test timeout error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7799 (df33b)
- ui:
- Load panel sizes from storage on initial load - by @userquin in https://github.com/vitest-dev/vitest/issues/7265 (6555d)
- vite-node:
- Named export should overwrite export all - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7846 (5ba0d)
- Add ERR_MODULE_NOT_FOUND code error if module cannot be loaded - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7776 (f9eac)
🏎 Performance
- browser: Improve browser parallelisation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7665 (816a5)
View changes on GitHub
v3.1.1
🐞 Bug Fixes
- reporter:
- Report tests in correct order - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7752 (b166e)
- Print test only once in the verbose mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7738 (69ca4)
View changes on GitHub
v3.1.0
🚀 Features
- Introduce
%$option to add number of the test to its title - by @kemuridama in https://github.com/vitest-dev/vitest/issues/7412 (df347) - Add
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) - Allow array element for
test.each/fortitle formatting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7522 (ea3d6) - Add "configureVitest" plugin hook - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7349 (20a5d)
- Support
--configLoaderCLI option - by @Carnageous and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7574 (2a852) - Added
vitest-browser-littovitest init browserand docs - by @EskiMojo14 and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7705 (5659a) - Use providers request interception for module mocking - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7576 (7883a)
- browser:
- Introduce
and,orandfilterlocators - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7463 (63949)
- Introduce
- reporter:
- Always render test time - by @AriPerkkio and @spamshaker in https://github.com/vitest-dev/vitest/issues/7529 (5eba6)
--silent=passed-onlyto log failed tasks only - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7530 (f9e1c)
- runner:
- Add
test.scopedto overridetest.extendfixtures per-suite - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7233 (e5851)
- Add
- vitest:
- Allow conditional
context.skip(boolean)- by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7659 (6adec) - Support rolldown-vite in NormalizeUrlPlugin - by @sapphi-red and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7739 (1ef31)
- Allow conditional
🐞 Bug Fixes
- Update test stats regularly - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7700 (b7953)
- Fix vm tests flakiness - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7741 (2702c)
- Set
diff.expand: falseas default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7697 (f3420) - browser:
- Correctly calculate timeout in hooks when actions are performed - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7747 (a5505)
- deps:
- Update all non-major dependencies - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7600 (7fc5a)
- reporter:
--hideSkippedTestsshould hide suites too - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7695 (ba9b5)- Report tests in correct order - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7752 (b166e)
- Print test only once in the verbose mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7738 (69ca4)
- snapshot:
- Fix indent normalization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7400 (82997)
- This change can cause small amount of very old snapshots to be updated, but there will be no functional change to how they work.
🏎 Performance
- browser: Fork jest-dom instead of bundling it - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7605 (12762)
View changes on GitHub
v3.0.9
🐞 Bug Fixes
- Typings of
ctx.skip()asnever- by @sirlancelot in https://github.com/vitest-dev/vitest/issues/7608 (09f35) - Cleanup vitest in public
resolveConfigAPI - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7623 (db14a) - Fix
toHaveBeenCalledWith(asymmetricMatcher)withundefinedarguments - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7624 (0fb21) - Race condition in RPC filesystem cache. - by @dts in https://github.com/vitest-dev/vitest/issues/7531 (b7f55)
- Fix
getState().testPathduring collection with no isolation - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7640 (3fb3f) - Support custom toString method in %s format - by @pengooseDev in https://github.com/vitest-dev/vitest/issues/7637 (46d93)
- browser:
- Fail playwright timeouts earlier than a test timeout - by @sheremet-va and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7565 (5eb4c)
- Remove @testing-library/dom from dependencies #7555)" - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7628 and https://github.com/vitest-dev/vitest/issues/7555 (94b27)
- coverage:
- Browser mode +
coverage.all- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7597 (422ba)
- Browser mode +
- runner:
- Show stacktrace on hook timeout error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7502 (268a1)
- vite-node:
- Fix source map of inlined node_modules - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7557 (34aa3)
- Fix missing
buildStart- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7652 (29f5a)
- web-worker:
- Ensure
removeEventListeneris bound to worker - by @joelgallant in https://github.com/vitest-dev/vitest/issues/7631 (ff42b)
- Ensure
View changes on GitHub
v3.0.8
🐞 Bug Fixes
- Fix fetch cache multiple writes - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7546 (1a8b4)
- Use browser.isolate instead of config.isolate - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7560 (4b5ed)
- Remove vestigial spy stub, import directly from
@vitest/spy- by @mrginglymus in https://github.com/vitest-dev/vitest/issues/7575 (7f7ff) - Correctly split the argv string - by @btea in https://github.com/vitest-dev/vitest/issues/7533 (4325a)
- browser:
- Remove @testing-library/dom from dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7555 (5387a)
- Improve source map handling for bundled files - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7534 (e2c57)
- Print related test file and potential test in unhandled errors - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7564 (fee90)
- runner:
- Fix
beforeEach/Allcleanup callback timeout - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7500 (0c292) - Fix and simplify
Task.suiteinitialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7414 (ca9ff)
- Fix
- snapshot:
- Allow inline snapshot calls on same location with same snapshot - by @jycouet and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7464 (d5cb8)
- vite-node:
- Fix
buildStarton Vite 6 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7480 (c0f47)
- Fix
View changes on GitHub
v3.0.7
🐞 Bug Fixes
- browser: Support webdriverio 9 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7553 (b1949)
- deps: Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7543 (365ff)
- expect: Correct generic MatchersObject this type in expect.extend - by @Workingstiff-s in https://github.com/vitest-dev/vitest/issues/7526 (d5765)
- mocker: Include more modules to prefix-only module list - by @btea in https://github.com/vitest-dev/vitest/issues/7524 (a12ec)
- spy: Clear/reset/restore mocks in stack order - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7499 (f7100)
🏎 Performance
- browser: Do wdio context switching only once per file - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7549 (aaa58)
View changes on GitHub
v3.0.6
🐞 Bug Fixes
- Fix
getMockedSystemTimeforuseFakeTimer- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7405 (03912) - Compat for jest-image-snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7390 (9542b)
- Ensure project names are readable in dark terminals - by @rgrove in https://github.com/vitest-dev/vitest/issues/7371 (bb94c)
- Exclude
queueMicrotaskfrom default fake timers to not break node fetch - by @hi-ogawa in https://github.com/vitest-dev/vitest/pull/7505 (167a9) - Use
tinyglobbyinstead offast-glob- by @benmccann in https://github.com/vitest-dev/vitest/issues/7504 (b62ac) - browser:
- Fix mocking modules out of root - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7415 (d3acb)
- Fix
toHaveClasstyping - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7383 (7ef23) - Relax locator selectors methods - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7422 (1b8c5)
- Resolve thread count from
maxWorkers- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7483 (adbb2) - Cleanup timeout on resolve and give more information in the error - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7487 (5a45a)
- coverage:
vite-nodeto pass correct execution wrapper offset - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7417 (1f2e5)- Preserve moduleExecutionInfo in non-isolated runs - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7486 (f31a0)
- deps:
- Update all non-major dependencies - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7363 (e348b)
- Update all non-major dependencies - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7507 (6cc40)
- init:
- Invalid browser config - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7475 (8fe64)
- reporters:
- Render tasks in tree when in TTY - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7503 (027ce)
- vite-node:
- Remove fake first line mapping on Vite 6 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7124 (b9973)
- watch:
- Properly remove cache after removing existing test files - by @soc221b in https://github.com/vitest-dev/vitest/issues/7399 (01a59)
- workspace:
- Forward
inspectrelated cli options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7373 (ed15b)
- Forward
View changes on GitHub
v3.0.5
This release includes security patches for:
🚀 Features
- ui: Insert message "no tests found" in ui - by @DevJoaoLopes in https://github.com/vitest-dev/vitest/issues/7366 (92da4)
🐞 Bug Fixes
- Validate websocket request - by @hi-ogawa and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7317 (191ef)
- Don't toggle cli cursor on non-TTY - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7336 (3c805)
- vite-node: Differentiate file url with hash and query - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7365 (926ca)
View changes on GitHub
v3.0.4
This release includes security patches for:
🐞 Bug Fixes
- Filter projects eagerly during config resolution - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7313 (dff44)
- Apply
development|productioncondition on Vites 6 by @hi-ogawa and @sheremet-va (#7301) (ef146) - browser: Restrict served files from
/__screenshot-error- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7340 (ed9ae) - deps: Update all non-major dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7297 (38ea8)
- runner: Timeout long sync hook - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7289 (c60ee)
- typechecking: Support typechecking parsing with Vite 6 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7335 (bff70)
- types: Fix public types - by @mrginglymus and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7328 (ce6af)
View changes on GitHub
v3.0.3
🐞 Bug Fixes
- browser:
- Don't throw a validation error if v8 coverage is used with filtered instances - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7306 (fa463)
- Don't fail when running --browser.headless if the browser projest is part of the workspace - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7311 (e43a8)
🏎 Performance
- reporters: Update summary only when needed - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7291 (7f36b)
View changes on GitHub
v3.0.2
🐞 Bug Fixes
- Don't await an empty timeout after every test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7281 (ef1aa)
- expect: Fix
expect().resolves/rejectschain typings - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7273 (fa415)
View changes on GitHub
v3.0.1
🐞 Bug Fixes
- Revert "fix: re-apply default conditions if using vite 6 or later (https://github.com/vitest-dev/vitest/issues/7071)" - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7071 and https://github.com/vitest-dev/vitest/issues/7271 (755ec)
- deps: Update all non-major dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7147 (537fa)
View changes on GitHub
v3.0.0
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
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.