What changed in jest-dom from 6 to 7

2 releases numbered after v6.10.0 up to and including v7.0.1, stable releases only. v6.10.0 and v7.0.1 are the newest stable releases of 6 and 7 we track; this page follows them as new ones ship.

4 changes across 2 releases

Added 1

v7.0.0

  • add toContainAnyBy* and toContainOneBy* query matchers
Changed 2

v7.0.0

  • @testing-library/dom is now a required peer dependency
  • The minimum supported Node.js version is now 22
Fixed 1

v7.0.1

  • declare vitest as an optional peer dependency

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.

v7.0.1
7.0.1 (2026-08-09)
Bug Fixes
  • declare vitest as an optional peer dependency (#733) (3782c78)

View originalPermalink

v7.0.0

7.0.0 (2026-07-20)

Features
  • add toContainAnyBy* and toContainOneBy* query matchers (1e39089)
BREAKING CHANGES
  • @testing-library/dom is now a required peer dependency. The minimum supported Node.js version is now 22.

Repaired release for https://github.com/testing-library/jest-dom/pull/731

View originalPermalink