Skip to content

Commit 2d0aaef

Browse files
committed
docs: migration guide
1 parent 900b517 commit 2d0aaef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guide/migration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Vitest 4.0 removes some deprecated APIs, including:
123123
- `poolMatchGlobs` config option. Use [`projects`](/guide/projects) instead.
124124
- `environmentMatchGlobs` config option. Use [`projects`](/guide/projects) instead.
125125
- `workspace` config option. Use [`projects`](/guide/projects) instead.
126+
- Reporter APIs `onCollected`, `onSpecsCollected`, `onPathsCollected`, `onTaskUpdate` and `onFinished`. See [`Reporters API`](/advanced/api/reporters) for new alternatives. These APIs were introduced in Vitest `v3.0.0`.
126127

127128
This release also removes all deprecated types. This finally fixes an issue where Vitest accidentally pulled in `node` types (see [#5481](https://github.com/vitest-dev/vitest/issues/5481) and [#6141](https://github.com/vitest-dev/vitest/issues/6141)).
128129

0 commit comments

Comments
 (0)