Skip to content

Update Flow to 0.84 #17805

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

Merged
merged 7 commits into from
Jan 9, 2020
Merged

Update Flow to 0.84 #17805

merged 7 commits into from
Jan 9, 2020

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Jan 8, 2020

Updating to v0.84 first is a first step that avoids breaking changes in subsequent versions of Flow. v0.84 includes the new inexact object syntax, which is necessary to align with fbsource and unblock RN sync fix. Afterwards we can continue updating Flow in increments.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jan 8, 2020
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 8, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 17284fd:

Sandbox Source
xenodochial-antonelli-fe38n Configuration

@sizebot
Copy link

sizebot commented Jan 8, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 17284fd

@sizebot
Copy link

sizebot commented Jan 8, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 17284fd

@necolas
Copy link
Contributor

necolas commented Jan 8, 2020

Why upgrade to version 0.84 specifically?

@gaearon
Copy link
Collaborator Author

gaearon commented Jan 8, 2020

They said it should be easy compared to some big breaking change after. It also gives us new inexact object syntax, which is necessary to align with fbsource and unblock RN sync fix.

@gaearon
Copy link
Collaborator Author

gaearon commented Jan 8, 2020

We should upgrade to a later version too for sure but I started with this as MVP.

yarn.lock Outdated
@@ -4864,6 +4864,7 @@ eslint-plugin-no-unsafe-innerhtml@1.0.16:

"eslint-plugin-react-internal@link:./scripts/eslint-rules":
version "0.0.0"
uid ""
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this an accident?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I just ran Yarn. No idea.

@gaearon gaearon mentioned this pull request Jan 9, 2020
@gaearon gaearon merged commit e706721 into facebook:master Jan 9, 2020
@gaearon gaearon deleted the bump-flowww branch January 9, 2020 14:50
NMinhNguyen referenced this pull request in enzymejs/react-shallow-renderer Jan 29, 2020
* Update Flow to 0.84

* Fix violations

* Use inexact object syntax in files from fbsource

* Fix warning extraction to use a modern parser

* Codemod inexact objects to new syntax

* Tighten types that can be exact

* Revert unintentional formatting changes from codemod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants