Skip to content

Commit dfbdd97

Browse files
committed
Upgrade React Native to v0.59, from v0.57.
Fixes #3399! The bulk of the work of this upgrade went into a large number of commits previous to this one. The majority of the last few dozen commits, after 1c86488^, were part of the upgrade; some discussion in #3561. An earlier wave of effort focused on getting things working with the upgrade of Flow to v0.92; see #3450 and especially f8c9810, and then #3453 and #3442. Some other early discussion is at #3422. This commit itself was done mainly by running: $ tools/upgrade rn v0.59.10 Then, that tool needs a bit of an update for changes upstream. Because I'm feeling pressed to get this upgrade out the door (and to deal with the various separate trouble on iOS), I just took care of the other relevant packages by hand: updated `@babel/core` and `metro-react-native-babel-preset` in package.json according to the diff seen in `rn-diff-purge`, then reran `yarn`.
1 parent e8ea477 commit dfbdd97

File tree

3 files changed

+296
-160
lines changed

3 files changed

+296
-160
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
9999
suppress_comment=\\(.\\|\n\\)*\\$FlowMigrationFudge
100100

101101
[version]
102-
^0.81.0
102+
^0.92.0

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
"lodash.unescape": "^4.0.1",
4545
"lodash.union": "^4.6.0",
4646
"lodash.uniqby": "^4.4.0",
47-
"react": "16.6.3",
47+
"react": "16.8.3",
4848
"react-intl": "^2.4.0",
49-
"react-native": "0.57.8",
49+
"react-native": "0.59.10",
5050
"react-native-device-info": "^0.21.5",
5151
"react-native-image-picker": "^0.26.10",
5252
"react-native-notifications": "^1.2.0",
@@ -63,7 +63,7 @@
6363
"react-navigation": "^1.5.12",
6464
"react-navigation-redux-helpers": "^1.1.1",
6565
"react-redux": "^5.0.7",
66-
"react-test-renderer": "16.6.3",
66+
"react-test-renderer": "16.8.3",
6767
"redux": "^4.0.0",
6868
"redux-action-buffer": "^1.2.0",
6969
"redux-batched-actions": "^0.3.0",
@@ -79,7 +79,7 @@
7979
"zulip-markdown-parser": "^1.0.5"
8080
},
8181
"devDependencies": {
82-
"@babel/core": "^7.1.2",
82+
"@babel/core": "^7.4.5",
8383
"babel-eslint": "^10.0.2",
8484
"babel-plugin-transform-remove-console": "^6.9.4",
8585
"deep-freeze": "^0.0.1",
@@ -95,12 +95,12 @@
9595
"eslint-plugin-react": "^7.14.2",
9696
"eslint-plugin-react-native": "^3.7.0",
9797
"eslint-plugin-spellcheck": "0.0.14",
98-
"flow-bin": "^0.81.0",
98+
"flow-bin": "^0.92.0",
9999
"flow-coverage-report": "^0.6.0",
100100
"flow-typed": "^2.4.0",
101101
"jest": "^24.8.0",
102102
"jest-cli": "^24.8.0",
103-
"metro-react-native-babel-preset": "0.49.1",
103+
"metro-react-native-babel-preset": "^0.54.1",
104104
"prettier": "^1.18.2",
105105
"prettier-eslint": "^9.0.0",
106106
"prettier-eslint-cli": "^5.0.0",

0 commit comments

Comments
 (0)