jsdom v11.3.0 Release Notes

  • ๐Ÿš€ For this release we'd like to formally welcome @TimothyGu to the core team, as a prolific contributor. He will join the illustrious ranks of those who do so much work on jsdom that we no longer note their names in the changelog.

    • โž• Added table.tHead, table.tFoot, and table.caption setters, and the table.createTBody() method.
    • โž• Added CompositionEvent and WheelEvent classes.
    • โž• Added a <details> element implementation. (Zirro)
    • โž• Added stub <marquee> and <picture> element implementations. (Zirro)
    • โšก๏ธ Updated uiEvent.initUIEvent(), keyboardEvent.initKeyboardEvent(), and mouseEvent.initiMouseEvent() to match the latest specifications.
    • Converted DOMTokenList (used by, e.g., element.classList) to use proxies for improved specification compliance and "liveness".
    • ๐Ÿ›  Fixed the DOMException class to be spec-compliant, including its constructor signature.
    • ๐Ÿ›  Fixed some subtle interactions between inline event handlers and other event listeners.
    • ๐Ÿ›  Fixed the element interface used when creating many of the more obscure elements.
    • ๐Ÿ›  Fixed the behavior of the table.rows getter, and the table.createCaption() and table.deleteRow() methods.
    • ๐Ÿ›  Fixed incorrect sharing of methods between interfaces that used mixins (e.g. previously document.querySelector === documentFragment.querySelector, incorrectly).
    • ๐Ÿ›  Fixed FocusEvent creation, which regressed in v11.2.0.
    • ๐Ÿ›  Fixed UIEvent to only allow initializing with Window objects for its view property.
    • ๐Ÿ›  Fixed the behavior of tr.rowIndex and tr.deleteCall().
    • ๐Ÿ›  Fixed the element interface for <td> and <th> to be simply HTMLTableCellElement, and improved that class's spec compliance.
    • ๐Ÿ›  Fixed calling label.click() to not trigger the labeled control's activation behavior when the control is disabled. (schreifels)
    • ๐Ÿ›  Fixed document.getElementsByName() to return a NodeList instead of a HTMLCollection. (Zirro)
    • ๐Ÿ”€ Significantly sped up synchronous XMLHttpRequest. (Zirro)