Skip to content

Commit 1b1e0ac

Browse files
mrochfacebook-github-bot-3
authored andcommitted
update changelog
Reviewed By: @gabelevi Differential Revision: D2148160
1 parent 3d56972 commit 1b1e0ac

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,26 @@ Likely to cause new Flow errors:
99
New features:
1010

1111
- Added support for `for-of`
12+
- Added support for `async`/`await`
1213
- Added structural subtyping for interfaces -- anything can be an instance of an interface as long as it looks right
1314
- Added support for type annotations of the form `typeof x`, where `x` is the name of an in-scope variable
15+
- Added a new config option `suppress_comment`, a regexp which matches against comments and causes any Flow error on the next line to be suppressed. For example, `suppress_comment=.*\$FlowFixMe.*` will cause `/* $FlowFixMe */\nvar x : number = "oops";` to not raise an error.
1416
- Added a new config option `module.name_mapper`, a regexp -> replacement template tuple to be applied to any matching module names before the Flow system resolves the name and looks it up
1517
- Added a `--color=always|never|auto` CLI option, useful when piping to `less -R`
18+
- Added a `--one-line` CLI option which replaces `\n` with `\\n` in multiline error messages, useful when piping to `grep`
1619

1720
Misc:
1821

22+
- Many improvements to library files, especially node and ES6 APIs
1923
- Improved warnings on unsupported class members [PR #461]
24+
- Added support for `export default class`
25+
- Fixed `if (x instanceof Array)`
26+
- Fixed the type of `x && y` when `x` is an array, object or function
2027
- Fixed the `flow get-def` command, especially around imported types
2128
- Fixed a bug with `==` and improved comparison-related error messages
2229
- Fixed file watching for individual files included via .flowconfig [includes]
2330
- Fixed the build ID, so that the server restarts when accessed from a mismatched client version
31+
- Added a new config option `log.file` which overrides the default log file path
2432

2533

2634
###v0.11.0
@@ -219,7 +227,7 @@ Misc:
219227
- Add Object.is
220228
- uncomment `delete` method signatures
221229
- Add MAX_SAFE_INTEGER and MIN_SAFE_INTEGER to Number
222-
- make param annotations strict upper bounds
230+
- make param annotations strict upper bounds
223231

224232
###v0.1.5
225233

0 commit comments

Comments
 (0)