Packages

@testing-library/dom

10.4.2 · 13 Sep 2026MIT125.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @testing-library/dom From 6.16.0 to 10.4.2

161 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 6.16.0yours
  2. 7.0.0major
  3. 1 release
  4. 7.0.2breaking
  5. 105 releases
  6. 8.0.0major
  7. 34 releases
  8. 9.0.0major
  9. 8 releases
  10. 10.0.0major
  11. 7 releases
  12. 10.4.2target

Before you upgrade

Tick each one off as you go
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking9.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Release by release

  1. 10.4.2

    13 Sep 20261 fix
    • Fixed

      deps: pin @types/node to a TypeScript 4-compatible version

  2. 10.4.1

    27 Jul 20251 fix
    • Fixed

      deps: replace chalk with picocolors

  3. 10.4.0

    22 Jul 20241 new
    • New

      Reduce caught exceptions in prettyDom (reland)

  4. 10.3.2

    15 Jul 20241 fix
    • Fixed

      Safer read of DEBUG_PRINT_LIMIT

  5. 10.3.1nothing new or fixed in the note

  6. 10.3.0

    2 Jul 20241 new
    • New

      Reduce caught exceptions in prettyDom

  7. 10.2.0

    24 Jun 20241 new
    • New

      Support anonymous custom elements when pretty printing DOM

  8. 10.1.0

    29 Apr 20241 new
    • New

      Add window events "pagehide" / "pageshow"

3 other lines we could not sort, mostly version bumps
  • Revert "feat: Reduce caught exceptions in prettyDom (#1321)"

    10.3.1
  • If you're using jest fake timers make sure you use modern timers jest 27:

    8.0.0
  • Revert "fix: by role types"

    7.21.1

3 internal lines (docs, tests, tooling) left out.

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.