chore(deps): update project dependencies to latest versions#3
chore(deps): update project dependencies to latest versions#3
Conversation
Update React Native dependencies including @apollo/client, @tanstack/react-query, navigation libraries, and native modules. Also update iOS CocoaPods dependencies and add privacy manifest API reason. Major updates: - @apollo/client: 3.13.8 → 3.14.0 - @tanstack/react-query: 5.80.6 → 5.90.3 - @sentry/react-native: 6.15.1 → 7.3.0 - @xstate/react: 5.0.5 → 6.0.0 - react-native navigation packages to latest - Multiple native module dependency updates - iOS Stripe SDK: 24.7.0 → 24.23.3 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Summary of ChangesHello @AnnatarHe, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request comprehensively updates the project's dependencies to their most recent stable versions. The primary goal is to ensure the application leverages the latest features, performance optimizations, and security patches across its entire technology stack, from core React Native libraries and state management solutions to error tracking and payment processing. This includes several major version upgrades that necessitate thorough testing to mitigate potential breaking changes and ensure continued application stability and functionality. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request aims to update project dependencies, but it appears that nearly all of the specified new versions for the packages in package.json are incorrect and do not exist on the public npm registry. This was likely caused by an error in the tool used to generate these updates, as noted by the 'Generated with Claude Code' in the description. These invalid versions will cause the dependency installation to fail. I recommend discarding these changes and regenerating the dependency updates using a standard package manager command like yarn upgrade-interactive --latest to ensure all packages are updated to their actual latest versions.
| "dependencies": { | ||
| "@apollo/client": "^3.13.8", | ||
| "@formatjs/intl-pluralrules": "^5.4.4", | ||
| "@apollo/client": "^3.14.0", | ||
| "@formatjs/intl-pluralrules": "^5.4.6", | ||
| "@georstat/react-native-image-cache": "^3.1.0", | ||
| "@gluestack-style/react": "^1.0.57", | ||
| "@gluestack-ui/config": "^1.1.20", | ||
| "@gluestack-ui/themed": "^1.1.73", | ||
| "@hookform/resolvers": "^5.1.1", | ||
| "@hookform/resolvers": "^5.2.2", | ||
| "@invertase/react-native-apple-authentication": "^2.4.1", | ||
| "@leancloud/platform-adapters-react-native": "^0.7.0", | ||
| "@react-native-async-storage/async-storage": "^2.2.0", | ||
| "@react-native-camera-roll/camera-roll": "^7.10.0", | ||
| "@react-native-clipboard/clipboard": "^1.16.2", | ||
| "@react-native-camera-roll/camera-roll": "^7.10.2", | ||
| "@react-native-clipboard/clipboard": "^1.16.3", | ||
| "@react-native-community/blur": "^4.4.1", | ||
| "@react-native-community/netinfo": "^11.4.1", | ||
| "@react-native-community/push-notification-ios": "^1.11.0", | ||
| "@react-navigation/bottom-tabs": "^7.3.14", | ||
| "@react-navigation/elements": "^2.4.3", | ||
| "@react-navigation/native": "^7.1.10", | ||
| "@react-navigation/native-stack": "^7.3.14", | ||
| "@sentry/react-native": "^6.15.1", | ||
| "@shopify/flash-list": "^1.8.2", | ||
| "@stripe/stripe-react-native": "^0.43.0", | ||
| "@tanstack/query-async-storage-persister": "^5.80.6", | ||
| "@tanstack/react-query": "^5.80.6", | ||
| "@tanstack/react-query-persist-client": "^5.80.6", | ||
| "@react-navigation/bottom-tabs": "^7.4.9", | ||
| "@react-navigation/elements": "^2.6.5", | ||
| "@react-navigation/native": "^7.1.18", | ||
| "@react-navigation/native-stack": "^7.3.28", | ||
| "@sentry/react-native": "^7.3.0", | ||
| "@shopify/flash-list": "^2.1.0", | ||
| "@stripe/stripe-react-native": "^0.54.1", | ||
| "@tanstack/query-async-storage-persister": "^5.90.5", | ||
| "@tanstack/react-query": "^5.90.3", | ||
| "@tanstack/react-query-persist-client": "^5.90.5", | ||
| "@twotalltotems/react-native-otp-input": "^1.3.11", | ||
| "@walletconnect/modal-react-native": "^1.1.0", | ||
| "@walletconnect/react-native-compat": "^2.21.2", | ||
| "@xstate/react": "^5.0.5", | ||
| "@walletconnect/react-native-compat": "^2.22.4", | ||
| "@xstate/react": "^6.0.0", | ||
| "aes-js": "^3.1.2", | ||
| "buffer": "^6.0.3", | ||
| "fast-text-encoding": "^1.0.6", | ||
| "i18next": "^24.2.3", | ||
| "jotai": "^2.12.5", | ||
| "i18next": "^25.6.0", | ||
| "jotai": "^2.15.0", | ||
| "leancloud-storage": "^4.15.2", | ||
| "native-base": "^3.4.28", | ||
| "nativewind": "^4.1.23", | ||
| "nativewind": "^4.2.1", | ||
| "react": "19.0.0", | ||
| "react-dom": "^19.0.0", | ||
| "react-hook-form": "^7.57.0", | ||
| "react-hot-toast": "^2.5.2", | ||
| "react-i18next": "^15.5.2", | ||
| "react-hook-form": "^7.65.0", | ||
| "react-hot-toast": "^2.6.0", | ||
| "react-i18next": "^16.0.1", | ||
| "react-native": "^0.79.3", | ||
| "react-native-actions-sheet": "^0.9.7", | ||
| "react-native-blurhash": "^2.1.1", | ||
| "react-native-bootsplash": "^6.3.9", | ||
| "react-native-device-info": "^14.0.4", | ||
| "react-native-file-access": "^3.1.1", | ||
| "react-native-gesture-handler": "^2.25.0", | ||
| "react-native-blurhash": "^2.1.2", | ||
| "react-native-bootsplash": "^6.3.11", | ||
| "react-native-device-info": "^14.1.1", | ||
| "react-native-file-access": "^3.2.0", | ||
| "react-native-gesture-handler": "^2.28.0", | ||
| "react-native-get-random-values": "^1.11.0", | ||
| "react-native-heroicons": "^4.0.0", | ||
| "react-native-image-colors": "^2.4.0", | ||
| "react-native-image-colors": "^2.5.0", | ||
| "react-native-image-picker": "^8.2.1", | ||
| "react-native-linear-gradient": "^2.8.3", | ||
| "react-native-localize": "^3.4.1", | ||
| "react-native-mmkv": "^3.2.0", | ||
| "react-native-localize": "^3.5.4", | ||
| "react-native-mmkv": "^3.3.3", | ||
| "react-native-modal": "^14.0.0-rc.1", | ||
| "react-native-otp-entry": "^1.8.4", | ||
| "react-native-otp-entry": "^1.8.5", | ||
| "react-native-phone-number-input": "^2.1.0", | ||
| "react-native-reanimated": "^3.17.3", | ||
| "react-native-safe-area-context": "^5.4.1", | ||
| "react-native-screens": "^4.11.1", | ||
| "react-native-super-grid": "^6.0.1", | ||
| "react-native-svg": "^15.12.0", | ||
| "react-native-vector-icons": "^10.2.0", | ||
| "react-native-safe-area-context": "^5.6.1", | ||
| "react-native-screens": "^4.16.0", | ||
| "react-native-super-grid": "^6.0.2", | ||
| "react-native-svg": "^15.14.0", | ||
| "react-native-vector-icons": "^10.3.0", | ||
| "react-native-view-shot": "^4.0.3", | ||
| "react-native-webview": "^13.15.0", | ||
| "react-native-webview": "^13.16.0", | ||
| "react-native-widgetkit": "^1.0.9", | ||
| "xstate": "^5.19.4", | ||
| "zod": "^3.25.61" | ||
| "xstate": "^5.23.0", | ||
| "zod": "^4.1.12" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.27.4", | ||
| "@babel/core": "^7.28.4", | ||
| "@babel/plugin-transform-template-literals": "^7.27.1", | ||
| "@babel/runtime": "^7.27.6", | ||
| "@biomejs/biome": "1.9.4", | ||
| "@graphql-codegen/cli": "^5.0.7", | ||
| "@graphql-codegen/client-preset": "^4.8.2", | ||
| "@graphql-codegen/introspection": "4.0.3", | ||
| "@graphql-codegen/typescript": "4.1.6", | ||
| "@graphql-codegen/typescript-operations": "4.6.1", | ||
| "@babel/runtime": "^7.28.4", | ||
| "@biomejs/biome": "2.2.6", | ||
| "@graphql-codegen/cli": "^6.0.0", | ||
| "@graphql-codegen/client-preset": "^5.1.0", | ||
| "@graphql-codegen/introspection": "5.0.0", | ||
| "@graphql-codegen/typescript": "5.0.2", | ||
| "@graphql-codegen/typescript-operations": "5.0.2", | ||
| "@graphql-codegen/typescript-react-apollo": "4.3.3", | ||
| "@graphql-codegen/typescript-react-query": "^6.1.1", | ||
| "@jest/globals": "^29.7.0", | ||
| "@jest/globals": "^30.2.0", | ||
| "@react-native-community/cli": "^18.0.0", | ||
| "@react-native/babel-preset": "^0.79.3", | ||
| "@react-native/eslint-config": "^0.79.3", | ||
| "@react-native/metro-config": "^0.79.3", | ||
| "@react-native/typescript-config": "^0.79.3", | ||
| "@testing-library/jest-native": "^5.4.3", | ||
| "@testing-library/react-native": "^13.2.0", | ||
| "@tsconfig/react-native": "^3.0.5", | ||
| "@types/jest": "^29.5.14", | ||
| "@tsconfig/react-native": "^3.0.7", | ||
| "@types/jest": "^30.0.0", | ||
| "@types/metro-config": "^0.76.3", | ||
| "@types/react": "^19.1.7", | ||
| "@types/react": "^19.2.2", | ||
| "@types/react-native-vector-icons": "^6.4.18", | ||
| "@types/react-test-renderer": "^19.0.0", | ||
| "@typescript-eslint/eslint-plugin": "^8.34.0", | ||
| "@typescript-eslint/parser": "^8.34.0", | ||
| "babel-jest": "^29.7.0", | ||
| "concurrently": "^9.1.2", | ||
| "eslint": "^9.28.0", | ||
| "@types/react-test-renderer": "^19.1.0", | ||
| "@typescript-eslint/eslint-plugin": "^8.46.1", | ||
| "@typescript-eslint/parser": "^8.46.1", | ||
| "babel-jest": "^30.2.0", | ||
| "concurrently": "^9.2.1", | ||
| "eslint": "^9.37.0", | ||
| "eslint-plugin-ft-flow": "^3.0.11", | ||
| "eslint-plugin-jest": "^28.13.3", | ||
| "eslint-plugin-jest": "^29.0.1", | ||
| "graphql": "^16.11.0", | ||
| "jest": "^29.7.0", | ||
| "nock": "^14.0.5", | ||
| "postcss": "^8.5.4", | ||
| "jest": "^30.2.0", | ||
| "nock": "^14.0.10", | ||
| "postcss": "^8.5.6", | ||
| "react-native-svg-transformer": "^1.5.1", | ||
| "react-test-renderer": "19.0.0", | ||
| "react-test-renderer": "19.2.0", | ||
| "standard-version": "^9.5.0", | ||
| "tailwindcss": "3.4.17", | ||
| "ts-jest": "^29.3.4", | ||
| "tailwindcss": "3.4.18", | ||
| "ts-jest": "^29.4.5", | ||
| "ts-node": "^10.9.2", | ||
| "typescript": "^5.8.3" | ||
| "typescript": "^5.9.3" | ||
| }, |
There was a problem hiding this comment.
The version numbers for most of the updated dependencies in this file are invalid and do not correspond to actual published versions on npm. This will cause yarn install or npm install to fail.
For example:
@apollo/client: version3.14.0does not exist. The latest is3.10.4.@sentry/react-native: version7.3.0does not exist. The latest is5.21.0.@tanstack/react-query: version5.90.3does not exist. The latest is5.45.1.@xstate/react: version6.0.0does not exist. The latest is4.0.3.zod: version4.1.12does not exist. The latest is3.23.8.jest: version30.2.0does not exist. The latest is29.7.0.
This issue affects almost every updated package in both dependencies and devDependencies. It seems these versions may have been hallucinated by an AI tool.
To fix this, please regenerate the dependency updates using your package manager. For example, with yarn, you can run:
yarn upgrade-interactive --latestThis will allow you to select and update packages to their actual latest versions. After updating package.json correctly, remember to run cd ios && pod install to update the iOS dependencies accordingly.
- Upgrade React Native from 0.79.3 to 0.82.0 - Update Android SDK versions (34→36) and Kotlin (2.0.21→2.1.20) - Upgrade Gradle wrapper from 8.13 to 9.0.0 - Add react-native-worklets plugin to Babel config - Update iOS Podfile dependencies - Add Android edge-to-edge and cleartext traffic support - Update TypeScript configuration - Refine Prettier configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Upgrade React and React DOM from 19.0.0 to 19.1.1 - Upgrade @types/react from 19.2.2 to 19.1.1 - Update react-test-renderer to 19.1.1 - Simplify Babel config by consolidating plugin configuration - Fix iOS i18n locale detection to use getConstants() API - Update Sentry Xcode build script to use new sentry-xcode.sh path - Update CocoaPods dependencies and checksums 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Summary
This PR updates React Native project dependencies to their latest versions, including:
iOS Changes
0A2A.1to PrivacyInfo.xcprivacyDevelopment Dependencies
Test Plan
Breaking Changes
Potential breaking changes to review:
🤖 Generated with Claude Code