What changed in jsdom from 29 to 30

2 releases numbered after v29.1.1 up to and including v30.0.1, stable releases only. v29.1.1 and v30.0.1 are the newest stable releases of 29 and 30 we track; this page follows them as new ones ship.

8 changes across 2 releases

Added 2

v30.0.0

  • Add CSS.escape() and CSS.supports() functions
  • Add 'background-position-x' and 'background-position-y' CSS properties
Changed 1

v30.0.1

  • Sped up range operations on large documents
Fixed 4

v30.0.1

  • getComputedStyle() with calc() and other functions throwing an exception, which regressed in v30.0.0

v30.0.0

  • Fix getComputedStyle() to convert length values into pixels
  • Fix CSS function serialization in the return value of getPropertyValue()
  • Fix the type of error thrown by document.evaluate()
Removed 1

v30.0.0

  • Raise Node.js minimum version to ^22.22.2 || ^24.15.0 || >=26.0.0

Original release notes, newest first

The list above is our reading of these notes; the originals from jsdom are here, one fold per release.

v30.0.1
  • Fixed getComputedStyle() with calc() and other functions throwing an exception, which regressed in v30.0.0. (@asamuzaK)
  • Sped up up range operations on large documents (@leonidaz)

View originalPermalink

v30.0.0

Breaking changes:

  • Node.js minimum version raised to ^22.22.2 || ^24.15.0 || >=26.0.0.

Other changes:

  • Added CSS.escape() and CSS.supports() functions. (@asamuzaK)
  • Added 'background-position-x' and 'background-position-y' CSS properties. (@olagokemills)
  • Fixed getComputedStyle() to convert length values into pixels. (@asamuzaK)
  • Fixed CSS function serialization, e.g., in the return value of getPropertyValue(). (@asamuzaK)
  • Fixed the type of error thrown by document.evaluate() (@dokson)

View originalPermalink