Repository navigation
v0.17.0
New Features:
- New default error message format shows the code inline (thanks @frantic!)
- Autocomplete will keep trying even if the file fails to parse
- You can configure which file extensions Flow looks for (thanks @eyyub!)
- Support for negative number literal types.
Notable Bug Fixes:
- Incremental
makeon OSX now works whenlib/files change - Fixed some issues around const destructuring
- Fixed some issues around destructuring in for-of and for-in loops
- Some emacs plugin fixes
- Object spreads are now handled in the correct order
- Generator
return()andthrow()methods are now supported - Object types now allow keywords as the object keys (thanks @samwgoldman!)
- importing & exporting
defaultusing named specifiers is now supported Flownow understandsthisin class static methods andthis.constructorin class instance methods (thanks @popham!)- Fixed bug with array spreads
- Understand that all classes have a static
nameproperty
Misc:
- Improved
flow find-module - More error location improvements
Objectcan now be called as a function to cast things to objects- We've tried to standardize the error codes with which Flow exits. Some exit codes have changed, but the ones you probably use should be the same. At the moment they're only documented in the code
- Flow understands the value of a negated number literal