github capricorn86/happy-dom v17.0.0

13 hours ago

💣 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 unended 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

Don't miss a new happy-dom release

NewReleases is sending notifications on new releases.