Closed renovate[bot] closed 3 years ago
Merging #22 (b83b4de) into master (6207b5a) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #22 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 25 25
Branches 5 5
=========================================
Hits 25 25
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6207b5a...b83b4de. Read the comment docs.
This PR contains the following updates:
3.7.0
->5.0.0
Release Notes
testing-library/react-hooks-testing-library
### [`v5.0.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v5.0.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v4.0.1...v5.0.0) ##### Bug Fixes - constrain TOptions to be an object instead of an empty interface ([3813b88](https://togithub.com/testing-library/react-hooks-testing-library/commit/3813b88a8a779a2deb61f2de3abe97e79dada52a)) - display returned function names correctly in stack traces ([#528](https://togithub.com/testing-library/react-hooks-testing-library/issues/528)) ([a82d5ef](https://togithub.com/testing-library/react-hooks-testing-library/commit/a82d5ef31779bf1112a951909dfb09328e48581b)) - fixed potential error when hook suspends and current result is accessed ([dc21e59](https://togithub.com/testing-library/react-hooks-testing-library/commit/dc21e5947a54adfaf348bfeaeab56d37a4e7e2bb)) - include render utils in RenderHook type ([ca32bce](https://togithub.com/testing-library/react-hooks-testing-library/commit/ca32bce8ef67104a1424093f8d40f539800a1eea)) - ReactHooksRenderer renderHook was not expecting arguments ([bb870e0](https://togithub.com/testing-library/react-hooks-testing-library/commit/bb870e0ee77b775be5debf909c71596e17c0e85d)) - stop appending container elements to document body ([bab38d9](https://togithub.com/testing-library/react-hooks-testing-library/commit/bab38d9c7b7ccd7e9e494ce36f98ed6609278f64)) - Type for options in autodetected renderer was incorrectly inferring any passed type ([#527](https://togithub.com/testing-library/react-hooks-testing-library/issues/527)) ([4786242](https://togithub.com/testing-library/react-hooks-testing-library/commit/4786242a9a22c6f235f537d26b9990c2bec4b24d)) - use actual line break in error message when auto-detect fails ([a3fd0e2](https://togithub.com/testing-library/react-hooks-testing-library/commit/a3fd0e2d483e05dc55fdf471c87b7b1a520283d4)) ##### Code Refactoring - async utils ([#537](https://togithub.com/testing-library/react-hooks-testing-library/issues/537)) ([394f65a](https://togithub.com/testing-library/react-hooks-testing-library/commit/394f65a927d71e9ef9f0b75c79936651c669f666)) ##### Features - react-dom and SSR compatible rendering ([a25993f](https://togithub.com/testing-library/react-hooks-testing-library/commit/a25993fe1c08fea92b6d7a90666fc8c1c94b9855)) - use error boundary to capture useEffect errors ([#539](https://togithub.com/testing-library/react-hooks-testing-library/issues/539)) ([b81fd04](https://togithub.com/testing-library/react-hooks-testing-library/commit/b81fd04b748071c566ca18bfe02475813dbd2877)), closes [#308](https://togithub.com/testing-library/react-hooks-testing-library/issues/308) ##### BREAKING CHANGES - `interval` will now default to 50ms in async utils - `timeout` will now default to 1000ms in async utils - `suppressErrors` has been removed from async utils - Adjust types so that react renderer exports don't required extra generic parameter - 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 - Auto-detection won't work with bundlers (e.g. Webpack). Please use as [specific renderer import](https://react-hooks-testing-library.com/installation#being-specific) instead ### [`v4.0.1`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v4.0.1) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v4.0.0...v4.0.1) ##### Bug Fixes - Restore 'RenderHookOptions' type ([#535](https://togithub.com/testing-library/react-hooks-testing-library/issues/535)) ([a334f80](https://togithub.com/testing-library/react-hooks-testing-library/commit/a334f805eae8e98f72f694453ca8f99045c6d78b)) ### [`v4.0.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v4.0.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.7.0...v4.0.0) ##### Bug Fixes - **types:** changed callback signature on waitFor to match old types ([1ea2afe](https://togithub.com/testing-library/react-hooks-testing-library/commit/1ea2afe5245389edd82421f1ef6b75385cfa4f1c)) ##### Features - Convert to TypeScript ([#520](https://togithub.com/testing-library/react-hooks-testing-library/issues/520)) ([251ea70](https://togithub.com/testing-library/react-hooks-testing-library/commit/251ea7048ed385fd2b20b4ac2eec28e5dacf1bce)) ##### BREAKING CHANGES - Removed deprecated waitRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.