Skip to content

Releases: testing-library/react-hooks-testing-library

v8.0.1

18 Jun 13:20
e2461ca
Compare
Choose a tag to compare

8.0.1 (2022-06-18)

Bug Fixes

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

v8.0.0

10 Apr 12:24
Compare
Choose a tag to compare

8.0.0 (2022-04-10)

Bug Fixes

  • types: move types to optional peer dependencies (19ac8dd)

BREAKING CHANGES

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

Notes

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

v8.0.0-alpha.1

19 Sep 14:00
732ec46
Compare
Choose a tag to compare
v8.0.0-alpha.1 Pre-release
Pre-release

8.0.0-alpha.1 (2021-09-19)

Features

  • async-utils: async utils advance fake timers automatically when waiting (732ec46), closes #631 #688

BREAKING CHANGES

  • async-utils: tests that used to manually advance fake timers and use async utilities may now fail as timer would advance further

v7.0.2

31 Aug 11:30
4a03704
Compare
Choose a tag to compare

7.0.2 (2021-08-31)

Bug Fixes

  • async-utils: prevent timeout and interval checks in wait from leaving open handles (#682) (4a03704)

v7.0.1

30 Jun 21:12
c7a2e97
Compare
Choose a tag to compare

7.0.1 (2021-06-30)

Bug Fixes

  • types: fix cleanup return type to match async implementation (c7a2e97)

v7.0.0

24 May 22:55
e4b0aa3
Compare
Choose a tag to compare

7.0.0 (2021-05-24)

Features

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

BREAKING CHANGES

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

v6.0.0

18 May 13:14
39dd228
Compare
Choose a tag to compare

6.0.0 (2021-05-18)

chore

BREAKING CHANGES

  • Node 10 is no longer supported

v5.1.3

18 May 12:08
Compare
Choose a tag to compare

5.1.3 (2021-05-18)

Bug Fixes

  • types: Correct overload order for act without strictNullChecks (#622) (882bcfe)

v5.1.2

22 Apr 09:18
7b3867e
Compare
Choose a tag to compare

5.1.2 (2021-04-22)

Bug Fixes

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

v5.1.1

29 Mar 17:47
ef2daaf
Compare
Choose a tag to compare

5.1.1 (2021-03-29)

Bug Fixes