All Versions
224
Latest Version
Avg Release Cycle
36 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v20.0.2 Changes
- ๐ Fixed
xhr.abort()
to no longer give an exception when the constructedXMLHttpRequest
was invalid. (whamtet) - ๐ Fixed
event.getModifierState()
onMouseEvent
andKeyboardEvent
instances to properly consult thectrlKey
,altKey
,metaKey
, andshiftKey
properties of the event. (juzerzarif) - ๐ Fixed custom element creation to not be affected by any modifications to the
window.customElements
property. (bicknellr)
- ๐ Fixed
-
v20.0.1 Changes
- ๐ Improved the performance of appending
<option>
elements to<select>
elements. (TheHound) - ๐ Fixed
location.pathname
getter to not crash when theJSDOM
instance was created using an opaque-path URL, including the default URL ofabout:blank
. - ๐ Fixed
crypto.getRandomValues()
to accept typed array subclasses. (sebamarynissen) - โก๏ธ Updated various dependency minor versions. Notably,
nwsapi
fixed some selectors bugs, andtough-cookie
fixed some cookie bugs.
- ๐ Improved the performance of appending
-
v20.0.0 Changes
- ๐ Node.js v14 is now the minimum supported version
- โ Added
crypto.getRandomValues()
. (sjrd) - โ Added
HTMLFormControlsCollection
andRadioNodeList
, soformEl.elements
now behaves correctly. (UndefinedBehavior) - โ Added the
signal
option toaddEventListener()
. (cheap-glitch) - ๐ Fixed the
:root
pseudoclass to work correctly. (hughs-ch) - โก๏ธ Updated
parse5
, bringing along some HTML parsing and serialization fixes. (fb55)
-
v19.0.0 Changes
- ๐ Changed
jsdom.nodeLocation()
to returnundefined
when used on nodes that originate via fragment parsing (e.g., viainnerHTML
). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot) - ๐ Fixed calling
window.close()
inside theWindow
'sload
event to no longer crash. (MattiasBuelens)
- ๐ Changed
-
v18.1.1 Changes
- ๐ Fixed
connectedCallback
to fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)
- ๐ Fixed
-
v18.1.0 Changes
- ๐ Fixed
headers.append()
andheaders.set()
to normalize values. (MattiasBuelens) - ๐ Fixed
pageshow
events to havebubbles: true
andcancelable: true
. (MattiasBuelens) - ๐ฆ Implemented the
reason
property onAbortSignal
s, along with the correspondingreason
argument toabortSignal.abort()
andAbortSignal.abort()
. (MattiasBuelens)
- ๐ Fixed
-
v18.0.1 Changes
- ๐ Fixed live
Range
s to update correctly after callingnode.normalize()
. (hgiesel) - ๐ Fixed live
Range
s to update correctly after removing child nodes. (hgiesel) - ๐ Fixed setting
inputEl.valueAsDate = null
to no longer throw an exception, but instead set the value to the empty string. (simon-weimann) - ๐ Improved performance of node insertion and
node.contains()
. (GrantGryczan)
- ๐ Fixed live
-
v18.0.0 Changes
๐ Potentially-breaking bug fixes:
- ๐ Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the
ResourceLoader
'sstrictSSL
option (which defaults totrue
). - ๐ Changed the global in which almost all
Promise
andTypeError
instances are created to be the jsdom global, not the Node.js global. This could affect any code that usesinstanceof
.
Other changes:
- ๐ Fixed moving an element between HTML and XML documents to reset the
tagName
cache, allowing it to return a lowercase value once it's in the XML document. (LucasLefevre) - ๐ Fixed form submission to not happen when the form is invalid. (pozil)
- ๐ Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the
-
v17.0.0 Changes
๐ฅ Breaking change: Node v12 is now the minimum supported version.
-
v16.7.0 Changes
- โ Added
AbortSignal.abort()
. (ninevra) - โ Added dummy
x
andy
properties to the return value ofgetBoundingClientRect()
. (eiko) - Implemented wrapping for
textareaEl.value
if thewrap=""
attribute is specified. (ninevra) - โก๏ธ Changed newline normalization in
<textarea>
s according to recent HTML Standard updates. (ninevra) - ๐ Fixed some bad cascade computation in
getComputedStyle()
. (romain-trotard)
- โ Added