Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See vitest-dev/vitest#5423 for more details.
Previously, the location field pointed to the error location instead of the test location. Now it is aligned with jest and contains the line and column of a test function, but requires includeTaskLocation to be enabled.
⚠️ Vitest no longer unwraps promises in spy.mock.returns. If the function is async or returns a promise, it will always succeed and have a Promise in results. To make migration easier, we introduced spy.mock.settledResults that unwraps promises and expect().toHaveResolved() matcher that accepts unwrapped value.
⚠️ Vitest coverage no longer adds test files to exclude patterns if coverage.exclude was overridden in the config. Add your test patterns manually, or merge your overrides with default ones: ['**/my-pattern.js', ...coverageConfigDefaults.exclude].
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See vitest-dev/vitest#5423 for more details.
Previously, the location field pointed to the error location instead of the test location. Now it is aligned with jest and contains the line and column of a test function, but requires includeTaskLocation to be enabled.
⚠️ Vitest no longer unwraps promises in spy.mock.returns. If the function is async or returns a promise, it will always succeed and have a Promise in results. To make migration easier, we introduced spy.mock.settledResults that unwraps promises and expect().toHaveResolved() matcher that accepts unwrapped value.
⚠️ Vitest coverage no longer adds test files to exclude patterns if coverage.exclude was overridden in the config. Add your test patterns manually, or merge your overrides with default ones: ['**/my-pattern.js', ...coverageConfigDefaults.exclude].
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the frontend-deps group with 8 updates in the / directory:
5.1.0
5.2.0
1.6.0
2.0.1
2.3.0
2.4.1
0.46.5
0.46.14
8.4.38
8.4.39
5.5.2
5.5.3
5.3.1
5.3.3
1.6.0
2.0.1
Updates
@testing-library/svelte
from 5.1.0 to 5.2.0Release notes
Sourced from
@testing-library/svelte
's releases.Commits
953a4db
chore(release): promote 5.2.0 to stable2fb7423
fix(deps): allow svelte 5.0.0-next as peer dep (#384)a8f21f8
fix(types): build types from JS source (#376)be82df1
docs(README): move links to sections that use them, remove unused links (#383)9dce164
feat(svelte5): incorporate Svelte 5 support into main entry point (#375)ee1c966
ci(release): use conventionalcommits preset for release (#380)326fb58
chore(deps): update vite-plugin-svelte to disablehmr
in test (#378)cb66333
test(jest): add Jest to CI matrix (#372)ac3248d
test: fix auto-cleanup tests (#371)266e2df
chore(deps-dev): bump the lint group across 1 directory with 9 updates (#370)Updates
@vitest/coverage-v8
from 1.6.0 to 2.0.1Release notes
Sourced from
@vitest/coverage-v8
's releases.... (truncated)
Commits
16eb6c8
chore: release v2.0.11b150a3
chore: release v2.0.05611895
chore: release v2.0.0-beta.13368c137
fix(coverage): remove work-around for implicitelse
(#6014)05d5f38
chore(deps): update all non-major dependencies (#5957)169bc1f
fix(coverage): support overridingexclude
(#5997)cd9cc6b
chore: release v2.0.0-beta.12fca8b92
chore(deps): updatev8-to-istanbul
(#5958)7080513
fix(coverage): pass thresholds errors tostderr
ofstartVitest()
(#5954)3fd15ba
chore: release v2.0.0-beta.11Updates
flowbite
from 2.3.0 to 2.4.1Release notes
Sourced from flowbite's releases.
Commits
8c8d65e
fix(typescript): datepicker naming and version bump to v2.4.12a8c18e
Merge branch 'datepicker-instance'6b160cc
chore(version): bump to v2.4.0e9b8ae3
Merge pull request #907 from themesberg/datepicker-instance1d76b8f
docs(changelog): add changelog213577a
docs(datepicker): update Phoenix and Rails docs for new datepicker update6a16510
docs(datepicker): fix TypeScript example from docs1e0d112
fix(typescript): fix fucking typescript config for cross npm declarations6d1fbf3
docs(nuxt): update Nuxt docs for Flowbite via composables36eeab7
docs(datepicker): update import statements for parent pluginUpdates
flowbite-svelte
from 0.46.5 to 0.46.14Release notes
Sourced from flowbite-svelte's releases.
Changelog
Sourced from flowbite-svelte's changelog.
... (truncated)
Commits
5f0e807
chore: changeset1dbb0e3
fix: issue template updatea232ec3
chore: cleanupa4ddfdf
feat: add transition to Banner and docs3951576
docs: fix: link and text page0453f75
docs: fix: CTA link0459eba
fix: expose spanClass in BottomNavItem as a prop1dc51b2
v0.46.136ff73c2
fix: add headerClass and footerClass to Textarea, #138062b2f03
docs: fix: popover external referenceUpdates
postcss
from 8.4.38 to 8.4.39Release notes
Sourced from postcss's releases.
Changelog
Sourced from postcss's changelog.
Commits
e0efb16
Release 8.4.39 version48304c5
Update dependencies155ac57
Merge pull request #1947 from romainmenke/fix-css-syntax-error-type--reliable...1b9b466
fix CssSyntaxError type declaration3f4d96e
Update dependenciesb952be7
Update CI actionsb512b29
Typof9a9868
Move to pnpm 9 and Node.js 2279052c2
Merge pull request #1940 from Xvezda/patch-10eedad4
Update changed urlsUpdates
typescript
from 5.5.2 to 5.5.3Release notes
Sourced from typescript's releases.
Commits
f0e9921
Bump version to 5.5.3 and LKG738bd60
Cherry-pick #58966 to release-5.5 (#59002)Updates
vite
from 5.3.1 to 5.3.3Changelog
Sourced from vite's changelog.
Commits
22b2994
release: v5.3.3012490c
fix(deps): update all non-major dependencies (#17590)14c3d49
fix(proxy): replace changeOrigin changes in 5.3.0 with new rewriteWsOrigin op...055f1c1
fix(lib): remove pure CSS dynamic import (#17601)dafff4a
fix: lazily evaluate __vite__mapDeps files (#17602)3af02bd
release: v5.3.224c799b
fix(typescript): correctly expand ${configDir} in tsconfig.json (#17576)a33a97f
chore(deps): update all non-major dependencies (#17553)2d6672f
chore(deps): update es-module-lexer to 1.5.4 (#17555)7c06ef0
refactor(optimizer): use early continues (#17551)Updates
vitest
from 1.6.0 to 2.0.1Release notes
Sourced from vitest's releases.
... (truncated)
Commits
16eb6c8
chore: release v2.0.14b03e72
fix(browser): correctly inherit browser config in a workspace (#6054)4d5597d
fix(vitest): print only running files, not every file (#6052)1b150a3
chore: release v2.0.05131992
docs: default pool in the types of 2.0 config (#6043)5611895
chore: release v2.0.0-beta.138f65ae9
fix: transpile esnext to node18 to support newest JS and TS features (#4409)583dd8a
feat(vitest)!: add "vitest list" API to print collected tests without running...f645e48
feat: exposeparseAst
,parseAstAsync
from vite91ba6f9
fix(vitest): show all failed tests when rerunning a test (#6022)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show