Releases: capricorn86/happy-dom
Releases · capricorn86/happy-dom
v16.2.5
👷♂️ Patch fixes
- Fixes bug where the reference to a parent
HTMLFormElement
andHTMLSelectElement
was wrong which affected the methodsremove()
,replaceWith()
,before()
,after()
,append()
,prepend()
,replaceChildren()
andinsertAdjacentElement()
- By @capricorn86 in task #1637
v16.2.4
👷♂️ Patch fixes
- Fixes bug where the incorrect location is set after a redirect in
BrowserFrame.goto()
andDetachedBrowserFrame.goto()
- By @capricorn86 in task #1627
v16.2.3
👷♂️ Patch fixes
- Fixes the implementation for the
HTMLTableCellElement.headers
property - By @capricorn86 in task #1634
v16.2.2
👷♂️ Patch fixes
- Improves error when a Symbol object is being sent to
querySelector()
orquerySelectorAll()
as selector - By @chocolateboy in task #1640
v16.2.1
👷♂️ Patch fixes
- Set request credentials to "same-origin" in
XMLHttpRequest
when "withCredentials" is false - By @saitonakamura in task #1631
v16.2.0
v16.1.0
🎨 Features
- Add support for using whitespace-separated list to
getElementsByClassName()
- By @kylehalleman in task #1551
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