note: la sintesi e le note di rilascio sono in inglese
note: nessuna sintesi per questa release più vecchia
Sintetizziamo le release recenti. Le note di rilascio originali di questa versione sono qui sotto.
release-notesgithub.com/vitest-dev/vitest · 28 righe
- ### 🚀 Features
- - Return a disposable from doMock() - by @kirkwaiblinger in https://github.com/vitest-dev/vitest/issues/9332 [<samp>(e3e65)</samp>](https://github.com/vitest-dev/vitest/commit/e3e659a96)
- - Added chai style assertions for spying - by @ronnakamoto and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8842 [<samp>(841df)</samp>](https://github.com/vitest-dev/vitest/commit/841df9ac5)
- - Update to sinon/fake-timers v15 and add `setTickMode` to timer controls - by @atscott and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8726 [<samp>(4b480)</samp>](https://github.com/vitest-dev/vitest/commit/4b480aaed)
- - **api**:
- - Support tests starting or ending with `test` in `experimental_parseSpecification` - by @jgillick and **Jeremy Gillick** in https://github.com/vitest-dev/vitest/issues/9235 [<samp>(2f367)</samp>](https://github.com/vitest-dev/vitest/commit/2f367fad3)
- - Add filters to `createSpecification` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9336 [<samp>(c8e6c)</samp>](https://github.com/vitest-dev/vitest/commit/c8e6c7fbf)
- - Expose `runTestFiles` as alternative to `runTestSpecifications` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9443 [<samp>(43d76)</samp>](https://github.com/vitest-dev/vitest/commit/43d761821)
- - **browser**:
- - Add `userEvent.wheel` API - by @macarie in https://github.com/vitest-dev/vitest/issues/9188 [<samp>(66080)</samp>](https://github.com/vitest-dev/vitest/commit/660801979)
- - **coverage**:
- - Support `ignore start/stop` ignore hints - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9204 [<samp>(e59c9)</samp>](https://github.com/vitest-dev/vitest/commit/e59c94ba6)
- - **experimental**:
- - Add `onModuleRunner` hook to `worker.init` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9286 [<samp>(e977f)</samp>](https://github.com/vitest-dev/vitest/commit/e977f3deb)
- - **runner**:
- - Enhance `retry` options - by @MazenSamehR, **Matan Shavit**, @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9370 [<samp>(9e4cf)</samp>](https://github.com/vitest-dev/vitest/commit/9e4cfd295)
- ### 🐞 Bug Fixes
- - Deprecate several vitest/* entry points - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9347 [<samp>(fd459)</samp>](https://github.com/vitest-dev/vitest/commit/fd45928be)
- - Use `meta.url` in `createRequire` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9441 [<samp>(e3422)</samp>](https://github.com/vitest-dev/vitest/commit/e34225563)
- - Preact browser mode init example of render function not async - by @WuMingDao in https://github.com/vitest-dev/vitest/issues/9375 [<samp>(2bea5)</samp>](https://github.com/vitest-dev/vitest/commit/2bea549c7)
- - **browser**: Avoid updating screenshots when `toMatchScreenshot` passes - by @macarie in https://github.com/vitest-dev/vitest/issues/9289 [<samp>(46aab)</samp>](https://github.com/vitest-dev/vitest/commit/46aabaa44)
- - **coverage**: Infer transform mode for uncovered files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9435 [<samp>(f3967)</samp>](https://github.com/vitest-dev/vitest/commit/f396792d6)
- - **deps**: Update all non-major dependencies - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9192 [<samp>(90c30)</samp>](https://github.com/vitest-dev/vitest/commit/90c302f3b)
- ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.17...v4.1.0-beta.1)