diff --git a/Changelog.md b/Changelog.md index b063a16c9e3..b99b2d3306e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,18 @@ +### 0.116.0 + +New Features: + +* Flow now suggests similar names (if applicable) when issuing missing property errors. + +Misc: + +* Added a rudimentary libdef for `Array.prototype.flat` (#8237, thanks @nnmrts!). +* Fixed a bug that in certain specific cases led to an expression getting typed as `empty` rather than `any`. + +Parser: + +* `>` and `}` in JSX child text is a parse error. + ### 0.115.0 Likely to cause new Flow errors: diff --git a/opam b/opam index 9fa2ed10902..e9404916fec 100644 --- a/opam +++ b/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "flowtype" -version: "0.115.0" +version: "0.116.0" maintainer: "flow@fb.com" authors: "Flow Team " license: "MIT" diff --git a/packages/flow-parser-bin/package.json b/packages/flow-parser-bin/package.json index 8588b91105e..aab60d0efd1 100644 --- a/packages/flow-parser-bin/package.json +++ b/packages/flow-parser-bin/package.json @@ -1,6 +1,6 @@ { "name": "flow-parser-bin", - "version": "0.115.0", + "version": "0.116.0", "description": "The Flow JavaScript parser, via bindings to the native OCaml implementation", "main": "index.js", "repository": "https://github.com/facebook/flow.git", diff --git a/packages/flow-parser/package.json b/packages/flow-parser/package.json index cba455faab6..cdc9cf14837 100644 --- a/packages/flow-parser/package.json +++ b/packages/flow-parser/package.json @@ -1,6 +1,6 @@ { "name": "flow-parser", - "version": "0.115.0", + "version": "0.116.0", "description": "JavaScript parser written in OCaml. Produces ESTree AST", "homepage": "https://flow.org", "license": "MIT", diff --git a/packages/flow-remove-types/package.json b/packages/flow-remove-types/package.json index 9e92e3a999b..786da4a3596 100644 --- a/packages/flow-remove-types/package.json +++ b/packages/flow-remove-types/package.json @@ -1,6 +1,6 @@ { "name": "flow-remove-types", - "version": "2.115.0", + "version": "2.116.0", "description": "Removes Flow type annotations from JavaScript files with speed and simplicity.", "author": { "name": "Flow Team", @@ -43,7 +43,7 @@ "es6" ], "dependencies": { - "flow-parser": "^0.115.0", + "flow-parser": "^0.116.0", "pirates": "^3.0.2", "vlq": "^0.2.1" }, diff --git a/src/common/flow_version.ml b/src/common/flow_version.ml index dc607c34839..f4db61be7d2 100644 --- a/src/common/flow_version.ml +++ b/src/common/flow_version.ml @@ -5,4 +5,4 @@ * LICENSE file in the root directory of this source tree. *) -let version = "0.115.0" +let version = "0.116.0" diff --git a/src/parser/META b/src/parser/META index 19809506696..aa3f7c116da 100644 --- a/src/parser/META +++ b/src/parser/META @@ -1,5 +1,5 @@ name="parser_flow" -version="0.115.0" +version="0.116.0" requires = "sedlex wtf8" description="flow parser ocamlfind package" archive(byte)="parser_flow.cma" diff --git a/src/parser/opam b/src/parser/opam index 5fb054e2799..759d2f43480 100644 --- a/src/parser/opam +++ b/src/parser/opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "flow_parser" -version: "0.115.0" +version: "0.116.0" maintainer: "flow@fb.com" authors: ["Flow Team "] homepage: "https://github.com/facebook/flow/tree/master/src/parser" diff --git a/website/en/docs/_install/setup-npm.md b/website/en/docs/_install/setup-npm.md index 19d56ec46b8..5de477dbb27 100644 --- a/website/en/docs/_install/setup-npm.md +++ b/website/en/docs/_install/setup-npm.md @@ -11,7 +11,7 @@ npm install --save-dev flow-bin "name": "my-flow-project", "version": "1.0.0", "devDependencies": { - "flow-bin": "^0.115.0" + "flow-bin": "^0.116.0" }, "scripts": { "flow": "flow"