Skip to content

Commit

Permalink
Bump version to 0.14.0
Browse files Browse the repository at this point in the history
Reviewed By: @mroch

Differential Revision: D2293917
  • Loading branch information
gabelevi authored and facebook-github-bot-3 committed Jul 30, 2015
1 parent fdc3ec3 commit cab6ab6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
###v0.14.0

Likely to cause new Flow errors:

- Assignment now triggers a refinement. If you have a variable that is a `?string` and you assign 'hello' to it, Flow refines its type to 'string'.

Likely to fix old Flow errors:

- We now treat missing type parameters as `any`. For example, previously `ReactElement` was treated as `ReactElement<*, *, *>`. Now it's treated as `ReactElement<any, any, any>`.

Misc:

- Basic unsafe support for getters & setters, gated behind the config option `unsafe.enable_getters_and_setters`
- Support for block comments inside of Flow's comment syntax
- Disable by default munging of class property names that start with an underscore, with an option to enable it
- Lots of small internal fixes and merged PRs
- Basic semver support for the .flowconfig version
- Support for `declare type` in lib files
- Type annotations are now opaque - other types will not flow through them
- You can configure the tmp dir that Flow uses

###v0.13.1

Likely to cause new Flow errors:
Expand Down
2 changes: 1 addition & 1 deletion src/common/flowConfig.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ open Sys_utils

module Json = Hh_json

let version = "0.13.1"
let version = "0.14.0"

type moduleSystem = Node | Haste

Expand Down
2 changes: 1 addition & 1 deletion tests/version/version.exp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.flowconfig:10 Wrong version of Flow. The config specifies version 0.1.0 but this is version 0.13.1
.flowconfig:10 Wrong version of Flow. The config specifies version 0.1.0 but this is version 0.14.0

0 comments on commit cab6ab6

Please sign in to comment.