Skip to content

chore(deps): update project dependencies to latest versions#3

Merged
AnnatarHe merged 3 commits intomasterfrom
chore/update-dependencies
Oct 18, 2025
Merged

chore(deps): update project dependencies to latest versions#3
AnnatarHe merged 3 commits intomasterfrom
chore/update-dependencies

Conversation

@AnnatarHe
Copy link
Member

Summary

This PR updates React Native project dependencies to their latest versions, including:

  • Apollo Client: 3.13.8 → 3.14.0 - GraphQL client updates
  • TanStack React Query: 5.80.6 → 5.90.3 - Server state management improvements
  • Sentry: 6.15.1 → 7.3.0 - Error tracking and monitoring (major version update)
  • XState React: 5.0.5 → 6.0.0 - State machine integration (major version update)
  • React Navigation: Updated all navigation packages to latest versions
  • Native Modules: Updated multiple React Native modules including:
    • react-native-blurhash: 2.1.1 → 2.1.2
    • react-native-cameraroll: 7.10.0 → 7.10.2
    • react-native-mmkv: 3.2.0 → 3.3.3
    • react-native-safe-area-context: 5.4.1 → 5.6.1
    • react-native-screens: 4.11.1 → 4.16.0
    • react-native-gesture-handler: 2.25.0 → 2.28.0
    • And many more...

iOS Changes

  • Stripe SDK: 24.7.0 → 24.23.3 - Payment processing updates
  • CocoaPods: Updated all iOS native dependencies
  • Privacy Manifest: Added new API reason 0A2A.1 to PrivacyInfo.xcprivacy
  • Xcode Project: Build script improvements (removed deprecated input/output paths)

Development Dependencies

  • Updated TypeScript, Jest, Babel, GraphQL Codegen, and ESLint packages
  • Biome: 1.9.4 → 2.2.6 - Code formatter and linter

Test Plan

  • Build iOS app successfully
  • Build Android app successfully
  • Run unit tests
  • Verify authentication flows work correctly (potential breaking changes in XState)
  • Test GraphQL queries and mutations (Apollo Client update)
  • Verify error tracking with Sentry (major version update)
  • Test navigation flows
  • Verify Stripe payment flows work correctly
  • Check app performance and stability

Breaking Changes

Potential breaking changes to review:

  1. @xstate/react 6.0.0: May have API changes in state machine hooks
  2. @sentry/react-native 7.0+: Major version update may have configuration changes
  3. Various native modules: Should be tested on both iOS and Android devices

🤖 Generated with Claude Code

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>
@gemini-code-assist
Copy link

Summary of Changes

Hello @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

  • Core Dependency Upgrades: Key libraries like Apollo Client, TanStack React Query, and React Navigation have been updated to their latest versions, bringing new features and performance enhancements.
  • Major Version Bumps: Significant updates for Sentry (6.x to 7.x) and XState React (5.x to 6.x) introduce potential breaking changes that require careful testing.
  • iOS Platform Enhancements: The Stripe SDK has been updated, all CocoaPods dependencies refreshed, and a new privacy API reason ("0A2A.1") added to PrivacyInfo.xcprivacy for compliance.
  • Development Tooling Modernization: Development dependencies including TypeScript, Jest, Babel, GraphQL Codegen, ESLint, and Biome have been upgraded, improving the developer experience and code quality checks.
  • Native Module Refresh: Numerous React Native native modules, such as react-native-blurhash, react-native-cameraroll, react-native-mmkv, react-native-safe-area-context, react-native-screens, and react-native-gesture-handler, have received updates.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

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.

Comment on lines 17 to 133
"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"
},

Choose a reason for hiding this comment

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

critical

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: version 3.14.0 does not exist. The latest is 3.10.4.
  • @sentry/react-native: version 7.3.0 does not exist. The latest is 5.21.0.
  • @tanstack/react-query: version 5.90.3 does not exist. The latest is 5.45.1.
  • @xstate/react: version 6.0.0 does not exist. The latest is 4.0.3.
  • zod: version 4.1.12 does not exist. The latest is 3.23.8.
  • jest: version 30.2.0 does not exist. The latest is 29.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 --latest

This 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.

AnnatarHe and others added 2 commits October 16, 2025 00:57
- 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>
@AnnatarHe AnnatarHe merged commit f6ab716 into master Oct 18, 2025
1 check failed
@AnnatarHe AnnatarHe deleted the chore/update-dependencies branch October 18, 2025 11:32
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