jsdom v13.0.0 Release Notes

Release Date: 2018-10-29 // over 5 years ago
  • ๐Ÿ’ฅ Breaking change:

    • โœ‚ Removed support for v1.x of the canvas package, in favor of v2.x. This also removes support for canvas-prebuilt, since canvas v2.x has a built-in prebuilt version.

    Other changes:

    • โž• Added proper XML serialization, based on the w3c-xmlserializer package. Previously we were just using the HTML serialization, even in XML documents.
    • โž• Added the storageEvent.initStorageEvent() method.
    • โž• Added support for the passive option to addEventListener().
    • โž• Added the relList property to <a>, <area>, and <link> elements.
    • ๐Ÿ›  Fixed our implementation of the node tree modification constraints (for example the ensure pre-insertion validity algorithm). It is no longer possible to add, remove, or move nodes to create impossible DOM trees. (pmdartus)