Releases: capricorn86/happy-dom
Releases · capricorn86/happy-dom
v16.0.1
👷♂️ 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
💣 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
👷♂️ Patch fixes
- Allow for an URL to be a string or an URL object in
History.pushState()
andHistory.replaceState()
- By @sohailalam2 in task #1621
v15.11.6
v15.11.5
👷♂️ Patch fixes
HTMLSelectElement
should not dispatch "change" event when changing value or index - By @capricorn86 in task #1603
v15.11.4
👷♂️ Patch fixes
- Strings should be converted into numbers in setters for
HTMLMeterElement
andHTMLProgressElement
- By @capricorn86 in task #1601
v15.11.3
👷♂️ Patch fixes
- Consider null as empty string in the setter for
HTMLInputElement.value
- By @capricorn86 in task #1604
v15.11.2
👷♂️ 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
👷♂️ Patch fixes
- Fixes bug where
Document.activeElement
is set to the wrong target when triggeringHTMLSelectElement.focus()
- By @capricorn86 in task #1592HTMLSelectElement
is aProxy
since v15 andfocus()
was setting the target of theProxy
as the active element, but should set theProxy
v15.11.0
🎨 Features
- Adds support for the
:disabled
pseudo-class in CSS and query selectors - By @capricorn86 in task #1159