Releases: testing-library/react-hooks-testing-library
Releases · testing-library/react-hooks-testing-library
v4.0.0-beta.1
Features
BREAKING CHANGES
v3.7.0
3.7.0 (2020-12-08)
Features
- cleanup: remove unnecessary flush microtasks as already handled by act (#511) (c53b56b)
v3.6.0
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
3.5.0 (2020-12-06)
Features
v3.4.2
Changes
- Update minimum TS definition dependency (
@types/testing-library__react-hooks
) version (#453)
v3.4.1
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
⚠️ 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
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
Changes
- Actually included
pure.js
in the npm
package
V3.2.0
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)