Skip to content

Update Flow to 0.84#17805

Merged
gaearon merged 7 commits into
react:masterfrom
gaearon:bump-flowww
Jan 9, 2020
Merged

Update Flow to 0.84#17805
gaearon merged 7 commits into
react:masterfrom
gaearon:bump-flowww

Conversation

@gaearon

@gaearon gaearon commented Jan 8, 2020

Copy link
Copy Markdown
Collaborator

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

codesandbox-ci Bot commented Jan 8, 2020

Copy link
Copy Markdown

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

sizebot commented Jan 8, 2020

Copy link
Copy Markdown

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 17284fd

@sizebot

sizebot commented Jan 8, 2020

Copy link
Copy Markdown

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 17284fd

@necolas

necolas commented Jan 8, 2020

Copy link
Copy Markdown
Contributor

Why upgrade to version 0.84 specifically?

@gaearon

gaearon commented Jan 8, 2020

Copy link
Copy Markdown
Collaborator Author

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

gaearon commented Jan 8, 2020

Copy link
Copy Markdown
Collaborator Author

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

Comment thread yarn.lock

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

Copy link
Copy Markdown
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
Copy Markdown
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 react: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