yarn @happy-dom/jest-environment 6.0.0
v6.0.0

latest releases: 14.11.0, 14.10.3, 14.10.2...
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 jest-environment release

NewReleases is sending notifications on new releases.