Skip to content

Commit

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

Differential Revision: D2514370

fb-gh-sync-id: 00422e4d7ac4abc26cfc76a7f980a3c0af1968cf
  • Loading branch information
gabelevi authored and facebook-github-bot-4 committed Oct 7, 2015
1 parent 257fbad commit 5202777
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
31 changes: 31 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
###v0.17.0

New Features:

- New default error message format shows the code inline (thanks [@frantic](https://github.com/frantic)!)
- Autocomplete will keep trying even if the file fails to parse
- You can configure which file extensions Flow looks for (thanks [@eyyub](https://github.com/eyyub)!)
- Support for negative number literal types.

Notable Bug Fixes:

- Incremental `make` on OSX now works when `lib/` 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()` and `throw()` methods are now supported
- Object types now allow keywords as the object keys (thanks [@samwgoldman](https://github.com/samwgoldman)!)
- importing & exporting `default` using named specifiers is now supported
- `Flow` now understands `this` in class static methods and `this.constructor` in class instance methods (thanks [@popham](https://github.com/popham)!)
- Fixed bug with array spreads
- Understand that all classes have a static `name` property

Misc:

- Improved `flow find-module`
- More error location improvements
- `Object` can 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](https://github.com/facebook/flow/blob/b352b4c41283c1cb109ee2e8f6ef604ad4ac381b/src/common/flowExitStatus.ml#L63-L86)
- Flow understands the value of a negated number literal

###v0.16.0

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.16.0"
let version = "0.17.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,2 +1,2 @@
.flowconfig:10 Wrong version of Flow. The config specifies version 0.1.0 but this is version 0.16.0
.flowconfig:10 Wrong version of Flow. The config specifies version 0.1.0 but this is version 0.17.0

0 comments on commit 5202777

Please sign in to comment.