github facebook/flow v0.244.0

latest releases: v0.246.0, v0.245.2, v0.245.1...
28 days ago

Likely to cause new Flow errors:

  • The inexact_tuple_types_syntax option (which was on by default) is now deleted. Make sure you are using hermes-parser and related packages at version >= 0.23.0
  • Render types will no longer allow specific renders wrapping more general renders like renders React.Element<React.AbstractComponent<{}, mixed, renders* A>>. Invalid render types will behave like any.
  • Some previously allowed generic render types are no longer allowed (example). This ensures that generic render types are only used to model transparent components like React.Fragment.
  • renders* T where T is generic is now banned.

Notable bug fixes:

  • Render type with union type arguments will be correctly wrapped with parentheses.

Don't miss a new flow release

NewReleases is sending notifications on new releases.