Releases: testing-library/react-hooks-testing-library
Releases · testing-library/react-hooks-testing-library
v1.0.2
v1.0.1
v1.0.0
📢 WE HAVE MOVED
react-hooks-testing-library
has moved to the testing-library
Org and in now published under the @testing-library
scope. Please update your dependeny by running:
npm uninstall react-hooks-testing-library
npm install --save-dev @testing-library/react-hooks
Changes
- Updated docs and links from
mpeyper
totesting-library
(#99) - Updated dependencies
- No more v0.x.x versions! (#26)
- The API has been stable for quite some time, and I felt like the time had come
⚠️ Breaking Changes
- Removed the deprecated
testHook
function- If you haven't already, please update your tests to use
renderHook
instead... It's just a rename.
- If you haven't already, please update your tests to use
v0.6.0
Changes
- Added deprecation message to inform users to move to @testing-library/react-hooks
Note: the published code for this release was not commited to git and this tag was created as a marker for the last react-hooks-testing-library
commit
v0.5.1
v0.5.0
Changes
- Changed component rendering to use
react-test-renderer
instead ofreact-testing-library
(#40)
⚠️ Breaking Changes
- There is no longer a direct dependency on
react-testing-library
- If you were using it without your own dependency, please run
npm i -D react-testing-library@^6.0.3
(or theyarn
equivalent)
- If you were using it without your own dependency, please run
renderHook
no longer returnscleanup
and thecleanup-after-each
utility has been removed