Skip to content

Releases: capricorn86/happy-dom

v15.9.0

05 Nov 01:01
a78cd8f
Compare
Choose a tag to compare

🎨 Features

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

v15.8.5

04 Nov 23:43
e6f8b13
Compare
Choose a tag to compare

👷‍♂️ 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

04 Nov 21:39
38ab960
Compare
Choose a tag to compare

👷‍♂️ 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

04 Nov 00:07
8f74989
Compare
Choose a tag to compare

👷‍♂️ 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

03 Nov 21:12
7f57469
Compare
Choose a tag to compare

👷‍♂️ 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

03 Nov 21:04
759b4fb
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Always return Promise<Blob> from ClipboardItem.getType() - By @ezzatron in task #1538

v15.8.0

01 Nov 16:43
33a72ca
Compare
Choose a tag to compare

👷‍♂️ 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

11 Sep 18:19
afd256b
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes incorrect handling of non-node items inserted using replaceWith(), before() and after() - By @BenjaminAster in task #1533

v15.7.3

01 Sep 16:49
afc3692
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes bug that occurs when checking if a symbol property exists on HTMLSelectElement - By @Cherry in task #1526

v15.7.2

31 Aug 13:52
20b520a
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes problem where it is not possible to observe again after disconnecting in MutationObserver - By @capricorn86 in task #1524