Update vitest 1.3.1 → 1.4.0 (minor) #325
Merged
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 update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ vitest (1.3.1 → 1.4.0) · Repo
Release Notes
1.4.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 40 commits:
chore: release v1.4.0
feat(config): deprecate `cache.dir` option (#5229)
fix: correct locations in test.each tasks
chore: remove unused property
fix(vitest): logs in `beforeAll` and `afterAll` (#5288)
fix(vitest): correctly override api with --no-api flag (#5386)
chore: guard try/catch in websocket reporter
fix(browser): add `magic-string` to `optimizeDeps.include` (#5278)
fix(coverage): prevent `reportsDirectory` from removing user's project (#5376)
fix(vitest): ignore timeout on websocket reporter rpc
fix: `--inspect-brk` to pause before execution (#5355)
feat: add a flag to include test location in tasks (#5342)
fix(vitest): ensure restoring terminal cursor on close (#5292)
feat(vitest): support `clearScreen` cli flag (#5241)
feat(config): add `shuffle.files` and `shuffle.tests` options (#5281)
feat(cli): support wildcards in `--project` option (#5295)
feat(coverage): support `--changed` option (#5314)
chore: update tester.ts (#5377)
fix(api): use resolvedUrls from devserver (#5289)
fix(typecheck): update get-tsconfig 4.7.3 to fix false circularity error (#5384)
fix(coverage): respect source maps of pre-transpiled sources (#5367)
fix(vitest): loosen `onConsoleLog` return type (#5337)
fix(coverage): v8 to ignore type-only files (#5328)
fix(ui): escape html in error diff (#5325)
docs: grammar fix (#5324)
ci: fix playwright install (#5319)
chore(deps): update `istanbul-lib-source-maps` to v5 (#5304)
fix(workspace): throw error when browser mode and `@vitest/coverage-v8` are used (#5250)
feat: throw error when using snapshot assertion with `not` (#5294)
fix(forks): wrap `defines` to support `undefined` values (#5284)
test: add error equality tests + more warnings in docs (#5253)
test(browser): unskipped https test for browser (#5290)
chore: add `.svelte-kit` to eslint ignores (#5282)
fix(expect): show diff on `toContain/toMatch` assertion error (#5267)
chore: rename needs reproduction label (#5260)
docs: update vscode extension url (#5276)
fix(coverage): expensive regexp hangs v8 report generation (#5259)
docs: remove paragraph in Web Test Runner section (#5269)
fix: repeatable `--project` option (#5265)
docs: move zxch3n to Team Emeriti
Commits
See the full diff on Github. The new version differs by 3 commits:
chore: release v0.30.8
fix: handle last empty line correctly when using update/overwrite (#274)
docs: add `reset` method to README (#272)
Release Notes
4.13.0
4.12.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 15 commits:
4.13.0
Add locations to logs, warnings and error messages (#5424)
chore: fix typo (#5419)
chore(deps): lock file maintenance (#5418)
chore(deps): lock file maintenance minor/patch updates (#5417)
4.12.1
Chunk assignment - Fix comment line breaks and typo (#5411)
fix: escape ids in `import.meta.ROLLUP_FILE_URL_referenceId` correctly (#5404)
Improve documentation for AST nodes
chore(deps): lock file maintenance (#5407)
chore(deps): lock file maintenance minor/patch updates (#5406)
Update contributing guide
chore(deps): lock file maintenance minor/patch updates (#5399)
Rename `getRollupEror` to `getRollupError` (#5398)
List all authors in release notes
Release Notes
5.1.6
5.1.5
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 39 commits:
release: v5.1.6
chore(deps): update dependency @eslint-types/typescript-eslint to v7 (#16132)
chore(deps): update all non-major dependencies (#16131)
docs(static-deploy): update workflow (#15773)
fix: server middleware mode resolve (#16122)
fix: check for publicDir before checking if it is a parent directory (#16046)
docs: support using different sponsor images for dark mode
fix(esbuild): update tsconfck to fix bug that could cause a deadlock (#16124)
fix: handle function property extension in namespace import (#16113)
release: plugin-legacy@5.3.2
fix(plugin-legacy): respect modernTargets option if renderLegacyChunks disabled (#15789)
style(utils): remove null check (#16112)
fix(worker): throw error when circular worker import is detected and support self referencing worker (#16103)
docs: add reference link for set debug environment variable on Windows (#16097)
fix(worker): hide "The emitted file overwrites" warning if the content is same (#16094)
refactor(runtime): share more code between runtime and main bundle (#16063)
fix: escape single quote when relative base is used (#16060)
release: v5.1.5
fix: analysing build chunk without dependencies (#15469)
fix: import with query with imports field (#16085)
docs(assets): add note to inlining SVG through url() (#15534)
revert: "fix: upgrade esbuild to 0.20.x" (#16072)
fix: upgrade esbuild to 0.20.x (#16062)
docs(hmr): document `hmr.protocol` setting (#16056)
refactor(runtime): use functions from `pathe` (#16061)
fix: output correct error for empty import specifier (#16055)
fix: normalize literal-only entry pattern (#16010)
chore(deps): update all non-major dependencies (#16028)
fix(create-vite): ts error in the svelte-ts template (#16031)
refactor: share code with vite runtime (#15907)
fix(plugin-legacy): dynamic import browserslist-to-esbuild (#16011)
fix(runtime): runtime HMR affects only imported files (#15898)
fix(plugin-legacy): replace `esbuild-plugin-browserslist` with `browserslist-to-esbuild` (#15988)
fix(scanner): respect `experimentalDecorators: true` (#15206)
chore: update pr review diagram (#15997)
fix: optimizeDeps.entries with literal-only pattern(s) (#15853)
fix: `__vite__mapDeps` code injection (#15732)
release: create-vite@5.2.1
release: plugin-legacy@5.3.1
Release Notes
1.4.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 40 commits:
chore: release v1.4.0
feat(config): deprecate `cache.dir` option (#5229)
fix: correct locations in test.each tasks
chore: remove unused property
fix(vitest): logs in `beforeAll` and `afterAll` (#5288)
fix(vitest): correctly override api with --no-api flag (#5386)
chore: guard try/catch in websocket reporter
fix(browser): add `magic-string` to `optimizeDeps.include` (#5278)
fix(coverage): prevent `reportsDirectory` from removing user's project (#5376)
fix(vitest): ignore timeout on websocket reporter rpc
fix: `--inspect-brk` to pause before execution (#5355)
feat: add a flag to include test location in tasks (#5342)
fix(vitest): ensure restoring terminal cursor on close (#5292)
feat(vitest): support `clearScreen` cli flag (#5241)
feat(config): add `shuffle.files` and `shuffle.tests` options (#5281)
feat(cli): support wildcards in `--project` option (#5295)
feat(coverage): support `--changed` option (#5314)
chore: update tester.ts (#5377)
fix(api): use resolvedUrls from devserver (#5289)
fix(typecheck): update get-tsconfig 4.7.3 to fix false circularity error (#5384)
fix(coverage): respect source maps of pre-transpiled sources (#5367)
fix(vitest): loosen `onConsoleLog` return type (#5337)
fix(coverage): v8 to ignore type-only files (#5328)
fix(ui): escape html in error diff (#5325)
docs: grammar fix (#5324)
ci: fix playwright install (#5319)
chore(deps): update `istanbul-lib-source-maps` to v5 (#5304)
fix(workspace): throw error when browser mode and `@vitest/coverage-v8` are used (#5250)
feat: throw error when using snapshot assertion with `not` (#5294)
fix(forks): wrap `defines` to support `undefined` values (#5284)
test: add error equality tests + more warnings in docs (#5253)
test(browser): unskipped https test for browser (#5290)
chore: add `.svelte-kit` to eslint ignores (#5282)
fix(expect): show diff on `toContain/toMatch` assertion error (#5267)
chore: rename needs reproduction label (#5260)
docs: update vscode extension url (#5276)
fix(coverage): expensive regexp hangs v8 report generation (#5259)
docs: remove paragraph in Web Test Runner section (#5269)
fix: repeatable `--project` option (#5265)
docs: move zxch3n to Team Emeriti
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