Update dependency @happy-dom/global-registrator to v15 #8

Merged
bizcochito merged 1 commits from renovate/happy-dom-global-registrator-15.x into main 2024-12-01 13:03:48 +00:00
Owner

This PR contains the following updates:

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

Release Notes

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

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

v14.12.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug related to Node.insertBefore() handling the scenario where the reference node equals the new node to be added incorrectly - By @​juandiegombr in task #​1429

v14.12.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem related to the cookie container using the wrong path when caching cookies - By @​matcic in task #​1455

v14.12.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem related to React click handler with preventDefault not preventing navigation - By @​amitdahan in task #​1464

v14.12.0

Compare Source

🎨 Features
  • Makes it possible to configure timer settings to improve performance - By @​capricorn86 in task #​1451
    • Read more about the new settings in the Wiki
  • Groups timers with a delay of 0 into one timer to improve performance and make waitUntilComplete() less likely to resolve too early - By @​capricorn86 in task #​1451

v14.11.4

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where waitUntilComplete() was resolved too early when many micro tasks are used - By @​capricorn86 in task #​1447
    • The patch in v14.11.3 didn't completely resolve the issue

v14.11.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where waitUntilComplete() was resolved too early when many micro tasks are used - By @​capricorn86 in task #​1447

v14.11.2

Compare Source

👷‍♂️ Patch fixes
  • Adds fix to update CSS rules in HTMLStyleElement sheet when editing the data of a child Text node - By @​capricorn86 in task #​1445

v14.11.1

Compare Source

👷‍♂️ Patch fixes
  • Adds a temporary fix where waitUntilComplete() will hook into promises returned by connectedCallback() until Happy DOM has support for waiting for dynamic imports - By @​capricorn86 in task #​1442
    • It is common do make dynamic imports in connectedCallback() of web components. As Happy DOM doesn't have support for dynamic imports in waitUntilComplete(), a temporary fix has been added to hook into promises returned by connectedCallback().

v14.11.0

Compare Source

🎨 Features

v14.10.3

Compare Source

👷‍♂️ Patch fixes
  • Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By @​capricorn86 in task #​1436

v14.10.2

Compare Source

👷‍♂️ Patch fixes
  • HTMLAnchorElement, HTMLButtonElement, HTMLInputElement and HTMLLabelElement checked that click events triggering native behavior was of type PointerEvent, but should check that they are of type MouseEvent - By @​capricorn86 in task #​1397

v14.10.1

Compare Source

👷‍♂️ Patch fixes
  • Makes descriptor for properties "configurable" to make Storage.entries(), Storage.keys() and Storage.values() work according to spec - By @​motss in task #​1418

v14.10.0

Compare Source

🎨 Features
  • Adds support for Document.elementFromPoint() - By @​TreyVigus in task #​1400
    • The method will always return null as Happy DOM doesn't support rendering and can't calculate an element's position based on where it is rendered

v14.9.0

Compare Source

🎨 Features
  • Adds support for Document.queryCommandSupported() - By @​btea in task #​1411

v14.8.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes issue related to Element.insertBefore() not removing comment node from previous ancestor - By @​mdafanasev in task #​1406

v14.8.2

Compare Source

👷‍♂️ Patch fixes
  • Changes implementation to return HTMLCollection instead of NodeList in Document.forms - By @​jean-leonco in task #​1349

v14.8.1

Compare Source

👷‍♂️ Patch fixes

v14.8.0

Compare Source

🎨 Features

v14.7.1

Compare Source

👷‍♂️ Patch fixes
  • Adds support for using Node.prototype.cloneNode.call(element), Node.prototype.appendChild.call(element), Node.prototype.removeChild.call(element), Node.prototype.insertBefore.call(element) and Node.prototype.replaceChild.call(element), which Svelte v5 relies on - By @​capricorn86 in task #​1392

v14.7.0

Compare Source

🎨 Features
  • Adds support for constructing Text and Comment using the new operator - By @​capricorn86 in task #​1387
    • E.g. new Text('text') or new Comment('comment')

v14.6.2

Compare Source

👷‍♂️ Patch fixes

v14.6.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where Document.createTextNode() didn't handle conversion of non-string values to string - By @​odanado in task #​1380
  • Adds support for throwing an exception when no argument is submitted to Document.createTextNode() - By @​odanado in task #​1380

v14.6.0

Compare Source

🎨 Features

v14.5.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug related to custom property resolution chaining when using Window.getComputedStyle() - By @​odanado in task #​1363

v14.5.1

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with Document.defaultView not referring to the global object when using GlobalRegistrator - By @​capricorn86 in task #​1367
🎨 Features
  • Adds support for closing/destroying the Window in GlobalRegistrator.unregister() - By @​capricorn86 in task #​1367

v14.5.0

Compare Source

🎨 Features
  • Adds support for handling "application/x-www-form-urlencoded" in Request.formData() - By @​tt-public in #​1379

v14.4.0

Compare Source

🎨 Features
  • Adds support for HTMLIFrameElement.sandbox to return a DOMTokenList - By @​jeffwcx in task #​825

v14.3.10

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem related to CSS properties not being used in CSS values when they are declared after (e.g. when CSS properties are defined in Element attribute) - By @​capricorn86 in task #​1364
  • Update the CSSStyleSheet object when child nodes of an HTMLStyleElement are modified - By @​capricorn86 in task #​1364

v14.3.9

Compare Source

👷‍♂️ Patch fixes

v14.3.8

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem when the error for the invalid selectors :is and :where (without argument) was not handled correctly - By @​capricorn86 in task #​1352

v14.3.7

Compare Source

👷‍♂️ Patch fixes

v14.3.6

Compare Source

👷‍♂️ Patch fixes

v14.3.5

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where the tag name for custom elements constructed using the "new" keyword rendered as <null> - By @​capricorn86 in task #​1354

v14.3.4

Compare Source

👷‍♂️ Patch fixes

v14.3.3

Compare Source

👷‍♂️ Patch fixes
  • Fixes bug where calling Storage.getItem() with a key that has the same name as one of its methods or properties, returned the method/property (e.g. Storage.getItem('key') returned Storage.key() which is a function) - By @​capricorn86 in task #​1351
    • The solution has been changed to use a Proxy instead to safeguard against this

v14.3.2

Compare Source

👷‍♂️ Patch fixes
  • Converts the value parameter to string in Storage.setItem() - By @​dr2009 in task #​1347

v14.3.1

Compare Source

👷‍♂️ Patch fixes
  • Adds support for defining keys to the Storage class used by the properties Window.localStorage and Window.sessionStorage - By @​frankdiw in task #​1181

v14.3.0

Compare Source

🎨 Features

v14.2.1

Compare Source

👷‍♂️ Patch fixes
  • Binds getters and setters on all Window classes (not only GlobalWindow), so that they will be available when calling Object.getOwnPropertyDescriptors() - By @​capricorn86 in task #​1343
    • The reason for this change is that JSDOM and browsers has these properties as part of the Window instance and not the prototype
    • Happy DOM will now behave correctly when overriding a property on Window with spyOn(window, 'property') or Object.defineProperty(window, 'property')

v14.2.0

Compare Source

🎨 Features

v14.1.2

Compare Source

👷‍♂️ Patch fixes
  • Fixes problem with properties defined as getters and setters not being registered globally by Vitest - By @​capricorn86 in task #​1339
    • The problem occurred as Vitest is using Object.getOwnPropertyDescriptors(window) to read which properties to register globally, but getters and setters are defined on the prototype
    • To solve the problem, GlobalWindow now defines the properties on the instance when it is constructed

v14.1.1

Compare Source

👷‍♂️ Patch fixes
  • Changes location, history, navigator, screen, sessionStorage and localStorage to be getters instead of properties on Window - By @​capricorn86 in task #​1336
  • Adds setter for Window.location - By @​capricorn86 in task #​1336

v14.1.0

Compare Source

🎨 Features
  • Adds support for the setting handleDisabledFileLoadingAsSuccess, that can be used for triggering a "load" event instead of an "error" event when file loading is disabled - By @​capricorn86 in task #​1334

v14.0.0

Compare Source

💣 Breaking Changes
  • Removes unnecessary interfaces implemented by Window, Node and Element classes and by classes with a dependency to them - By @​capricorn86 in task #​1330
    • Interfaces was used to solve problems with circular dependencies (e.g. Window => Document => Window)
    • Newer versions of Typescript has solved this problem
    • This release is only breaking if you are using the interfaces. Then you can import and use the class as type instead (e.g. use HTMLElement instead of IHTMLElement)

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 | [`^13.6.2` -> `^15.0.0`](https://renovatebot.com/diffs/npm/@happy-dom%2fglobal-registrator/13.10.1/15.11.7) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (@&#8203;happy-dom/global-registrator)</summary> ### [`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) ### [`v14.12.3`](https://github.com/capricorn86/happy-dom/releases/tag/v14.12.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.12.2...v14.12.3) ##### :construction_worker_man: Patch fixes - Fixes bug related to `Node.insertBefore()` handling the scenario where the reference node equals the new node to be added incorrectly - By **[@&#8203;juandiegombr](https://github.com/juandiegombr)** in task [#&#8203;1429](https://github.com/capricorn86/happy-dom/issues/1429) ### [`v14.12.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.12.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.12.1...v14.12.2) ##### :construction_worker_man: Patch fixes - Fixes problem related to the cookie container using the wrong path when caching cookies - By **[@&#8203;matcic](https://github.com/matcic)** in task [#&#8203;1455](https://github.com/capricorn86/happy-dom/issues/1455) ### [`v14.12.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.12.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.12.0...v14.12.1) ##### :construction_worker_man: Patch fixes - Fixes problem related to React click handler with `preventDefault` not preventing navigation - By **[@&#8203;amitdahan](https://github.com/amitdahan)** in task [#&#8203;1464](https://github.com/capricorn86/happy-dom/issues/1464) ### [`v14.12.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.12.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.11.4...v14.12.0) ##### :art: Features - Makes it possible to configure timer settings to improve performance - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1451](https://github.com/capricorn86/happy-dom/issues/1451) - Read more about the new settings in the [Wiki](https://github.com/capricorn86/happy-dom/wiki/IBrowserSettings) - Groups timers with a delay of 0 into one timer to improve performance and make `waitUntilComplete()` less likely to resolve too early - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1451](https://github.com/capricorn86/happy-dom/issues/1451) ### [`v14.11.4`](https://github.com/capricorn86/happy-dom/releases/tag/v14.11.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.11.3...v14.11.4) ##### :construction_worker_man: Patch fixes - Fixes bug where `waitUntilComplete()` was resolved too early when many micro tasks are used - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1447](https://github.com/capricorn86/happy-dom/issues/1447) - The patch in v14.11.3 didn't completely resolve the issue ### [`v14.11.3`](https://github.com/capricorn86/happy-dom/releases/tag/v14.11.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.11.2...v14.11.3) ##### :construction_worker_man: Patch fixes - Fixes bug where `waitUntilComplete()` was resolved too early when many micro tasks are used - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1447](https://github.com/capricorn86/happy-dom/issues/1447) ### [`v14.11.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.11.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.11.1...v14.11.2) ##### :construction_worker_man: Patch fixes - Adds fix to update CSS rules in `HTMLStyleElement` sheet when editing the data of a child `Text` node - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1445](https://github.com/capricorn86/happy-dom/issues/1445) ### [`v14.11.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.11.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.11.0...v14.11.1) ##### :construction_worker_man: Patch fixes - Adds a temporary fix where `waitUntilComplete()` will hook into promises returned by `connectedCallback()` until Happy DOM has support for waiting for dynamic imports - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1442](https://github.com/capricorn86/happy-dom/issues/1442) - It is common do make dynamic imports in `connectedCallback()` of web components. As Happy DOM doesn't have support for dynamic imports in `waitUntilComplete()`, a temporary fix has been added to hook into promises returned by `connectedCallback()`. ### [`v14.11.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.11.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.3...v14.11.0) ##### :art: Features - Adds support for `HTMLTimeElement` - By **[@&#8203;r-thomson](https://github.com/r-thomson)** in task [#&#8203;1431](https://github.com/capricorn86/happy-dom/issues/1431) ### [`v14.10.3`](https://github.com/capricorn86/happy-dom/releases/tag/v14.10.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.2...v14.10.3) ##### :construction_worker_man: Patch fixes - Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1436](https://github.com/capricorn86/happy-dom/issues/1436) ### [`v14.10.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.10.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.1...v14.10.2) ##### :construction_worker_man: Patch fixes - `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLInputElement` and `HTMLLabelElement` checked that click events triggering native behavior was of type `PointerEvent`, but should check that they are of type `MouseEvent` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1397](https://github.com/capricorn86/happy-dom/issues/1397) ### [`v14.10.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.10.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.0...v14.10.1) ##### :construction_worker_man: Patch fixes - Makes descriptor for properties "configurable" to make `Storage.entries()`, `Storage.keys()` and `Storage.values()` work according to spec - By **[@&#8203;motss](https://github.com/motss)** in task [#&#8203;1418](https://github.com/capricorn86/happy-dom/issues/1418) ### [`v14.10.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.10.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.9.0...v14.10.0) ##### :art: Features - Adds support for `Document.elementFromPoint()` - By **[@&#8203;TreyVigus](https://github.com/TreyVigus)** in task [#&#8203;1400](https://github.com/capricorn86/happy-dom/issues/1400) - The method will always return `null` as Happy DOM doesn't support rendering and can't calculate an element's position based on where it is rendered ### [`v14.9.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.9.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.3...v14.9.0) ##### :art: Features - Adds support for `Document.queryCommandSupported()` - By **[@&#8203;btea](https://github.com/btea)** in task [#&#8203;1411](https://github.com/capricorn86/happy-dom/issues/1411) ### [`v14.8.3`](https://github.com/capricorn86/happy-dom/releases/tag/v14.8.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.2...v14.8.3) ##### :construction_worker_man: Patch fixes - Fixes issue related to `Element.insertBefore()` not removing comment node from previous ancestor - By **[@&#8203;mdafanasev](https://github.com/mdafanasev)** in task [#&#8203;1406](https://github.com/capricorn86/happy-dom/issues/1406) ### [`v14.8.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.8.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.1...v14.8.2) ##### :construction_worker_man: Patch fixes - Changes implementation to return `HTMLCollection` instead of `NodeList` in `Document.forms` - By **[@&#8203;jean-leonco](https://github.com/jean-leonco)** in task [#&#8203;1349](https://github.com/capricorn86/happy-dom/issues/1349) ### [`v14.8.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.8.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.0...v14.8.1) ##### :construction_worker_man: Patch fixes - Improves support of the `DOMRect` interface - By **[@&#8203;domakas](https://github.com/domakas)** in task [#&#8203;1161](https://github.com/capricorn86/happy-dom/issues/1161) - Adds support for the `DOMReactReadOnly` interface - By **[@&#8203;domakas](https://github.com/domakas)** in task [#&#8203;1161](https://github.com/capricorn86/happy-dom/issues/1161) ### [`v14.8.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.8.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.7.1...v14.8.0) ##### :art: Features - Adds support for the `HTMLIFrameElement.srcdoc` property - By **[@&#8203;jeffwcx](https://github.com/jeffwcx)** in task [#&#8203;1398](https://github.com/capricorn86/happy-dom/issues/1398) ### [`v14.7.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.7.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.7.0...v14.7.1) ##### :construction_worker_man: Patch fixes - Adds support for using `Node.prototype.cloneNode.call(element)`, `Node.prototype.appendChild.call(element)`, `Node.prototype.removeChild.call(element)`, `Node.prototype.insertBefore.call(element)` and `Node.prototype.replaceChild.call(element)`, which Svelte v5 relies on - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1392](https://github.com/capricorn86/happy-dom/issues/1392) ### [`v14.7.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.7.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.6.2...v14.7.0) ##### :art: Features - Adds support for constructing `Text` and `Comment` using the new operator - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1387](https://github.com/capricorn86/happy-dom/issues/1387) - E.g. `new Text('text')` or `new Comment('comment')` ### [`v14.6.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.6.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.6.1...v14.6.2) ##### :construction_worker_man: Patch fixes - Makes it possible to spy on `Storage.prototype` methods - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1377](https://github.com/capricorn86/happy-dom/issues/1377) - Read more about this in the Wiki under [Use as Test Environment](https://github.com/capricorn86/happy-dom/wiki/Setup-as-Test-Environment#storage) ### [`v14.6.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.6.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.6.0...v14.6.1) ##### :construction_worker_man: Patch fixes - Fixes bug where `Document.createTextNode()` didn't handle conversion of non-string values to string - By **[@&#8203;odanado](https://github.com/odanado)** in task [#&#8203;1380](https://github.com/capricorn86/happy-dom/issues/1380) - Adds support for throwing an exception when no argument is submitted to `Document.createTextNode()` - By **[@&#8203;odanado](https://github.com/odanado)** in task [#&#8203;1380](https://github.com/capricorn86/happy-dom/issues/1380) ### [`v14.6.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.6.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.5.2...v14.6.0) ##### :art: Features - Adds support for the `HTMLElement.inert` property - By **[@&#8203;odanado](https://github.com/odanado)** in task [#&#8203;1124](https://github.com/capricorn86/happy-dom/issues/1124) ### [`v14.5.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.5.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.5.1...v14.5.2) ##### :construction_worker_man: Patch fixes - Fixes bug related to custom property resolution chaining when using `Window.getComputedStyle()` - By **[@&#8203;odanado](https://github.com/odanado)** in task [#&#8203;1363](https://github.com/capricorn86/happy-dom/issues/1363) ### [`v14.5.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.5.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.5.0...v14.5.1) ##### :construction_worker_man: Patch fixes - Fixes problem with `Document.defaultView` not referring to the global object when using `GlobalRegistrator` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1367](https://github.com/capricorn86/happy-dom/issues/1367) ##### :art: Features - Adds support for closing/destroying the Window in `GlobalRegistrator.unregister()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1367](https://github.com/capricorn86/happy-dom/issues/1367) ### [`v14.5.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.5.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.4.0...v14.5.0) ##### :art: Features - Adds support for handling "application/x-www-form-urlencoded" in `Request.formData()` - By [@&#8203;tt-public](https://github.com/tt-public) in [#&#8203;1379](https://github.com/capricorn86/happy-dom/issues/1379) ### [`v14.4.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.4.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.10...v14.4.0) ##### :art: Features - Adds support for `HTMLIFrameElement.sandbox` to return a `DOMTokenList` - By [@&#8203;jeffwcx](https://github.com/jeffwcx) in task [#&#8203;825](https://github.com/capricorn86/happy-dom/issues/825) ### [`v14.3.10`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.10) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.9...v14.3.10) ##### :construction_worker_man: Patch fixes - Fixes problem related to CSS properties not being used in CSS values when they are declared after (e.g. when CSS properties are defined in Element attribute) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1364](https://github.com/capricorn86/happy-dom/issues/1364) - Update the `CSSStyleSheet` object when child nodes of an `HTMLStyleElement` are modified - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1364](https://github.com/capricorn86/happy-dom/issues/1364) ### [`v14.3.9`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.9) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.8...v14.3.9) ##### :construction_worker_man: Patch fixes - Fixes problem with spying on properties in Storage - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1368](https://github.com/capricorn86/happy-dom/issues/1368) ### [`v14.3.8`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.8) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.7...v14.3.8) ##### :construction_worker_man: Patch fixes - Fixes problem when the error for the invalid selectors `:is` and :`where` (without argument) was not handled correctly - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1352](https://github.com/capricorn86/happy-dom/issues/1352) ### [`v14.3.7`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.7) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.6...v14.3.7) ##### :construction_worker_man: Patch fixes - Makes `DOMTokenList` iterable - By [@&#8203;silverwind](https://github.com/silverwind) in task [#&#8203;1342](https://github.com/capricorn86/happy-dom/issues/1342) ### [`v14.3.6`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.6) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.5...v14.3.6) ##### :construction_worker_man: Patch fixes - Adds support for parsing the shorthand comment `<!>` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1288](https://github.com/capricorn86/happy-dom/issues/1288) ### [`v14.3.5`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.5) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.4...v14.3.5) ##### :construction_worker_man: Patch fixes - Fixes bug where the tag name for custom elements constructed using the "new" keyword rendered as `<null>` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1354](https://github.com/capricorn86/happy-dom/issues/1354) ### [`v14.3.4`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.4) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.3...v14.3.4) ##### :construction_worker_man: Patch fixes - Ignores invalid selectors when parsing CSS in `Window.getComputedStyle()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1352](https://github.com/capricorn86/happy-dom/issues/1352) ### [`v14.3.3`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.2...v14.3.3) ##### :construction_worker_man: Patch fixes - Fixes bug where calling `Storage.getItem()` with a key that has the same name as one of its methods or properties, returned the method/property (e.g. `Storage.getItem('key')` returned `Storage.key()` which is a function) - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1351](https://github.com/capricorn86/happy-dom/issues/1351) - The solution has been changed to use a `Proxy` instead to safeguard against this ### [`v14.3.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.1...v14.3.2) ##### :construction_worker_man: Patch fixes - Converts the value parameter to string in `Storage.setItem()` - By **[@&#8203;dr2009](https://github.com/dr2009)** in task [#&#8203;1347](https://github.com/capricorn86/happy-dom/issues/1347) ### [`v14.3.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.3.0...v14.3.1) ##### :construction_worker_man: Patch fixes - Adds support for defining keys to the `Storage` class used by the properties `Window.localStorage` and `Window.sessionStorage` - By **[@&#8203;frankdiw](https://github.com/frankdiw)** in task [#&#8203;1181](https://github.com/capricorn86/happy-dom/issues/1181) ### [`v14.3.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.3.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.2.1...v14.3.0) ##### :art: Features - Adds support for `Select.selectedOptions` - By **[@&#8203;otaviosoares](https://github.com/otaviosoares)** in task [#&#8203;1282](https://github.com/capricorn86/happy-dom/issues/1282) ### [`v14.2.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.2.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.2.0...v14.2.1) ##### :construction_worker_man: Patch fixes - Binds getters and setters on all Window classes (not only `GlobalWindow`), so that they will be available when calling `Object.getOwnPropertyDescriptors()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1343](https://github.com/capricorn86/happy-dom/issues/1343) - The reason for this change is that JSDOM and browsers has these properties as part of the Window instance and not the prototype - Happy DOM will now behave correctly when overriding a property on Window with `spyOn(window, 'property')` or `Object.defineProperty(window, 'property')` ### [`v14.2.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.2.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.1.2...v14.2.0) ##### :art: Features - Adds support for the pseudo selectors `:is()` and `:where()` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1333](https://github.com/capricorn86/happy-dom/issues/1333) ### [`v14.1.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.1.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.1.1...v14.1.2) ##### :construction_worker_man: Patch fixes - Fixes problem with properties defined as getters and setters not being registered globally by Vitest - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1339](https://github.com/capricorn86/happy-dom/issues/1339) - The problem occurred as Vitest is using `Object.getOwnPropertyDescriptors(window)` to read which properties to register globally, but getters and setters are defined on the prototype - To solve the problem, `GlobalWindow` now defines the properties on the instance when it is constructed ### [`v14.1.1`](https://github.com/capricorn86/happy-dom/releases/tag/v14.1.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.1.0...v14.1.1) ##### :construction_worker_man: Patch fixes - Changes `location`, `history`, `navigator`, `screen`, `sessionStorage` and `localStorage` to be getters instead of properties on `Window` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1336](https://github.com/capricorn86/happy-dom/issues/1336) - Adds setter for `Window.location` - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1336](https://github.com/capricorn86/happy-dom/issues/1336) ### [`v14.1.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.1.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.0.0...v14.1.0) ##### :art: Features - Adds support for the setting `handleDisabledFileLoadingAsSuccess`, that can be used for triggering a "load" event instead of an "error" event when file loading is disabled - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1334](https://github.com/capricorn86/happy-dom/issues/1334) ### [`v14.0.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.0.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v13.10.1...v14.0.0) ##### :bomb: Breaking Changes - Removes unnecessary interfaces implemented by `Window`, `Node` and `Element` classes and by classes with a dependency to them - By **[@&#8203;capricorn86](https://github.com/capricorn86)** in task [#&#8203;1330](https://github.com/capricorn86/happy-dom/issues/1330) - Interfaces was used to solve problems with circular dependencies (e.g. `Window` => `Document` => `Window`) - Newer versions of Typescript has solved this problem - This release is only breaking if you are using the interfaces. Then you can import and use the class as type instead (e.g. use `HTMLElement` instead of `IHTMLElement`) </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:eyJjcmVhdGVkSW5WZXIiOiIzOS40MC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
bizcochito added 1 commit 2024-11-29 19:02:19 +00:00
renovate/artifacts Artifact file update failure
10f0bbc0f8
Update dependency @happy-dom/global-registrator to v15
bizcochito force-pushed renovate/happy-dom-global-registrator-15.x from 10f0bbc0f8 to 126afae5bb 2024-12-01 12:27:09 +00:00 Compare
bizcochito force-pushed renovate/happy-dom-global-registrator-15.x from 126afae5bb to 830a27e12c 2024-12-01 13:02:07 +00:00 Compare
bizcochito merged commit 1f6575c9c2 into main 2024-12-01 13:03:48 +00:00
bizcochito deleted branch renovate/happy-dom-global-registrator-15.x 2024-12-01 13:03:48 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
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: fedi-image-bot/bot-image-moderation-fe#8
No description provided.