Skip to content

v13 (rc) - React 18-19, uses React Test Renderer #1607

New issue

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

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

Already on GitHub? # to your account

Merged
merged 31 commits into from
Dec 8, 2024
Merged

v13 (rc) - React 18-19, uses React Test Renderer #1607

merged 31 commits into from
Dec 8, 2024

Conversation

mdjastrzebski
Copy link
Member

Summary

Test plan

* chore: remove flush microtask legacy

* chore: remove deprecated *ByAccessibilityState, *ByAccessibilityValue queries

* chore: add docs

* docs: add docs
* chore: remove React 16 & 17 code

chore: remove more

chore: react version 18.3.1

docs: migration guide

* refactor: finish merge
# Conflicts:
#	src/queries/__tests__/accessibility-state.test.tsx
#	yarn.lock
# Conflicts:
#	src/queries/__tests__/accessibility-state.test.tsx
# Conflicts:
#	package.json
#	src/__tests__/__snapshots__/render-debug.test.tsx.snap
#	yarn.lock
# Conflicts:
#	jest-setup.ts
* feat!: enable concurrent rendering by default

* chore: tweaks
* chore: tweak peer deps limits

* chore: sync act implementation with RTL

* chore: update yarn.lock
# Conflicts:
#	package.json
@mdjastrzebski mdjastrzebski changed the title v13 (WIP) v13 (beta) Nov 5, 2024
@mdjastrzebski mdjastrzebski changed the title v13 (beta) v13 (alpha) Nov 5, 2024
* refactor: remove jest preset

* chore: update docs

* chore: remove files entry
* refactor: cleanu existing code

* chore: fix lint
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.70%. Comparing base (47b2477) to head (1672880).
Report is 32 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1607      +/-   ##
==========================================
+ Coverage   95.16%   95.70%   +0.54%     
==========================================
  Files          98       91       -7     
  Lines        5605     5076     -529     
  Branches      935      879      -56     
==========================================
- Hits         5334     4858     -476     
+ Misses        271      218      -53     

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

@mdjastrzebski mdjastrzebski marked this pull request as ready for review November 7, 2024 10:02
@mdjastrzebski mdjastrzebski changed the title v13 (alpha) v13 (beta) - React 18-19, uses React Test Renderer Nov 13, 2024
# Conflicts:
#	examples/basic/jest-setup.ts
#	examples/basic/package.json
#	examples/basic/yarn.lock
#	examples/cookbook/package.json
#	examples/cookbook/yarn.lock
#	package.json
@mdjastrzebski mdjastrzebski changed the title v13 (beta) - React 18-19, uses React Test Renderer v13 (rc) - React 18-19, uses React Test Renderer Dec 8, 2024
@mdjastrzebski
Copy link
Member Author

Switch to RC status and merging to main. v12 version is now available in v12-stable branch.

@mdjastrzebski mdjastrzebski merged commit 7a96522 into main Dec 8, 2024
10 checks passed
@mdjastrzebski mdjastrzebski deleted the v13 branch December 8, 2024 10:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants