Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

chore(deps): update dependency @testing-library/react-hooks to v7 #673

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 25, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react-hooks 3.7.0 -> 7.0.2 age adoption passing confidence

Release Notes

testing-library/react-hooks-testing-library

v7.0.2

Compare Source

Bug Fixes
  • async-utils: prevent timeout and interval checks in wait from leaving open handles (#​682) (4a03704)

v7.0.1

Compare Source

Bug Fixes
  • types: fix cleanup return type to match async implementation (c7a2e97)

v7.0.0

Compare Source

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

Compare Source

chore
BREAKING CHANGES
  • Node 10 is no longer supported

v5.1.3

Compare Source

Bug Fixes
  • types: Correct overload order for act without strictNullChecks (#​622) (882bcfe)

v5.1.2

Compare Source

Bug Fixes

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Features

v5.0.3

Compare Source

Bug Fixes
  • fixed potential error when hook suspends and error is accessed (1a0c4d3)

v5.0.2

Compare Source

Bug Fixes
Code Refactoring

Note: due to a technical glitch, there was no v5.0.1 release.

v5.0.0

Compare Source

Bug Fixes
  • constrain TOptions to be an object instead of an empty interface (3813b88)
  • display returned function names correctly in stack traces (#​528) (a82d5ef)
  • fixed potential error when hook suspends and current result is accessed (dc21e59)
  • include render utils in RenderHook type (ca32bce)
  • ReactHooksRenderer renderHook was not expecting arguments (bb870e0)
  • stop appending container elements to document body (bab38d9)
  • Type for options in autodetected renderer was incorrectly inferring any passed type (#​527) (4786242)
  • use actual line break in error message when auto-detect fails (a3fd0e2)
Code Refactoring
Features
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 instead
  • result.current and result.error will now return undefined instead of null when the hook call suspends and they are accessed prior to being set for the first time
    • Note: accessing these values in a suspending scenario has been broken since version 3.6.0

v4.0.1

Compare Source

Bug Fixes

v4.0.0

Compare Source

Bug Fixes
  • types: changed callback signature on waitFor to match old types (1ea2afe)
Features
BREAKING CHANGES
  • Removed deprecated wait

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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 has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 12 times, most recently from 448393c to c888d9f Compare May 31, 2021 18:57
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 7 times, most recently from 592d153 to b032978 Compare June 8, 2021 20:10
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 7 times, most recently from 1d582d7 to 000be2b Compare June 16, 2021 09:05
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 4 times, most recently from 58c306f to 7c20b28 Compare June 21, 2021 18:30
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 8 times, most recently from ee9b0b3 to c32614e Compare July 12, 2021 19:40
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 5 times, most recently from 24ba0d5 to 6d48bc4 Compare July 21, 2021 09:28
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 5 times, most recently from ee82665 to 28fb3db Compare July 31, 2021 01:27
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 5 times, most recently from bca12b5 to e7ce458 Compare August 5, 2021 09:20
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch 5 times, most recently from 5320ab8 to 4ad5c36 Compare August 10, 2021 21:33
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch from 4ad5c36 to eb35766 Compare October 19, 2021 01:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant