Skip to content

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

v5.0.0-beta.7

10 Jan 10:14
Compare
Choose a tag to compare
v5.0.0-beta.7 Pre-release
Pre-release

5.0.0-beta.7 (2021-01-10)

Bug Fixes

  • include render utils in RenderHook type (ca32bce)

v5.0.0-beta.6

09 Jan 20:04
Compare
Choose a tag to compare
v5.0.0-beta.6 Pre-release
Pre-release

5.0.0-beta.6 (2021-01-09)

Bug Fixes

  • constrain TOptions to be an object instead of an empty interface (3813b88)

v5.0.0-beta.5

08 Jan 12:18
a82d5ef
Compare
Choose a tag to compare
v5.0.0-beta.5 Pre-release
Pre-release

5.0.0-beta.5 (2021-01-08)

Bug Fixes

  • display returned function names correctly in stack traces (#528) (a82d5ef)

v5.0.0-beta.4

08 Jan 09:29
4786242
Compare
Choose a tag to compare
v5.0.0-beta.4 Pre-release
Pre-release

5.0.0-beta.4 (2021-01-08)

Bug Fixes

  • Type for options in autodetected renderer was incorrectly inferring any passed type (#527) (4786242)

v5.0.0-beta.3

07 Jan 11:05
f6096ba
Compare
Choose a tag to compare
v5.0.0-beta.3 Pre-release
Pre-release

5.0.0-beta.3 (2021-01-07)

Bug Fixes

  • ReactHooksRenderer renderHook was not expecting arguments (bb870e0)

v5.0.0-beta.2

07 Jan 10:54
Compare
Choose a tag to compare
v5.0.0-beta.2 Pre-release
Pre-release

5.0.0-beta.2 (2021-01-07)

Bug Fixes

  • use actual line break in error message when auto-detect fails (a3fd0e2)

v5.0.0-beta.1

07 Jan 09:50
Compare
Choose a tag to compare
v5.0.0-beta.1 Pre-release
Pre-release

5.0.0-beta.1 (2021-01-07)

Features

  • react-dom and SSR compatible rendering (a25993f)

BREAKING CHANGES

  • Importing from renderHook and act from @testing-library/react-hooks will now auto-detect which renderer to used based on the project's dependencies
  • peerDependencies are now optional to support different dependencies being required
    • This means there will be no warning if the dependency is not installed at all, but it will still warn if an incompatible version is installed

v4.0.0

07 Jan 03:54
Compare
Choose a tag to compare

4.0.0 (2021-01-07)

Bug Fixes

  • types: changed callback signature on waitFor to match old types (1ea2afe)

Features

BREAKING CHANGES

  • Removed deprecated wait

v4.0.0-beta.3 (DO NOT USE)

07 Jan 08:38
de58cb0
Compare
Choose a tag to compare
Pre-release

This release is was supposed to be the 5.0.0-beta.1 release but I messed it up.

v4.0.0-beta.2

23 Dec 12:01
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

4.0.0-beta.2 (2020-12-23)

Bug Fixes

  • types: changed callback signature on waitFor to match old types (1ea2afe)