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

v14 (alpha) - React 19 only, uses new renderer #1705

Open
wants to merge 71 commits into
base: main
Choose a base branch
from
Open

Conversation

mdjastrzebski
Copy link
Member

Summary

This is the release branch for RNTL v14, which will use the new renderer. Currently it supports React 19 & RN 0.77+.

Test plan

# Conflicts:
#	package.json
#	src/fire-event.ts
#	src/helpers/component-tree.ts
#	src/matchers/__tests__/to-be-checked.test.tsx
#	src/matchers/__tests__/to-be-partially-checked.test.tsx
#	src/render.tsx
#	src/user-event/utils/dispatch-event.ts
#	yarn.lock
# Conflicts:
#	.github/workflows/ci.yml
#	jest-setup.ts
#	package.json
#	src/__tests__/config.test.ts
#	src/__tests__/host-component-names.test.tsx
#	src/__tests__/render.test.tsx
#	src/act.ts
#	src/config.ts
#	src/fire-event.ts
#	src/helpers/__tests__/component-tree.test.tsx
#	src/helpers/accessibility.ts
#	src/helpers/component-tree.ts
#	src/helpers/debug.ts
#	src/helpers/host-component-names.tsx
#	src/helpers/matchers/match-label-text.ts
#	src/helpers/text-input.ts
#	src/queries/__tests__/accessibility-state.test.tsx
#	src/queries/__tests__/accessibility-value.test.tsx
#	src/queries/accessibility-state.ts
#	src/queries/accessibility-value.ts
#	src/render.tsx
#	src/user-event/press/press.ts
#	yarn.lock
@mdjastrzebski mdjastrzebski changed the base branch from main to v13 November 13, 2024 11:02
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

Attention: Patch coverage is 99.43662% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.33%. Comparing base (6dc9ae0) to head (11ff2bb).

Files with missing lines Patch % Lines
src/helpers/format-element.ts 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1705      +/-   ##
==========================================
- Coverage   95.38%   95.33%   -0.05%     
==========================================
  Files          94       89       -5     
  Lines        5245     4871     -374     
  Branches      892      530     -362     
==========================================
- Hits         5003     4644     -359     
+ Misses        242      227      -15     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mdjastrzebski mdjastrzebski changed the title v14 (alpha) - new renderer v14 (alpha) - React 19 only, uses new renderer Nov 13, 2024
Base automatically changed from v13 to main December 8, 2024 10:37
# Conflicts:
#	.github/workflows/ci.yml
#	jest-setup.ts
#	package.json
#	src/__tests__/react-native-animated.test.tsx
#	src/__tests__/render-hook.test.tsx
#	src/__tests__/render.test.tsx
#	src/__tests__/wait-for.test.tsx
#	src/act.ts
#	src/fire-event.ts
#	src/helpers/__tests__/component-tree.test.tsx
#	src/helpers/accessibility.ts
#	src/helpers/component-tree.ts
#	src/helpers/debug.ts
#	src/helpers/find-all.ts
#	src/helpers/format.ts
#	src/helpers/host-component-names.ts
#	src/helpers/matchers/match-accessibility-state.ts
#	src/helpers/matchers/match-accessibility-value.ts
#	src/helpers/matchers/match-label-text.ts
#	src/helpers/matchers/match-text-content.ts
#	src/helpers/pointer-events.ts
#	src/helpers/string-validation.ts
#	src/helpers/text-input.ts
#	src/index.ts
#	src/matchers/__tests__/to-be-empty-element.test.tsx
#	src/matchers/__tests__/utils.test.tsx
#	src/matchers/to-be-busy.ts
#	src/matchers/to-be-checked.ts
#	src/matchers/to-be-disabled.ts
#	src/matchers/to-be-empty-element.ts
#	src/matchers/to-be-expanded.ts
#	src/matchers/to-be-on-the-screen.ts
#	src/matchers/to-be-partially-checked.ts
#	src/matchers/to-be-selected.ts
#	src/matchers/to-be-visible.ts
#	src/matchers/to-contain-element.ts
#	src/matchers/to-have-accessibility-value.ts
#	src/matchers/to-have-accessible-name.ts
#	src/matchers/to-have-display-value.ts
#	src/matchers/to-have-prop.ts
#	src/matchers/to-have-style.ts
#	src/matchers/to-have-text-content.ts
#	src/matchers/types.ts
#	src/matchers/utils.ts
#	src/native-state.ts
#	src/queries/display-value.ts
#	src/queries/hint-text.ts
#	src/queries/label-text.ts
#	src/queries/make-queries.ts
#	src/queries/placeholder-text.ts
#	src/queries/role.ts
#	src/queries/test-id.ts
#	src/queries/text.ts
#	src/queries/unsafe-props.ts
#	src/queries/unsafe-type.ts
#	src/render-act.ts
#	src/render.tsx
#	src/screen.ts
#	src/user-event/clear.ts
#	src/user-event/index.ts
#	src/user-event/paste.ts
#	src/user-event/press/press.ts
#	src/user-event/scroll/scroll-to.ts
#	src/user-event/setup/setup.ts
#	src/user-event/type/type.ts
#	src/user-event/utils/dispatch-event.ts
#	src/within.ts
#	yarn.lock
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.

1 participant