Skip to content

Releases: capricorn86/happy-dom

v16.2.5

31 Dec 00:33
675e306
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes bug where the reference to a parent HTMLFormElement and HTMLSelectElement was wrong which affected the methods remove(), replaceWith(), before(), after(), append(), prepend(), replaceChildren() and insertAdjacentElement() - By @capricorn86 in task #1637

v16.2.4

30 Dec 23:44
758e9ff
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes bug where the incorrect location is set after a redirect in BrowserFrame.goto() and DetachedBrowserFrame.goto() - By @capricorn86 in task #1627

v16.2.3

30 Dec 23:14
f41ad67
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes the implementation for the HTMLTableCellElement.headers property - By @capricorn86 in task #1634

v16.2.2

30 Dec 22:58
b7f0b8f
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Improves error when a Symbol object is being sent to querySelector() or querySelectorAll() as selector - By @chocolateboy in task #1640

v16.2.1

30 Dec 22:49
f7b6ac6
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Set request credentials to "same-origin" in XMLHttpRequest when "withCredentials" is false - By @saitonakamura in task #1631

v16.2.0

30 Dec 19:46
5629a74
Compare
Choose a tag to compare

🎨 Features

  • Adds support for Window.scrollBy() and Element.scrollBy() - By @OlaviSau in task #1623

v16.1.0

30 Dec 13:45
c738c4e
Compare
Choose a tag to compare

🎨 Features

  • Add support for using whitespace-separated list to getElementsByClassName() - By @kylehalleman in task #1551

v16.0.1

27 Dec 12:48
2df1cc4
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes problem with children of created documents (e.g. document.implementation.createHTMLDocument()) not being considered as connected to a DOM that was introduced in v16 - By @capricorn86 in task #1647

v16.0.0

27 Dec 01:45
d58fc61
Compare
Choose a tag to compare

💣 Breaking Changes

  • Refactors XML and HTML parsing and serialization - By @capricorn86 in task #1615
    • This change may break your tests as the serialized output may differ from v15

🎨 Features

  • Adds support for parsing XML in DOMParser - By @capricorn86 in task #284
  • Improved performance in document.write() - By @capricorn86 in task #1615
    • Elements are now added directly to the document during parsing

👷‍♂️ Patch fixes

  • Fix for handling <html>, <head> and <body> during parsing - By @capricorn86 in task #1615
  • Fix for handling HTML entities correctly when parsing and serializing - By @capricorn86 in task #1494 and #1498
  • Fix for handling attribute names containing "[" or "]" during parsing - By @capricorn86 in task #1638
  • Fix for handling comments containing HTML tags - By @capricorn86 in task #1630
  • Fix for handling namespaces in XMLSerializer - By @capricorn86 in task #1615
  • Handles rules for parsing table elements - By @capricorn86 in task #1126
  • Loads scripts asynchronously when "defer" is set or "type" is "module" - By @capricorn86 in task #1615

v15.11.7

28 Nov 00:13
d3566f4
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Allow for an URL to be a string or an URL object in History.pushState() and History.replaceState() - By @sohailalam2 in task #1621