github meta/flow v0.279.0

latest releases: v0.338.0, v0.337.0, v0.336.0...
14 months ago

New Features:

  • In the next release (0.280.0) of Flow, we intend to standardize the error code for various subtyping errors into incompatible-type. You can add experimental.error_code_migration=new in your flowconfig to enable the new behavior now. We also provide a codemod flow codemod error-code-migration --write . that you can run over your codebase to automatically change the error code. Both the flowconfig option and the codemod will be removed in the next version.

Notable bug fixes:

  • Improved precision of error messages when inferred primitive types are checked against other incompatible primitive types (e.g. try-Flow)

Misc:

Don't miss a new flow release

NewReleases is sending notifications on new releases.