-
-
Notifications
You must be signed in to change notification settings - Fork 665
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
WIP: Upgrade to RN 0.59 #3422
WIP: Upgrade to RN 0.59 #3422
Conversation
Thanks @borisyankov ! Just reviewed #3296 and made some comments there; looks quite close. This branch is marked WIP, so I won't review in detail. High-level feedback:
|
The |
Thanks, good to know! Can that commit come before the upgrade? (There isn't much of a commit message in this WIP version -- and I don't really understand what the change is doing.) If so, that'd be much preferable. (But as above, at a bare minimum if we can't do any better then this fact should be super explicit in the commit message where we do the upgrade.) |
It might be. I will explore that. |
833618c
to
6edfc39
Compare
Just merged #3296, which was blocking this. |
As I mentioned on #3428, I just spent a bit of time looking at the Flow aspect of this. Folding in here the relevant points:
Another thought:
|
I just pushed one of these commits that had a Flow fix (4851f34) as well as a few other Flow 0.92 fixes that I spotted when poking at this. Thanks! And I'll bump the |
I have a branch at gnprice/zulip-mobile@connect that upgrades to the new libdef for At this point I think it's reduced to just one issue, which is that the new libdef seems not to take into account the funky semantics of
where, say, So, next up is I'll dig into that. Then |
f4662a2
to
3e1d5a9
Compare
4a1b88a
to
54e701a
Compare
Fixes zulip#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 zulip#3561. An earlier wave of effort focused on getting things working with the upgrade of Flow to v0.92; see zulip#3450 and especially f8c9810, and then zulip#3453 and zulip#3442. Some other early discussion is at zulip#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`.
#3399 is now complete! Closing this version. |
Addresses #3399
Fixes #3381