Conversation
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
| "react": "19.0.0", | ||
| "react-native": "^0.79.0", | ||
| "react-native-macos": "^0.79.0", | ||
| "react": "19.1.4", |
There was a problem hiding this comment.
React Native 0.81 is locked to 19.1.0
There was a problem hiding this comment.
Fixed in commit 4e14e7b. React version is now 19.1.0 as required by React Native 0.81.
| }, | ||
| "peerDependencies": { | ||
| "@callstack/react-native-visionos": "0.76 - 0.79", | ||
| "@callstack/react-native-visionos": "0.76 - 0.81", |
There was a problem hiding this comment.
@callstack/react-native-visionos has yet to release 0.80+
There was a problem hiding this comment.
Fixed in commit 396028a. Reverted peerDependencies range back to 0.76 - 0.79 since @callstack/react-native-visionos 0.80+ has not been released yet.
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
Changes completed in commits 396028a and 4e14e7b. The Podfile.lock updates require running |
|
@copilot Remove |
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
Completed in commit 81861e4:
|
|
@copilot Don't remove support for visionOS entirely. Just from the example app and CI. |
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
Fixed in commit d8f7c37. Restored |
| "@react-native/js-polyfills": "^0.81.0", | ||
| "@react-native/normalize-colors": "^0.81.0", | ||
| "@react-native/virtualized-lists": "^0.81.0", | ||
| "react": "19.1.0", |
There was a problem hiding this comment.
Removed in commit 7ff5ba0. The explicit react resolution has been removed from package.json.
| permissions: {} | ||
| runs-on: macos-15 | ||
| if: ${{ github.event_name != 'schedule' }} | ||
| if: false # Disabled - visionOS support removed |
There was a problem hiding this comment.
Rephrase this comment and the other one in this file. We haven't removed support. Just disabling the CI jobs.
There was a problem hiding this comment.
Updated in commit 7ff5ba0. Changed comments from "visionOS support removed" to "CI testing for visionOS temporarily disabled" to clarify that the library still supports visionOS.
Co-authored-by: tido64 <4123478+tido64@users.noreply.github.com>
Completed in commit 7ff5ba0:
|
|
@copilot Windows builds are failing. Find the root cause and suggest solutions but don't make any changes until I tell you to. |
Root CauseWindows builds are failing with error MSB8036: The Windows SDK version 10.0.22621.0 was not found. The issue occurs when building:
Why it's happening:
Suggested SolutionsOption 1 (Quick fix): Downgrade CI runner
Option 2 (Proper fix): Update/remove the problematic dependency
Option 3: Install the missing SDK in CI
My recommendation: Use Option 1 (downgrade runner to windows-2022) as an immediate fix, then consider Option 2 (remove @react-native-webapis/web-storage if not needed) as the proper long-term solution. |
2a11c0a to
ee412c5
Compare
ee412c5 to
b807823
Compare
Description
Upgrades React Native from 0.79 to 0.81, along with associated dependencies.
Core packages:
CLI packages (18.x → 20.x):
Tooling packages:
Metro packages:
react-native-windows/metro-source-mapto force ^0.83.1visionOS changes:
@callstack/react-native-visionos: "0.76 - 0.79")@callstack/react-native-visionosdependency (example no longer demonstrates visionOS).github/workflows/build.yml(CI testing temporarily disabled).yarnrc.ymlOther changes:
yarn.lockusingyarn dedupe(fixed 3 duplicate packages)Platforms affected
Test plan
yarn installcompletes without peer dependency errorsOriginal prompt
Objective
Upgrade React Native from 0.79 to 0.81, along with all associated packages including React, @react-native-community/cli, and platform-specific packages (react-native-macos, react-native-windows, react-native-visionos).
Required Changes
1. Update
packages/app/package.jsonUpdate the following in
peerDependencies:Update the following in
devDependencies:2. Update
packages/app/example/package.jsonUpdate the following in
dependencies:Update the following in
devDependencies:3. Update root
package.jsonresolutionsUpdate the following in the
resolutionssection:4. Update
.github/renovate.jsonUpdate the packageRules:
Change the
@react-native-community/clirule:{ "groupName": "@react-native-community/cli", "allowedVersions": "^20.0.0", "matchPackageNames": ["@react-native-community/cli**"] }Change the
reactrule:{ "groupName": "react", "matchPackageNames": ["@types/react", "react"], "allowedVersions": "~19.1.0" }Change the
react-nativerule:{ "groupName": "react-native", "matchPackageNames": [ "@callstack/react-native-visionos", "@react-native-community/template", "@react-native-mac/**", "@react-native-macos/**", "@react-native/**", "react-native", "react-native-macos", "react-native-windows" ], "allowedVersions": "^0.81.0" }5. Update Podfile.lock files
After the package.json changes are made and dependencies are installed, update the CocoaPods lockfiles by running
pod installin the following directories:packages/app/example/ios/packages/app/example/macos/packages/app/example/visionos/This will update the Podfile.lock files to reflect the new React Native 0.81 pods.
Summary of Version Changes
Core Packages
19.0.0→19.1.0^0.79.0→^0.81.0^0.79.0→^0.81.0^0.79.0→^0.81.0^0.79.0→^0.81.0CLI Packages
^18.0.0→^20.0.0^18.0.0→^20.0.0^18.0.0→^20.0.0^18.0.0→^20.0.0^18.0.0→^20.0.0Templates and Tooling
^0.79.0→^0.81.0^0.79.0→^0.81.0^0.79.0→^0.81.0All @react-native/* scoped packages
All packages under the
@react-native/scope should be updated from^0.79.0to^0.81.0.Testing Requirements
After making these changes:
References
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.