github facebook/flow v0.103.0

latest releases: v0.253.0, v0.252.0, v0.251.1...
5 years ago

New Features:

  • Added --types flag to flow cycle, when given only type dependencies are used to compute cycles

Notable bug fixes:

  • Fixed a bug when destructuring unions gave spurious errors [example]
  • Updated for-in/for-of head expressions to be evaluated in the correct scope [example]

Performance:

  • Improved the calculation for what are dependents of a file, reducing work during rechecks

Library definitions:

  • Added support for Array#flatMap (thanks @goodmind)
  • Replaced usages of Object and Function (which are aliases for any) in library definitions with any
  • Removed some usages of any from library definitions
  • Updated Function#apply to accept strictly two arguments (thanks @goodmind)
  • Added SpeechSynthesis definitions (thanks @goodmind)

Misc:

  • Updated/added HTML spec URLs in comments (thanks @kevinSuttle)
  • Fixed parsing of anonymous class implements clause (thanks @goodmind)
  • Added support for printing mixins and implements (thanks @goodmind)

Don't miss a new flow release

NewReleases is sending notifications on new releases.