Update dependency @happy-dom/global-registrator to v18 #94

Open
pv wants to merge 1 commit from renovate/happy-dom-global-registrator-18.x into master
Owner

This PR contains the following updates:

Package Type Update Change
@happy-dom/global-registrator (source) devDependencies major ^14.3.10 -> ^18.0.0

Release Notes

capricorn86/happy-dom (@​happy-dom/global-registrator)

v18.0.1

Compare Source

👷‍♂️ Patch fixes
  • Addresses an issue where an error occurred if the Element ID was set to the same name as a Window property with a null value - By @​capricorn86 in task #​1841

v18.0.0

Compare Source

💣 Breaking Changes
  • Makes the types for Happy DOM strict - By @​capricorn86 in task #​1154
    • This makes it possible to use the option skipLibCheck set to "false" in the typescript configuration for projects with a strict configuration
    • This change has resulted in that some types has changed and is therefore considered as a breaking change
  • BrowserContext.close() now throws an error when trying to close the default context of a browser - By @​capricorn86 in task #​1154
🎨 Features

v17.6.3

Compare Source

👷‍♂️ Patch fixes

v17.6.2

Compare Source

👷‍♂️ Patch fixes

v17.6.1

Compare Source

🎨 Features
  • Adds support for disabling validation of certificates, to allow for self-signed certificates to be used - By @​capricorn86 in task #​1763
    • Read more about the new setting fetch.disableStrictSSL under IBrowserSettings in the Wiki

v17.6.0

Compare Source

v17.5.9

Compare Source

👷‍♂️ Patch fixes
  • Adds missing null check in HTMLLinkElement for a browser frame property that becomes null during teardown of a Window - By @​capricorn86 in task #​1800

v17.5.8

Compare Source

👷‍♂️ Patch fixes
  • Incorrect cache matching caused Element.classList to return the wrong items - By @​capricorn86 in task #​1812

v17.5.7

Compare Source

👷‍♂️ Patch fixes
  • Handle wider range of valid characters in unquoted attribute value parsing - By @​AudunWA in task #​1817

v17.5.6

Compare Source

👷‍♂️ Patch fixes
  • Removes the min and max boundary check when setting the value of an input field of type "date" - By @​zgrybus in task #​1815

v17.5.5

Compare Source

v17.5.4

Compare Source

👷‍♂️ Patch fixes

v17.5.3

Compare Source

👷‍♂️ Patch fixes
  • Adds previousSibling and nextSibling to MutationObserver records when a child is removed - By @​uxuip in task #​1803

v17.5.2

Compare Source

👷‍♂️ Patch fixes
  • Adds support for the unicode characters « and » in query selectors used by the React 19.1 "useId" hook - By @​terrymun in task #​1785

v17.5.1

Compare Source

👷‍♂️ Patch fixes
  • Existing URL query string should be overwritten on form submit when method is "GET" - By @​rslabbert in task #​1786

v17.5.0

Compare Source

🎨 Features

v17.4.9

Compare Source

👷‍♂️ Patch fixes

v17.4.8

Compare Source

👷‍♂️ Patch fixes

v17.4.7

Compare Source

👷‍♂️ Patch fixes

v17.4.6

Compare Source

👷‍♂️ Patch fixes

v17.4.5

Compare Source

👷‍♂️ Patch fixes

v17.4.4

Compare Source

👷‍♂️ Patch fixes
  • Sets 0 instead of undefined as default in setTimeout() to prevent Bun from logging a "TimeoutNaNWarning" - By @​lekoala in task #​1772

v17.4.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where the wrong scope was used when settings.errorCapture is not set to "tryAndCatch" and handleEvent is used for the event listener - By @​capricorn86 in task #​1766

v17.4.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where an error was thrown for "xmlns" or unknown prefixes in Element.setAttribute() - By @​capricorn86 in task #​1750

v17.4.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where an error was thrown for attributes "xlink" or an unknown prefix during parsing of HTML - By @​capricorn86 in task #​1750

v17.4.0

Compare Source

🎨 Features

v17.3.2

Compare Source

👷‍♂️ Patch fixes

v17.3.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where an error was thrown for attributes with "xmlns" as prefix during parsing of HTML (e.g. <svg xmlns:link=""></svg>) - By @​capricorn86 in task #​1750

v17.3.0

Compare Source

🎨 Features

v17.2.4

Compare Source

👷‍♂️ Patch fixes

v17.2.3

Compare Source

👷‍♂️ Patch fixes
  • Element.contentEditable should be synced with the "contenteditable" attribute - By @​karpiuMG in task #​1463

v17.2.2

Compare Source

👷‍♂️ Patch fixes

v17.2.1

Compare Source

👷‍♂️ Patch fixes
  • Handle nested square brackets and parentheses inside pseudo-class arguments - By @​karpiuMG in task #​1072

v17.2.0

Compare Source

🎨 Features

v17.1.13

Compare Source

👷‍♂️ Patch fixes

v17.1.12

Compare Source

👷‍♂️ Patch fixes

v17.1.11

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue with attribute references when using Element.cloneNode() - By @​Mas0nShi in task #​1745

v17.1.10

Compare Source

👷‍♂️ Patch fixes

v17.1.9

Compare Source

👷‍♂️ Patch fixes
  • Event listener properties prefixed with "on" should be the evaluated value of the corresponding attribute - By @​capricorn86 in task #​474

v17.1.8

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where change event wasn't triggered for an input inside of a label - By @​capricorn86 in task #​1614

v17.1.7

Compare Source

👷‍♂️ Patch fixes

v17.1.6

Compare Source

🎨 Features
  • Adds support for sending AbortSignal as option to EventTarget.addEventListener() - By @​karpiuMG in task #​1540

v17.1.5

Compare Source

👷‍♂️ Patch fixes
  • HTMLElement.dataset should return undefined for properties not found - By @​karpiuMG in task #​1689

v17.1.4

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where the use of filtering in TreeWalker didn't work according to spec - By @​capricorn86 in task #​1605

v17.1.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes incorrect handling of attribute prefixes when iterating NamedNodeMap - By @​capricorn86 in task #​1728
    • This caused attribute names to be incorrectly returned in Element.getAttributeNames() when attributes where using prefixes

v17.1.2

Compare Source

👷‍♂️ Patch fixes
  • AbortSignal.reason can have any type - By @​btea in task #​1718
  • When aborting a request, AbortSignal.reason should be the object used when the promise is rejected - By @​btea in task #​1718

v17.1.1

Compare Source

🎨 Features
👷‍♂️ Patch fixes
  • Fixes issue where it was not possible to nest @media, @supports and @container rules - By @​capricorn86 in task #​1727
  • Fixes issue where CSSStyleSheet was instantiated internally without a Window context, causing errors to not be thrown correctly in CSSStyleSheet methods - By @​capricorn86 in task #​1727
  • Changes errors thrown in CSSStyleSheet methods, so that they work according to spec - By @​capricorn86 in task #​1727

v17.1.0

Compare Source

🎨 Features
  • Add support for CSS media query rule "prefers-reduced-motion" - By @​mwdiaz in task #​1724

v17.0.4

Compare Source

👷‍♂️ Patch fixes
  • The "slotchange" event should be fired after the element has been connected to the DOM - By @​capricorn86 in task #​1722

v17.0.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where nested query selectors is not returning the correct result when there are multiple matching selector groups - By **@​christiango ** in task #​1720

v17.0.2

Compare Source

👷‍♂️ Patch fixes
  • The property "tabIndex" should return "0" by default in HTMLAnchorElement, HTMLAreaElement, HTMLButtonElement, HTMLIFrameElement, HTMLInputElement, HTMLMediaElement, HTMLObjectElement, HTMLSelectElement and HTMLTextAreaElement - By @​capricorn86 in task #​1714

v17.0.1

Compare Source

👷‍♂️ Patch fixes
  • Ensure querySelector() returns the first item that appears in the DOM for grouped selectors - By @​christiango in task #​1710

v17.0.0

Compare Source

💣 Breaking Changes
  • Adds support for ECMAScript modules - By @​capricorn86 in task #​320
    • This change allows the use of import and export statements in JavaScript files
🎨 Features
  • Adds support for tracing never ending tasks when using waitUntilComplete() - By @​capricorn86 in task #​1567
    • Read more about how to enable this feature under debug.traceWaitUntilComplete in the Wiki for IBrowserSettings
  • Adds support for preloading fetch, stylesheet, script and modules in HTMLLinkElement - By @​capricorn86 in task #​320
  • Adds support for HTMLLinkElement.relList.supports() - By @​capricorn86 in task #​320
  • Adds support for Request.mode - By @​capricorn86 in task #​320
  • Output failed requests to the console - By @​capricorn86 in task #​320
  • Adds support for HTMLScriptElement.blocking, HTMLScriptElement.crossOrigin, HTMLScriptElement.fetchPriority, HTMLScriptElement.noModule, HTMLScriptElement.integrity, HTMLScriptElement.referrerPolicy - By @​capricorn86 in task #​320
  • Use cache in virtual server requests - By @​capricorn86 in task #​320
  • Adds support for credentials and referrerPolicy when fetching styles and scripts - By @​capricorn86 in task #​320
  • Disallow invalid attributes from being set in Element.setAttribute() - By @​OlaviSau in task #​1706
👷‍♂️ Patch fixes
  • Call afterAsyncResponse fetch interceptor in virtual server requests - By @​capricorn86 in task #​320
  • Fixes bug where children in a ShadowRoot of a custom element that was upgraded from a HTMLElement wasn't considered connected to the DOM - By @​capricorn86 in task #​320

v16.8.1

Compare Source

👷‍♂️ Patch fixes

v16.8.0

Compare Source

🎨 Features

v16.7.3

Compare Source

👷‍♂️ Patch fixes
  • Removes space from directory name that prevents the repo to be cloned on MS Windows - By @​kleinfreund in task #​1703

v16.7.2

Compare Source

👷‍♂️ Patch fixes

v16.7.1

Compare Source

👷‍♂️ Patch fixes
  • Adds ICookie, IOptionalCookie, CookieSameSiteEnum and IVirtualServer as exports to the index file - By @​capricorn86 in task #​1693
  • Makes non-mandatory cookie properties optional in CookieContainer.addCookies() - By @​capricorn86 in task #​1693

v16.7.0

Compare Source

🎨 Features
  • Adds support for simulating local HTTP servers that serves files from the local file system - By @​capricorn86 in task #​1688
    • Read more about virtual servers in the Wiki

v16.6.0

Compare Source

🎨 Features
  • Adds support for subsequent sibling combinator to querySelector(), querySelectorAll() and matches() (e.g. ".a ~ .b") - By @​karpiuMG in task #​1683

v16.5.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with encoding and decoding attribute values in HTML - By @​capricorn86 in task #​1678
  • Fixes issue where it was not possible to query selector by class when the attribute value had line breaks in it - By @​capricorn86 in task #​1678

v16.5.2

Compare Source

👷‍♂️ Patch fixes
  • Event.target should be the target element after an event has been dispatched - By @​capricorn86 in task #​1529

v16.5.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where Comment, Text and DocumentFragment are not instances of their corresponding property on Window - By @​capricorn86 in task #​1577

v16.5.0

Compare Source

🎨 Features

v16.4.3

Compare Source

👷‍♂️ Patch fixes
  • Adds null check for if browser frame is available in Response during tear down of the Window - By @​capricorn86 in task #​1669

v16.4.2

Compare Source

👷‍♂️ Patch fixes

v16.4.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where HTML assigned to document.documentElement.innerHTML isnt parsed correctly since v16 - By @​capricorn86 in task #​1663

v16.4.0

Compare Source

🎨 Features

v16.3.0

Compare Source

🎨 Features
  • Adds support for child combinator to ":has()" pseudo selector (e.g. "span:has(> video)") - By @​capricorn86 in task #​1642

v16.2.9

Compare Source

👷‍♂️ Patch fixes
  • Fixes the HTMLInputElement.defaultChecked property - By @​capricorn86 in task #​1587
    • This issue caused React not to serialize the "checked" attribute correctly

v16.2.8

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where the wrong event target was used when dispatching events on HTMLFormElement or HTMLSelectElement - By @​capricorn86 in task #​1628

v16.2.7

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue where text in <script> and <style> elements should not be decoded or encoded - By @​capricorn86 in task #​1564

v16.2.6

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem where snapshots did not result in HTML for <form> and <select> elements - By @​capricorn86 in task #​1608

v16.2.5

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where the reference to a parent HTMLFormElement and HTMLSelectElement was wrong which affected the methods remove(), replaceWith(), before(), after(), append(), prepend(), replaceChildren() and insertAdjacentElement() - By @​capricorn86 in task #​1637

v16.2.4

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where the incorrect location is set after a redirect in BrowserFrame.goto() and DetachedBrowserFrame.goto() - By @​capricorn86 in task #​1627

v16.2.3

Compare Source

👷‍♂️ Patch fixes

v16.2.2

Compare Source

👷‍♂️ Patch fixes
  • Improves error when a Symbol object is being sent to querySelector() or querySelectorAll() as selector - By @​chocolateboy in task #​1640

v16.2.1

Compare Source

👷‍♂️ Patch fixes
  • Set request credentials to "same-origin" in XMLHttpRequest when "withCredentials" is false - By @​saitonakamura in task #​1631

v16.2.0

Compare Source

🎨 Features

v16.1.0

Compare Source

🎨 Features

v16.0.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with children of created documents (e.g. document.implementation.createHTMLDocument()) not being considered as connected to a DOM that was introduced in v16 - By @​capricorn86 in task #​1647

v16.0.0

Compare Source

💣 Breaking Changes
  • Refactors XML and HTML parsing and serialization - By @​capricorn86 in task #​1615
    • This change may break your tests as the serialized output may differ from v15
🎨 Features
👷‍♂️ Patch fixes

v15.11.7

Compare Source

👷‍♂️ Patch fixes
  • Allow for an URL to be a string or an URL object in History.pushState() and History.replaceState() - By @​sohailalam2 in task #​1621

v15.11.6

Compare Source

👷‍♂️ Patch fixes

v15.11.5

Compare Source

👷‍♂️ Patch fixes
  • HTMLSelectElement should not dispatch "change" event when changing value or index - By @​capricorn86 in task #​1603

v15.11.4

Compare Source

👷‍♂️ Patch fixes
  • Strings should be converted into numbers in setters for HTMLMeterElement and HTMLProgressElement - By @​capricorn86 in task #​1601

v15.11.3

Compare Source

👷‍♂️ Patch fixes

v15.11.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where pseudo selectors without an ending parentheses threw an in invalid selector error - By @​capricorn86 in task #​1558
  • Fixes bug where it was not possible to use the characters ":" and "\" in attribute selectors - By @​capricorn86 in task #​1561

v15.11.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where Document.activeElement is set to the wrong target when triggering HTMLSelectElement.focus() - By @​capricorn86 in task #​1592
    • HTMLSelectElement is a Proxy since v15 and focus() was setting the target of the Proxy as the active element, but should set the Proxy

v15.11.0

Compare Source

🎨 Features

v15.10.8

Compare Source

👷‍♂️ Patch fixes
  • Validate that object is of type Blob in FileReader.readAsArrayBuffer(), FileReader.readAsBinaryString(), FileReader.readAsDataURL() and FileReader.readAsText() - By @​btea in task #​1565

v15.10.7

Compare Source

👷‍♂️ Patch fixes
  • Cookies with values that contains "=" should be supported - By @​btea in task #​1570

v15.10.6

Compare Source

👷‍♂️ Patch fixes
  • Accept objects with a stringifier (such as a URL object) in Location.assign() and Location.replace() - By @​silverwind in task #​1568

v15.10.5

Compare Source

👷‍♂️ Patch fixes
  • Fixes incorrect serialization of special characters in raw text elements such as <script> and <style> - By @​BenjaminAster in task #​1566

v15.10.4

Compare Source

👷‍♂️ Patch fixes

v15.10.3

Compare Source

👷‍♂️ Patch fixes
  • Allow to set custom export conditions in @happy-dom/jest-environment - By @​aearly in task #​1555

v15.10.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes a security vulnerability that allowed for server side code to be executed by a <script> tag - By @​capricorn86 in task #​1585
    • There was a case that was missed with the first patch

v15.10.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes a security vulnerability that allowed for server side code to be executed by a <script> tag - By @​capricorn86 in task #​1585

v15.10.0

Compare Source

🎨 Features
  • Adds a new setting called disableSameOriginPolicy that makes it possible to bypass the same-origin policy in fetch requests - By @​OlaviSau in task #​1553

v15.9.0

Compare Source

🎨 Features
  • Adds support for "aspect-ratio" to CSSStyleDeclaration - By @​yinm in task #​1147

v15.8.5

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where Node.getRootNode() returned null when it was within a ShadowRoot that previously been disconnected from the Document - By @​capricorn86 in task #​1581

v15.8.4

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where child nodes of HTMLSelectElement and HTMLFormElement had the wrong reference to the parent - By @​capricorn86 in task #​1578

v15.8.3

Compare Source

👷‍♂️ Patch fixes
  • Toggle "open" attribute on HTMLDetailsElement when dispatching a click event on a summary element which is a child of the details element - By @​mikedidomizio in task #​1534

v15.8.2

Compare Source

👷‍♂️ Patch fixes
  • Use globalThis instead of global to make Happy DOM work in other runtimes such as Cloudflare workers - By @​mattallty in task #​1546

v15.8.1

Compare Source

👷‍♂️ Patch fixes

v15.8.0

Compare Source

👷‍♂️ Patch fixes
  • Adds support for using non-ASCII characters in custom elements when parsing HTML - By @​capricorn86 in task #​1079
  • Fixes an issue where getHTML() and getInnerHTML() would return the slotted content of a shadow root before the template, but the template should be the first child - By @​capricorn86 in task #​1079
  • Fixes a bug where SVG elements would not be found by getElementsByTagName() - By @​capricorn86 in task #​1079
  • Improves performance when creating elements (e.g. during parsing of HTML) - By @​capricorn86 in task #​1550
    • Binding all methods to the target scope in Proxies caused a performance hit, so this is now done when calling a method the first time
🎨 Features
  • Adds support for all remaining SVG elements: SVGAnimateElement, SVGAnimateMotionElement, SVGAnimateTransformElement, SVGCircleElement, SVGClipPathElement, SVGDefsElement, SVGDescElement, SVGEllipseElement, SVGFEBlendElement, SVGFEColorMatrixElement, SVGFEComponentTransferElement, SVGFECompositeElement, SVGFEConvolveMatrixElement, SVGFEDiffuseLightingElement, SVGFEDisplacementMapElement, SVGFEDistantLightElement, SVGFEDropShadowElement, SVGFEFloodElement, SVGFEFuncAElement, SVGFEFuncBElement, SVGFEFuncGElement, SVGFEFuncRElement, SVGFEGaussianBlurElement, SVGFEImageElement, SVGFEMergeElement, SVGFEMergeNodeElement, SVGFEMorphologyElement, SVGFEOffsetElement, SVGFEPointLightElement, SVGFESpecularLightingElement, SVGFESpotLightElement, SVGFETileElement, SVGFETurbulenceElement, SVGFilterElement, SVGForeignObjectElement, SVGGElement, SVGImageElement, SVGLineElement, SVGLinearGradientElement, SVGMarkerElement, SVGMaskElement, SVGMetadataElement, SVGMPathElement, SVGPathElement, SVGPatternElement, SVGPolygonElement, SVGPolylineElement, SVGRadialGradientElement, SVGRectElement, SVGScriptElement, SVGSetElement, SVGStopElement, SVGStyleElement, SVGSwitchElement, SVGSymbolElement, SVGTextElement, SVGTextPathElement, SVGTitleElement, SVGTSpanElement, SVGUseElement and SVGViewElement - By @​capricorn86 in task #​1079
  • Adds support for DOMMatrix, DOMMatrixReadOnly, DOMPoint and DOMPointReadOnly - By @​capricorn86 in task #​1079
  • Adds support for SVGAngle, SVGAnimatedAngle, SVGAnimatedBoolean, SVGAnimatedEnumeration, SVGAnimatedInteger, SVGAnimatedLength, SVGAnimatedLengthList, SVGAnimatedNumber, SVGAnimatedNumberList, SVGAnimatedPreserveAspectRatio, SVGAnimatedRect, SVGAnimatedString, SVGAnimatedTransformList, SVGLength, SVGLengthList, SVGMatrix, SVGNumber, SVGNumberList, SVGPoint, SVGPointList, SVGPreserveAspectRatio, SVGRect, SVGStringList, SVGTransform, SVGTransformList and SVGUnitTypes - By @​capricorn86 in task #​1079

v15.7.4

Compare Source

👷‍♂️ Patch fixes
  • Fixes incorrect handling of non-node items inserted using replaceWith(), before() and after() - By @​BenjaminAster in task #​1533

v15.7.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug that occurs when checking if a symbol property exists on HTMLSelectElement - By @​Cherry in task #​1526

v15.7.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem where it is not possible to observe again after disconnecting in MutationObserver - By @​capricorn86 in task #​1524

v15.7.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes selector validation and converts selectors to string (e.g. querySelector(['.class'])) - By @​capricorn86 in task #​1507

v15.7.0

Compare Source

🎨 Features

v15.6.1

Compare Source

👷‍♂️ Patch fixes
  • Include Access-Control-*, Origin headers for cross-origin preflight requests - By @​rexxars in task #​1489

v15.6.0

Compare Source

🎨 Features
👷‍♂️ Patch fixes
  • Changes wrong property name "inputmode" to "inputMode" in HTMLInputElement and HTMLTextAreaElement - By @​capricorn86 in task #​1487

v15.5.0

Compare Source

🎨 Features

v15.4.3

Compare Source

👷‍♂️ Patch fixes
  • Adds support for supporting new lines and tabs as white-space character in CSS selectors - By @​syi0808 in task #​1414

v15.4.2

Compare Source

👷‍♂️ Patch fixes

v15.4.1

Compare Source

👷‍♂️ Patch fixes
  • Throw error in FormData.append() when value parameter type is incorrect - By @​btea in task #​1484

v15.4.0

Compare Source

🎨 Features

v15.3.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes the HTMLInputElement.indeterminate property, so that it behaves correctly - By @​malko in task #​1439

v15.3.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue with matching a nested element using ">" as combinator in selectors (e.g. ".x > .x") in Element.matches() and Element.closest() - By @​ocavue in task #​1472

v15.3.0

Compare Source

🎨 Features

v15.2.0

Compare Source

🎨 Features

v15.1.0

Compare Source

🎨 Features
  • Refactor internal logic related to injecting the Window context for classes that can be constructed using the "new" operator - By @​capricorn86 in task #​1332
  • Improves the way classes can access the Browser context internally - By @​capricorn86 in task #​1332
  • Refactor of the logic for EventTarget.dispatchEvent() to better handle the event phases "none", "capture", "atTarget" and "bubbling" - By @​capricorn86 in task #​1332
  • Adds support for HTMLInputElement.popoverTargetElement, HTMLInputElement.popoverTargetAction, HTMLButtonElement.popoverTargetElement and HTMLButtonElement.popoverTargetAction - By @​capricorn86 in task #​1332
  • Adds support for HTMLElement.popover - By @​capricorn86 in task #​1332
  • Adds support for PerformanceObserver, PerformanceEntry and PerformanceObserverEntryList - By @​capricorn86 in task #​1332
👷‍♂️ Patch fixes
  • Makes it possible for a polyfill to replace NodeList[Symbol.iterator]() with Array.prototype.values() - By @​capricorn86 in task #​1332
  • Adds logic for canceling any request to start new async tasks while the Window is closing (e.g. using setTimeout() or fetch()) - By @​capricorn86 in task #​1332
  • Fixes issues with errors exiting the browser when using the setting "errorCapture" set to "processLevel" - By @​capricorn86 in task #​1332
    • Refactor internal logic, so that thrown errors are instances of unique error classes assigned to the Window, which makes it possible for BrowserExceptionObserver to know which Window the error originated from
  • Changes Event.composedPath() to not return the Window object if the event type is "load", which is the same behaviour as the browser - By @​capricorn86 in task #​1332
    • This means that "load" events will not bubble up to the Window object

v15.0.0

Compare Source

💣 Breaking Changes
  • Drops offical support for Node.js 16.x and 17.x - By @​capricorn86 in task #​1332
  • A lot of internal logic has been refactored, so if you rely on internal APIs, this release may break your code - By @​capricorn86 in task #​1332
🎨 Features
  • Adds support for HTMLAreaElement, HTMLBodyElement, HTMLQuoteElement, HTMLBRElement, HTMLTableCaptionElement, HTMLTableColElement, HTMLTableColElement, HTMLDataElement, HTMLDataListElement, HTMLModElement, HTMLDetailsElement, HTMLDivElement, HTMLDListElement, HTMLEmbedElement, HTMLFieldSetElement, HTMLHeadingElement, HTMLHeadElement, HTMLHRElement, HTMLHtmlElement, HTMLModElement, HTMLLegendElement, HTMLLIElement, HTMLMapElement, HTMLMenuElement, HTMLMeterElement, HTMLObjectElement, HTMLOListElement, HTMLOutputElement, HTMLParagraphElement, HTMLParamElement, HTMLPictureElement, HTMLPreElement, HTMLProgressElement, HTMLQuoteElement, HTMLSourceElement, HTMLSpanElement, HTMLTableElement, HTMLTableSectionElement, HTMLTableSectionElement, HTMLTitleElement, HTMLTableRowElement, HTMLTrackElement, HTMLUListElement - By @​capricorn86 in task #​1332
  • Adds basic support for HTMLCanvasElement - By @​capricorn86 in task #​1332
  • Adds support for History API - By @​capricorn86 in task #​1332
  • Adds cache to CSSStyleDeclaration, querySelector(), querySelectorAll(), getElementById(), getElementsByClassName(), getElementsByTagName(), getElementsByTagNameNS(), getElementsByClassName() - By @​capricorn86 in task #​1332
  • Uses proxy for NodeList, HTMLCollection, DOMTokenList, TextTrackList, HTMLFormElement, HTMLSelectElement
  • Makes HTMLCollection objects returned by getElementsByClassName(), getElementsByTagName(), getElementsByTagNameNS() and getElementsByClassName() live - By @​capricorn86 in task #​1332
  • Improves support for HTMLMediaElement - By @​capricorn86 in task #​1332
    • It now supports all methods and properties of the HTMLMediaElement interface
  • Adds support for MediaStream, MediaStreamTrack, RemotePlayback, TextTrack, TextTrackCue, TextTrackCueList, TextTrackList, VTTCue, VTTRegion, CanvasCaptureMediaStream, ImageBitmap, OffscreenCanvas - By @​capricorn86 in task #​1332
  • Adds basic support for IntersectionObserver - By @​capricorn86 in task #​1332
  • Uses Array for nodes and elements in the DOM-tree to leverage the JiT compiler better - By @​capricorn86 in task #​1332
  • Adds support for HTMLInputElement.list - By @​capricorn86 in task #​1332
  • Improves support for ShadowRoot (it now supports clonable, serializable and slotAssignment) - By @​capricorn86 in task #​1332
  • Adds support for Element.getHTML() - By @​capricorn86 in task #​1332
  • Improves performance for some pseudo query selectors - By @​capricorn86 in task #​1332
  • Improves support for HTMLSlotElement - By @​capricorn86 in task #​1332
    • It now supports assign(), assignedNodes(), assignedElements() and the slotchange event
👷‍♂️ Patch fixes
  • Attributes and text data wasn't escaped correctly in XMLSerializer (used by features such as innerHTML) - By @​capricorn86 in task #​1265
  • waitForNavigation() would not resolve when navigating to some URLs (e.g. "javascript" or "about:blank") - By @​capricorn86 in task #​1332
  • CSS rules for gradients where not parsed correctly - By @​capricorn86 in task #​1332
  • Updates to CSSStyleDeclaration would not trigger listeners for the "style" attribute - By @​capricorn86 in task #​1332
  • Attributes where added to elements after they were added to the DOM during parsing, causing problems for elements loading resources - By @​capricorn86 in task #​1332
  • Attr.cloneNode() would not clone internal values - By @​capricorn86 in task #​1332
  • Document.title included text data inside child elements, which it shouldn't - By @​capricorn86 in task #​1332
  • Event.preventDefault() shouldn't cancel the default behaviour if cancelable is not sent as an option in EventTarget.dispatchEvent() - By @​capricorn86 in task #​1332
  • Source attributes containing URLs would not be resolved correctly in some elements - By @​capricorn86 in task #​1332
  • Changes name on TimeRange to TimeRanges - By @​capricorn86 in task #​1332
  • Window.parent and Window.top would not be set correctly in some scenarios - By @​capricorn86 in task #​1332

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@happy-dom/global-registrator](https://github.com/capricorn86/happy-dom/tree/master/packages/global-registrator) ([source](https://github.com/capricorn86/happy-dom)) | devDependencies | major | [`^14.3.10` -> `^18.0.0`](https://renovatebot.com/diffs/npm/@happy-dom%2fglobal-registrator/14.12.3/18.0.1) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (@&#8203;happy-dom/global-registrator)</summary> ### [`v18.0.1`](https://github.com/capricorn86/happy-dom/releases/tag/v18.0.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v18.0.0...v18.0.1) ##### :construction\_worker\_man: Patch fixes - Addresses an issue where an error occurred if the Element ID was set to the same name as a Window property with a null value - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1841](https://github.com/capricorn86/happy-dom/issues/1841) ### [`v18.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v18.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.6.3...v18.0.0) ##### :bomb: Breaking Changes - Makes the types for Happy DOM strict - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1154](https://github.com/capricorn86/happy-dom/issues/1154) - This makes it possible to use the option `skipLibCheck` set to "false" in the typescript configuration for projects with a strict configuration - This change has resulted in that some types has changed and is therefore considered as a breaking change - `BrowserContext.close()` now throws an error when trying to close the default context of a browser - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1154](https://github.com/capricorn86/happy-dom/issues/1154) ##### :art: Features - Adds support for `Browser.closed`, `BrowserContext.closed`, `BrowserPage.closed` and `BrowserFrame.closed` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1154](https://github.com/capricorn86/happy-dom/issues/1154) - Adds support for `VirtualConsolePrinter.close()` and `VirtualConsolePrinter.closed` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1154](https://github.com/capricorn86/happy-dom/issues/1154) - Adds support for `CookieContainer.clearCookies()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1154](https://github.com/capricorn86/happy-dom/issues/1154) ### [`v17.6.3`](https://github.com/capricorn86/happy-dom/releases/tag/v17.6.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.6.2...v17.6.3) ##### :construction\_worker\_man: Patch fixes - Removes global typescript definition that was used for custom elements - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1154](https://github.com/capricorn86/happy-dom/issues/1154) ### [`v17.6.2`](https://github.com/capricorn86/happy-dom/releases/tag/v17.6.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.6.1...v17.6.2) ##### :construction\_worker\_man: Patch fixes - Updates Typescript to the latest version - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1154](https://github.com/capricorn86/happy-dom/issues/1154) ### [`v17.6.1`](https://github.com/capricorn86/happy-dom/releases/tag/v17.6.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.6.0...v17.6.1) ##### :art: Features - Adds support for disabling validation of certificates, to allow for self-signed certificates to be used - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1763](https://github.com/capricorn86/happy-dom/issues/1763) - Read more about the new setting `fetch.disableStrictSSL` under [IBrowserSettings](https://github.com/capricorn86/happy-dom/wiki/IBrowserSettings) in the Wiki ### [`v17.6.0`](https://github.com/capricorn86/happy-dom/compare/v17.5.9...v17.6.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.9...v17.6.0) ### [`v17.5.9`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.9) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.8...v17.5.9) ##### :construction\_worker\_man: Patch fixes - Adds missing null check in `HTMLLinkElement` for a browser frame property that becomes null during teardown of a `Window` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1800](https://github.com/capricorn86/happy-dom/issues/1800) ### [`v17.5.8`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.8) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.7...v17.5.8) ##### :construction\_worker\_man: Patch fixes - Incorrect cache matching caused `Element.classList` to return the wrong items - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1812](https://github.com/capricorn86/happy-dom/issues/1812) ### [`v17.5.7`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.7) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.6...v17.5.7) ##### :construction\_worker\_man: Patch fixes - Handle wider range of valid characters in unquoted attribute value parsing - By **[@&#8203;AudunWA](https://github.com/AudunWA)** in task [#&#8203;1817](https://github.com/capricorn86/happy-dom/issues/1817) ### [`v17.5.6`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.6) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.5...v17.5.6) ##### :construction\_worker\_man: Patch fixes - Removes the min and max boundary check when setting the value of an input field of type "date" - By **[@&#8203;zgrybus](https://github.com/zgrybus)** in task [#&#8203;1815](https://github.com/capricorn86/happy-dom/issues/1815) ### [`v17.5.5`](https://github.com/capricorn86/happy-dom/compare/v17.5.4...v17.5.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.4...v17.5.5) ### [`v17.5.4`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.3...v17.5.4) ##### :construction\_worker\_man: Patch fixes - Fixes issue where the body of a `ReadableStream` was locked after being cloned - By **[@&#8203;MarcMcIntosh](https://github.com/MarcMcIntosh)** in task [#&#8203;1493](https://github.com/capricorn86/happy-dom/issues/1493) ### [`v17.5.3`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.2...v17.5.3) ##### :construction\_worker\_man: Patch fixes - Adds `previousSibling` and `nextSibling` to `MutationObserver` records when a child is removed - By **[@&#8203;uxuip](https://github.com/uxuip)** in task [#&#8203;1803](https://github.com/capricorn86/happy-dom/issues/1803) ### [`v17.5.2`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.1...v17.5.2) ##### :construction\_worker\_man: Patch fixes - Adds support for the unicode characters `«` and `»` in query selectors used by the React 19.1 "useId" hook - By **[@&#8203;terrymun](https://github.com/terrymun)** in task [#&#8203;1785](https://github.com/capricorn86/happy-dom/issues/1785) ### [`v17.5.1`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.5.0...v17.5.1) ##### :construction\_worker\_man: Patch fixes - Existing URL query string should be overwritten on form submit when method is "GET" - By **[@&#8203;rslabbert](https://github.com/rslabbert)** in task [#&#8203;1786](https://github.com/capricorn86/happy-dom/issues/1786) ### [`v17.5.0`](https://github.com/capricorn86/happy-dom/releases/tag/v17.5.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.9...v17.5.0) ##### :art: Features - Adds support for `XMLHttpRequest.overrideMimeType()` - By **[@&#8203;maxmil](https://github.com/maxmil)** in task [#&#8203;1782](https://github.com/capricorn86/happy-dom/issues/1782) ### [`v17.4.9`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.9) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.8...v17.4.9) ##### :construction\_worker\_man: Patch fixes - A disabled input element should not be parsed in `FormData` - By **[@&#8203;juandiegombr](https://github.com/juandiegombr)** in task [#&#8203;1790](https://github.com/capricorn86/happy-dom/issues/1790) ### [`v17.4.8`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.8) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.7...v17.4.8) ##### :construction\_worker\_man: Patch fixes - Fixes issue where CSS variables where not being parsed in color functions - By **[@&#8203;hampustagerud](https://github.com/hampustagerud)** in task [#&#8203;1822](https://github.com/capricorn86/happy-dom/issues/1822) ### [`v17.4.7`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.7) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.6...v17.4.7) ##### :construction\_worker\_man: Patch fixes - Allow empty URL string in `Request` - By **[@&#8203;elierotenberg](https://github.com/elierotenberg)** in task [#&#8203;1779](https://github.com/capricorn86/happy-dom/issues/1779) ### [`v17.4.6`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.6) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.5...v17.4.6) ##### :construction\_worker\_man: Patch fixes - Preserve slashes in the "name" property in `File` - By **[@&#8203;dyabol](https://github.com/dyabol)** in task [#&#8203;1788](https://github.com/capricorn86/happy-dom/issues/1788) ### [`v17.4.5`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.4...v17.4.5) ##### :construction\_worker\_man: Patch fixes - Handle bubbling click events in `HTMLAnchorElement` - By **[@&#8203;maxmil](https://github.com/maxmil)** in task [#&#8203;1775](https://github.com/capricorn86/happy-dom/issues/1775) ### [`v17.4.4`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.3...v17.4.4) ##### :construction\_worker\_man: Patch fixes - Sets 0 instead of undefined as default in `setTimeout()` to prevent Bun from logging a "TimeoutNaNWarning" - By **[@&#8203;lekoala](https://github.com/lekoala)** in task [#&#8203;1772](https://github.com/capricorn86/happy-dom/issues/1772) ### [`v17.4.3`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.2...v17.4.3) ##### :construction\_worker\_man: Patch fixes - Fixes issue where the wrong scope was used when `settings.errorCapture` is not set to "tryAndCatch" and `handleEvent` is used for the event listener - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1766](https://github.com/capricorn86/happy-dom/issues/1766) ### [`v17.4.2`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.1...v17.4.2) ##### :construction\_worker\_man: Patch fixes - Fixes issue where an error was thrown for "xmlns" or unknown prefixes in `Element.setAttribute()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1750](https://github.com/capricorn86/happy-dom/issues/1750) ### [`v17.4.1`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.4.0...v17.4.1) ##### :construction\_worker\_man: Patch fixes - Fixes issue where an error was thrown for attributes "xlink" or an unknown prefix during parsing of HTML - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1750](https://github.com/capricorn86/happy-dom/issues/1750) ### [`v17.4.0`](https://github.com/capricorn86/happy-dom/releases/tag/v17.4.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.3.2...v17.4.0) ##### :art: Features - Adds support for the `KeyboardEvent.getModifierState()` method - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1467](https://github.com/capricorn86/happy-dom/issues/1467) ### [`v17.3.2`](https://github.com/capricorn86/happy-dom/releases/tag/v17.3.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.3.1...v17.3.2) ##### :construction\_worker\_man: Patch fixes - Escapes special regex characters in attribute selectors - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1697](https://github.com/capricorn86/happy-dom/issues/1697) ### [`v17.3.1`](https://github.com/capricorn86/happy-dom/releases/tag/v17.3.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.3.0...v17.3.1) ##### :construction\_worker\_man: Patch fixes - Fixes issue where an error was thrown for attributes with "xmlns" as prefix during parsing of HTML (e.g. `<svg xmlns:link=""></svg>`) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1750](https://github.com/capricorn86/happy-dom/issues/1750) ### [`v17.3.0`](https://github.com/capricorn86/happy-dom/releases/tag/v17.3.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.2.4...v17.3.0) ##### :art: Features - Adds support for form method 'dialog' - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1184](https://github.com/capricorn86/happy-dom/issues/1184) ### [`v17.2.4`](https://github.com/capricorn86/happy-dom/releases/tag/v17.2.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.2.3...v17.2.4) ##### :construction\_worker\_man: Patch fixes - SVG elements should be skipped in `HTMLElement.innerText` - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1151](https://github.com/capricorn86/happy-dom/issues/1151) ### [`v17.2.3`](https://github.com/capricorn86/happy-dom/releases/tag/v17.2.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.2.2...v17.2.3) ##### :construction\_worker\_man: Patch fixes - `Element.contentEditable` should be synced with the "contenteditable" attribute - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1463](https://github.com/capricorn86/happy-dom/issues/1463) ### [`v17.2.2`](https://github.com/capricorn86/happy-dom/releases/tag/v17.2.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.2.1...v17.2.2) ##### :construction\_worker\_man: Patch fixes - Handle invalid indices on Node.childNodes - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1698](https://github.com/capricorn86/happy-dom/issues/1698) ### [`v17.2.1`](https://github.com/capricorn86/happy-dom/releases/tag/v17.2.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.2.0...v17.2.1) ##### :construction\_worker\_man: Patch fixes - Handle nested square brackets and parentheses inside pseudo-class arguments - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1072](https://github.com/capricorn86/happy-dom/issues/1072) ### [`v17.2.0`](https://github.com/capricorn86/happy-dom/releases/tag/v17.2.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.13...v17.2.0) ##### :art: Features - Add support for multiple selectors in ":not" pseudo-class - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;990](https://github.com/capricorn86/happy-dom/issues/990) ### [`v17.1.13`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.13) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.12...v17.1.13) ##### :construction\_worker\_man: Patch fixes - Allow to use secure flag for cookies on "<http://localhost>" - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1162](https://github.com/capricorn86/happy-dom/issues/1162) ### [`v17.1.12`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.12) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.11...v17.1.12) ##### :construction\_worker\_man: Patch fixes - Adds event phases as static properties on `Event` class - By **[@&#8203;alan910127](https://github.com/alan910127)** in task [#&#8203;1747](https://github.com/capricorn86/happy-dom/issues/1747) ### [`v17.1.11`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.11) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.10...v17.1.11) ##### :construction\_worker\_man: Patch fixes - Fixes issue with attribute references when using `Element.cloneNode()` - By **[@&#8203;Mas0nShi](https://github.com/Mas0nShi)** in task [#&#8203;1745](https://github.com/capricorn86/happy-dom/issues/1745) ### [`v17.1.10`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.10) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.9...v17.1.10) ##### :construction\_worker\_man: Patch fixes - Prevents disabled inputs from being focused or blurred - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1563](https://github.com/capricorn86/happy-dom/issues/1563) ### [`v17.1.9`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.9) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.8...v17.1.9) ##### :construction\_worker\_man: Patch fixes - Event listener properties prefixed with "on" should be the evaluated value of the corresponding attribute - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;474](https://github.com/capricorn86/happy-dom/issues/474) ### [`v17.1.8`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.8) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.7...v17.1.8) ##### :construction\_worker\_man: Patch fixes - Fixes issue where change event wasn't triggered for an input inside of a label - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1614](https://github.com/capricorn86/happy-dom/issues/1614) ### [`v17.1.7`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.7) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.6...v17.1.7) ##### :construction\_worker\_man: Patch fixes - Adds missing end boundary to `FormData` requests - By **[@&#8203;aberigle](https://github.com/aberigle)** and **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1741](https://github.com/capricorn86/happy-dom/issues/1741) ### [`v17.1.6`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.6) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.5...v17.1.6) ##### :art: Features - Adds support for sending `AbortSignal` as option to `EventTarget.addEventListener()` - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1540](https://github.com/capricorn86/happy-dom/issues/1540) ### [`v17.1.5`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.4...v17.1.5) ##### :construction\_worker\_man: Patch fixes - `HTMLElement.dataset` should return undefined for properties not found - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1689](https://github.com/capricorn86/happy-dom/issues/1689) ### [`v17.1.4`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.3...v17.1.4) ##### :construction\_worker\_man: Patch fixes - Fixes issue where the use of filtering in `TreeWalker` didn't work according to spec - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1605](https://github.com/capricorn86/happy-dom/issues/1605) ### [`v17.1.3`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.2...v17.1.3) ##### :construction\_worker\_man: Patch fixes - Fixes incorrect handling of attribute prefixes when iterating `NamedNodeMap` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1728](https://github.com/capricorn86/happy-dom/issues/1728) - This caused attribute names to be incorrectly returned in `Element.getAttributeNames()` when attributes where using prefixes ### [`v17.1.2`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.1...v17.1.2) ##### :construction\_worker\_man: Patch fixes - `AbortSignal.reason` can have any type - By **[@&#8203;btea](https://github.com/btea)** in task [#&#8203;1718](https://github.com/capricorn86/happy-dom/issues/1718) - When aborting a request, `AbortSignal.reason` should be the object used when the promise is rejected - By **[@&#8203;btea](https://github.com/btea)** in task [#&#8203;1718](https://github.com/capricorn86/happy-dom/issues/1718) ### [`v17.1.1`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.1.0...v17.1.1) ##### :art: Features - Adds support for the `@media` selector "forced-colors" - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1727](https://github.com/capricorn86/happy-dom/issues/1727) - Read more about how to set the value in the [Wiki for IBrowserSettings](https://github.com/capricorn86/happy-dom/wiki/IBrowserSettings) under "device.forcedColors" ##### :construction\_worker\_man: Patch fixes - Fixes issue where it was not possible to nest `@media`, `@supports` and `@container` rules - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1727](https://github.com/capricorn86/happy-dom/issues/1727) - Fixes issue where `CSSStyleSheet` was instantiated internally without a Window context, causing errors to not be thrown correctly in `CSSStyleSheet` methods - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1727](https://github.com/capricorn86/happy-dom/issues/1727) - Changes errors thrown in `CSSStyleSheet` methods, so that they work according to spec - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1727](https://github.com/capricorn86/happy-dom/issues/1727) ### [`v17.1.0`](https://github.com/capricorn86/happy-dom/releases/tag/v17.1.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.0.4...v17.1.0) ##### :art: Features - Add support for CSS media query rule "prefers-reduced-motion" - By **[@&#8203;mwdiaz](https://github.com/mwdiaz)** in task [#&#8203;1724](https://github.com/capricorn86/happy-dom/issues/1724) - Read more about how to set this value under [IBrowserSettings](https://github.com/capricorn86/happy-dom/wiki/IBrowserSettings) in the Wiki. ### [`v17.0.4`](https://github.com/capricorn86/happy-dom/releases/tag/v17.0.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.0.3...v17.0.4) ##### :construction\_worker\_man: Patch fixes - The "slotchange" event should be fired after the element has been connected to the DOM - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1722](https://github.com/capricorn86/happy-dom/issues/1722) ### [`v17.0.3`](https://github.com/capricorn86/happy-dom/releases/tag/v17.0.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.0.2...v17.0.3) ##### :construction\_worker\_man: Patch fixes - Fixes bug where nested query selectors is not returning the correct result when there are multiple matching selector groups - By \*\*[@&#8203;christiango](https://github.com/christiango) \*\* in task [#&#8203;1720](https://github.com/capricorn86/happy-dom/issues/1720) ### [`v17.0.2`](https://github.com/capricorn86/happy-dom/releases/tag/v17.0.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.0.1...v17.0.2) ##### :construction\_worker\_man: Patch fixes - The property "tabIndex" should return "0" by default in `HTMLAnchorElement`, `HTMLAreaElement`, `HTMLButtonElement`, `HTMLIFrameElement`, `HTMLInputElement`, `HTMLMediaElement`, `HTMLObjectElement`, `HTMLSelectElement` and `HTMLTextAreaElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1714](https://github.com/capricorn86/happy-dom/issues/1714) ### [`v17.0.1`](https://github.com/capricorn86/happy-dom/releases/tag/v17.0.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v17.0.0...v17.0.1) ##### :construction\_worker\_man: Patch fixes - Ensure `querySelector()` returns the first item that appears in the DOM for grouped selectors - By **[@&#8203;christiango](https://github.com/christiango)** in task [#&#8203;1710](https://github.com/capricorn86/happy-dom/issues/1710) ### [`v17.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v17.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.8.1...v17.0.0) ##### :bomb: Breaking Changes - Adds support for ECMAScript modules - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - This change allows the use of `import` and `export` statements in JavaScript files ##### :art: Features - Adds support for tracing never ending tasks when using `waitUntilComplete()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1567](https://github.com/capricorn86/happy-dom/issues/1567) - Read more about how to enable this feature under `debug.traceWaitUntilComplete` in the Wiki for [IBrowserSettings](https://github.com/capricorn86/happy-dom/wiki/IBrowserSettings) - Adds support for preloading fetch, stylesheet, script and modules in `HTMLLinkElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Adds support for `HTMLLinkElement.relList.supports()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Adds support for `Request.mode` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Output failed requests to the console - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Adds support for `HTMLScriptElement.blocking`, `HTMLScriptElement.crossOrigin`, `HTMLScriptElement.fetchPriority`, `HTMLScriptElement.noModule`, `HTMLScriptElement.integrity`, `HTMLScriptElement.referrerPolicy` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Use cache in virtual server requests - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Adds support for `credentials` and `referrerPolicy` when fetching styles and scripts - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Disallow invalid attributes from being set in `Element.setAttribute()` - By **[@&#8203;OlaviSau](https://github.com/OlaviSau)** in task [#&#8203;1706](https://github.com/capricorn86/happy-dom/issues/1706) ##### :construction\_worker\_man: Patch fixes - Call `afterAsyncResponse` fetch interceptor in virtual server requests - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) - Fixes bug where children in a `ShadowRoot` of a custom element that was upgraded from a `HTMLElement` wasn't considered connected to the DOM - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;320](https://github.com/capricorn86/happy-dom/issues/320) ### [`v16.8.1`](https://github.com/capricorn86/happy-dom/releases/tag/v16.8.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.8.0...v16.8.1) ##### :construction\_worker\_man: Patch fixes - Handle non-string values gracefully when removing an attribute - By **[@&#8203;OlaviSau](https://github.com/OlaviSau)** in task [#&#8203;1706](https://github.com/capricorn86/happy-dom/issues/1706) ### [`v16.8.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.8.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.7.3...v16.8.0) ##### :art: Features - Add support for `insertRow()` and `deleteRow()` to `HTMLTableSectionElement` - By **[@&#8203;christiango](https://github.com/christiango)** in task [#&#8203;1708](https://github.com/capricorn86/happy-dom/issues/1708) ### [`v16.7.3`](https://github.com/capricorn86/happy-dom/releases/tag/v16.7.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.7.2...v16.7.3) ##### :construction\_worker\_man: Patch fixes - Removes space from directory name that prevents the repo to be cloned on MS Windows - By **[@&#8203;kleinfreund](https://github.com/kleinfreund)** in task [#&#8203;1703](https://github.com/capricorn86/happy-dom/issues/1703) ### [`v16.7.2`](https://github.com/capricorn86/happy-dom/releases/tag/v16.7.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.7.1...v16.7.2) ##### :construction\_worker\_man: Patch fixes - Ignore invalid cookies in CookieContainer - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1693](https://github.com/capricorn86/happy-dom/issues/1693) ### [`v16.7.1`](https://github.com/capricorn86/happy-dom/releases/tag/v16.7.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.7.0...v16.7.1) ##### :construction\_worker\_man: Patch fixes - Adds `ICookie`, `IOptionalCookie`, `CookieSameSiteEnum` and `IVirtualServer` as exports to the index file - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1693](https://github.com/capricorn86/happy-dom/issues/1693) - Makes non-mandatory cookie properties optional in `CookieContainer.addCookies()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1693](https://github.com/capricorn86/happy-dom/issues/1693) ### [`v16.7.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.7.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.6.0...v16.7.0) ##### :art: Features - Adds support for simulating local HTTP servers that serves files from the local file system - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1688](https://github.com/capricorn86/happy-dom/issues/1688) - Read more about virtual servers in the [Wiki](https://github.com/capricorn86/happy-dom/wiki/IVirtualServer) ### [`v16.6.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.6.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.5.3...v16.6.0) ##### :art: Features - Adds support for subsequent sibling combinator to `querySelector()`, `querySelectorAll()` and `matches()` (e.g. ".a \~ .b") - By **[@&#8203;karpiuMG](https://github.com/karpiuMG)** in task [#&#8203;1683](https://github.com/capricorn86/happy-dom/issues/1683) ### [`v16.5.3`](https://github.com/capricorn86/happy-dom/releases/tag/v16.5.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.5.2...v16.5.3) ##### :construction\_worker\_man: Patch fixes - Fixes problem with encoding and decoding attribute values in HTML - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1678](https://github.com/capricorn86/happy-dom/issues/1678) - Fixes issue where it was not possible to query selector by class when the attribute value had line breaks in it - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1678](https://github.com/capricorn86/happy-dom/issues/1678) ### [`v16.5.2`](https://github.com/capricorn86/happy-dom/releases/tag/v16.5.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.5.1...v16.5.2) ##### :construction\_worker\_man: Patch fixes - `Event.target` should be the target element after an event has been dispatched - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1529](https://github.com/capricorn86/happy-dom/issues/1529) ### [`v16.5.1`](https://github.com/capricorn86/happy-dom/releases/tag/v16.5.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.5.0...v16.5.1) ##### :construction\_worker\_man: Patch fixes - Fixes issue where `Comment`, `Text` and `DocumentFragment` are not instances of their corresponding property on `Window` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1577](https://github.com/capricorn86/happy-dom/issues/1577) ### [`v16.5.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.5.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.4.3...v16.5.0) ##### :art: Features - Adds property `GlobalRegistrator.isRegistered` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1670](https://github.com/capricorn86/happy-dom/issues/1670) ### [`v16.4.3`](https://github.com/capricorn86/happy-dom/releases/tag/v16.4.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.4.2...v16.4.3) ##### :construction\_worker\_man: Patch fixes - Adds null check for if browser frame is available in `Response` during tear down of the `Window` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1669](https://github.com/capricorn86/happy-dom/issues/1669) ### [`v16.4.2`](https://github.com/capricorn86/happy-dom/releases/tag/v16.4.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.4.1...v16.4.2) ##### :construction\_worker\_man: Patch fixes - Support using URL as an object for URL:s when using the Browser API - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1664](https://github.com/capricorn86/happy-dom/issues/1664) ### [`v16.4.1`](https://github.com/capricorn86/happy-dom/releases/tag/v16.4.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.4.0...v16.4.1) ##### :construction\_worker\_man: Patch fixes - Fixes issue where HTML assigned to `document.documentElement.innerHTML` isnt parsed correctly since v16 - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1663](https://github.com/capricorn86/happy-dom/issues/1663) ### [`v16.4.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.4.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.3.0...v16.4.0) ##### :art: Features - Allow fetch to be intercepted and modified by sending in an interceptor as a setting - By **[@&#8203;OlaviSau](https://github.com/OlaviSau)** in task [#&#8203;1502](https://github.com/capricorn86/happy-dom/issues/1502) - Read more about this in the Wiki at [IFetchInterceptor](https://github.com/capricorn86/happy-dom/wiki/IFetchInterceptor) ### [`v16.3.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.3.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.9...v16.3.0) ##### :art: Features - Adds support for child combinator to ":has()" pseudo selector (e.g. "span:has(> video)") - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1642](https://github.com/capricorn86/happy-dom/issues/1642) ### [`v16.2.9`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.9) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.8...v16.2.9) ##### :construction\_worker\_man: Patch fixes - Fixes the `HTMLInputElement.defaultChecked` property - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1587](https://github.com/capricorn86/happy-dom/issues/1587) - This issue caused React not to serialize the "checked" attribute correctly ### [`v16.2.8`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.8) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.7...v16.2.8) ##### :construction\_worker\_man: Patch fixes - Fixes issue where the wrong event target was used when dispatching events on `HTMLFormElement` or `HTMLSelectElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1628](https://github.com/capricorn86/happy-dom/issues/1628) ### [`v16.2.7`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.7) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.6...v16.2.7) ##### :construction\_worker\_man: Patch fixes - Fixes issue where text in `<script>` and `<style>` elements should not be decoded or encoded - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1564](https://github.com/capricorn86/happy-dom/issues/1564) ### [`v16.2.6`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.6) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.5...v16.2.6) ##### :construction\_worker\_man: Patch fixes - Fixes problem where snapshots did not result in HTML for `<form>` and `<select>` elements - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1608](https://github.com/capricorn86/happy-dom/issues/1608) ### [`v16.2.5`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.4...v16.2.5) ##### :construction\_worker\_man: Patch fixes - Fixes bug where the reference to a parent `HTMLFormElement` and `HTMLSelectElement` was wrong which affected the methods `remove()`, `replaceWith()`, `before()`, `after()`, `append()`, `prepend()`, `replaceChildren()` and `insertAdjacentElement()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1637](https://github.com/capricorn86/happy-dom/issues/1637) ### [`v16.2.4`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.3...v16.2.4) ##### :construction\_worker\_man: Patch fixes - Fixes bug where the incorrect location is set after a redirect in `BrowserFrame.goto()` and `DetachedBrowserFrame.goto()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1627](https://github.com/capricorn86/happy-dom/issues/1627) ### [`v16.2.3`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.2...v16.2.3) ##### :construction\_worker\_man: Patch fixes - Fixes the implementation for the `HTMLTableCellElement.headers` property - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1634](https://github.com/capricorn86/happy-dom/issues/1634) ### [`v16.2.2`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.1...v16.2.2) ##### :construction\_worker\_man: Patch fixes - Improves error when a Symbol object is being sent to `querySelector()` or `querySelectorAll()` as selector - By **[@&#8203;chocolateboy](https://github.com/chocolateboy)** in task [#&#8203;1640](https://github.com/capricorn86/happy-dom/issues/1640) ### [`v16.2.1`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.2.0...v16.2.1) ##### :construction\_worker\_man: Patch fixes - Set request credentials to "same-origin" in `XMLHttpRequest` when "withCredentials" is false - By **[@&#8203;saitonakamura](https://github.com/saitonakamura)** in task [#&#8203;1631](https://github.com/capricorn86/happy-dom/issues/1631) ### [`v16.2.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.2.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.1.0...v16.2.0) ##### :art: Features - Adds support for `Window.scrollBy()` and `Element.scrollBy()` - By **[@&#8203;OlaviSau](https://github.com/OlaviSau)** in task [#&#8203;1623](https://github.com/capricorn86/happy-dom/issues/1623) ### [`v16.1.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.1.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.0.1...v16.1.0) ##### :art: Features - Add support for using whitespace-separated list to `getElementsByClassName()` - By **[@&#8203;kylehalleman](https://github.com/kylehalleman)** in task [#&#8203;1551](https://github.com/capricorn86/happy-dom/issues/1551) ### [`v16.0.1`](https://github.com/capricorn86/happy-dom/releases/tag/v16.0.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v16.0.0...v16.0.1) ##### :construction\_worker\_man: Patch fixes - Fixes problem with children of created documents (e.g. `document.implementation.createHTMLDocument()`) not being considered as connected to a DOM that was introduced in v16 - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1647](https://github.com/capricorn86/happy-dom/issues/1647) ### [`v16.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v16.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.7...v16.0.0) ##### :bomb: Breaking Changes - Refactors XML and HTML parsing and serialization - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1615](https://github.com/capricorn86/happy-dom/issues/1615) - This change may break your tests as the serialized output may differ from v15 ##### :art: Features - Adds support for parsing XML in `DOMParser` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;284](https://github.com/capricorn86/happy-dom/issues/284) - Improved performance in `document.write()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1615](https://github.com/capricorn86/happy-dom/issues/1615) - Elements are now added directly to the document during parsing ##### :construction\_worker\_man: Patch fixes - Fix for handling `<html>`, `<head>` and `<body>` during parsing - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1615](https://github.com/capricorn86/happy-dom/issues/1615) - Fix for handling HTML entities correctly when parsing and serializing - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1494](https://github.com/capricorn86/happy-dom/issues/1494) and [#&#8203;1498](https://github.com/capricorn86/happy-dom/issues/1498) - Fix for handling attribute names containing "\[" or "]" during parsing - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1638](https://github.com/capricorn86/happy-dom/issues/1638) - Fix for handling comments containing HTML tags - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1630](https://github.com/capricorn86/happy-dom/issues/1630) - Fix for handling namespaces in `XMLSerializer` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1615](https://github.com/capricorn86/happy-dom/issues/1615) - Handles rules for parsing table elements - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1126](https://github.com/capricorn86/happy-dom/issues/1126) - Loads scripts asynchronously when "defer" is set or "type" is "module" - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1615](https://github.com/capricorn86/happy-dom/issues/1615) ### [`v15.11.7`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.7) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.6...v15.11.7) ##### :construction\_worker\_man: Patch fixes - Allow for an URL to be a string or an URL object in `History.pushState()` and `History.replaceState()` - By **[@&#8203;sohailalam2](https://github.com/sohailalam2)** in task [#&#8203;1621](https://github.com/capricorn86/happy-dom/issues/1621) ### [`v15.11.6`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.6) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.5...v15.11.6) ##### :construction\_worker\_man: Patch fixes - Adds support for `window.TextEncoder` and `window.TextDecoder` - By **[@&#8203;iradonov](https://github.com/iradonov)** in task [#&#8203;1611](https://github.com/capricorn86/happy-dom/issues/1611) ### [`v15.11.5`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.4...v15.11.5) ##### :construction\_worker\_man: Patch fixes - `HTMLSelectElement` should not dispatch "change" event when changing value or index - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1603](https://github.com/capricorn86/happy-dom/issues/1603) ### [`v15.11.4`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.3...v15.11.4) ##### :construction\_worker\_man: Patch fixes - Strings should be converted into numbers in setters for `HTMLMeterElement` and `HTMLProgressElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1601](https://github.com/capricorn86/happy-dom/issues/1601) ### [`v15.11.3`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.2...v15.11.3) ##### :construction\_worker\_man: Patch fixes - Consider null as empty string in the setter for `HTMLInputElement.value` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1604](https://github.com/capricorn86/happy-dom/issues/1604) ### [`v15.11.2`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.1...v15.11.2) ##### :construction\_worker\_man: Patch fixes - Fixes bug where pseudo selectors without an ending parentheses threw an in invalid selector error - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1558](https://github.com/capricorn86/happy-dom/issues/1558) - Fixes bug where it was not possible to use the characters ":" and "\\" in attribute selectors - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1561](https://github.com/capricorn86/happy-dom/issues/1561) ### [`v15.11.1`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.11.0...v15.11.1) ##### :construction\_worker\_man: Patch fixes - Fixes bug where `Document.activeElement` is set to the wrong target when triggering `HTMLSelectElement.focus()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1592](https://github.com/capricorn86/happy-dom/issues/1592) - `HTMLSelectElement` is a `Proxy` since v15 and `focus()` was setting the target of the `Proxy` as the active element, but should set the `Proxy` ### [`v15.11.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.11.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.8...v15.11.0) ##### :art: Features - Adds support for the `:disabled` pseudo-class in CSS and query selectors - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1159](https://github.com/capricorn86/happy-dom/issues/1159) ### [`v15.10.8`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.8) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.7...v15.10.8) ##### :construction\_worker\_man: Patch fixes - Validate that object is of type `Blob` in `FileReader.readAsArrayBuffer()`, `FileReader.readAsBinaryString()`, `FileReader.readAsDataURL()` and `FileReader.readAsText()` - By **[@&#8203;btea](https://github.com/btea)** in task [#&#8203;1565](https://github.com/capricorn86/happy-dom/issues/1565) ### [`v15.10.7`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.7) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.6...v15.10.7) ##### :construction\_worker\_man: Patch fixes - Cookies with values that contains "=" should be supported - By **[@&#8203;btea](https://github.com/btea)** in task [#&#8203;1570](https://github.com/capricorn86/happy-dom/issues/1570) ### [`v15.10.6`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.6) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.5...v15.10.6) ##### :construction\_worker\_man: Patch fixes - Accept objects with a stringifier (such as a `URL` object) in `Location.assign()` and `Location.replace()` - By **[@&#8203;silverwind](https://github.com/silverwind)** in task [#&#8203;1568](https://github.com/capricorn86/happy-dom/issues/1568) ### [`v15.10.5`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.4...v15.10.5) ##### :construction\_worker\_man: Patch fixes - Fixes incorrect serialization of special characters in raw text elements such as `<script>` and `<style>` - By **[@&#8203;BenjaminAster](https://github.com/BenjaminAster)** in task [#&#8203;1566](https://github.com/capricorn86/happy-dom/issues/1566) ### [`v15.10.4`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.3...v15.10.4) ##### :construction\_worker\_man: Patch fixes - Adds missing setter for the `HTMLMediaElement.srcObject` property - By **[@&#8203;ewesemann](https://github.com/ewesemann)** in task [#&#8203;1557](https://github.com/capricorn86/happy-dom/issues/1557) ### [`v15.10.3`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.2...v15.10.3) ##### :construction\_worker\_man: Patch fixes - Allow to set custom export conditions in `@happy-dom/jest-environment` - By **[@&#8203;aearly](https://github.com/aearly)** in task [#&#8203;1555](https://github.com/capricorn86/happy-dom/issues/1555) ### [`v15.10.2`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.1...v15.10.2) ##### :construction\_worker\_man: Patch fixes - Fixes a security vulnerability that allowed for server side code to be executed by a `<script>` tag - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1585](https://github.com/capricorn86/happy-dom/issues/1585) - There was a case that was missed with the first patch ### [`v15.10.1`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.10.0...v15.10.1) ##### :construction\_worker\_man: Patch fixes - Fixes a security vulnerability that allowed for server side code to be executed by a `<script>` tag - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1585](https://github.com/capricorn86/happy-dom/issues/1585) ### [`v15.10.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.10.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.9.0...v15.10.0) ##### :art: Features - Adds a new setting called `disableSameOriginPolicy` that makes it possible to bypass the same-origin policy in fetch requests - By **[@&#8203;OlaviSau](https://github.com/OlaviSau)** in task [#&#8203;1553](https://github.com/capricorn86/happy-dom/issues/1553) ### [`v15.9.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.9.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.8.5...v15.9.0) ##### :art: Features - Adds support for "aspect-ratio" to `CSSStyleDeclaration` - By **[@&#8203;yinm](https://github.com/yinm)** in task [#&#8203;1147](https://github.com/capricorn86/happy-dom/issues/1147) ### [`v15.8.5`](https://github.com/capricorn86/happy-dom/releases/tag/v15.8.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.8.4...v15.8.5) ##### :construction\_worker\_man: Patch fixes - Fixes bug where `Node.getRootNode()` returned null when it was within a `ShadowRoot` that previously been disconnected from the `Document` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1581](https://github.com/capricorn86/happy-dom/issues/1581) ### [`v15.8.4`](https://github.com/capricorn86/happy-dom/releases/tag/v15.8.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.8.3...v15.8.4) ##### :construction\_worker\_man: Patch fixes - Fixes bug where child nodes of `HTMLSelectElement` and `HTMLFormElement` had the wrong reference to the parent - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1578](https://github.com/capricorn86/happy-dom/issues/1578) ### [`v15.8.3`](https://github.com/capricorn86/happy-dom/releases/tag/v15.8.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.8.2...v15.8.3) ##### :construction\_worker\_man: Patch fixes - Toggle "open" attribute on `HTMLDetailsElement` when dispatching a click event on a summary element which is a child of the details element - By **[@&#8203;mikedidomizio](https://github.com/mikedidomizio)** in task [#&#8203;1534](https://github.com/capricorn86/happy-dom/issues/1534) ### [`v15.8.2`](https://github.com/capricorn86/happy-dom/releases/tag/v15.8.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.8.1...v15.8.2) ##### :construction\_worker\_man: Patch fixes - Use `globalThis` instead of `global` to make Happy DOM work in other runtimes such as Cloudflare workers - By **[@&#8203;mattallty](https://github.com/mattallty)** in task [#&#8203;1546](https://github.com/capricorn86/happy-dom/issues/1546) ### [`v15.8.1`](https://github.com/capricorn86/happy-dom/releases/tag/v15.8.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.8.0...v15.8.1) ##### :construction\_worker\_man: Patch fixes - Always return `Promise<Blob>` from `ClipboardItem.getType()` - By **[@&#8203;ezzatron](https://github.com/ezzatron)** in task [#&#8203;1538](https://github.com/capricorn86/happy-dom/issues/1538) ### [`v15.8.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.8.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.7.4...v15.8.0) ##### :construction\_worker\_man: Patch fixes - Adds support for using non-ASCII characters in custom elements when parsing HTML - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1079](https://github.com/capricorn86/happy-dom/issues/1079) - Fixes an issue where `getHTML()` and `getInnerHTML()` would return the slotted content of a shadow root before the template, but the template should be the first child - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1079](https://github.com/capricorn86/happy-dom/issues/1079) - Fixes a bug where SVG elements would not be found by `getElementsByTagName()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1079](https://github.com/capricorn86/happy-dom/issues/1079) - Improves performance when creating elements (e.g. during parsing of HTML) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1550](https://github.com/capricorn86/happy-dom/issues/1550) - Binding all methods to the target scope in Proxies caused a performance hit, so this is now done when calling a method the first time ##### :art: Features - Adds support for all remaining SVG elements: `SVGAnimateElement`, `SVGAnimateMotionElement`, `SVGAnimateTransformElement`, `SVGCircleElement`, `SVGClipPathElement`, `SVGDefsElement`, `SVGDescElement`, `SVGEllipseElement`, `SVGFEBlendElement`, `SVGFEColorMatrixElement`, `SVGFEComponentTransferElement`, `SVGFECompositeElement`, `SVGFEConvolveMatrixElement`, `SVGFEDiffuseLightingElement`, `SVGFEDisplacementMapElement`, `SVGFEDistantLightElement`, `SVGFEDropShadowElement`, `SVGFEFloodElement`, `SVGFEFuncAElement`, `SVGFEFuncBElement`, `SVGFEFuncGElement`, `SVGFEFuncRElement`, `SVGFEGaussianBlurElement`, `SVGFEImageElement`, `SVGFEMergeElement`, `SVGFEMergeNodeElement`, `SVGFEMorphologyElement`, `SVGFEOffsetElement`, `SVGFEPointLightElement`, `SVGFESpecularLightingElement`, `SVGFESpotLightElement`, `SVGFETileElement`, `SVGFETurbulenceElement`, `SVGFilterElement`, `SVGForeignObjectElement`, `SVGGElement`, `SVGImageElement`, `SVGLineElement`, `SVGLinearGradientElement`, `SVGMarkerElement`, `SVGMaskElement`, `SVGMetadataElement`, `SVGMPathElement`, `SVGPathElement`, `SVGPatternElement`, `SVGPolygonElement`, `SVGPolylineElement`, `SVGRadialGradientElement`, `SVGRectElement`, `SVGScriptElement`, `SVGSetElement`, `SVGStopElement`, `SVGStyleElement`, `SVGSwitchElement`, `SVGSymbolElement`, `SVGTextElement`, `SVGTextPathElement`, `SVGTitleElement`, `SVGTSpanElement`, `SVGUseElement` and `SVGViewElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1079](https://github.com/capricorn86/happy-dom/issues/1079) - Adds support for `DOMMatrix`, `DOMMatrixReadOnly`, `DOMPoint` and `DOMPointReadOnly` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1079](https://github.com/capricorn86/happy-dom/issues/1079) - Adds support for `SVGAngle`, `SVGAnimatedAngle`, `SVGAnimatedBoolean`, `SVGAnimatedEnumeration`, `SVGAnimatedInteger`, `SVGAnimatedLength`, `SVGAnimatedLengthList`, `SVGAnimatedNumber`, `SVGAnimatedNumberList`, `SVGAnimatedPreserveAspectRatio`, `SVGAnimatedRect`, `SVGAnimatedString`, `SVGAnimatedTransformList`, `SVGLength`, `SVGLengthList`, `SVGMatrix`, `SVGNumber`, `SVGNumberList`, `SVGPoint`, `SVGPointList`, `SVGPreserveAspectRatio`, `SVGRect`, `SVGStringList`, `SVGTransform`, `SVGTransformList` and `SVGUnitTypes` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1079](https://github.com/capricorn86/happy-dom/issues/1079) ### [`v15.7.4`](https://github.com/capricorn86/happy-dom/releases/tag/v15.7.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.7.3...v15.7.4) ##### :construction\_worker\_man: Patch fixes - Fixes incorrect handling of non-node items inserted using `replaceWith()`, `before()` and `after()` - By **[@&#8203;BenjaminAster](https://github.com/BenjaminAster)** in task [#&#8203;1533](https://github.com/capricorn86/happy-dom/issues/1533) ### [`v15.7.3`](https://github.com/capricorn86/happy-dom/releases/tag/v15.7.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.7.2...v15.7.3) ##### :construction\_worker\_man: Patch fixes - Fixes bug that occurs when checking if a symbol property exists on `HTMLSelectElement` - By **[@&#8203;Cherry](https://github.com/Cherry)** in task [#&#8203;1526](https://github.com/capricorn86/happy-dom/issues/1526) ### [`v15.7.2`](https://github.com/capricorn86/happy-dom/releases/tag/v15.7.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.7.1...v15.7.2) ##### :construction\_worker\_man: Patch fixes - Fixes problem where it is not possible to observe again after disconnecting in `MutationObserver` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1524](https://github.com/capricorn86/happy-dom/issues/1524) ### [`v15.7.1`](https://github.com/capricorn86/happy-dom/releases/tag/v15.7.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.7.0...v15.7.1) ##### :construction\_worker\_man: Patch fixes - Fixes selector validation and converts selectors to string (e.g. `querySelector(['.class'])`) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1507](https://github.com/capricorn86/happy-dom/issues/1507) ### [`v15.7.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.7.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.6.1...v15.7.0) ##### :art: Features - Adds support for the `:has` pseudo selector - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1373](https://github.com/capricorn86/happy-dom/issues/1373) ### [`v15.6.1`](https://github.com/capricorn86/happy-dom/releases/tag/v15.6.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.6.0...v15.6.1) ##### :construction\_worker\_man: Patch fixes - Include `Access-Control-*`, `Origin` headers for cross-origin preflight requests - By **[@&#8203;rexxars](https://github.com/rexxars)** in task [#&#8203;1489](https://github.com/capricorn86/happy-dom/issues/1489) ### [`v15.6.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.6.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.5.0...v15.6.0) ##### :art: Features - Adds support for the selectors `:focus` and `:focus-visible` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1515](https://github.com/capricorn86/happy-dom/issues/1515) ##### :construction\_worker\_man: Patch fixes - Changes wrong property name "inputmode" to "inputMode" in `HTMLInputElement` and `HTMLTextAreaElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1487](https://github.com/capricorn86/happy-dom/issues/1487) ### [`v15.5.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.5.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.4.3...v15.5.0) ##### :art: Features - Adds support for `Blob.stream()` - By **[@&#8203;PlopAndRun](https://github.com/PlopAndRun)** in task [#&#8203;1500](https://github.com/capricorn86/happy-dom/issues/1500) ### [`v15.4.3`](https://github.com/capricorn86/happy-dom/releases/tag/v15.4.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.4.2...v15.4.3) ##### :construction\_worker\_man: Patch fixes - Adds support for supporting new lines and tabs as white-space character in CSS selectors - By **[@&#8203;syi0808](https://github.com/syi0808)** in task [#&#8203;1414](https://github.com/capricorn86/happy-dom/issues/1414) ### [`v15.4.2`](https://github.com/capricorn86/happy-dom/releases/tag/v15.4.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.4.1...v15.4.2) ##### :construction\_worker\_man: Patch fixes - Typo in CORS rejection error message - By **[@&#8203;rexxars](https://github.com/rexxars)** in task [#&#8203;1485](https://github.com/capricorn86/happy-dom/issues/1485) ### [`v15.4.1`](https://github.com/capricorn86/happy-dom/releases/tag/v15.4.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.4.0...v15.4.1) ##### :construction\_worker\_man: Patch fixes - Throw error in `FormData.append()` when value parameter type is incorrect - By **[@&#8203;btea](https://github.com/btea)** in task [#&#8203;1484](https://github.com/capricorn86/happy-dom/issues/1484) ### [`v15.4.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.4.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.3.2...v15.4.0) ##### :art: Features - Adds support for the CSS `font-face` rule - By **[@&#8203;m-shaka](https://github.com/m-shaka)** in task [#&#8203;1441](https://github.com/capricorn86/happy-dom/issues/1441) ### [`v15.3.2`](https://github.com/capricorn86/happy-dom/releases/tag/v15.3.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.3.1...v15.3.2) ##### :construction\_worker\_man: Patch fixes - Fixes the `HTMLInputElement.indeterminate` property, so that it behaves correctly - By **[@&#8203;malko](https://github.com/malko)** in task [#&#8203;1439](https://github.com/capricorn86/happy-dom/issues/1439) ### [`v15.3.1`](https://github.com/capricorn86/happy-dom/releases/tag/v15.3.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.3.0...v15.3.1) ##### :construction\_worker\_man: Patch fixes - Fixes issue with matching a nested element using ">" as combinator in selectors (e.g. ".x > .x") in `Element.matches()` and `Element.closest()` - By **[@&#8203;ocavue](https://github.com/ocavue)** in task [#&#8203;1472](https://github.com/capricorn86/happy-dom/issues/1472) ### [`v15.3.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.3.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.2.0...v15.3.0) ##### :art: Features - Adds support for the static method `AbortSignal.timeout()` - By **[@&#8203;ezzatron](https://github.com/ezzatron)** in task [#&#8203;1470](https://github.com/capricorn86/happy-dom/issues/1470) ### [`v15.2.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.2.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.1.0...v15.2.0) ##### :art: Features - Adds support for the static method `AbortSignal.any()` - By **[@&#8203;ezzatron](https://github.com/ezzatron)** in task [#&#8203;1468](https://github.com/capricorn86/happy-dom/issues/1468) ### [`v15.1.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.1.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v15.0.0...v15.1.0) ##### :art: Features - Refactor internal logic related to injecting the `Window` context for classes that can be constructed using the "new" operator - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Improves the way classes can access the `Browser` context internally - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Refactor of the logic for `EventTarget.dispatchEvent()` to better handle the event phases "none", "capture", "atTarget" and "bubbling" - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLInputElement.popoverTargetElement`, `HTMLInputElement.popoverTargetAction`, `HTMLButtonElement.popoverTargetElement` and `HTMLButtonElement.popoverTargetAction` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLElement.popover` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds support for `PerformanceObserver`, `PerformanceEntry` and `PerformanceObserverEntryList` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) ##### :construction\_worker\_man: Patch fixes - Makes it possible for a polyfill to replace `NodeList[Symbol.iterator]()` with `Array.prototype.values()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds logic for canceling any request to start new async tasks while the `Window` is closing (e.g. using `setTimeout()` or `fetch()`) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Fixes issues with errors exiting the browser when using the setting "errorCapture" set to "processLevel" - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Refactor internal logic, so that thrown errors are instances of unique error classes assigned to the `Window`, which makes it possible for `BrowserExceptionObserver` to know which `Window` the error originated from - Changes `Event.composedPath()` to not return the `Window` object if the event type is "load", which is the same behaviour as the browser - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - This means that "load" events will not bubble up to the `Window` object ### [`v15.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v15.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.12.3...v15.0.0) ##### :bomb: Breaking Changes - Drops offical support for Node.js 16.x and 17.x - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - A lot of internal logic has been refactored, so if you rely on internal APIs, this release may break your code - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) ##### :art: Features - Adds support for `HTMLAreaElement`, `HTMLBodyElement`, `HTMLQuoteElement`, `HTMLBRElement`, `HTMLTableCaptionElement`, `HTMLTableColElement`, `HTMLTableColElement`, `HTMLDataElement`, `HTMLDataListElement`, `HTMLModElement`, `HTMLDetailsElement`, `HTMLDivElement`, `HTMLDListElement`, `HTMLEmbedElement`, `HTMLFieldSetElement`, `HTMLHeadingElement`, `HTMLHeadElement`, `HTMLHRElement`, `HTMLHtmlElement`, `HTMLModElement`, `HTMLLegendElement`, `HTMLLIElement`, `HTMLMapElement`, `HTMLMenuElement`, `HTMLMeterElement`, `HTMLObjectElement`, `HTMLOListElement`, `HTMLOutputElement`, `HTMLParagraphElement`, `HTMLParamElement`, `HTMLPictureElement`, `HTMLPreElement`, `HTMLProgressElement`, `HTMLQuoteElement`, `HTMLSourceElement`, `HTMLSpanElement`, `HTMLTableElement`, `HTMLTableSectionElement`, `HTMLTableSectionElement`, `HTMLTitleElement`, `HTMLTableRowElement`, `HTMLTrackElement`, `HTMLUListElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds basic support for `HTMLCanvasElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds support for History API - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds cache to `CSSStyleDeclaration`, `querySelector()`, `querySelectorAll()`, `getElementById()`, `getElementsByClassName()`, `getElementsByTagName()`, `getElementsByTagNameNS()`, `getElementsByClassName()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Uses proxy for `NodeList`, `HTMLCollection`, `DOMTokenList`, `TextTrackList`, `HTMLFormElement`, `HTMLSelectElement` - Makes `HTMLCollection` objects returned by `getElementsByClassName()`, `getElementsByTagName()`, `getElementsByTagNameNS()` and `getElementsByClassName()` live - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Improves support for `HTMLMediaElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - It now supports all methods and properties of the `HTMLMediaElement` interface - Adds support for `MediaStream`, `MediaStreamTrack`, `RemotePlayback`, `TextTrack`, `TextTrackCue`, `TextTrackCueList`, `TextTrackList`, `VTTCue`, `VTTRegion`, `CanvasCaptureMediaStream`, `ImageBitmap`, `OffscreenCanvas` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds basic support for `IntersectionObserver` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Uses Array for nodes and elements in the DOM-tree to leverage the JiT compiler better - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLInputElement.list` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Improves support for `ShadowRoot` (it now supports `clonable`, `serializable` and `slotAssignment`) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Adds support for `Element.getHTML()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Improves performance for some pseudo query selectors - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Improves support for `HTMLSlotElement` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - It now supports `assign()`, `assignedNodes()`, `assignedElements()` and the `slotchange` event ##### :construction\_worker\_man: Patch fixes - Attributes and text data wasn't escaped correctly in `XMLSerializer` (used by features such as `innerHTML`) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1265](https://github.com/capricorn86/happy-dom/issues/1265) - `waitForNavigation()` would not resolve when navigating to some URLs (e.g. "javascript" or "about:blank") - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - CSS rules for gradients where not parsed correctly - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Updates to CSSStyleDeclaration would not trigger listeners for the "style" attribute - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Attributes where added to elements after they were added to the DOM during parsing, causing problems for elements loading resources - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - `Attr.cloneNode()` would not clone internal values - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - `Document.title` included text data inside child elements, which it shouldn't - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - `Event.preventDefault()` shouldn't cancel the default behaviour if cancelable is not sent as an option in `EventTarget.dispatchEvent()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Source attributes containing URLs would not be resolved correctly in some elements - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - Changes name on `TimeRange` to `TimeRanges` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) - `Window.parent` and `Window.top` would not be set correctly in some scenarios - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1332](https://github.com/capricorn86/happy-dom/issues/1332) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40OS45IiwidXBkYXRlZEluVmVyIjoiNDEuOTMuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Update dependency @happy-dom/global-registrator to v18
Some checks failed
renovate/artifacts Artifact file update failure
b881a8b042
Author
Owner

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: web-extension/bun.lockb
No tool releases found.
### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: web-extension/bun.lockb ``` No tool releases found. ```
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/happy-dom-global-registrator-18.x:renovate/happy-dom-global-registrator-18.x
git switch renovate/happy-dom-global-registrator-18.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/happy-dom-global-registrator-18.x
git switch renovate/happy-dom-global-registrator-18.x
git rebase master
git switch master
git merge --ff-only renovate/happy-dom-global-registrator-18.x
git switch renovate/happy-dom-global-registrator-18.x
git rebase master
git switch master
git merge --no-ff renovate/happy-dom-global-registrator-18.x
git switch master
git merge --squash renovate/happy-dom-global-registrator-18.x
git switch master
git merge --ff-only renovate/happy-dom-global-registrator-18.x
git switch master
git merge renovate/happy-dom-global-registrator-18.x
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pv/sloan#94
No description provided.