Skip to content

React 19 & CMR v7#350

Draft
cb-ekuersch wants to merge 29 commits intocds-v9from
react-19
Draft

React 19 & CMR v7#350
cb-ekuersch wants to merge 29 commits intocds-v9from
react-19

Conversation

@cb-ekuersch
Copy link
Contributor

What changed? Why?

Root cause (required for bugfixes)

UI changes

iOS Old iOS New
old screenshot new screenshot
Android Old Android New
old screenshot new screenshot
Web Old Web New
old screenshot new screenshot

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

@cb-ekuersch cb-ekuersch changed the title React 19 React 19 & CMR v7 Jan 30, 2026
package.json Outdated
@@ -68,8 +68,6 @@
"@testing-library/user-event@^14.0.4": "patch:@testing-library/user-event@npm:14.0.4#.yarn/patches/@testing-library-user-event-npm-14.0.4-109d618170",
"framer-motion@^10.18.0": "patch:framer-motion@npm:10.18.0#.yarn/patches/framer-motion-npm-10.18.0-ae9ea02138",
"@expo/cli": "patch:@expo/cli@npm:0.18.29#.yarn/patches/@expo-cli-npm-0.18.29-f58906fdfb.patch",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

open android/ios shortcust remove if dont need

package.json Outdated
"@expo/cli": "patch:@expo/cli@npm:0.18.29#.yarn/patches/@expo-cli-npm-0.18.29-f58906fdfb.patch",
"react-native": "patch:react-native@npm:0.74.5#.yarn/patches/react-native-npm-0.74.5-db5164f47b.patch",
"react-native-gesture-handler": "patch:react-native-gesture-handler@npm:2.16.2#.yarn/patches/react-native-gesture-handler-npm-2.16.2-c16529326b.patch",
"expo-splash-screen": "patch:expo-splash-screen@npm:0.27.5#.yarn/patches/expo-splash-screen-npm-0.27.5-f91e0b41df.patch",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

delete - fixed expo-splash-screen

"react-native": "patch:react-native@npm:0.74.5#.yarn/patches/react-native-npm-0.74.5-db5164f47b.patch",
"react-native-gesture-handler": "patch:react-native-gesture-handler@npm:2.16.2#.yarn/patches/react-native-gesture-handler-npm-2.16.2-c16529326b.patch",
"expo-splash-screen": "patch:expo-splash-screen@npm:0.27.5#.yarn/patches/expo-splash-screen-npm-0.27.5-f91e0b41df.patch",
"react-native-navigation-bar-color": "patch:react-native-navigation-bar-color@npm:2.0.2#.yarn/patches/react-native-navigation-bar-color-npm-2.0.2-9a2ea3aaf6.patch",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

keep

package.json Outdated
"react-native-gesture-handler": "patch:react-native-gesture-handler@npm:2.16.2#.yarn/patches/react-native-gesture-handler-npm-2.16.2-c16529326b.patch",
"expo-splash-screen": "patch:expo-splash-screen@npm:0.27.5#.yarn/patches/expo-splash-screen-npm-0.27.5-f91e0b41df.patch",
"react-native-navigation-bar-color": "patch:react-native-navigation-bar-color@npm:2.0.2#.yarn/patches/react-native-navigation-bar-color-npm-2.0.2-9a2ea3aaf6.patch",
"expo-dev-launcher": "patch:expo-dev-launcher@npm:4.0.27#.yarn/patches/expo-dev-launcher-npm-4.0.27-c2ab5dd4a5.patch",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

dont need fix - resolved

…y from react-test-renderer

  - remove jest-native from preset and package.json (deprecated in favor of RNTL built-in matchers)
  - migrate toHaveAccessibilityState to granular matchers (toBeChecked, toBeSelected, toBeDisabled)
  - convert Link.test.tsx prop tests to behavioral tests using mocked useWebBrowserOpener
  - skip InputStack.test.tsx prop forwarding tests (implementation details not testable via host elements)
  - replace ReactTestInstance type import in ProgressBar.test.tsx with RNTL-compatible type
…ncorrect imports and update web unit test tests, following react downgrade in previous commit
  - Add `{ includeHiddenElements: true }` to queries for elements with
    `accessibilityElementsHidden={true}` or `aria-hidden={true}`
  - Replace `UNSAFE_queryAllByType(Pressable)` implementation detail tests
    with behavioral tests using `fireEvent.press`
  - Update NativeEventEmitter mock to return subscription objects with
    `.remove()` method for KeyboardAvoidingView compatibility
  - Replace deprecated `SafeAreaView` from react-native with
    `react-native-safe-area-context` in Modal components
  - Refactor useAppState tests to use `jest.spyOn` instead of `jest.doMock`
    with dynamic imports
  - Change `.toBe()` to `.toContainEqual()` for style array comparisons
  - Use regex patterns for partial text matching with `toHaveTextContent`
  - Update `.parent` to `.parent.parent` for correct element traversal
  - Remove animated style assertions that no longer work with reanimated 4.x
  - Drop tests requiring complex Platform/StatusBar native module mocking
  - Drop deprecated CellMedia component tests using UNSAFE_getByType(Image)
  - Update expected tooltip position values after calculation changes
  - Fix `fireEvent.click` to `fireEvent.press` in React Native tests

  Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
cb-ekuersch and others added 7 commits February 1, 2026 17:07
* Ran CMRv7 setup command to set compatible version deps and resolved failing yarn constraints check
* remove odd react-dom peer dep on common package
* Add new yarn constraint to force dev deps on peer deps and fix all yarn constraints & improve clarity of errors reported from consistent version numbers constraint
* remove unused peer desps of cds-mobile
* new app: test-expo for mobile testing with build scripts for easy ios and android simulator testing and options to build for release as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant