Skip to content

Releases: capricorn86/happy-dom

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

v15.11.6

14 Nov 00:54
7914b54
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Adds support for window.TextEncoder and window.TextDecoder - By @iradonov in task #1611

v15.11.5

14 Nov 00:49
78d8914
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • HTMLSelectElement should not dispatch "change" event when changing value or index - By @capricorn86 in task #1603

v15.11.4

13 Nov 01:09
b35bcd6
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Strings should be converted into numbers in setters for HTMLMeterElement and HTMLProgressElement - By @capricorn86 in task #1601

v15.11.3

12 Nov 15:25
9f8f084
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Consider null as empty string in the setter for HTMLInputElement.value - By @capricorn86 in task #1604

v15.11.2

12 Nov 01:03
dc06801
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes bug where pseudo selectors without an ending parentheses threw an in invalid selector error - By @capricorn86 in task #1558
  • Fixes bug where it was not possible to use the characters ":" and "\" in attribute selectors - By @capricorn86 in task #1561

v15.11.1

11 Nov 20:35
e038cf9
Compare
Choose a tag to compare

👷‍♂️ Patch fixes

  • Fixes bug where Document.activeElement is set to the wrong target when triggering HTMLSelectElement.focus() - By @capricorn86 in task #1592
    • HTMLSelectElement is a Proxy since v15 and focus() was setting the target of the Proxy as the active element, but should set the Proxy

v15.11.0

07 Nov 00:23
3a79654
Compare
Choose a tag to compare

🎨 Features

  • Adds support for the :disabled pseudo-class in CSS and query selectors - By @capricorn86 in task #1159