Skip to content

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

v4.0.0-beta.1

15 Dec 03:34
251ea70
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

4.0.0-beta.1 (2020-12-15)

Features

BREAKING CHANGES

  • Removed deprecated wait

v3.7.0

08 Dec 09:27
c53b56b
Compare
Choose a tag to compare

3.7.0 (2020-12-08)

Features

  • cleanup: remove unnecessary flush microtasks as already handled by act (#511) (c53b56b)

v3.6.0

07 Dec 10:13
Compare
Choose a tag to compare

3.6.0 (2020-12-07)

Features

  • release: manually release a minor version (78d228c), closes #496
  • Capture all results a rendered hook produces as result.all (c3e09ed)

v3.5.0

06 Dec 11:47
Compare
Choose a tag to compare

3.5.0 (2020-12-06)

Features

v3.4.2

28 Sep 11:28
Compare
Choose a tag to compare

Changes

  • Update minimum TS definition dependency (@types/testing-library__react-hooks) version (#453)

v3.4.1

23 Jul 10:07
Compare
Choose a tag to compare

Changes

  • The wait async util has been deprecated and replaced with waitFor (#408)
  • waitFor and waitForValueToChange async utils can now test their conditions periodically, even if the hook has not rerendered, using the new interval option (#408)
  • Bumped minimum type definition version (#414)
  • Docs have been updated to show how props can be passed to wrapper components (#414)

v3.4.0

23 Jul 10:01
Compare
Choose a tag to compare
v3.4.0 Pre-release
Pre-release

⚠️ DO NOT USE THIS VERSION ⚠️

This version was accidentally published with some experimental code in the in the babel output directory and should not be used. IT has been deprecated in NPM and 3.4.1 has been published with the correct output.

V3.3.0

04 Jun 22:57
Compare
Choose a tag to compare

Changes

  • wrapper component can now access the initialProps and new props from rerender calls when creating providers (#322, #381)
  • cleanup functionality has been updated to support mocha/esm environments (#375, #377)
  • dependency updates (thanks @renovate-bot)

v3.2.1

05 Nov 10:11
Compare
Choose a tag to compare

Changes

  • Actually included pure.js in the npm package

V3.2.0

05 Nov 10:04
Compare
Choose a tag to compare

Changes

  • Updated type dependency to latest version (#210)
  • Introduced /pure inmport as alternative to skip auto cleanup
  • Cleanup no longer flushes microtasks within act call, prevent warnings from being swallowed
  • Introduced wait async utility (#200)
  • Intorduced waitForValueToChange async utility (#200)