Packages

@testing-library/react-hooks

8.0.1 · 18 Jun 2022MIT3M / weekRepositoryHomepagenpmAtom feed

Your version

37 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 8.x · latest line
  2. 8.0.1

    18 Jun 2022
    • Removed

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

  3. 8.0.0

    10 Apr 2022
    • 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.

    • types: move types to optional peer dependencies

    • The “async-utils” feature of the v8.0.0-alpha.1 build (release notes) were not included in this release.

  4. 7.x
  5. 7.0.2

    31 Aug 2021
    • async-utils: prevent timeout and interval checks in wait from leaving open handles

  6. 7.0.1

    30 Jun 2021
    • types: fix cleanup return type to match async implementation

  7. 7.0.0

    24 May 2021
    • Removed

      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

  8. 6.x
  9. 6.0.0

    18 May 2021
    • Breaking

      Node 10 is no longer supported

  10. 5.x
  11. 5.1.3

    18 May 2021
    • types: Correct overload order for act without strictNullChecks

  12. 5.1.2

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

  13. 5.1.1

    29 Mar 2021
    • Make library compatible with Node 8

  14. 5.1.0

    1 Mar 2021
    • Export helper to manually suppress error output (#571) (d8dac20), closes #564

  15. 5.0.3

    24 Jan 2021
    • Fixed potential error when hook suspends and error is accessed

  16. 5.0.2

    22 Jan 2021
    • Only suppress console.error for non-pure imports (#549) (804d9ac), closes #546

  17. 5.0.0

    13 Jan 2021
    • Breaking

      interval will now default to 50ms in async utils

    • Breaking

      timeout will now default to 1000ms in async utils

    • Breaking

      suppressErrors has been removed from async utils

  18. 4.x
  19. 4.0.1

    12 Jan 2021
    • Restore 'RenderHookOptions' type

  20. 4.0.0

    7 Jan 2021
    • Breaking

      Removed deprecated wait

    • types: changed callback signature on waitFor to match old types

    • Convert to TypeScript

  21. 3.x
  22. 3.7.0

    8 Dec 2020
    • cleanup: remove unnecessary flush microtasks as already handled by act

  23. 3.6.0

    7 Dec 2020

    Reading the note…

  24. 3.5.0

    6 Dec 2020

    Reading the note…

  25. 3.4.2

    28 Sep 2020

    Reading the note…

  26. 3.4.1

    23 Jul 2020

    Reading the note…

  27. 3.4.0

    23 Jul 2020

    Reading the note…

  28. 3.3.0

    4 Jun 2020

    Reading the note…

  29. 3.2.1

    5 Nov 2019

    Reading the note…

  30. 3.2.0

    5 Nov 2019

    Reading the note…

  31. 3.1.1

    27 Oct 2019

    Reading the note…

  32. 3.1.0

    17 Oct 2019

    Reading the note…

  33. 3.0.0

    16 Oct 2019

    Reading the note…

  34. 2.x
  35. 2.0.3

    3 Oct 2019

    Reading the note…

  36. 2.0.2

    3 Oct 2019

    Reading the note…

  37. 2.0.1

    9 Aug 2019

    Reading the note…

  38. 2.0.0

    9 Aug 2019

    Reading the note…

  39. 1.x
  40. 1.1.0

    30 Jun 2019

    Reading the note…

  41. 1.0.4

    22 Jun 2019

    Reading the note…

  42. 1.0.3

    21 Jun 2019

    Reading the note…

  43. 1.0.2

    19 Jun 2019

    Reading the note…

  44. 1.0.1

    19 Jun 2019

    Reading the note…

  45. 1.0.0

    19 Jun 2019

    Reading 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.