freddy38510 / vue3-lazy-hydration

Lazy Hydration for Vue 3 SSR
MIT License
145 stars 5 forks source link

chore(deps): update dependency happy-dom to v10 - autoclosed #66

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom 7.7.0 -> 10.11.2 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom) ### [`v10.11.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.11.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.11.1...v10.11.2) ##### :construction_worker_man: Patch fixes - Adds a check for if the selector text for a `CSSStyleRule` is valid when parsing a Stylesheet. Invalid selectors will be ignored (this is also how the spec is defined). ([#​1036](https://togithub.com/capricorn86/happy-dom/issues/1036)) ### [`v10.11.1`](https://togithub.com/capricorn86/happy-dom/compare/v10.11.0...v10.11.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.11.0...v10.11.1) ### [`v10.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.4...v10.11.0) ##### :art: Features - Implements the properties `childNodes` and `children` as getters. ([#​960](https://togithub.com/capricorn86/happy-dom/issues/960)) *** Thank you [@​edoardocavazza](https://togithub.com/edoardocavazza) for your contribution! ### [`v10.10.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.3...v10.10.4) ##### :construction_worker_man: Patch fixes - Adds support for "calc()" in CSS values in `CSSStyleDeclaration`. ([#​1014](https://togithub.com/capricorn86/happy-dom/issues/1014)) ### [`v10.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.2...v10.10.3) ##### :construction_worker_man: Patch fixes - Adds support for URLs in attributes that doesn't use apostrophs in XMLParser. ([#​999](https://togithub.com/capricorn86/happy-dom/issues/999)) ### [`v10.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.1...v10.10.2) ##### :construction_worker_man: Patch fixes - Sets default URL for [@​happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment) to "http://localhost". ([#​868](https://togithub.com/capricorn86/happy-dom/issues/868)) ### [`v10.10.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.0...v10.10.1) ##### :construction_worker_man: Patch fixes - Fixes wrong return type in `CSS.escape()`. ([#​1018](https://togithub.com/capricorn86/happy-dom/issues/1018)) *** Thank you [@​zuisong](https://togithub.com/zuisong) for your contribution! ### [`v10.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.9.0...v10.10.0) ##### :art: Features - Add "Content-Type" header when constructing `Request`. ([#​1016](https://togithub.com/capricorn86/happy-dom/issues/1016)) *** Thank you [@​orionmiz](https://togithub.com/orionmiz) for your contribution! ### [`v10.9.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.9.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.8.1...v10.9.0) ##### :art: Features - Adds support for `Node.isSameNode()`. ([#​757](https://togithub.com/capricorn86/happy-dom/issues/757)) ### [`v10.8.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.8.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.8.0...v10.8.1) ##### :construction_worker_man: Patch fixes - Fixes an issue where an exception was thrown when loading an iframe using a relative URL. The URL is now relative to the main document URL instead. ([#​1003](https://togithub.com/capricorn86/happy-dom/issues/1003)) ### [`v10.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.7.0...v10.8.0) ##### :construction_worker_man: Patch fixes - Fixes bug related to item being null in `HTMLButtonElement.attributes.removeNamedItem()`. ([#​1010](https://togithub.com/capricorn86/happy-dom/issues/1010)) *** Thank you [@​maxmilton](https://togithub.com/maxmilton) for your contribution! ### [`v10.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.3...v10.7.0) ##### :art: Features - Add support for `Element.scrollHeight`. The property will just return "0" for now. ([#​991](https://togithub.com/capricorn86/happy-dom/issues/991)) *** Thank you [@​lukaselmer](https://togithub.com/lukaselmer) for your contribution! ### [`v10.6.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.2...v10.6.3) ##### :construction_worker_man: Patch fixes - Adds missing named CSS colors to `CSSStyleDeclaration`. ([#​1004](https://togithub.com/capricorn86/happy-dom/issues/1004)) *** Thank you [@​AlexisTessier](https://togithub.com/AlexisTessier) for your contribution! ### [`v10.6.2`](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.1...v10.6.2) ### [`v10.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.6.0...v10.6.1) ##### :construction_worker_man: Patch fixes - Fixes issue where only labels associated using ID where found in `HTMLButtonElement.labels`, `HTMLInputElement.labels`, `HTMLSelectElement.labels` and `HTMLTextAreaElement.labels`. It will now also return labels associated by being a parent. ([#​988](https://togithub.com/capricorn86/happy-dom/issues/988)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.3...v10.6.0) ##### :art: Features - Improves support for support for `HTMLLabelElement.control`. It will now find child control elements that are deeper than one level. ([#​530](https://togithub.com/capricorn86/happy-dom/issues/530)) *** Thank you [@​joshkel](https://togithub.com/joshkel) for your contribution! ### [`v10.5.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.2...v10.5.3) ##### :construction_worker_man: Patch fixes - Improves support for `NamedNodeMap`, which is used by the `Element.attributes` property. It will now reflect any changes done to it on the Element itself. ([#​728](https://togithub.com/capricorn86/happy-dom/issues/728)) ### [`v10.5.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.1...v10.5.2) ##### :construction_worker_man: Patch fixes - Adds support for using an escape character in attribute query selectors (e.g. `[ab="a\\:b"]`). ([#​632](https://togithub.com/capricorn86/happy-dom/issues/632)) ### [`v10.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.5.0...v10.5.1) ##### :construction_worker_man: Patch fixes - Fixes problem where `HTMLIFrameElement` fails to load page. The problem was most likely that some libraries overrides the `Document.defaultView` property somehow, making `Document.defaultView.constructor` not being the `Window` constructor. ([#​992](https://togithub.com/capricorn86/happy-dom/issues/992)) ### [`v10.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.4.0...v10.5.0) ##### :art: Features - Fixes issue where CSS values with parentheses wasn't correctly parsed if the values also contained a comma. ([#​976](https://togithub.com/capricorn86/happy-dom/issues/976)) - This fix should also fix a problem related to parsing a CSS string that ends with a variable setter. ([#​670](https://togithub.com/capricorn86/happy-dom/issues/670)) *** Thank you [@​malko](https://togithub.com/malko) for your contribution! ### [`v10.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.3.2...v10.4.0) ##### :art: Features - Adds support for `MouseEvent.movementX` and `MouseEvent.movementY`. ([#​953](https://togithub.com/capricorn86/happy-dom/issues/953)) *** Thank you [@​mertcan](https://togithub.com/mertcan) for your contribution! ### [`v10.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.3.1...v10.3.2) ##### :construction_worker_man: Patch fixes - Fixes problem with "?" in attribute names, not being parsed correctly in `XMLParser`. ([#​984](https://togithub.com/capricorn86/happy-dom/issues/984)) - Fixes problem with single quoted attributes (') not being parsed correctly in `XMLParser`. ([#​984](https://togithub.com/capricorn86/happy-dom/issues/984)) ### [`v10.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.3.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.3.0...v10.3.1) ##### :construction_worker_man: Patch fixes - Fixes problem where lit-html is using special characters in attributes, causing the `XMLParser` not to be able to parse the attribute correctly. ([#​982](https://togithub.com/capricorn86/happy-dom/issues/982)) ### [`v10.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.2.0...v10.3.0) ##### :art: Features - Adds support for `HTMLInputElement.valueAsDate`. ([#​977](https://togithub.com/capricorn86/happy-dom/issues/977)) *** Thank you [@​malko](https://togithub.com/malko) for your contribution! ### [`v10.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.1.1...v10.2.0) ##### :art: Features - Adds support for `Window.queueMicrotask()`. ([#​959](https://togithub.com/capricorn86/happy-dom/issues/959)) ### [`v10.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.1.0...v10.1.1) ##### :construction_worker_man: Patch fixes - Fixes bug where `Document.getRootNode()` returned null, but should return the document. ([#​950](https://togithub.com/capricorn86/happy-dom/issues/950)) *** [@​Schleuse](https://togithub.com/Schleuse) thank you for your contribution! ### [`v10.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.7...v10.1.0) ##### :art: Features - Adds support for `HTMLInputElement.valueAsNumber`. ([#​945](https://togithub.com/capricorn86/happy-dom/issues/945)) - Adds support for sanitizing values in input fields of type date, month, time and week in `HTMLInputElement.value`. ([#​945](https://togithub.com/capricorn86/happy-dom/issues/945)) *** Thank you [@​malko](https://togithub.com/malko) for your contribution! ### [`v10.0.7`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.6...v10.0.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.6...v10.0.7) ### [`v10.0.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.5...v10.0.6) ##### :construction_worker_man: Patch fixes - Adds a timeout before dispatching the event in `Window.postMessage()` to better simulate the browser behavior. ([#​948](https://togithub.com/capricorn86/happy-dom/issues/948)) *** Thank you for your contribution [@​DylanPiercey](https://togithub.com/DylanPiercey)! ### [`v10.0.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.4...v10.0.5) ##### :construction_worker_man: Patch fixes - Fixes parsing of pseudo elements in CSS query selectors (e.g. "::-webkit-inner-spin-button"). ([#​939](https://togithub.com/capricorn86/happy-dom/issues/939)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v10.0.4`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.3...v10.0.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.3...v10.0.4) ### [`v10.0.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.2...v10.0.3) ##### :construction_worker_man: Patch fixes - Fixes issue with importing CJS modules directly. ([#​968](https://togithub.com/capricorn86/happy-dom/issues/968)) ### [`v10.0.2`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.1...v10.0.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.1...v10.0.2) ### [`v10.0.1`](https://togithub.com/capricorn86/happy-dom/compare/v10.0.0...v10.0.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.0.0...v10.0.1) ### [`v10.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.3...v10.0.0) ##### :art: Features - Adds support for [ESM](https://nodejs.org/api/esm.html#introduction). Happy DOM will still have support for [CommonJS](https://nodejs.org/api/modules.html#modules-commonjs-modules). ([#​873](https://togithub.com/capricorn86/happy-dom/issues/873)) - Migrates to Vitest for unit tests internally. ([#​963](https://togithub.com/capricorn86/happy-dom/issues/963)) ##### :construction_worker_man: Patch fixes - Adds support for capturing errors when executing Javascript in `HTMLScriptElement`. It will log the errors in the console and trigger an error event instead of failing the entire execution. ([#​816](https://togithub.com/capricorn86/happy-dom/issues/816)) ##### :bomb: Breaking Changes - Adding support for [ESM](https://nodejs.org/api/esm.html#introduction) may be a breaking change as it can potentially exist build environments that doesn't support this configuration. ([#​873](https://togithub.com/capricorn86/happy-dom/issues/873)) ### [`v9.20.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.2...v9.20.3) ##### :construction_worker_man: Patch fixes - Fixes issue where all properties didn't get copied from `HTMLUnknownElement` to a custom element that is replacing it when it is defined. ([#​668](https://togithub.com/capricorn86/happy-dom/issues/668)) ### [`v9.20.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.1...v9.20.2) ##### :construction_worker_man: Patch fixes - Fixes issue where CSS variable values where not returned by `Window.getComputedStyle()` when calling `CSSStyleDeclaration.getPropertyValue()`. ([#​932](https://togithub.com/capricorn86/happy-dom/issues/932)) ### [`v9.20.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.20.0...v9.20.1) ##### :construction_worker_man: Patch fixes - Fixes problem with `querySelectorAll()` where it didn't always return elements in document order. ([#​928](https://togithub.com/capricorn86/happy-dom/issues/928)) ### [`v9.20.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.20.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.2...v9.20.0) ##### :art: Features - Adds support for disabling the simulation of rendering when calculating computed style. The rendering process converts units such as rem, em and cm to pixels, but it is very limited. ([#​929](https://togithub.com/capricorn86/happy-dom/issues/929)) - Changes the behavior of converting percentage values to "0px" when calculating computed style (as it fails to convert) to just leave the values. ### [`v9.19.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.1...v9.19.2) ##### :construction_worker_man: Patch fixes - Fixes issue where attribute selectors with an operator and with a value without quatation marks no longer worked (e.g. "\[attr^=value]"). ([#​923](https://togithub.com/capricorn86/happy-dom/issues/923)) ### [`v9.19.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.19.0...v9.19.1) ##### :construction_worker_man: Patch fixes - Adds support for the mime type "apng" to `XMLHttpRequest` *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.19.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.19.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.3...v9.19.0) ##### :art: Features - Adds support for "rem", "em", "vw", "vh", "vmin", "vmax", "cm", "mm", "in", "pt", "pc", "Q" measurement values to `Window.getComputedStyle()` and `Window.matchMedia()` ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "%" measurement values to `Window.getComputedStyle()` and `Window.matchMedia()` when setting font size (other properties will be set to "0px") ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Sets "font: 16px "Times new Roman"" as default font on the `` when using `Window.getComputedStyle()` ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "outline", "outline-color", "outline-style", "outline-width", "outline-offset", "letter-spacing", "word-spacing" and "text-indent" to `CSSStyleDeclaration`. ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the media query rules "orientation", "prefers-color-scheme", "any-hover", "hover", "any-pointer", "pointer", "display-mode", "width", "height", "min-aspect-ratio", "max-aspect-ratio" and "aspect-ratio" ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Improves support for the media query rules "min-width", "max-width", "min-height" and "max-height" ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for media types "all", "screen" and "print" to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the "only", "not", "and" and "or" operators to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for ranges to media queries ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for "@​-webkit-keyframes", "@​-webkit-container" and "@​-webkit-supports" to CSS parser ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) ##### :construction_worker_man: Patch fixes - Adds support for ignoring unknown "@​" rules to the CSS parser. ([#​921](https://togithub.com/capricorn86/happy-dom/issues/921)) - Adds support for the "height" property to `CSSStyleDeclaration`. Not having support for "height" was missed somehow, as we have support for "width". ([#​922](https://togithub.com/capricorn86/happy-dom/issues/922)) ### [`v9.18.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.2...v9.18.3) ##### :construction_worker_man: Patch fixes - Fixes issue where non-string values did not get converted to strings in `CharacterData.data`, `CharacterData.nodeValue` or `CharacterData.textContent`. ([#​819](https://togithub.com/capricorn86/happy-dom/issues/819)) ### [`v9.18.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.1...v9.18.2) ##### :construction_worker_man: Patch fixes - Fixes issue in the XML parser where it failed to parse comments including dash characters (-). ([#​916](https://togithub.com/capricorn86/happy-dom/issues/916)) *** Thank you [@​gtm-nayan](https://togithub.com/gtm-nayan) for your contribution! ### [`v9.18.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.18.0...v9.18.1) ##### :construction_worker_man: Patch fixes - Fixes issue where attribute query selectors using "~" or "|" as operators for finding attributes containing a word did not match when there was only one word. ([#​914](https://togithub.com/capricorn86/happy-dom/issues/914)) ### [`v9.18.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.18.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.17.0...v9.18.0) ##### :art: Features - Adds support for triggering an error event when attempting to fetch a CSS file or Javascript file when it has been disabled using "window.happyDOM.settings.\*". ([#​849](https://togithub.com/capricorn86/happy-dom/issues/849)) ### [`v9.17.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.17.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.16.0...v9.17.0) ##### :art: Features - Adds support for "i" and "s" modifiers to attribute query selectors. ([#​911](https://togithub.com/capricorn86/happy-dom/issues/911)) ### [`v9.16.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.16.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.15.0...v9.16.0) ##### :art: Features - Adds support for encoding HTML entities to the XML parser. ([#​908](https://togithub.com/capricorn86/happy-dom/issues/908)) - Adds support for escaping text to `XMLSerializer.serializeToString()`. ([#​908](https://togithub.com/capricorn86/happy-dom/issues/908)) ### [`v9.15.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.15.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.14.0...v9.15.0) ##### :art: Features - Changes deprecated "shadowroot" attribute to "shadowrootmode" in [Declarative Shadow DOM](https://developer.chrome.com/articles/declarative-shadow-dom/) generated by `Element.getInnerHTML()`. ([#​898](https://togithub.com/capricorn86/happy-dom/issues/898)) *** Thank you [@​crypto-scythe](https://togithub.com/crypto-scythe) for your contribution! ### [`v9.14.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.14.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.13.1...v9.14.0) ##### :art: Features - Adds support for `Document.links`. ([#​896](https://togithub.com/capricorn86/happy-dom/issues/896)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.13.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.13.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.13.0...v9.13.1) ##### :construction_worker_man: Patch fixes - Fixes issue related to "@​" CSS rules in (e.g. "@​-webkit-keyframes") causing an exception to be thrown in `CSSStyleDeclaration`. ([#​889](https://togithub.com/capricorn86/happy-dom/issues/889)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.13.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.13.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.12.0...v9.13.0) ##### :art: Features - Improves performance of `Element.querySelectorAll()`. The performance was decreased after the implementation of document sorting order, due to the fact that it relied on `Object.assign()` for each match, which is slower than iterating through all matches in the end. ([#​909](https://togithub.com/capricorn86/happy-dom/issues/909)) ### [`v9.12.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.12.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.11.0...v9.12.0) ##### :art: Features - Adds support for the "of selector" to ":nth-child" and ":nth-last-child" query selectors. ([#​905](https://togithub.com/capricorn86/happy-dom/issues/905)) ##### :construction_worker_man: Patch fixes - Fixes bug but where "nth-\*" query selectors didn't return the correct elements when prefixing "n" with "-". ([#​905](https://togithub.com/capricorn86/happy-dom/issues/905)) ### [`v9.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.9...v9.11.0) ##### :art: Features - Refactors the XML parser, which fixes several issues related to parsing complex HTML (e.g. attributes containing ">"). ([#​578](https://togithub.com/capricorn86/happy-dom/issues/578)) - Improves performance of XML parsing significantly. ([#​578](https://togithub.com/capricorn86/happy-dom/issues/578)) ### [`v9.10.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.8...v9.10.9) ##### :construction_worker_man: Patch fixes - Adds support for `Request.formData()`. ([#​892](https://togithub.com/capricorn86/happy-dom/issues/892)) *** Thank you [@​rolandjohann](https://togithub.com/rolandjohann) for your contribution! ### [`v9.10.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.7...v9.10.8) ##### :construction_worker_man: Patch fixes - Fixes an issue where `HTMLAnchorElement.toString()` returned "HTMLElement.outerHTML", but should return "HTMLAnchorElement.href" according to spec. ([#​890](https://togithub.com/capricorn86/happy-dom/issues/890)) *** Thank you [@​Schleuse](https://togithub.com/Schleuse) for your contribution! ### [`v9.10.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.6...v9.10.7) ##### :construction_worker_man: Patch fixes - Fix for parsing CSS comments with asterisks. ([#​887](https://togithub.com/capricorn86/happy-dom/issues/887)) *** Thank you for your contribution [@​htuomola](https://togithub.com/htuomola)! ### [`v9.10.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.5...v9.10.6) ##### :construction_worker_man: Patch fixes - Fixes bug where errors where not handled correctly when performing a synchronous request with `XMLHttpRequest`. ([#​795](https://togithub.com/capricorn86/happy-dom/issues/795)) - Adds support for `XMLHttpRequest.response`. ([#​788](https://togithub.com/capricorn86/happy-dom/issues/788)) *** Thank you [@​Mas0nShi](https://togithub.com/Mas0nShi) for your contribution! ### [`v9.10.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.4...v9.10.5) ##### :construction_worker_man: Patch fixes - Fixes issue in `HTMLCollection` and `HTMLFormControlsCollection` related to id/name of elements colliding with class properties and methods. ([#​875](https://togithub.com/capricorn86/happy-dom/issues/875)) ### [`v9.10.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.3...v9.10.4) ##### :construction_worker_man: Patch fixes - Fixes issue related to query selection for attributes not using apostrophe for the value. This caused an issue with finding elements by text in Testing Library. ([#​883](https://togithub.com/capricorn86/happy-dom/issues/883)) ### [`v9.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.2...v9.10.3) ##### :construction_worker_man: Patch fixes - Fixes issue where React "onChange" listeners never got executed when triggering a `click()`. ([#​880](https://togithub.com/capricorn86/happy-dom/issues/880)) - Fixes issue where it was not possible to use multiple pseudo query selectors (e.g. "input:not(\[type]):not(\[list])"). This solves a problem in Testing Library where it failed to find elements by role "checkbox". ([#​880](https://togithub.com/capricorn86/happy-dom/issues/880)) ### [`v9.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.1...v9.10.2) ##### :construction_worker_man: Patch fixes - Fixes issue related to query selection for attributes with empty value (e.g. '\[attr1=""]'). ([#​881](https://togithub.com/capricorn86/happy-dom/issues/881)) ### [`v9.10.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.10.0...v9.10.1) ##### :construction_worker_man: Patch fixes - Adds support for using escaped characters to ID:s in query selectors (e.g. "#\\\\:id"). ([#​877](https://togithub.com/capricorn86/happy-dom/issues/877)) ### [`v9.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.9.2...v9.10.0) ##### :art: Features - Refactors the internal logic of how query selection works to improve performance and make maintenance easier. ([#​792](https://togithub.com/capricorn86/happy-dom/issues/792)) - Adds support for adjacent sibling to query selectors (e.g. ".a + .b"). ([#​792](https://togithub.com/capricorn86/happy-dom/issues/792)) ##### :construction_worker_man: Patch fixes - Fixes issue where `*.querySelectorAll()` did not return elements in document order. ([#​285](https://togithub.com/capricorn86/happy-dom/issues/285)) ### [`v9.9.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.9.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.9.1...v9.9.2) ##### :construction_worker_man: Patch fixes - Adds a check for `arguments.length` to `Node.insertBefore()` instead of a check for "null" specific, as the browsers support sending in "undefined", even though it should only allow "null" according to spec. ([#​827](https://togithub.com/capricorn86/happy-dom/issues/827)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.9.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.9.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.9.0...v9.9.1) ##### :construction_worker_man: Patch fixes - Fixes bug where HTML entities didn't include semicolon. ([#​870](https://togithub.com/capricorn86/happy-dom/issues/870)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.9.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.9.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.4...v9.9.0) ##### :art: Features - Adds support for `SVGElement.focus()`, `SVGElement.blur()` and `SVGElement.tabIndex`. ([#​699](https://togithub.com/capricorn86/happy-dom/issues/699)) ### [`v9.8.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.3...v9.8.4) ##### :construction_worker_man: Patch fixes - Fixes bug related to adding multiple event listeners with the "once" option, which would cause the listener loop to go out of bounds. ([#​805](https://togithub.com/capricorn86/happy-dom/issues/805)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.2...v9.8.3) ##### :construction_worker_man: Patch fixes - Adds validation for if the node to insert is an ancestor in `Node.appendChild()`and `Node.insertBefore()`. ([#​643](https://togithub.com/capricorn86/happy-dom/issues/643)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.8.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.1...v9.8.2) ##### :construction_worker_man: Patch fixes - Fixes problem with event cycle (none, capture, atTarget, bubbling) that was was caused by adding support for capture event listeners in [v9.7.0](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.0). ([#​866](https://togithub.com/capricorn86/happy-dom/issues/866)) ### [`v9.8.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.8.0...v9.8.1) ##### :construction_worker_man: Patch fixes - Adds unit tests for inserting a `
` element with a "data" attribute to the body. ([#​493](https://togithub.com/capricorn86/happy-dom/issues/493)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.7.1...v9.8.0) ##### :art: Features - Makes it possible to send in "null" to `Ǹode.contains()`. ([#​865](https://togithub.com/capricorn86/happy-dom/issues/865)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.7.0...v9.7.1) ##### :construction_worker_man: Patch fixes - Fixes bug in `Node.insertBefore()` related to moving a `Node` within the same parent. ([#​421](https://togithub.com/capricorn86/happy-dom/issues/421)) ### [`v9.7.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.7.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.6.1...v9.7.0) ##### :art: Features - Adds support for the "capture" option in `Event.addEventListener()`. ([#​856](https://togithub.com/capricorn86/happy-dom/issues/856)) - Adds support for `Event.eventPhase`. ([#​856](https://togithub.com/capricorn86/happy-dom/issues/856)) ### [`v9.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.6.0...v9.6.1) ##### :construction_worker_man: Patch fixes - Improve type checking in unit tests. ([#​860](https://togithub.com/capricorn86/happy-dom/issues/860)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.5.1...v9.6.0) ##### :art: Features - Adds support for `Node.normalize()`. ([#​300](https://togithub.com/capricorn86/happy-dom/issues/300)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.5.0...v9.5.1) ##### :construction_worker_man: Patch fixes - Throw `DOMException` in `Text.splitText()` when offset is lower than 0. ([#​857](https://togithub.com/capricorn86/happy-dom/issues/857)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.4.0...v9.5.0) ##### :art: Features - Adds support for `SubmitEvent`. ([#​820](https://togithub.com/capricorn86/happy-dom/issues/820)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.2...v9.4.0) ##### :art: Features - Fixes issue that caused an exception to be thrown in `Range.cloneContents()`. ([#​853](https://togithub.com/capricorn86/happy-dom/issues/853)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.1...v9.3.2) ##### :construction_worker_man: Patch fixes - Adds support for decoding HTML entities to `Element.textContent`. ([#​818](https://togithub.com/capricorn86/happy-dom/issues/818)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.3.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.3.0...v9.3.1) ##### :construction_worker_man: Patch fixes - Makes it possible to assign a relative URL to `Location.href`, `Location.replace()` and `Location.assign()`. Please note that the default URL in Happy DOM is "about:blank" and it is not possible to construct a URL with it as base. It has to be set to another absolute URL first. ([#​678](https://togithub.com/capricorn86/happy-dom/issues/678)) *** Thank you [@​Mas0nShi](https://togithub.com/Mas0nShi) for your contribution! ### [`v9.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.2.1...v9.3.0) ##### :art: Features - Adds support for `Document.createNodeIterator()`. ([#​297](https://togithub.com/capricorn86/happy-dom/issues/297)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.2.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.2.0...v9.2.1) ##### :construction_worker_man: Patch fixes - Fixes bug where `Element.insertBefore()` did not update the `Element.children` property correctly after inserting an element before a non-element node. ([#​846](https://togithub.com/capricorn86/happy-dom/issues/846)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.10...v9.2.0) ##### :art: Features - Adds support for `SVGElement.dataset`. ([#​841](https://togithub.com/capricorn86/happy-dom/issues/841)) *** Thank you [@​danielrentz](https://togithub.com/danielrentz) for your contribution! ### [`v9.1.10`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.10) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.9...v9.1.10) ##### :construction_worker_man: Patch fixes - Fixes problem with HttpOnly cookies not being sent in `XMLHttpRequest` and `window.fetch()`. ([#​836](https://togithub.com/capricorn86/happy-dom/issues/836)) - Fixes problem with using cookie names without a value (e.g. "cookie_name" and "cookie_name=" should be handled as separate cookies). ([#​836](https://togithub.com/capricorn86/happy-dom/issues/836)) ##### :art: Features - Adds support for CORS handling when sending and receiving cookies from HTTP requests/responses. ([#​836](https://togithub.com/capricorn86/happy-dom/issues/836)) ### [`v9.1.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.8...v9.1.9) ##### :art: Features - Adds support for Typescript declaration maps, allowing "Go to definition" to go to the actual source code, instead of only the type definition. To see the types, "Go to type definition" will still work. ([#​842](https://togithub.com/capricorn86/happy-dom/issues/842)) *** Thank you [@​ekwoka](https://togithub.com/ekwoka) for your contribution! ### [`v9.1.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.7...v9.1.8) ##### :construction_worker_man: Patch fixes - Fixes an issue where number values in "name" and "id" attributes caused a collision with index properties in `HTMLCollection`. ([#​840](https://togithub.com/capricorn86/happy-dom/issues/840)) ### [`v9.1.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.6...v9.1.7) ##### :construction_worker_man: Patch fixes - Fixes `SVGElement.ownerSVGElement`, so that it doesn't end up in an infinity loop. ([#​811](https://togithub.com/capricorn86/happy-dom/issues/811)) *** Thank you [@​linghaoSu](https://togithub.com/linghaoSu) for your contribution! ### [`v9.1.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.5...v9.1.6) ##### :construction_worker_man: Patch fixes - Fix for `@happy-dom/jest-environment`, so that is will use the configured URL of the jest config. ([#​800](https://togithub.com/capricorn86/happy-dom/issues/800)) *** Thank you [@​CSchulz](https://togithub.com/CSchulz) for your contribution! ### [`v9.1.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.4...v9.1.5) ##### :construction_worker_man: Patch fixes - Fix for handling "null", "undefined" or empty string query selectors according to spec. ([#​642](https://togithub.com/capricorn86/happy-dom/issues/642)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v9.1.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.3...v9.1.4) ##### :construction_worker_man: Patch fixes - Changes the behavior `DOMTokenList.supports()`, so that it always returns `false` instead of throwing an exception. This will fix problems with integration in frameworks such as SolidJS. ([#​822](https://togithub.com/capricorn86/happy-dom/issues/822)) *** Thank you [@​ekwoka](https://togithub.com/ekwoka) for your contribution! ### [`v9.1.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.1.0...v9.1.3) ##### :construction_worker_man: Patch fixes - Unset previous cookie. ([#​813](https://togithub.com/capricorn86/happy-dom/issues/813)) - Fixes issue with parsing a form containing fields using the same name (other than checkbox and radio) in `FormData`. ([#​835](https://togithub.com/capricorn86/happy-dom/issues/835)) - Fixes issue related to parsing `