Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 28, 2025

This PR contains the following updates:

Package Change Age Confidence
@testing-library/dom ^9.0.0 -> ^10.0.0 age confidence

Release Notes

testing-library/dom-testing-library (@​testing-library/dom)

v10.4.1

Compare Source

Bug Fixes

v10.4.0

Compare Source

Features

v10.3.2

Compare Source

Bug Fixes

v10.3.1

Compare Source

Bug Fixes

v10.3.0

Compare Source

Features

v10.2.0

Compare Source

Features
  • Support anonymous custom elements when pretty printing DOM (#​1319) (0a8ad65)

v10.1.0

Compare Source

Features

v10.0.0

Compare Source

Bug Fixes
  • use defineProperty on the error object instead of setting the message directly (#​1268) (3580f25), closes #​1259
Features
BREAKING CHANGES
  • Minimum supported Node.js version is 18.0
  • New version of aria-query changes various roles. Check out the changed tests in 2c57055 to get an overview about what changed.

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 was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 28, 2025

Review

The PR updates @testing-library/react from v15 to v16, which includes a breaking change where @testing-library/dom and @types/react-dom are now peer dependencies. The changes look good and necessary for compatibility. The update also bumps @testing-library/dom from v9 to v10, which aligns with the new peer dependency requirement.

Key Observations:

  1. Breaking Change Handling: The PR correctly updates @testing-library/dom to v10, which is now a peer dependency. This is critical for avoiding version conflicts, especially with @testing-library/user-event.
  2. Node Engine Requirement: The updated @testing-library/dom (v10) now requires Node >= 18, which is a reasonable requirement for modern projects.
  3. Dependency Cleanup: The diff shows removal of many transitive dependencies (e.g., deep-equal, object-inspect, etc.), which simplifies the dependency tree and reduces potential security/bug surface area.

Recommendation:

The changes are well-aligned with the breaking changes introduced in @testing-library/react v16. No issues were found that could cause bugs, security issues, or maintenance problems. The update is safe to merge.

Approved – The PR is ready to merge.

@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from f672c46 to 164254f Compare December 28, 2025 23:07
@renovate renovate bot changed the title Update dependency @testing-library/react to v16 Update dependency @testing-library/dom to v10 Dec 28, 2025
@felladrin felladrin merged commit 6cf11e3 into main Dec 28, 2025
4 checks passed
@felladrin felladrin deleted the renovate/major-testing-library-monorepo branch December 28, 2025 23:16
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