debugger icon indicating copy to clipboard operation
debugger copied to clipboard

[flow] update to v 56

Open jasonLaster opened this issue 9 years ago • 15 comments

It would be great to get help upgrading flow from 52 to 53.

Flow 53 is blocked on some new flow rules: https://circleci.com/gh/devtools-html/debugger.html/6192?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

jasonLaster avatar Aug 16 '17 15:08 jasonLaster

I'll take a stab at this :)

arthur801031 avatar Aug 17 '17 16:08 arthur801031

Oh thanks @arthur801031!

jasonLaster avatar Aug 17 '17 18:08 jasonLaster

This PR is a good start, but it's possible things have changed in 54 and 55.

flow-upgrade could help. Also their changelog could be helpful

jasonLaster avatar Oct 03 '17 21:10 jasonLaster

I've started on this as well. Will take a shot and see how it goes. Got about half of the flow errors resolved.

ahuth avatar Oct 18 '17 15:10 ahuth

@ahuth that's great!

jasonLaster avatar Oct 18 '17 15:10 jasonLaster

Open a WIP PR so we can provide feedback

jasonLaster avatar Oct 18 '17 15:10 jasonLaster

what version of flow are you using?

jasonLaster avatar Oct 18 '17 15:10 jasonLaster

Open a WIP PR so we can provide feedback

Will do 👍

what version of flow are you using?

I'm in the middle of upgrading to 0.53.0 as a first shot, which seems to be where the significant React changes were made. Planning on going to the latest version, though (0.57.3) by the end of the effort.

ahuth avatar Oct 18 '17 19:10 ahuth

sounds good. We'd obviously be happy to go to 53 before we try 54, ...

jasonLaster avatar Oct 18 '17 19:10 jasonLaster

An interesting thing is that flow-upgrade doesn't seem to be able to actually change anything:

Running 3 codemods...

Processing 139 files...
Spawning 3 workers...
Sending 47 files to free worker...
Sending 47 files to free worker...
Sending 45 files to free worker...
All done.
Results:
0 errors
62 unmodified
0 skipped
0 ok
Time elapsed: 42.583seconds
✨  Done in 137.17s.

Doing the upgrade by hand is partially done, but was hoping that the codemods could make it a bit easier.

ahuth avatar Oct 18 '17 19:10 ahuth

heh - yeah... weird

jasonLaster avatar Oct 18 '17 20:10 jasonLaster

/claim

Opened a WIP PR

ahuth avatar Oct 19 '17 03:10 ahuth

Thanks for claiming the issue! :wave:

Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.

:fox_face: Debugger team!

claim avatar Oct 19 '17 03:10 claim

@jasonLaster, should I close this, since we've upgraded to Flow 53? I still want to upgrade to 57, but that will take some more work on a couple of the dependencies.

ahuth avatar Oct 28 '17 16:10 ahuth

Good call

jasonLaster avatar Oct 29 '17 18:10 jasonLaster