npm happy-dom 6.0.0
v6.0.0

latest releases: 15.10.0, 15.9.0, 15.8.5...
2 years ago

💣 Breaking Changes

  • Fixes issue related to the wrong owner document and window when using multiple Window instances. (#450)
    • As this changes the class constructor parameters for DOMImplementation and Selection when imported and used directly, it can potentially break some applications. This fix is therefore released as a major version.

🎨 Features

  • Adds support for Document.createRange(). (#450)
  • Adds full integration of Document.getSelection(). (#450)
  • Adds partial support for Element.getClientRects(). (#450)
  • Adds support for Text.splitText(). (#450)

👷‍♂️ Patch fixes

  • Adds support for <template> elements to XMLSerializer.serializeToString(). (#451)
  • Fixes issue with HTMLTemplateElement.outerHTML. (#451)

Don't miss a new happy-dom release

NewReleases is sending notifications on new releases.