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 from 14.3.1 to 16.0.0 #3267

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2024

Bumps @testing-library/react from 14.3.1 to 16.0.0.

Release notes

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

v16.0.0

16.0.0 (2024-06-03)

Features

  • Move @testing-library/dom and @types/react-dom to peer dependencies (#1305) (a4744fa)

BREAKING CHANGES

  • @testing-library/dom was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of @testing-library/dom installed that frequently caused bugs when used with @testing-library/user-event. We will also be able to allow new versions of @testing-library/dom being used without a SemVer major release of @testing-library/react by just widening the peer dependency. @types/react-dom needs to be installed if you're typechecking files using @testing-library/react.

v15.0.7

15.0.7 (2024-05-07)

Bug Fixes

  • Ensure act is not any when React.act is not declared (#1323) (c1f2957)

v15.0.6

15.0.6 (2024-05-01)

Bug Fixes

v15.0.5

15.0.5 (2024-04-26)

Bug Fixes

  • Stop restricting container option based on hydrate (#1313) (d143f46)

v15.0.4

15.0.4 (2024-04-23)

Bug Fixes

  • Ensure renderHook options extend options for render (#1308) (48282c2)

v15.0.3

... (truncated)

Commits
  • a4744fa feat: Move @testing-library/dom and @types/react-dom to peer dependencie...
  • c1f2957 fix: Ensure act is not any when React.act is not declared (#1323)
  • b6e59f7 fix: export new act when available (#1319)
  • f6a1677 chore: Adjust tests to workaround 18.3.0 bug (#1315)
  • d143f46 fix: Stop restricting container option based on hydrate (#1313)
  • 48282c2 fix: Ensure renderHook options extend options for render (#1308)
  • 067d0c6 fix: Don't raise TypeScript errors when hydating document (#1304)
  • c63b873 fix: Improve legacyRoot error message (#1301)
  • 1645d21 fix: Stop using nullish coalescing (#1299)
  • 787cb85 Release: 15.0.0 (#1295)
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

This change is Reviewable

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2024
Copy link

github-actions bot commented Aug 1, 2024

⚠️ Commit Message Format Issues ⚠️

commit b124109cd8:
3: B1 Line exceeds max length (111>80): "Bumps @testing-library/react from 14.3.1 to 16.0.0."
4: B1 Line exceeds max length (84>80): "- Release notes"
5: B1 Line exceeds max length (94>80): "- Changelog"
6: B1 Line exceeds max length (95>80): "- Commits"

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.87%. Comparing base (468e516) to head (b124109).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3267      +/-   ##
==========================================
+ Coverage   74.59%   83.87%   +9.28%     
==========================================
  Files         279       47     -232     
  Lines       10683     4993    -5690     
  Branches     1289      600     -689     
==========================================
- Hits         7969     4188    -3781     
+ Misses       2353      660    -1693     
+ Partials      361      145     -216     
Flag Coverage Δ
backend 83.87% <ø> (-0.03%) ⬇️
frontend ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@imnasnainaec imnasnainaec marked this pull request as draft August 1, 2024 14:19
@imnasnainaec
Copy link
Collaborator

Our tests that use this library together with act() fail when we bump up from v14 to either v15 or v16.

@imnasnainaec
Copy link
Collaborator

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/testing-library/react-16.0.0 branch from 28e4910 to d861677 Compare August 2, 2024 15:35
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.3.1 to 16.0.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/react-testing-library@v14.3.1...v16.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/testing-library/react-16.0.0 branch from d861677 to b124109 Compare August 5, 2024 14:08
@imnasnainaec
Copy link
Collaborator

Replaced by #3295

@imnasnainaec
Copy link
Collaborator

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 14, 2024

Looks like @testing-library/react is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Aug 14, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/testing-library/react-16.0.0 branch August 14, 2024 12:35
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant