What changed in DOM Testing Library from 9 to 10

8 releases numbered after v9.3.4 up to and including v10.4.1, stable releases only. v9.3.4 and v10.4.1 are the newest stable releases of 9 and 10 we track; this page follows them as new ones ship.

10 changes across 8 releases · 1 landed on more than one version

Added 3

v10.2.0

  • Support anonymous custom elements when pretty printing DOM

v10.1.0

  • Add window events pagehide and pageshow

v10.0.0

  • add support for Node.js 20.x
Changed 3

v10.4.1

  • Replace chalk with picocolors as a dependency

v10.4.0

  • Reduce caught exceptions in prettyDomalso inv10.3.0

v10.0.0

  • upgrade aria-query to 5.3.0
Fixed 3

v10.3.2

  • Safer read of DEBUG_PRINT_LIMIT

v10.3.1

  • Revert the reduction of caught exceptions in prettyDom

v10.0.0

  • use defineProperty on the error object instead of setting the message directly
Removed 1

v10.0.0

  • Drop support for Node.js 14.x and Node.js 16.x

Original release notes, newest first

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

v10.4.1
10.4.1 (2025-07-27)
Bug Fixes

View originalPermalink

v10.4.0

10.4.0 (2024-07-22)

Features
  • Reduce caught exceptions in prettyDom (reland) (#1323) (a86c54c)

View originalPermalink

v10.3.2
10.3.2 (2024-07-15)
Bug Fixes

View originalPermalink

v10.3.1
10.3.1 (2024-07-05)
Bug Fixes

View originalPermalink

v10.3.0

10.3.0 (2024-07-02)

Features

View originalPermalink

v10.2.0

10.2.0 (2024-06-24)

Features
  • Support anonymous custom elements when pretty printing DOM (#1319) (0a8ad65)

View originalPermalink

v10.1.0

10.1.0 (2024-04-29)

Features
  • Add window events "pagehide" / "pageshow" (#1308) (56543d5)

View originalPermalink

v10.0.0

10.0.0 (2024-04-08)

Bug Fixes
  • use defineProperty on the error object instead of setting the message directly (#1268) (3580f25), closes #1259
Features
  • Drop support for Node.js 14.x and Node.js 16.x and add support for Node 20.x (#1255) (452097b)
  • upgrade aria-query to 5.3.0 (#1241) (2c57055), closes #1240
BREAKING CHANGES
  • Minimum supported Node.js version is 18.0
  • New version of aria-query changes various roles. Check out the changed tests in 2c57055 to get an overview about what changed.

View originalPermalink