Update vitest monorepo to v1 (major) - autoclosed #388
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:
0.34.6
->1.2.2
0.34.7
->1.2.2
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v1.2.2
Compare Source
🐞 Bug Fixes
coverage/.tmp
files after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 (d53b8)toThrow(asymmetricMatcher)
failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 (a199a)VITEST_POOL_ID
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 (7d0a4)ignoreSourceErrors
in run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 (6dae3)useFakeTimers
to fakerequestIdleCallback
on non browser - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 (a9a48)import.meta.resolve
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 (cf564)View changes on GitHub
v1.2.1
Compare Source
🐞 Bug Fixes
thresholds.autoUpdate
to work with arrow function configuration files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4959 (4b411)AsymmetricMatcher
- by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4942 (06bae)await vi.hoisted
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4962 (dcf2e)View changes on GitHub
v1.2.0
Compare Source
🚀 Features
--disable-console-intercept
option to allow opting-out from automatic console log interception - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4786 (43fa6)🐞 Bug Fixes
server.headers
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4890 (55f53)testNamePattern
config - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4909 (4add9)objDisplay
default truncate option fortest.each
title - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4917 (9ae9d)process.exit
is called inside the test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4903 (8e6c1)pool
andpoolOptions
on project level - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4765 (e9fe4)View changes on GitHub
v1.1.3
Compare Source
🐞 Bug Fixes
slowTestThreshold
to all reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4876 (1769c)View changes on GitHub
v1.1.2
Compare Source
🐞 Bug Fixes
expect(...).toMatchFileSnapshot()
matcher. - by @zmullett, Zac Mullett and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4839 (b8140)memoryLimit
- by @inottn and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4802 (70e8a)View changes on GitHub
v1.1.1
Compare Source
🐞 Bug Fixes
inline: true
is set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4815 (8f622)--no-parallelism
- by @bonyuta0204 in https://github.com/vitest-dev/vitest/issues/4831 (5053a)skip
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4814 (19faf)beforeAll/afterAll
errors in junit reporter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4819 (2baea)View changes on GitHub
v1.1.0
Compare Source
🚀 Features
--workspace
option, fix root resolution in workspaces - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4773 (67d93)--no-file-parallelism
,--maxWorkers
,--minWorkers
flags - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4705 (fd5d7)--no-isolate
flag to improve performance, add documentation about performance - by @sheremet-va, @AriPerkkio and Pascal Jufer in https://github.com/vitest-dev/vitest/issues/4777 (4d55a)--exclude
CLI flag - by @Namchee and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4279 (f859e)🐞 Bug Fixes
toHaveProperty
assertion error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4734 (f8f70)defineWorkspace
fix intellisense and report type errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4743 (9cc36)View changes on GitHub
v1.0.4
Compare Source
The previous release was built incorrectly and didn't include the performance fix. This release fixes that.
🐞 Bug Fixes
--coverage.all=false
resolved incorrectly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4697 (a7931)🏎 Performance
log-update
to v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)View changes on GitHub
v1.0.3
Compare Source
🐞 Bug Fixes
🏎 Performance
log-update
to v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)View changes on GitHub
v1.0.2
Compare Source
🐞 Bug Fixes
stripSnapshotIndentation
for thrown snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4663 (74820)URL
equality check only whenURL
is available - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4670 (43783)View changes on GitHub
v1.0.1
Compare Source
🐞 Bug Fixes
peerDependencies
versions - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4654 (42070)View changes on GitHub
v1.0.0
Compare Source
Vitest 1.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.
🚨 Breaking Changes
pool
andpoolOptions
, remove old flags - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4172 (114a9)child_process
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3925 (8b4a4)vitest
peer dependency range for sub packages - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4299 (cd03c)expect().toContain()
can handle classList, Node.contains, and any array-like structure. This means you cannot use it to check if one object is a subset of another - useexpect().toMatchObject()
in that case - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4239 (ce84f)transformMode
and workspace project based source maps - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4309 (28109cc)coverage.all
by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4265 (5a741)🚀 Features
/* v8 ignore...
ignore hints - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4573 (f9e4a)expect.closeTo
api - by @Dunqing and golebiowskib in https://github.com/vitest-dev/vitest/issues/4260 (7f91c)🐞 Bug Fixes
nextTick
mocking error message to mention correct config option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4215 (98fe3)expect
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4405 (9fe38)Error
instance for thrown snapshot - by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4396 (ac309)retry
andbail
from test config file - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4530 (94f9a)pretty-format
as a sibling dependency - by @nicojs in https://github.com/vitest-dev/vitest/issues/4590 (ed50a)stdin
when in run mode - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4310 (fc51a)pool
andpoolMatchGlobs
in defineConfig - by @InfiniteXyy in https://github.com/vitest-dev/vitest/issues/4282 (9112c)thresholdAutoUpdate
to detect zero limits - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4287 (a29fe)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 has been generated by Mend Renovate. View repository job log here.