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

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

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react-hooks ^4.0.1 -> ^8.0.0 age adoption passing confidence

Release Notes

testing-library/react-hooks-testing-library

v8.0.1

Compare Source

Bug Fixes
  • server: remove act around server renderer to fix support for older versions of react (e2461ca), closes #​607

v8.0.0

Compare Source

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.

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-react branch 13 times, most recently from 83747f0 to 71187e8 Compare January 25, 2021 08:23
@renovate renovate bot force-pushed the renovate/major-react branch 2 times, most recently from e408c04 to 291e61e Compare January 27, 2021 07:28
@renovate renovate bot force-pushed the renovate/major-react branch 3 times, most recently from d2b5080 to 856fe17 Compare February 4, 2021 19:30
@renovate renovate bot force-pushed the renovate/major-react branch 5 times, most recently from 3fce1e6 to 940f128 Compare February 12, 2021 08:48
@renovate renovate bot force-pushed the renovate/major-react branch 3 times, most recently from 27b734e to adb95ad Compare February 23, 2021 21:29
@renovate renovate bot force-pushed the renovate/major-react branch 2 times, most recently from 729ae6c to bd5b4c1 Compare March 3, 2021 01:26
@renovate renovate bot force-pushed the renovate/major-react branch 17 times, most recently from fc9dc84 to 1896ab1 Compare May 12, 2021 08:23
@renovate renovate bot force-pushed the renovate/major-react branch 2 times, most recently from 3dc9930 to 3fef144 Compare May 18, 2021 14:51
@renovate renovate bot changed the title chore(deps): update dependency @testing-library/react-hooks to v5 chore(deps): update dependency @testing-library/react-hooks to v6 May 18, 2021
@renovate renovate bot changed the title chore(deps): update dependency @testing-library/react-hooks to v6 chore(deps): update dependency @testing-library/react-hooks to v7 May 25, 2021
@stalniy stalniy closed this May 6, 2023
@stalniy stalniy deleted the renovate/major-react branch May 6, 2023 05:36
@renovate renovate bot changed the title chore(deps): update dependency @testing-library/react-hooks to v7 chore(deps): update dependency @testing-library/react-hooks to v8 May 6, 2023
@renovate
Copy link
Contributor Author

renovate bot commented May 6, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 8.x releases. But if you manually upgrade to 8.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

2 participants