capricorn86/happy-dom
### [`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 `` tags in XMLParser. ([#834](https://togithub.com/capricorn86/happy-dom/issues/834))
- Fixes issue related to element not be removed from previous parent `Element.children` collection when inserted into a new parent. ([#834](https://togithub.com/capricorn86/happy-dom/issues/834))
- Fixes issue related to `HTMLTemplateElement.previousSibling` and `HTMLTemplateElement.nextSibling` always being `null`. ([#834](https://togithub.com/capricorn86/happy-dom/issues/834))
- Fixes issue with the property 'border-bottom-left-radius' having a typo, causing the parsing of CSS to be wrong for this property. ([#834](https://togithub.com/capricorn86/happy-dom/issues/834))
- Adds check that disables the possibility to prevent default behavior of events when the listener is passive. ([#834](https://togithub.com/capricorn86/happy-dom/issues/834))
##### :art: Features
- Adds support for `Event.cancelBubble`. ([#834](https://togithub.com/capricorn86/happy-dom/issues/834))
***
Thank you [@ekwoka](https://togithub.com/ekwoka) and [@btea](https://togithub.com/btea) for your contributions!
### [`v9.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.1.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.0.1...v9.1.0)
##### :art: Features
- Adds support for HTMLTextAreaElement.select(). ([#691](https://togithub.com/capricorn86/happy-dom/issues/691))
### [`v9.0.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.0.1)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v9.0.0...v9.0.1)
##### :construction_worker_man: Patch fixes
- Adds support for triggering submit or reset of form when clicking on a button. ([#527](https://togithub.com/capricorn86/happy-dom/issues/527))
### [`v9.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v9.0.0)
[Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v8.9.0...v9.0.0)
##### :bomb: Breaking Changes
- This release doesn't contain any expected breaking changes, but as it contains many major internal changes and there is a risk that it introduces bugs, it felt safer to release it with a major version number.
##### :art: Features
- Implements `Window.fetch()`, `Window.Request`, `Window.Response` and `Window.Headers` in Happy DOM, instead of using the "node-fetch" library. The code is based on "node-fetch". This improves the integration for functionality such as `FormData`, `Blob`, `AbortController` and `AbortSignal` with `Window.fetch()`. It will also make it possible to add support for **ESM** while still keeping support for CommonJS.
- Adds support for `FormData`. ([#585](https://togithub.com/capricorn86/happy-dom/issues/585))
- Adds support for `AbortController` and `AbortSignal`. ([#470](https://togithub.com/capricorn86/happy-dom/issues/470))
- Adds full support for `ValidityState`
- Adds support for the :checked pseudo selector to query selector. ([#695](https://togithub.com/capricorn86/happy-dom/issues/695))
- Changes internal logic to favor `Element.setAttribute()` and `Element.removeAttribute()` instead of `Element.setAttributeNS()` and `Element.removeAttributeNS()` to improve performance
- Adds support for element name and id as property to `HTMLCollection`
- Adds support for `HTMLCollection.namedItem()`
- Adds support for `HTMLButtonElement.name`
- Adds support for `HTMLButtonElement.form`
- Adds support for `HTMLButtonElement.checkValidity()`
- Adds support for `HTMLFormControlsCollection`
- Improves support for `HTMLFormElement.elements`
- Adds support for form element name and id as property to `HTMLFormElement`
- Adds support for `HTMLFormElement.checkValidity()`. It previously just returned "true".
- Adds support for `HTMLFormElement.reportValidity()`.
- Adds support for `HTMLFormElement.submit()`.
- Adds support for `HTMLFormElement.reset()`.
- Adds support for `RadioNodeList`.
- Improves support for `HTMLInputElement.checked`
- Adds support for `HTMLInputElement.labels`
- Improves performance of `HTMLInputElement.form`
- Adds support for `HTMLInputElement.checkValidity()`. It previously just returned "true".
- Adds support for `HTMLInputElement.reportValidity()`
- Adds support triggering a "click" event on `HTMLInputElement` to trigger functionality on checkboxes, radio buttons, submit buttons and reset buttons.
- Improves performance of `HTMLLabelElement.form`
- Improves support for `HTMLSelectElement.options`
- Adds support for `HTMLSelectElement.labels`
- Improves support option index properties in `HTMLSelectElement`
- Adds support for `HTMLSelectElement.checkValidity()`.
- Adds support for `HTMLSelectElement.reportValidity()`
- Improves performance of `HTMLSelectElement.form`
- Adds support for `HTMLSelectElement.validity`
- Adds support for `HTMLInputElement.validity`
- Adds support for `HTMLInputElement.reportValidity()`
- Adds support for `HTMLButtonElement.form`
- Adds support for `HTMLButtonElement.labels`
- Adds support for `HTMLButtonElement.validity`
- Adds support for `HTMLButtonElement.required`
- Adds support for `HTMLButtonElement.validationMessage`
- Adds support for `HTMLButtonElement.checkValidity()`
- Adds support for `HTMLButtonElement.reportValidity()`
- Adds support for `HTMLButtonElement.setCustomValidatiy()`
- Adds support for `HTMLTextAreaElement.form`
- Adds support for `HTMLTextAreaElement.labels`
- Adds support for `HTMLTextAreaElement.validity`
- Adds support for `HTMLTextAreaElement.validationMessage`
- Adds support for `HTMLTextAreaElement.checkValidity()`
- Adds support for `HTMLTextAreaElement.reportValidity()`
- Adds support for `HTMLTextAreaElement.setCustomValidatiy()`
***
I know many of you have been waiting for several of the features in this release. It turned out to be much bigger and more time-consuming than originally anticipated, but now it's finally out. Enjoy :partying_face:
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^8.9.0
->^9.20.3
Release Notes
capricorn86/happy-dom
### [`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 `Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.