Breaking changes:
- Node.js v20+ is now the minimum supported version.
- The user agent stylesheet is now derived from the HTML Standard, instead of from Chromium. This might change the results you see from
getComputedStyle()
. - The virtual console has seen a number of changes:
"jsdomError"
events are now documented, with specifictype
properties and other properties that depend on the type.sendTo()
was renamed toforwardTo()
.- The
jsdomErrors
option tosendTo()
can be used to control which errors are sent to the Node.js console. This replaces the previousomitJSDOMErrors
boolean option. "jsdomError"
s for failedXMLHttpRequest
fetches are no longer emitted.- The values that are printed when forwarding
"jsdomError"
s to the Node.js console are streamlined.
Other changes:
- Fixed the
ElementInternals
accessibility getters and setters. (They were introduced in v23.1.0, but due to inadequate test coverage never actually worked.) - Fixed using
Object.defineProperty()
on certain objects, such asHTMLSelectElement
instances.