Packages

@testing-library/jest-dom

8.0.0 · 19 Nov 2026MIT104.4M / weekRepositoryHomepagenpmAtom feed

Upgrading @testing-library/jest-dom From 6.9.1 to 8.0.0

4 releases in betweenevery note read

Other targets from 6.9.1Newest 6.x6.10.0
2
changes to make
0
advisories fixed
2
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking8.0.0
  • Breaking7.0.0

Release by release

  1. 8.0.0

    Migration needed19 Nov 20261 new
    • Breaking

      Support for vitest versions lower than 5 has been removed. Consumers must upgrade to a supported version.

    • New

      Support vitest 5

  2. 7.0.1

    9 Aug 20261 fix
    • Fixed

      Declare vitest as an optional peer dependency

  3. 7.0.0

    Migration needed20 Jul 20261 new
    • Breaking

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

    • New

      Add toContainAnyBy* and toContainOneBy* query matchers

  4. 6.10.0nothing new or fixed in the note

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.