You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,18 +9,26 @@ Likely to cause new Flow errors:
9
9
New features:
10
10
11
11
- Added support for `for-of`
12
+
- Added support for `async`/`await`
12
13
- Added structural subtyping for interfaces -- anything can be an instance of an interface as long as it looks right
13
14
- 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.
14
16
- 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
15
17
- 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`
16
19
17
20
Misc:
18
21
22
+
- Many improvements to library files, especially node and ES6 APIs
19
23
- 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
20
27
- Fixed the `flow get-def` command, especially around imported types
21
28
- Fixed a bug with `==` and improved comparison-related error messages
22
29
- Fixed file watching for individual files included via .flowconfig [includes]
23
30
- 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
24
32
25
33
26
34
###v0.11.0
@@ -219,7 +227,7 @@ Misc:
219
227
- Add Object.is
220
228
- uncomment `delete` method signatures
221
229
- Add MAX_SAFE_INTEGER and MIN_SAFE_INTEGER to Number
0 commit comments