Skip to content

Commit 14de35f

Browse files
gabelevifacebook-github-bot-6
authored and
facebook-github-bot-6
committed
Bump version to 0.15.0
Reviewed By: @jeffmo Differential Revision: D2421164
1 parent a373455 commit 14de35f

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
lines changed

Diff for: Changelog.md

+39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
###v0.15.0
2+
3+
Likely to cause new Flow errors:
4+
5+
- Flow now treats class identifiers as being let bound. You cannot refer to a class before it is defined.
6+
- If you accidentally use a tuple type instead of an array type for a rest param then Flow will complain
7+
- You cannot use `this` before `super()` in a derived constructor, per ES6 semantics
8+
- Our dictionary property (aka indexer property) support is much more robust and catches things it previously missed.
9+
- We weren't properly enforcing optional properties in `interfaces` and `declare class`. Now we are.
10+
11+
New Features:
12+
13+
- Generators support, courtesy of [@samwgoldman](https://github.com/samwgoldman)
14+
- # of worker processers is now configurable, defaults to the # of CPUs
15+
- If Flow knows the value of a boolean expression, then it will know the value of that expression negated.
16+
- Flow can remember refinements for things like `if(x.y[a.b])`
17+
- `export type {type1, type2}` syntax
18+
19+
Notable Bug Fixes:
20+
21+
- Fixed issue where Flow would still read package.json for [ignore]'d path
22+
- Fixed some leaky annotations that let data flow through them
23+
- Fixed instance and class types to be considered truthy
24+
- Flow still initializing message now fits in 80 chars, compliments of [@spicyj](https://github.com/spicyj)
25+
- No longer will report hoisted declarations as unreachable code
26+
- Fixed issue with how Flow chooses its tmp dir
27+
- An async function can return a `T` or a `Promise<T>` and it means the same thing
28+
- Fixed Flow forgetting about optional properties after an assignment refinement
29+
- Fixed parser issue around future reserved keywords
30+
- Optional parameters and rest parameters now work better together
31+
32+
Misc:
33+
34+
- Updated error locations. We've spent a lot of time auditing our error locations and trying to move them closer to the actual errors.
35+
- esproposal.decorators option to tell Flow to parse and ignore decorators
36+
- Bunch of updates to the libraries
37+
- Some perf work
38+
- Test output is colorized
39+
140
###v0.14.0
241

342
Likely to cause new Flow errors:

Diff for: src/common/flowConfig.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ open Sys_utils
1313

1414
module Json = Hh_json
1515

16-
let version = "0.14.0"
16+
let version = "0.15.0"
1717

1818
type moduleSystem = Node | Haste
1919

Diff for: tests/version/version.exp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.flowconfig:10 Wrong version of Flow. The config specifies version 0.1.0 but this is version 0.14.0
1+
.flowconfig:10 Wrong version of Flow. The config specifies version 0.1.0 but this is version 0.15.0

0 commit comments

Comments
 (0)