This repository was archived by the owner on Aug 10, 2024. It is now read-only.
Update vitest 0.21.0 → 2.0.5 (major) #273
Open
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.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ vitest (0.21.0 → 2.0.5) · Repo
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 29 commits:
chore: release v2.0.5
chore: remove unnecessary await (#6249)
docs: add reported tasks docs (#6245)
feat: introduce experimental reported tasks (#6149)
fix(browser): Improve unique CSS selector generation (#6243)
fix: `testNamePattern` adds leading space (#6186)
fix(browser): passing options to hover/unhover (#6175)
ci: combine test-browser tests, don't run tests when only docs are changed (#6221)
docs(browser): set `browser.name: 'chromium'` when using `playwright` (#6220)
chore: cleanup
fix(browser): correctly import optimized module in vi.importActual (#6219)
Revert "fix(browser): don't inject empty `process` global (#6213)"
refactor(vitest): move public exports to public folder (#6218)
refactor: make a distinction between node and runtime types (#6214)
fix(browser): don't inject empty `process` global (#6213)
docs: typo in `common-errors.md` (#6208)
fix(vitest): correctly resolve mocked node:* imports in __mocks__ folder (#6204)
refactor: deprecate all config types from the main Vitest entrypoint, introduce `SerializedConfig` type (#6205)
fix(browser): userEvent.setup initiates a separate state for userEvent instance (#6088)
fix(web-worker): expose globals on self (#6170)
docs: fix inconsistencies, remove low informative twoslash examples (#6200)
fix(vitest): improve `defineProject` and `defineWorkspace` types (#6198)
docs: add information to the workspace docs on how to use extends (#6169)
fix(vitest): remove nuxt from auto inline deps
chore(deps): update all non-major dependencies (#6188)
docs: Typos fixed and clarity improved. (#6178)
Update mocking.md (#6180)
fix(browser): don't bundle `afterEach` cleanup hooks in node entrypoint (#6192)
fix: show a difference between string characters if both values are strings (#6191)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands