capricorn86/happy-dom (happy-dom)
### [`v15.7.4`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.4)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.3...v15.7.4)
##### :construction_worker_man: Patch fixes
- Fixes incorrect handling of non-node items inserted using `replaceWith()`, `before()` and `after()` - By **[@BenjaminAster](https://redirect.github.com/BenjaminAster)** in task [#1533](https://redirect.github.com/capricorn86/happy-dom/issues/1533)
### [`v15.7.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.3)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.2...v15.7.3)
##### :construction_worker_man: Patch fixes
- Fixes bug that occurs when checking if a symbol property exists on `HTMLSelectElement` - By **[@Cherry](https://redirect.github.com/Cherry)** in task [#1526](https://redirect.github.com/capricorn86/happy-dom/issues/1526)
### [`v15.7.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.1...v15.7.2)
##### :construction_worker_man: Patch fixes
- Fixes problem where it is not possible to observe again after disconnecting in `MutationObserver` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1524](https://redirect.github.com/capricorn86/happy-dom/issues/1524)
### [`v15.7.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.1)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.0...v15.7.1)
##### :construction_worker_man: Patch fixes
- Fixes selector validation and converts selectors to string (e.g. `querySelector(['.class'])`) - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1507](https://redirect.github.com/capricorn86/happy-dom/issues/1507)
### [`v15.7.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.1...9bde659a1f05519c3986ec1a0bba9d12526525f7)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.1...v15.7.0)
### [`v15.6.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.0...86748dba632a1716247785851c0009d2256f23ef)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.0...v15.6.1)
### [`v15.6.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.5.0...71d243a6a3583cbc376dc90513d5739e96064691)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.5.0...v15.6.0)
### [`v15.5.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.3...fec1c0165753112715e1295cc57bb0c16b679b39)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.3...v15.5.0)
### [`v15.4.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.3)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.2...v15.4.3)
##### :construction_worker_man: Patch fixes
- Adds support for supporting new lines and tabs as white-space character in CSS selectors - By **[@syi0808](https://redirect.github.com/syi0808)** in task [#1414](https://redirect.github.com/capricorn86/happy-dom/issues/1414)
### [`v15.4.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.1...v15.4.2)
##### :construction_worker_man: Patch fixes
- Typo in CORS rejection error message - By **[@rexxars](https://redirect.github.com/rexxars)** in task [#1485](https://redirect.github.com/capricorn86/happy-dom/issues/1485)
### [`v15.4.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.1)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.0...v15.4.1)
##### :construction_worker_man: Patch fixes
- Throw error in `FormData.append()` when value parameter type is incorrect - By **[@btea](https://redirect.github.com/btea)** in task [#1484](https://redirect.github.com/capricorn86/happy-dom/issues/1484)
### [`v15.4.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.2...5b23cc1cf711b8b3c0132d5f3241de6425bc2dc2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.2...v15.4.0)
### [`v15.3.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.3.2)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.1...v15.3.2)
##### :construction_worker_man: Patch fixes
- Fixes the `HTMLInputElement.indeterminate`, so that it behaves correctly - By **[@malko](https://redirect.github.com/malko)** in task [#1439](https://redirect.github.com/capricorn86/happy-dom/issues/1439)
### [`v15.3.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.0...530f535c01f72de9190d9e67d0c3540d3c44a5fa)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.0...v15.3.1)
### [`v15.3.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.2.0...a99364fa80f968da81dbb6ceb899ae15a8e5b902)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.2.0...v15.3.0)
### [`v15.2.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.2.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.1.0...v15.2.0)
##### :art: Features
- Adds support for the static method `AbortSignal.any()` - By **[@ezzatron](https://redirect.github.com/ezzatron)** in task [#1468](https://redirect.github.com/capricorn86/happy-dom/issues/1468)
### [`v15.1.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.1.0)
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.0.0...v15.1.0)
##### :art: Features
- Refactor internal logic related to injecting the Window context for classes that can be constructed using the "new" operator - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Improves the way classes can access the Browser context internally - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Refactor of the logic for `EventTarget.dispatchEvent()` to better handle the event phases "none", "capture", "atTarget" and "bubbling" - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Adds support for `HTMLInputElement.popoverTargetElement`, `HTMLInputElement.popoverTargetAction`, `HTMLButtonElement.popoverTargetElement` and `HTMLButtonElement.popoverTargetAction` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Adds support for `HTMLElement.popover` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Adds support for `PerformanceObserver`, `PerformanceEntry` and `PerformanceObserverEntryList` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
##### :construction_worker_man: Patch fixes
- Makes it possible for a polyfill to replace `NodeList[Symbol.iterator]()` with `Array.prototype.values()` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Adds logic for canceling any request to start new async tasks while the `Window` is closing (e.g. using `setTimeout()` or `fetch()`) - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Fixes issues with errors exiting the browser when using the setting "errorCapture" set to "processLevel" - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- Refactor internal logic, so that thrown errors are instances of unique error classes assigned to the `Window`, which makes it possible for `BrowserExceptionObserver` to know which `Window` the error originated from
- Changes `Event.composedPath()` to not return the `Window` object if the event type is "load", which is the same behaviour as the browser - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)
- This means that "load" events will not bubble up to the `Window` object
vitest-dev/vitest (vitest)
### [`v2.1.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.2)
[Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2)
##### 🐞 Bug Fixes
- Move `Vitest.setServer` to post `configureServer` hook to enable import analysis for workspace config loading - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6584](https://redirect.github.com/vitest-dev/vitest/issues/6584) [(e7f35)](https://redirect.github.com/vitest-dev/vitest/commit/e7f35214)
- **benchmark**:
- Clear `BenchmarkResult.samples` array to reduce memory usage - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) and [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6541](https://redirect.github.com/vitest-dev/vitest/issues/6541) [(a6407)](https://redirect.github.com/vitest-dev/vitest/commit/a6407afc)
- **browser**:
- Fix dynamic import inside worker - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6569](https://redirect.github.com/vitest-dev/vitest/issues/6569) [(ea2d4)](https://redirect.github.com/vitest-dev/vitest/commit/ea2d429b)
- Fix browser mock factory event race condition - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6530](https://redirect.github.com/vitest-dev/vitest/issues/6530) [(f131f)](https://redirect.github.com/vitest-dev/vitest/commit/f131f93b)
- Serve ui assets as static - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6564](https://redirect.github.com/vitest-dev/vitest/issues/6564) [(adcda)](https://redirect.github.com/vitest-dev/vitest/commit/adcdaee8)
- Update solidjs testing library lib - by [@CamilleTeruel](https://redirect.github.com/CamilleTeruel) in [https://github.com/vitest-dev/vitest/issues/6548](https://redirect.github.com/vitest-dev/vitest/issues/6548) [(91442)](https://redirect.github.com/vitest-dev/vitest/commit/91442dfc)
- Use `data:` protocol on preview provider file upload - by [@userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6501](https://redirect.github.com/vitest-dev/vitest/issues/6501) [(e9821)](https://redirect.github.com/vitest-dev/vitest/commit/e9821f70)
- Fix base for client script - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6510](https://redirect.github.com/vitest-dev/vitest/issues/6510) [(f9528)](https://redirect.github.com/vitest-dev/vitest/commit/f952874e)
- Throw an error if "@vitest/browser/context" is imported outside of the browser mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6570](https://redirect.github.com/vitest-dev/vitest/issues/6570) [(383f1)](https://redirect.github.com/vitest-dev/vitest/commit/383f1791)
- **coverage**:
- Remove empty coverage folder on test failure too - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6547](https://redirect.github.com/vitest-dev/vitest/issues/6547) [(1371c)](https://redirect.github.com/vitest-dev/vitest/commit/1371ca6a)
- Include `*.astro` by default - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6565](https://redirect.github.com/vitest-dev/vitest/issues/6565) [(f8ff7)](https://redirect.github.com/vitest-dev/vitest/commit/f8ff76a9)
- `cleanOnRerun: false` to invalidate previous results - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6592](https://redirect.github.com/vitest-dev/vitest/issues/6592) [(88bde)](https://redirect.github.com/vitest-dev/vitest/commit/88bde99c)
- **expect**:
- Fix `toBeDefined` with `expect.poll` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6562](https://redirect.github.com/vitest-dev/vitest/issues/6562) [(f7da6)](https://redirect.github.com/vitest-dev/vitest/commit/f7da6199)
- **runner**:
- Mark tests as skipped when `beforeAll` failed - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6524](https://redirect.github.com/vitest-dev/vitest/issues/6524) [(fb797)](https://redirect.github.com/vitest-dev/vitest/commit/fb79792d)
- Support fixture parsing of lowered async syntax - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6531](https://redirect.github.com/vitest-dev/vitest/issues/6531) [(b553c)](https://redirect.github.com/vitest-dev/vitest/commit/b553c7d6)
- Fix fixture parsing of lowered async syntax for non arrow functions - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6575](https://redirect.github.com/vitest-dev/vitest/issues/6575) [(3de00)](https://redirect.github.com/vitest-dev/vitest/commit/3de00ab6)
- Guard test hook callback - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6604](https://redirect.github.com/vitest-dev/vitest/issues/6604) [(14971)](https://redirect.github.com/vitest-dev/vitest/commit/1497134e)
- Run `onTestFinished` and `onTestFailed` during `retry` and `repeats` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6609](https://redirect.github.com/vitest-dev/vitest/issues/6609) [(c5e29)](https://redirect.github.com/vitest-dev/vitest/commit/c5e29098)
- **ui**:
- List tests on ui when `--standalone` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6577](https://redirect.github.com/vitest-dev/vitest/issues/6577) [(d0bf8)](https://redirect.github.com/vitest-dev/vitest/commit/d0bf89d3)
- **vite-node**:
- Fix esm false-detection inside comment - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6506](https://redirect.github.com/vitest-dev/vitest/issues/6506) [(91f85)](https://redirect.github.com/vitest-dev/vitest/commit/91f85997)
- **vitest**:
- Install dependencies with the same version when prompted - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6611](https://redirect.github.com/vitest-dev/vitest/issues/6611) [(ed8b7)](https://redirect.github.com/vitest-dev/vitest/commit/ed8b7c08)
- Make env.SSR consistent between different pools - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6616](https://redirect.github.com/vitest-dev/vitest/issues/6616) [(8a8d3)](https://redirect.github.com/vitest-dev/vitest/commit/8a8d3f03)
- Don't start a websocket server if api is disabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6617](https://redirect.github.com/vitest-dev/vitest/issues/6617) [(82140)](https://redirect.github.com/vitest-dev/vitest/commit/821400b8)
- **workspace**:
- Fix glob pattern detection - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6502](https://redirect.github.com/vitest-dev/vitest/issues/6502) [(7727c)](https://redirect.github.com/vitest-dev/vitest/commit/7727ca87)
- Ignore DS_Store by default - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6571](https://redirect.github.com/vitest-dev/vitest/issues/6571) [(d2a86)](https://redirect.github.com/vitest-dev/vitest/commit/d2a86ff5)
##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2)
### [`v2.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.1)
[Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)
##### 🐞 Bug Fixes
- **browser**:
- Make example test callbacks async - by [@aqandrew](https://redirect.github.com/aqandrew) in [https://github.com/vitest-dev/vitest/issues/6484](https://redirect.github.com/vitest-dev/vitest/issues/6484) [(16aa7)](https://redirect.github.com/vitest-dev/vitest/commit/16aa76c2)
- Optimize vitest-browser-vue correctly - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6490](https://redirect.github.com/vitest-dev/vitest/issues/6490) [(5cbb0)](https://redirect.github.com/vitest-dev/vitest/commit/5cbb0bba)
- **workspace**:
- Resolve glob pattern once to avoid name collision - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6489](https://redirect.github.com/vitest-dev/vitest/issues/6489) [(36b5a)](https://redirect.github.com/vitest-dev/vitest/commit/36b5aceb)
##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1)
### [`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0)
[Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)
This release makes another big change to the Browser Mode by introducing [locators API](https://vitest.dev/guide/browser/locators.html):
```ts
test('renders blog posts', async () => {
const screen = page.render()
await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()
const [firstPost] = screen.getByRole('listitem').all()
await firstPost.getByRole('button', { name: 'Delete' }).click()
expect(screen.getByRole('listitem').all()).toHaveLength(3)
})
```
You can use either [vitest-browser-vue](https://redirect.github.com/vitest-dev/vitest-browser-vue), [vitest-browser-svelte ](https://redirect.github.com/vitest-dev/vitest-browser-svelte) or [vitest-browser-react](https://redirect.github.com/vitest-dev/vitest-browser-react) to render components and make assertions using locators. Locators are also available on the `page` object from `@vitest/browser/context`.
##### 🚀 Features
- **api**:
- Make spec into a class instead of a tuple - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6355](https://redirect.github.com/vitest-dev/vitest/issues/6355) [(874a1)](https://redirect.github.com/vitest-dev/vitest/commit/874a121e)
- **browser**:
- Move page.config to server.config, add more docs - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6252](https://redirect.github.com/vitest-dev/vitest/issues/6252) [(af2b8)](https://redirect.github.com/vitest-dev/vitest/commit/af2b813c)
- Make iframe scalable, improve documentation - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6257](https://redirect.github.com/vitest-dev/vitest/issues/6257) [(74ca1)](https://redirect.github.com/vitest-dev/vitest/commit/74ca11a4)
- Introduce built-in locators - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6084](https://redirect.github.com/vitest-dev/vitest/issues/6084) [(3347f)](https://redirect.github.com/vitest-dev/vitest/commit/3347f83e)
- Support v8 coverage - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6273](https://redirect.github.com/vitest-dev/vitest/issues/6273) [(34199)](https://redirect.github.com/vitest-dev/vitest/commit/34199bdf)
- Support `userEvent.upload` in playwright provider - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6442](https://redirect.github.com/vitest-dev/vitest/issues/6442) [(cf148)](https://redirect.github.com/vitest-dev/vitest/commit/cf148645)
- Support `--inspect` - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6433](https://redirect.github.com/vitest-dev/vitest/issues/6433) [(0499a)](https://redirect.github.com/vitest-dev/vitest/commit/0499a315)
- Support `--inspect-brk` - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6434](https://redirect.github.com/vitest-dev/vitest/issues/6434) [(7ab0f)](https://redirect.github.com/vitest-dev/vitest/commit/7ab0f4a8)
- **cli**:
- Extend existing list command to output only a list of file names - by [@Ma-hawaj](https://redirect.github.com/Ma-hawaj) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6392](https://redirect.github.com/vitest-dev/vitest/issues/6392) [(008f0)](https://redirect.github.com/vitest-dev/vitest/commit/008f00b2)
- **coverage**:
- Add `--exclude-after-remap` - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6309](https://redirect.github.com/vitest-dev/vitest/issues/6309) [(5932a)](https://redirect.github.com/vitest-dev/vitest/commit/5932a7f9)
- **mocker**:
- Introduce [@vitest/mocker](https://redirect.github.com/vitest/mocker) package, allow `{ spy: true }` instead of a factory - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6289](https://redirect.github.com/vitest-dev/vitest/issues/6289) [(95f02)](https://redirect.github.com/vitest-dev/vitest/commit/95f0203f)
- **vitest**:
- Add "provide" option - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6253](https://redirect.github.com/vitest-dev/vitest/issues/6253) [(4409d)](https://redirect.github.com/vitest-dev/vitest/commit/4409d779)
- Add return type and promisable mockFactory - by [@syi0808](https://redirect.github.com/syi0808) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6139](https://redirect.github.com/vitest-dev/vitest/issues/6139) [(f5e0b)](https://redirect.github.com/vitest-dev/vitest/commit/f5e0b987)
- Add `vi.advanceTimersToNextFrame` - by [@bnjm](https://redirect.github.com/bnjm) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6347](https://redirect.github.com/vitest-dev/vitest/issues/6347) [(8ff63)](https://redirect.github.com/vitest-dev/vitest/commit/8ff63560)
- Allow env to be stubbed to undefined - by [@JSanchezIO](https://redirect.github.com/JSanchezIO) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6359](https://redirect.github.com/vitest-dev/vitest/issues/6359) [(c3b27)](https://redirect.github.com/vitest-dev/vitest/commit/c3b2757c)
##### 🐞 Bug Fixes
- Correctly resolve nested mocks with `index` file - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6266](https://redirect.github.com/vitest-dev/vitest/issues/6266) [(081cf)](https://redirect.github.com/vitest-dev/vitest/commit/081cfe03)
- Don't panic when coverage.reporter is a string - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6267](https://redirect.github.com/vitest-dev/vitest/issues/6267) [(7b37d)](https://redirect.github.com/vitest-dev/vitest/commit/7b37d27b)
- Align RawMatcherFn type definition with Jest - by [@wheresrhys](https://redirect.github.com/wheresrhys) in [https://github.com/vitest-dev/vitest/issues/6351](https://redirect.github.com/vitest-dev/vitest/issues/6351) [(d09f0)](https://redirect.github.com/vitest-dev/vitest/commit/d09f00c7)
- Cjs build of vite node server - by [@AkaraChen](https://redirect.github.com/AkaraChen) in [https://github.com/vitest-dev/vitest/issues/6389](https://redirect.github.com/vitest-dev/vitest/issues/6389) [(12e70)](https://redirect.github.com/vitest-dev/vitest/commit/12e702bd)
- Allow inlining vite's cached dependencies - by [@chriswheeldon-peakon](https://redirect.github.com/chriswheeldon-peakon) in [https://github.com/vitest-dev/vitest/issues/6284](https://redirect.github.com/vitest-dev/vitest/issues/6284) [(03208)](https://redirect.github.com/vitest-dev/vitest/commit/03208017)
- Print unexpected error message if peer dependencies have a different version - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6446](https://redirect.github.com/vitest-dev/vitest/issues/6446) [(b992b)](https://redirect.github.com/vitest-dev/vitest/commit/b992b346)
- Ignore importer when resolving Vitest - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6469](https://redirect.github.com/vitest-dev/vitest/issues/6469) [(0b447)](https://redirect.github.com/vitest-dev/vitest/commit/0b447226)
- `expect.getState().testPath` always returns correct path - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6472](https://redirect.github.com/vitest-dev/vitest/issues/6472) [(ac698)](https://redirect.github.com/vitest-dev/vitest/commit/ac698b1c)
- UserEvent works consistently between providers - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6480](https://redirect.github.com/vitest-dev/vitest/issues/6480) [(0b4da)](https://redirect.github.com/vitest-dev/vitest/commit/0b4da69e)
- **browser**:
- Print correct stack trace for unhandled errors - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6134](https://redirect.github.com/vitest-dev/vitest/issues/6134) [(1da6c)](https://redirect.github.com/vitest-dev/vitest/commit/1da6cebe)
- Use documentElement as the root for selector - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(d8077)](https://redirect.github.com/vitest-dev/vitest/commit/d807767f)
- Keep querying elements even if locator is created with elementLocator, add pubic @vitest/browser/utils - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6296](https://redirect.github.com/vitest-dev/vitest/issues/6296) [(30dc5)](https://redirect.github.com/vitest-dev/vitest/commit/30dc5793)
- Produce valid config file if preview provider is used - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6305](https://redirect.github.com/vitest-dev/vitest/issues/6305) [(7f0ae)](https://redirect.github.com/vitest-dev/vitest/commit/7f0ae292)
- Correctly run in-source tests in the browser - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6440](https://redirect.github.com/vitest-dev/vitest/issues/6440) [(c8531)](https://redirect.github.com/vitest-dev/vitest/commit/c853126e)
- Exclude missed packages from optimization, print help message - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6445](https://redirect.github.com/vitest-dev/vitest/issues/6445) [(8d883)](https://redirect.github.com/vitest-dev/vitest/commit/8d883cf0)
- Define mocker as a dependency - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6476](https://redirect.github.com/vitest-dev/vitest/issues/6476) [(9560a)](https://redirect.github.com/vitest-dev/vitest/commit/9560ab7f)
- **coverage**:
- Warn if `vitest` and `@vitest/*` versions don't match - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6317](https://redirect.github.com/vitest-dev/vitest/issues/6317) [(e662c)](https://redirect.github.com/vitest-dev/vitest/commit/e662c7b2)
- V8 to support source maps with multiple sources - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6120](https://redirect.github.com/vitest-dev/vitest/issues/6120) [(1f6cb)](https://redirect.github.com/vitest-dev/vitest/commit/1f6cb59f)
- V8 to warn instead of crash when conversion fails - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6318](https://redirect.github.com/vitest-dev/vitest/issues/6318) [(91dea)](https://redirect.github.com/vitest-dev/vitest/commit/91dea8c1)
- Use project specific `vitenode` for uncovered files - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6044](https://redirect.github.com/vitest-dev/vitest/issues/6044) [(da52d)](https://redirect.github.com/vitest-dev/vitest/commit/da52d23f)
- **runner**:
- Use `performance.now` instead of `Date.now` for duration - by [@LuciNyan](https://redirect.github.com/LuciNyan) in [https://github.com/vitest-dev/vitest/issues/6382](https://redirect.github.com/vitest-dev/vitest/issues/6382) [(fe489)](https://redirect.github.com/vitest-dev/vitest/commit/fe489432)
- Async assertion auto await should timeout - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6391](https://redirect.github.com/vitest-dev/vitest/issues/6391) [(ad6e7)](https://redirect.github.com/vitest-dev/vitest/commit/ad6e72fc)
- **snapshot**:
- Reject multiple `toMatchInlineSnapshot` updates at the same location - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6332](https://redirect.github.com/vitest-dev/vitest/issues/6332) [(1606f)](https://redirect.github.com/vitest-dev/vitest/commit/1606f34f)
- Improve inline snapshot inside loop rejection - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6339](https://redirect.github.com/vitest-dev/vitest/issues/6339) [(e0368)](https://redirect.github.com/vitest-dev/vitest/commit/e03683c5)
- **typecheck**:
- Run both runtime and typecheck tests if `typecheck.include` overlaps with `include` - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6256](https://redirect.github.com/vitest-dev/vitest/issues/6256) [(153ff)](https://redirect.github.com/vitest-dev/vitest/commit/153ff01b)
- **types**:
- Allow Callbacks Passed to before\*/after\* to Return Anything - by [@LuciNyan](https://redirect.github.com/LuciNyan) in [https://github.com/vitest-dev/vitest/issues/6393](https://redirect.github.com/vitest-dev/vitest/issues/6393) [(f6217)](https://redirect.github.com/vitest-dev/vitest/commit/f6217a22)
- **ui**:
- Remove "filters" flickering - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6463](https://redirect.github.com/vitest-dev/vitest/issues/6463) [(0223b)](https://redirect.github.com/vitest-dev/vitest/commit/0223bb79)
- Render project name consistently - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6329](https://redirect.github.com/vitest-dev/vitest/issues/6329) [(94a18)](https://redirect.github.com/vitest-dev/vitest/commit/94a186ec)
- **vite-node**:
- Disable watcher if hmr is disabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6251](https://redirect.github.com/vitest-dev/vitest/issues/6251) [(c51c6)](https://redirect.github.com/vitest-dev/vitest/commit/c51c67aa)
- Fix watch on vite 6 - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6422](https://redirect.github.com/vitest-dev/vitest/issues/6422) [(c3ac4)](https://redirect.github.com/vitest-dev/vitest/commit/c3ac43c1)
- **vitest**:
- Update json reporter output - by [@Emiyaaaaa](https://redirect.github.com/Emiyaaaaa) in [https://github.com/vitest-dev/vitest/issues/6064](https://redirect.github.com/vitest-dev/vitest/issues/6064) [(c9979)](https://redirect.github.com/vitest-dev/vitest/commit/c997937b)
- Add more type guards for --merge-reports - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6307](https://redirect.github.com/vitest-dev/vitest/issues/6307) [(0a5d8)](https://redirect.github.com/vitest-dev/vitest/commit/0a5d8169)
- Always resolve vitest to the root version - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6369](https://redirect.github.com/vitest-dev/vitest/issues/6369) [(163d7)](https://redirect.github.com/vitest-dev/vitest/commit/163d7624)
- Dispose vmForks listeners to avoid memory leak - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6448](https://redirect.github.com/vitest-dev/vitest/issues/6448) [(2673c)](https://redirect.github.com/vitest-dev/vitest/commit/2673c3bb)
- **workspace**:
- Correctly resolve workspace globs and file paths - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6316](https://redirect.github.com/vitest-dev/vitest/issues/6316) [(afdcb)](https://redirect.github.com/vitest-dev/vitest/commit/afdcb8f2)
##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
15.0.0
->15.7.4
2.0.5
->2.1.2
Release Notes
capricorn86/happy-dom (happy-dom)
### [`v15.7.4`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.4) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.3...v15.7.4) ##### :construction_worker_man: Patch fixes - Fixes incorrect handling of non-node items inserted using `replaceWith()`, `before()` and `after()` - By **[@BenjaminAster](https://redirect.github.com/BenjaminAster)** in task [#1533](https://redirect.github.com/capricorn86/happy-dom/issues/1533) ### [`v15.7.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.3) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.2...v15.7.3) ##### :construction_worker_man: Patch fixes - Fixes bug that occurs when checking if a symbol property exists on `HTMLSelectElement` - By **[@Cherry](https://redirect.github.com/Cherry)** in task [#1526](https://redirect.github.com/capricorn86/happy-dom/issues/1526) ### [`v15.7.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.1...v15.7.2) ##### :construction_worker_man: Patch fixes - Fixes problem where it is not possible to observe again after disconnecting in `MutationObserver` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1524](https://redirect.github.com/capricorn86/happy-dom/issues/1524) ### [`v15.7.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.1) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.0...v15.7.1) ##### :construction_worker_man: Patch fixes - Fixes selector validation and converts selectors to string (e.g. `querySelector(['.class'])`) - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1507](https://redirect.github.com/capricorn86/happy-dom/issues/1507) ### [`v15.7.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.1...9bde659a1f05519c3986ec1a0bba9d12526525f7) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.1...v15.7.0) ### [`v15.6.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.0...86748dba632a1716247785851c0009d2256f23ef) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.0...v15.6.1) ### [`v15.6.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.5.0...71d243a6a3583cbc376dc90513d5739e96064691) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.5.0...v15.6.0) ### [`v15.5.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.3...fec1c0165753112715e1295cc57bb0c16b679b39) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.3...v15.5.0) ### [`v15.4.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.3) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.2...v15.4.3) ##### :construction_worker_man: Patch fixes - Adds support for supporting new lines and tabs as white-space character in CSS selectors - By **[@syi0808](https://redirect.github.com/syi0808)** in task [#1414](https://redirect.github.com/capricorn86/happy-dom/issues/1414) ### [`v15.4.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.1...v15.4.2) ##### :construction_worker_man: Patch fixes - Typo in CORS rejection error message - By **[@rexxars](https://redirect.github.com/rexxars)** in task [#1485](https://redirect.github.com/capricorn86/happy-dom/issues/1485) ### [`v15.4.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.1) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.0...v15.4.1) ##### :construction_worker_man: Patch fixes - Throw error in `FormData.append()` when value parameter type is incorrect - By **[@btea](https://redirect.github.com/btea)** in task [#1484](https://redirect.github.com/capricorn86/happy-dom/issues/1484) ### [`v15.4.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.2...5b23cc1cf711b8b3c0132d5f3241de6425bc2dc2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.2...v15.4.0) ### [`v15.3.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.3.2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.1...v15.3.2) ##### :construction_worker_man: Patch fixes - Fixes the `HTMLInputElement.indeterminate`, so that it behaves correctly - By **[@malko](https://redirect.github.com/malko)** in task [#1439](https://redirect.github.com/capricorn86/happy-dom/issues/1439) ### [`v15.3.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.0...530f535c01f72de9190d9e67d0c3540d3c44a5fa) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.0...v15.3.1) ### [`v15.3.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.2.0...a99364fa80f968da81dbb6ceb899ae15a8e5b902) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.2.0...v15.3.0) ### [`v15.2.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.2.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.1.0...v15.2.0) ##### :art: Features - Adds support for the static method `AbortSignal.any()` - By **[@ezzatron](https://redirect.github.com/ezzatron)** in task [#1468](https://redirect.github.com/capricorn86/happy-dom/issues/1468) ### [`v15.1.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.1.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.0.0...v15.1.0) ##### :art: Features - Refactor internal logic related to injecting the Window context for classes that can be constructed using the "new" operator - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Improves the way classes can access the Browser context internally - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Refactor of the logic for `EventTarget.dispatchEvent()` to better handle the event phases "none", "capture", "atTarget" and "bubbling" - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLInputElement.popoverTargetElement`, `HTMLInputElement.popoverTargetAction`, `HTMLButtonElement.popoverTargetElement` and `HTMLButtonElement.popoverTargetAction` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLElement.popover` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `PerformanceObserver`, `PerformanceEntry` and `PerformanceObserverEntryList` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) ##### :construction_worker_man: Patch fixes - Makes it possible for a polyfill to replace `NodeList[Symbol.iterator]()` with `Array.prototype.values()` - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds logic for canceling any request to start new async tasks while the `Window` is closing (e.g. using `setTimeout()` or `fetch()`) - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Fixes issues with errors exiting the browser when using the setting "errorCapture" set to "processLevel" - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Refactor internal logic, so that thrown errors are instances of unique error classes assigned to the `Window`, which makes it possible for `BrowserExceptionObserver` to know which `Window` the error originated from - Changes `Event.composedPath()` to not return the `Window` object if the event type is "load", which is the same behaviour as the browser - By **[@capricorn86](https://redirect.github.com/capricorn86)** in task [#1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - This means that "load" events will not bubble up to the `Window` objectvitest-dev/vitest (vitest)
### [`v2.1.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.2) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2) ##### 🐞 Bug Fixes - Move `Vitest.setServer` to post `configureServer` hook to enable import analysis for workspace config loading - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6584](https://redirect.github.com/vitest-dev/vitest/issues/6584) [(e7f35)](https://redirect.github.com/vitest-dev/vitest/commit/e7f35214) - **benchmark**: - Clear `BenchmarkResult.samples` array to reduce memory usage - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) and [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6541](https://redirect.github.com/vitest-dev/vitest/issues/6541) [(a6407)](https://redirect.github.com/vitest-dev/vitest/commit/a6407afc) - **browser**: - Fix dynamic import inside worker - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6569](https://redirect.github.com/vitest-dev/vitest/issues/6569) [(ea2d4)](https://redirect.github.com/vitest-dev/vitest/commit/ea2d429b) - Fix browser mock factory event race condition - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6530](https://redirect.github.com/vitest-dev/vitest/issues/6530) [(f131f)](https://redirect.github.com/vitest-dev/vitest/commit/f131f93b) - Serve ui assets as static - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6564](https://redirect.github.com/vitest-dev/vitest/issues/6564) [(adcda)](https://redirect.github.com/vitest-dev/vitest/commit/adcdaee8) - Update solidjs testing library lib - by [@CamilleTeruel](https://redirect.github.com/CamilleTeruel) in [https://github.com/vitest-dev/vitest/issues/6548](https://redirect.github.com/vitest-dev/vitest/issues/6548) [(91442)](https://redirect.github.com/vitest-dev/vitest/commit/91442dfc) - Use `data:` protocol on preview provider file upload - by [@userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6501](https://redirect.github.com/vitest-dev/vitest/issues/6501) [(e9821)](https://redirect.github.com/vitest-dev/vitest/commit/e9821f70) - Fix base for client script - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6510](https://redirect.github.com/vitest-dev/vitest/issues/6510) [(f9528)](https://redirect.github.com/vitest-dev/vitest/commit/f952874e) - Throw an error if "@vitest/browser/context" is imported outside of the browser mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6570](https://redirect.github.com/vitest-dev/vitest/issues/6570) [(383f1)](https://redirect.github.com/vitest-dev/vitest/commit/383f1791) - **coverage**: - Remove empty coverage folder on test failure too - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6547](https://redirect.github.com/vitest-dev/vitest/issues/6547) [(1371c)](https://redirect.github.com/vitest-dev/vitest/commit/1371ca6a) - Include `*.astro` by default - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6565](https://redirect.github.com/vitest-dev/vitest/issues/6565) [(f8ff7)](https://redirect.github.com/vitest-dev/vitest/commit/f8ff76a9) - `cleanOnRerun: false` to invalidate previous results - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6592](https://redirect.github.com/vitest-dev/vitest/issues/6592) [(88bde)](https://redirect.github.com/vitest-dev/vitest/commit/88bde99c) - **expect**: - Fix `toBeDefined` with `expect.poll` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6562](https://redirect.github.com/vitest-dev/vitest/issues/6562) [(f7da6)](https://redirect.github.com/vitest-dev/vitest/commit/f7da6199) - **runner**: - Mark tests as skipped when `beforeAll` failed - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6524](https://redirect.github.com/vitest-dev/vitest/issues/6524) [(fb797)](https://redirect.github.com/vitest-dev/vitest/commit/fb79792d) - Support fixture parsing of lowered async syntax - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6531](https://redirect.github.com/vitest-dev/vitest/issues/6531) [(b553c)](https://redirect.github.com/vitest-dev/vitest/commit/b553c7d6) - Fix fixture parsing of lowered async syntax for non arrow functions - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6575](https://redirect.github.com/vitest-dev/vitest/issues/6575) [(3de00)](https://redirect.github.com/vitest-dev/vitest/commit/3de00ab6) - Guard test hook callback - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6604](https://redirect.github.com/vitest-dev/vitest/issues/6604) [(14971)](https://redirect.github.com/vitest-dev/vitest/commit/1497134e) - Run `onTestFinished` and `onTestFailed` during `retry` and `repeats` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6609](https://redirect.github.com/vitest-dev/vitest/issues/6609) [(c5e29)](https://redirect.github.com/vitest-dev/vitest/commit/c5e29098) - **ui**: - List tests on ui when `--standalone` - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6577](https://redirect.github.com/vitest-dev/vitest/issues/6577) [(d0bf8)](https://redirect.github.com/vitest-dev/vitest/commit/d0bf89d3) - **vite-node**: - Fix esm false-detection inside comment - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6506](https://redirect.github.com/vitest-dev/vitest/issues/6506) [(91f85)](https://redirect.github.com/vitest-dev/vitest/commit/91f85997) - **vitest**: - Install dependencies with the same version when prompted - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6611](https://redirect.github.com/vitest-dev/vitest/issues/6611) [(ed8b7)](https://redirect.github.com/vitest-dev/vitest/commit/ed8b7c08) - Make env.SSR consistent between different pools - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6616](https://redirect.github.com/vitest-dev/vitest/issues/6616) [(8a8d3)](https://redirect.github.com/vitest-dev/vitest/commit/8a8d3f03) - Don't start a websocket server if api is disabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6617](https://redirect.github.com/vitest-dev/vitest/issues/6617) [(82140)](https://redirect.github.com/vitest-dev/vitest/commit/821400b8) - **workspace**: - Fix glob pattern detection - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6502](https://redirect.github.com/vitest-dev/vitest/issues/6502) [(7727c)](https://redirect.github.com/vitest-dev/vitest/commit/7727ca87) - Ignore DS_Store by default - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6571](https://redirect.github.com/vitest-dev/vitest/issues/6571) [(d2a86)](https://redirect.github.com/vitest-dev/vitest/commit/d2a86ff5) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.1...v2.1.2) ### [`v2.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.1) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1) ##### 🐞 Bug Fixes - **browser**: - Make example test callbacks async - by [@aqandrew](https://redirect.github.com/aqandrew) in [https://github.com/vitest-dev/vitest/issues/6484](https://redirect.github.com/vitest-dev/vitest/issues/6484) [(16aa7)](https://redirect.github.com/vitest-dev/vitest/commit/16aa76c2) - Optimize vitest-browser-vue correctly - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6490](https://redirect.github.com/vitest-dev/vitest/issues/6490) [(5cbb0)](https://redirect.github.com/vitest-dev/vitest/commit/5cbb0bba) - **workspace**: - Resolve glob pattern once to avoid name collision - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6489](https://redirect.github.com/vitest-dev/vitest/issues/6489) [(36b5a)](https://redirect.github.com/vitest-dev/vitest/commit/36b5aceb) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1) ### [`v2.1.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.0.5...v2.1.0) This release makes another big change to the Browser Mode by introducing [locators API](https://vitest.dev/guide/browser/locators.html): ```ts test('renders blog posts', async () => { const screen = page.render(Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.