-
-
Notifications
You must be signed in to change notification settings - Fork 34
Bump @react-native-community/cli and react-native #98
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
base: main
Are you sure you want to change the base?
Conversation
Removes [@react-native-community/cli](https://github.com/react-native-community/cli/tree/HEAD/packages/cli). It's no longer used after updating ancestor dependency [react-native](https://github.com/facebook/react-native/tree/HEAD/packages/react-native). These dependencies need to be updated together. Removes `@react-native-community/cli` Updates `react-native` from 0.62.3 to 0.82.1 - [Release notes](https://github.com/facebook/react-native/releases) - [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG-0.6x.md) - [Commits](https://github.com/facebook/react-native/commits/v0.82.1/packages/react-native) --- updated-dependencies: - dependency-name: "@react-native-community/cli" dependency-version: dependency-type: indirect - dependency-name: react-native dependency-version: 0.82.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
WalkthroughReact Native devDependency version updated from 0.62.3 to 0.82.1 in package.json. This represents a major version bump spanning multiple releases over approximately two years of React Native development. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json(1 hunks)
| "metro-react-native-babel-preset": "^0.57.0", | ||
| "react": "16.11.0", | ||
| "react-native": "0.62.3" | ||
| "react-native": "0.82.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Major version bump: Verify React and React Native compatibility.
This is a significant version bump (+20 minor versions) from 0.62.3 to 0.82.1. React Native 0.62 to 0.82 likely includes breaking changes. Additionally, react is pinned at 16.11.0 (from the 0.62 era), which may be incompatible with React Native 0.82.1.
To ensure this bump is compatible, please verify:
- React/React Native version compatibility: Confirm that react 16.11.0 works with react-native 0.82.1
- Breaking changes: Review the React Native 0.82 changelog to identify any API deprecations or breaking changes that affect this library
- Build & runtime validation: Ensure the library builds and functions correctly with the new version
- No test coverage: The test script shows no tests are configured. Consider running manual or automated tests to validate this major bump
You can search for the React Native 0.82.1 release notes and React 16.11.0 compatibility:
🌐 Web query:
React Native 0.82 release notes breaking changes
💡 Result:
Here are the notable breaking changes in React Native 0.82 (summary from the release notes). Sources: [1][2].
- Uncaught promise rejections are now reported via console.error (previously swallowed) — expect previously hidden errors to surface. [1]
- Move ReactNativeFeatureFlags to src/private (private API — don’t depend on it). [1]
- Appearance.setColorScheme() no longer accepts nullable; use 'unspecified' to reset. [1]
- iOS: RCTDisplayLink migrated away from legacy RCTModuleData API. [1]
- Android:
- Removed public class com.facebook.react.bridge.JSONArguments. [1]
- MessageQueueThreadPerfStats deprecated and replaced with a stub. [1]
- Gradle requirement bumped to 9.0.0. [1]
- C++: backward-compat headers for CallbackWrapper.h and LongLivedObject.h deleted — use new includes (#include <react/bridging/LongLivedObject.h> and CallbackWrapper.h). [1]
For full details and the complete CHANGELOG see the official release post. [1][2]
Sources:
[1] React Native blog — “React Native 0.82” release notes.
[2] Community write-up / Medium summary of 0.82 release.
🌐 Web query:
React 16.11.0 compatibility with React Native 0.82
💡 Result:
Short answer: Not compatible. React Native 0.82 ships with and expects React 19 (React 19.1.1 in the 0.82 release), so using React 16.11.0 with RN 0.82 is unsupported and likely to break. [1][2]
Sources:
- React Native 0.82 release notes (shows RN 0.82 ships with React 19.1.1). [1]
- npm / package info for React 16.11.0 (shows that 16.11.0 is an older React major version). [2]
React must be updated to React 19.x to match React Native 0.82.1.
React Native 0.82 ships with React 19.1.1, but this library pins react at 16.11.0 in devDependencies. Using React 16.11.0 with React Native 0.82 is unsupported and likely to break.
Additionally, React Native 0.82 includes several breaking changes including uncaught promise rejections now reported via console.error, removal of public class com.facebook.react.bridge.JSONArguments on Android, Gradle requirement bumped to 9.0.0, and C++ backward-compat headers deleted.
Required fixes:
- Update
reactdependency from16.11.0to19.xin devDependencies - Review the React Native 0.82 changelog to ensure no deprecated APIs used in this library
- Add test coverage to validate the bump (currently no tests configured)
🤖 Prompt for AI Agents
In package.json around line 36, devDependency "react" is pinned to 16.11.0 but
React Native 0.82.1 requires React 19.x; update the devDependency to a 19.x
semver (e.g. "^19.0.0" or the exact 19.1.1), run package manager install to
update lockfile, run the app and unit/integration tests to catch breakages,
review the React Native 0.82 changelog for removed/changed APIs (handle uncaught
promise rejections, Android JSONArguments removal, Gradle 9 requirements, C++
header changes) and adjust code accordingly, and add/enable tests that validate
the bump (component renders and native integration smoke tests) so CI prevents
regressions.
Removes @react-native-community/cli. It's no longer used after updating ancestor dependency react-native. These dependencies need to be updated together.
Removes
@react-native-community/cliUpdates
react-nativefrom 0.62.3 to 0.82.1Release notes
Sourced from react-native's releases.
... (truncated)
Changelog
Sourced from react-native's changelog.
... (truncated)
Commits
3a625f7Release 0.82.12318229fixed cp command to work with gnu coreutils (#54063)bdc2c19Fix useNativeTransformHelper behaviour when frame size is 0 (#53978)06c4c42Release 0.82.03336199Release 0.82.0-rc.5fddf263RN: DeprecateInteractionManager(#53832)458cd06RN: Remove References toInteractionManager(#53830)e5fca6cCrash the app when Legacy Arch is enabled (#53911)b1994ddAdd invalidation callback for non-recycled component instances on iOS (#53708)6efaeaf[0.82] Update Hermes V1 version (#53932)Maintainer changes
This version was pushed to npm by react-native-bot, a new releaser for react-native since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.