Releases: testing-library/react-hooks-testing-library
Releases · testing-library/react-hooks-testing-library
v8.0.1
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
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
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
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
7.0.1 (2021-06-30)
Bug Fixes
- types: fix
cleanup
return type to match async
implementation (c7a2e97)
v7.0.0
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
6.0.0 (2021-05-18)
chore
BREAKING CHANGES
- Node 10 is no longer supported
v5.1.3
5.1.3 (2021-05-18)
Bug Fixes
- types: Correct overload order for act without strictNullChecks (#622) (882bcfe)
v5.1.2
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
5.1.1 (2021-03-29)
Bug Fixes