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

Bump @testing-library/react-hooks from 4.0.1 to 5.0.0 #205

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2021

Bumps @testing-library/react-hooks from 4.0.1 to 5.0.0.

Release notes

Sourced from @testing-library/react-hooks's releases.

v5.0.0

5.0.0 (2021-01-13)

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

  • react-dom and SSR compatible rendering (a25993f)
  • use error boundary to capture useEffect errors (#539) (b81fd04), closes #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

v5.0.0-beta.12

5.0.0-beta.12 (2021-01-13)

Features

  • use error boundary to capture useEffect errors (#539) (b81fd04), closes #308

v5.0.0-beta.11

5.0.0-beta.11 (2021-01-13)

... (truncated)

Commits
  • b81fd04 feat: use error boundary to capture useEffect errors (#539)
  • 008077c Merge branch 'master' into beta
  • a826198 docs: add jonkoops as a contributor (#538)
  • 394f65a refactor: async utils (#537)
  • bab38d9 fix: stop appending container elements to document body
  • 4f2dd80 Merge branch 'master' into beta
  • 2a1e448 docs: add renderer and SSR documentation
  • dc21e59 fix: fixed potential error when hook suspends and current result is accessed
  • 43891e1 refactor: move tests to specifically related folders
  • ca32bce fix: include render utils in RenderHook type
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 14, 2021
Copy link
Owner

@wachunei wachunei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit 4d6f36d into develop Jan 17, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/testing-library/react-hooks-5.0.0 branch January 17, 2021 14:31
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant