github facebook/flow v0.268.0

latest releases: v0.294.0, v0.293.0, v0.292.0...
8 months ago

Breaking:

  • The Linux x86 build is now built from ubuntu-22.04. It might make Flow not runnable on older linux distributions.

Likely to cause new Flow errors:

  • Code like the (example) will have [react-rule-hook-conditional] instead of [react-rule-hook-naming-convention] errors.
  • $Diff support is removed. If you have trouble migrating, you can try to polyfill it by this. However, $Diff has surprising behavior with regard to optional props in the second type parameter, which cannot be easily polyfilled (example).

New Features:

  • We now allow you to configure certain error code to be unsuppressable. For example, to make react-rule-hook-naming-convention and react-rule-hook-conditional errors unsuppressable, you can add the following to the [options] section in flowconfig:
unsuppressable_error_codes=react-rule-hook-naming-convention
unsuppressable_error_codes=react-rule-hook-conditional

Don't miss a new flow release

NewReleases is sending notifications on new releases.