note: die Zusammenfassung und die Release Notes sind auf Englisch
note: keine Zusammenfassung für dieses ältere Release
Wir fassen die neueren Releases zusammen. Die originalen Release Notes dieser Version stehen hier unten.
release-notesgithub.com/vitest-dev/vitest · 37 Zeilen
- ### 🚨 Breaking Changes
- - Default `attachmentsDir` from `.vitest-attachements/` to `.vitest/attachments/` - by @MdSadiqMd in https://github.com/vitest-dev/vitest/issues/10186 [<samp>(1ba73)</samp>](https://github.com/vitest-dev/vitest/commit/1ba7338c3)
- - Remove `sequential` test/suite options in favor of `concurrent` - by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10198 [<samp>(9229f)</samp>](https://github.com/vitest-dev/vitest/commit/9229f2edc)
- - Represent locator as an object instead of a string - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10212 [<samp>(80f07)</samp>](https://github.com/vitest-dev/vitest/commit/80f07edf6)
- - Inline `expect` package - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10221 [<samp>(ad162)</samp>](https://github.com/vitest-dev/vitest/commit/ad16223e7)
- - Remove deprecated entry points - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10222 [<samp>(994c6)</samp>](https://github.com/vitest-dev/vitest/commit/994c6ddb9)
- - **mocker**: Deserialize automock as automock - by @nami8824 in https://github.com/vitest-dev/vitest/issues/10192 [<samp>(2f892)</samp>](https://github.com/vitest-dev/vitest/commit/2f892712d)
- - **reporters**: `blob` reporter and `--merge-reports` default to `.vitest/blob/` - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10232 [<samp>(d22b0)</samp>](https://github.com/vitest-dev/vitest/commit/d22b029ae)
- ### 🚀 Features
- - Expose default reporters through `configDefaults.reporters` - by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/10219 [<samp>(083f6)</samp>](https://github.com/vitest-dev/vitest/commit/083f6bdd6)
- - Support merge reports for non-sharded multi-environment runs (take 2) - by @hi-ogawa, **Claude Sonnet 4.6**, **Codex** and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10031 [<samp>(e60b2)</samp>](https://github.com/vitest-dev/vitest/commit/e60b2f49e)
- - Add `logger.formatError` - by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10268 [<samp>(2c5f3)</samp>](https://github.com/vitest-dev/vitest/commit/2c5f3ee2f)
- - **browser**: Provide project reference in `ToMatchScreenshotResolvePath` - by @macarie and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10138 [<samp>(16654)</samp>](https://github.com/vitest-dev/vitest/commit/166544e39)
- - **coverage**: V8 to track `node:child_process` and `node:worker_threads` contexts - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9976 [<samp>(9baa5)</samp>](https://github.com/vitest-dev/vitest/commit/9baa5faba)
- - **junit-reporter**: Add jest-junit-compatible naming options - by @neumaennl, **neumaennl**, @neumann4soft and **Copilot** in https://github.com/vitest-dev/vitest/issues/10189 [<samp>(27393)</samp>](https://github.com/vitest-dev/vitest/commit/273933440)
- ### 🐞 Bug Fixes
- - Global `sequence.concurrent: true` with top-level `test(..., { concurrent: false })` + depreacte `sequential` test API and options - by @hi-ogawa, **Codex** and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10194 [<samp>(9387f)</samp>](https://github.com/vitest-dev/vitest/commit/9387f57cf)
- - Test `tags` options should overwrite inherited suite options + inherit suite options in `task` API - by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10216 [<samp>(457db)</samp>](https://github.com/vitest-dev/vitest/commit/457db297b)
- - Udpate optimize deps config - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10223 [<samp>(95dc6)</samp>](https://github.com/vitest-dev/vitest/commit/95dc6e3f1)
- - **browser**:
- - Fix trace highlight of shadow dom on webdriverio - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10227 [<samp>(b01af)</samp>](https://github.com/vitest-dev/vitest/commit/b01afd26c)
- - **deps**:
- - Update ivya to fix empty aria tree snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10218 [<samp>(f7822)</samp>](https://github.com/vitest-dev/vitest/commit/f7822ebf6)
- - **runner**:
- - Propagate chainable flags in describe.for - by @DORI2001, **Dor Alagem** and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10187 [<samp>(db678)</samp>](https://github.com/vitest-dev/vitest/commit/db67831d7)
- - Limit concurrency per task branch in addition to per leaf callbacks - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10179 [<samp>(3112a)</samp>](https://github.com/vitest-dev/vitest/commit/3112abea2)
- - **snapshot**:
- - Treat empty string as valid snapshot - by @mayrang and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10188 [<samp>(e145d)</samp>](https://github.com/vitest-dev/vitest/commit/e145d5756)
- - **spy**:
- - Support private method spy types - by @cyphercodes in https://github.com/vitest-dev/vitest/issues/10172 and https://github.com/vitest-dev/vitest/issues/10213 [<samp>(628ab)</samp>](https://github.com/vitest-dev/vitest/commit/628ab32f1)
- ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v5.0.0-beta.1...v5.0.0-beta.2)