Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @testing-library/react-hooks to v7 - autoclosed #81

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 7, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react-hooks 3.2.1 -> 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

v3.7.0

Compare Source

Features
  • cleanup: remove unnecessary flush microtasks as already handled by act (#​511) (c53b56b)

v3.6.0

Compare Source

Features
  • release: manually release a minor version (78d228c), closes #​496
  • Capture all results a rendered hook produces as result.all (c3e09ed)

v3.5.0

Compare Source

Features

v3.4.2

Compare Source

Changes
  • Update minimum TS definition dependency (@types/testing-library__react-hooks) version (#​453)

v3.4.1

Compare Source

Changes
  • The wait async util has been deprecated and replaced with waitFor (#​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)
  • Bumped minimum type definition version (#​414)
  • Docs have been updated to show how props can be passed to wrapper components (#​414)

v3.4.0

Compare Source

⚠️ 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

Compare Source

Changes
  • wrapper component can now access the initialProps and new props from rerender calls when creating providers (#​322, #​381)
  • cleanup functionality has been updated to support mocha/esm environments (#​375, #​377)
  • dependency updates (thanks @​renovate-bot)

Configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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, click this checkbox.

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 from 9eb406e to 0d9696c Compare June 30, 2021 21:55
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-7.x branch from 0d9696c to dbdf31c Compare October 18, 2021 16:05
@renovate renovate bot changed the title Update dependency @testing-library/react-hooks to v7 Update dependency @testing-library/react-hooks to v7 - autoclosed Apr 24, 2022
@renovate renovate bot closed this Apr 24, 2022
@renovate renovate bot deleted the renovate/testing-library-react-hooks-7.x branch April 24, 2022 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant