- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 354
          Bump core to RN 0.80.1
          #5181
        
          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?
  
    Bump core to RN 0.80.1
  
  #5181
                      Changes from all commits
33bec47
              bf4035d
              85f9958
              12a39fd
              05a8dd1
              db5bea1
              56b1819
              ba3fb0e
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| #!/usr/bin/env node | ||
|  | ||
| const fs = require('fs'); | ||
| const { argv } = require('process'); | ||
|  | ||
| const parseArgs = require('minimist'); | ||
| const { debug } = require('@sentry/core'); | ||
| debug.enable(); | ||
|  | ||
| const args = parseArgs(argv.slice(2)); | ||
| if (!args.podspec) { | ||
| throw new Error('Missing --podspec'); | ||
| } | ||
|  | ||
| // The reason behind this patch is that the boost podspec is pointing to an archive with the wrong hashsum. | ||
| // The official workaround is to patch the URL as described here: | ||
| // https://github.com/facebook/react-native/issues/42180 | ||
|         
                  alwx marked this conversation as resolved.
              Show resolved
            Hide resolved | ||
|  | ||
| debug.log('Patching Boost podspec: ', args.podspec); | ||
|  | ||
| let content = fs.readFileSync(args.podspec, 'utf8'); | ||
| content = content.replace( | ||
| "https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2", | ||
| "https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2" | ||
| ); | ||
| fs.writeFileSync(args.podspec, content); | ||
|  | ||
| debug.log('Patched Boost podspec successfully!'); | ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -76,18 +76,19 @@ | |
| "@sentry/types": "10.22.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/core": "^7.25.2", | ||
| "@babel/core": "^7.26.7", | ||
| "@expo/metro-config": "~0.20.0", | ||
| "@mswjs/interceptors": "^0.25.15", | ||
| "@react-native/babel-preset": "0.77.1", | ||
| "@react-native/babel-preset": "0.80.0", | ||
| "@sentry-internal/eslint-config-sdk": "10.22.0", | ||
| "@sentry-internal/eslint-plugin-sdk": "10.22.0", | ||
| "@sentry-internal/typescript": "10.22.0", | ||
| "@sentry/wizard": "6.6.0", | ||
| "@testing-library/react-native": "^12.7.2", | ||
| "@testing-library/react-native": "^13.2.2", | ||
| "@types/jest": "^29.5.13", | ||
| "@types/node": "^20.9.3", | ||
| "@types/react": "^18.2.64", | ||
| "@types/react": "^19.1.0", | ||
| "@types/react-test-renderer": "^19.1.0", | ||
| "@types/uglify-js": "^3.17.2", | ||
| "@types/uuid": "^9.0.4", | ||
| "@types/xmlhttprequest": "^1.8.2", | ||
|  | @@ -102,14 +103,15 @@ | |
| "eslint-plugin-react-native": "^3.8.1", | ||
| "expo": "^53.0.0", | ||
| "expo-module-scripts": "3.1.0", | ||
| "jest": "^29.6.2", | ||
| "jest": "^29.6.3", | ||
| "jest-environment-jsdom": "^29.6.2", | ||
| "jest-extended": "^4.0.2", | ||
| "madge": "^6.1.0", | ||
| "metro": "0.83.1", | ||
| "prettier": "^2.0.5", | ||
| "react": "18.3.1", | ||
| "react-native": "0.77.1", | ||
| "react": "19.1.0", | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The update from React 18.3.1 to 19.1.0 is a major version upgrade that introduces breaking changes. Ensure that all React 19 breaking changes have been reviewed and that the codebase is compatible. Specifically, React 19 has changes to refs, context, and hooks behavior that may require code updates beyond just dependency version bumps. Did we get this right? 👍 / 👎 to inform future reviews. | ||
| "react-native": "0.80.1", | ||
| "react-test-renderer": "19.1.0", | ||
| "rimraf": "^4.1.1", | ||
| "ts-jest": "^29.3.1", | ||
| "typescript": "4.9.5", | ||
|  | ||
Uh oh!
There was an error while loading. Please reload this page.