Packages

@testing-library/react-hooks

8.0.1 · 18 Jun 2022MIT3M / weekRepositoryHomepagenpmAtom feed

Upgrading @testing-library/react-hooks From 2.0.1 to 8.0.1

29 releases in betweennotes for 16

Reading releases, release notes and advisories…

Other targets from 2.0.1Newest 2.x2.0.3
3.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 2.0.1yours
  2. 2 releases
  3. 3.0.0major
  4. 11 releases
  5. 4.0.0major
  6. 1 release
  7. 5.0.0major
  8. 6 releases
  9. 6.0.0major
  10. 7.0.0major
  11. 2 releases
  12. 8.0.0major
  13. 8.0.1target
12+
changes to make
0
advisories fixed
6+
new
17+
fixes

Counted from 16 of 29 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

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

Release by release

  1. 8.0.1

    Migration needed18 Jun 2022
    • Breaking

      server: remove act around server renderer to fix support for older versions of react (e2461ca), closes #607

  2. 8.0.0

    Migration needed10 Apr 20221 fix
    • Breaking

      types: type dependencies will not longer be automatically installed. If @types/react is not already listed in your package.json, please install it with npm install --save-dev @types/react@^17.

    • Fixed

      types: move types to optional peer dependencies

  3. 7.0.2

    31 Aug 20211 fix
    • Fixed

      async-utils: prevent timeout and interval checks in wait from leaving open handles

  4. 7.0.1

    30 Jun 20211 fix
    • Fixed

      types: fix cleanup return type to match async implementation

  5. 7.0.0

    Migration needed24 May 2021
    • Breaking

      Remove node specific dependencies and code to better support testing in browser environments (e4b0aa3), closes #624 #617

    • Breaking

      suppressErrorOutput will now work when explicitly called, even if the RHTL_DISABLE_ERROR_FILTERING env variable has been set

  6. 6.0.0

    Migration needed18 May 2021
    • Breaking

      Node 10 is no longer supported

  7. 5.1.3

    18 May 20211 fix
    • Fixed

      types: Correct overload order for act without strictNullChecks

  8. 5.1.2

    22 Apr 20211 new
    • New

      ssr: Add ability to run SSR tests in pure-node environment (#607) (7b3867e), closes #605

1 other line we could not sort, mostly version bumps
  • The “async-utils” feature of the v8.0.0-alpha.1 build (release notes) were not included in this release.

    8.0.0

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.