Likely to cause new Flow errors:
- Fixed the definition of
Function.prototype.apply
to only accept array-like objects, not any iterable. - Improved error positioning, which may cause previously-suppressed errors to become unsuppressed.
New Features:
non-array-spread
lint rule: Fires when a non-array iterable is spread. This is useful for modeling theloose: true
mode of@babel/plugin-transform-spread
, where such code causes a runtime error.
Notable Bug Fixes:
- Fixed a performance regression when computing dependencies in large projects
- Fixed built-in library definitions that needed to be explicitly inexact to pass the
implicit-inexact-object
linter. - Improved libdefs for many browser APIs (e.g. Media Streams, MIDI, Permissions, Workers) (#7737, #7805, #7806, thanks @goodmind!)
Misc:
- Various improvements to the types-first signature generator
- Improved the name of the server master process in
ps
- Improved the output of
flow check --profile
flow-remove-types
:
- Remove opaque types and
declare export
Parser:
- Fixed a bug allowing
await
to be a parameter in async functions - Several improvements to the experimental comment attachment algorithm