testing-library/react-hooks-testing-library
### [`v3.4.1`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.4.1)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.4.0...v3.4.1)
#### Changes
- The `wait` async util has been deprecated and replaced with `waitFor` ([#408](https://togithub.com/testing-library/react-hooks-testing-library/issues/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](https://togithub.com/testing-library/react-hooks-testing-library/issues/408))
- Bumped minimum type definition version ([#414](https://togithub.com/testing-library/react-hooks-testing-library/issues/414))
- Docs have been updated to show how props can be passed to `wrapper` components ([#414](https://togithub.com/testing-library/react-hooks-testing-library/issues/414))
### [`v3.4.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.4.0)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.3.0...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`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.3.0)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.2.1...v3.3.0)
#### Changes
- `wrapper` component can now access the `initialProps` and new props from `rerender` calls when creating providers ([#322](https://togithub.com/testing-library/react-hooks-testing-library/issues/322), [#381](https://togithub.com/testing-library/react-hooks-testing-library/issues/381))
- cleanup functionality has been updated to support `mocha`/`esm` environments ([#375](https://togithub.com/testing-library/react-hooks-testing-library/issues/375), [#377](https://togithub.com/testing-library/react-hooks-testing-library/issues/377))
- dependency updates (thanks [@renovate-bot](https://togithub.com/renovate-bot))
### [`v3.2.1`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.2.1)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.2.0...v3.2.1)
#### Changes
- Actually included `pure.js` in the `npm` package
### [`v3.2.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.2.0)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.1.1...v3.2.0)
#### Changes
- Updated type dependency to latest version ([#210](https://togithub.com/testing-library/react-hooks-testing-library/issues/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](https://togithub.com/testing-library/react-hooks-testing-library/issues/200))
- Intorduced `waitForValueToChange` async utility ([#200](https://togithub.com/testing-library/react-hooks-testing-library/issues/200))
### [`v3.1.1`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.1.1)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.1.0...v3.1.1)
#### Changes
- Actually included `dont-cleanup-after-each.js` in the `npm` package ([#208](https://togithub.com/testing-library/react-hooks-testing-library/issues/208))
### [`v3.1.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.1.0)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.0.0...v3.1.0)
#### Changes
- Added `dont-cleanup-after-each` test setup utlitity to disable auto cleanup to match the [RTL version](https://togithub.com/testing-library/react-testing-library/blob/master/dont-cleanup-after-each.js)
### [`v3.0.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.0.0)
[Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v2.0.3...v3.0.0)
#### Changes
- Added global cleanup that unmounts test components to clean up residual effects between tests ([#199](https://togithub.com/testing-library/react-hooks-testing-library/issues/199))
- Auto register `afterEach` in supported test frameworks to auto run cleanup as per [testing-library/react-testing-library#430](https://togithub.com/testing-library/react-testing-library/pull/430)
- Supports opt out via and environment variable opt out (`RHTL_SKIP_AUTO_CLEANUP=true`)
##### ⚠️ Breaking Changes
- Most users won't be affected by the autoregistration of the auto-cleanup, but if anyone was relying on their effects persiting between tests then this will be a breaking change for them
Renovate 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 becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.0.3
->3.4.1
Release Notes
testing-library/react-hooks-testing-library
### [`v3.4.1`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.4.1) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.4.0...v3.4.1) #### Changes - The `wait` async util has been deprecated and replaced with `waitFor` ([#408](https://togithub.com/testing-library/react-hooks-testing-library/issues/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](https://togithub.com/testing-library/react-hooks-testing-library/issues/408)) - Bumped minimum type definition version ([#414](https://togithub.com/testing-library/react-hooks-testing-library/issues/414)) - Docs have been updated to show how props can be passed to `wrapper` components ([#414](https://togithub.com/testing-library/react-hooks-testing-library/issues/414)) ### [`v3.4.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.4.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.3.0...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`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.3.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.2.1...v3.3.0) #### Changes - `wrapper` component can now access the `initialProps` and new props from `rerender` calls when creating providers ([#322](https://togithub.com/testing-library/react-hooks-testing-library/issues/322), [#381](https://togithub.com/testing-library/react-hooks-testing-library/issues/381)) - cleanup functionality has been updated to support `mocha`/`esm` environments ([#375](https://togithub.com/testing-library/react-hooks-testing-library/issues/375), [#377](https://togithub.com/testing-library/react-hooks-testing-library/issues/377)) - dependency updates (thanks [@renovate-bot](https://togithub.com/renovate-bot)) ### [`v3.2.1`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.2.1) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.2.0...v3.2.1) #### Changes - Actually included `pure.js` in the `npm` package ### [`v3.2.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.2.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.1.1...v3.2.0) #### Changes - Updated type dependency to latest version ([#210](https://togithub.com/testing-library/react-hooks-testing-library/issues/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](https://togithub.com/testing-library/react-hooks-testing-library/issues/200)) - Intorduced `waitForValueToChange` async utility ([#200](https://togithub.com/testing-library/react-hooks-testing-library/issues/200)) ### [`v3.1.1`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.1.1) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.1.0...v3.1.1) #### Changes - Actually included `dont-cleanup-after-each.js` in the `npm` package ([#208](https://togithub.com/testing-library/react-hooks-testing-library/issues/208)) ### [`v3.1.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.1.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v3.0.0...v3.1.0) #### Changes - Added `dont-cleanup-after-each` test setup utlitity to disable auto cleanup to match the [RTL version](https://togithub.com/testing-library/react-testing-library/blob/master/dont-cleanup-after-each.js) ### [`v3.0.0`](https://togithub.com/testing-library/react-hooks-testing-library/releases/v3.0.0) [Compare Source](https://togithub.com/testing-library/react-hooks-testing-library/compare/v2.0.3...v3.0.0) #### Changes - Added global cleanup that unmounts test components to clean up residual effects between tests ([#199](https://togithub.com/testing-library/react-hooks-testing-library/issues/199)) - Auto register `afterEach` in supported test frameworks to auto run cleanup as per [testing-library/react-testing-library#430](https://togithub.com/testing-library/react-testing-library/pull/430) - Supports opt out via and environment variable opt out (`RHTL_SKIP_AUTO_CLEANUP=true`) ##### ⚠️ Breaking Changes - Most users won't be affected by the autoregistration of the auto-cleanup, but if anyone was relying on their effects persiting between tests then this will be a breaking change for themRenovate 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 becomes conflicted, 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.