Skip to content

Commit

Permalink
v0.102.0
Browse files Browse the repository at this point in the history
Reviewed By: samwgoldman

Differential Revision: D15975503

fbshipit-source-id: fff7cef3e9c26d3d1a8ee29a9b7cbb35d6e4c6d9
  • Loading branch information
panagosg7 authored and facebook-github-bot committed Jun 25, 2019
1 parent 59f2b36 commit 8d60121
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 8 deletions.
28 changes: 28 additions & 0 deletions Changelog.md
@@ -1,5 +1,33 @@
### 0.102.0

Likely to cause new Flow errors:
* Function components with no arguments get a sealed empty object type as props.
* Moved `MixedElement` export into the module declaration, so it will now need to be qualified as `React.MixedElement`.

Notable bug fixes:
* Fixed error positioning around utility types (e.g. `$ObjMap`).
* Omit reporting error stack traces to end users over LSP.
* Fixed bug where Flow would crash when variable has same name as a type (fixes #7825)

Misc:
* Refactored coverage computation to use the typed AST. This enables coverage results over more locations that earlier.
* Improved server and monitor error logging.
* In typing object types as react components, account for the `defaultProps` property and make them compatible with `React.AbstractComponent`.
* Optimized the way module exports are populated to prevent recursion limiter exceptions.
* Improved error messages for invalid `BigInt`s. (thanks, @goodmind!)
* Hovering over an imported type alias returns its definition. (thanks, @vicapow!)
* Fixed semver comparison to allow for suffixes such as `rc`.

Libdefs:
* Remove `Object` type (equivalent to `any`) from `WeakSet` and `$ReadOnlyWeakSet`. (thanks, @goodmind!)
* Add methods to Node HTTP ServerResponse type definition. (thanks, @chrislloyd!)
* Add definitions for the Web Animations API. (thanks, @goodmind!)

### 0.101.1

Notable bug fixes:
* Fixed a bug with suppressions in the experimental types-first mode.

### 0.101.0

Likely to cause new Flow errors:
Expand Down
2 changes: 1 addition & 1 deletion opam
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "flowtype"
version: "0.102.0~rc"
version: "0.102.0"
maintainer: "flow@fb.com"
authors: "Flow Team <flow@fb.com>"
license: "MIT"
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-parser-bin/package.json
@@ -1,6 +1,6 @@
{
"name": "flow-parser-bin",
"version": "0.102.0-rc",
"version": "0.102.0",
"description": "The Flow JavaScript parser, via bindings to the native OCaml implementation",
"main": "index.js",
"repository": "https://github.com/facebook/flow.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-parser/package.json
@@ -1,6 +1,6 @@
{
"name": "flow-parser",
"version": "0.102.0-rc",
"version": "0.102.0",
"description": "JavaScript parser written in OCaml. Produces ESTree AST",
"homepage": "https://flow.org",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/flow-remove-types/package.json
Expand Up @@ -43,7 +43,7 @@
"es6"
],
"dependencies": {
"flow-parser": "^0.102.0-rc",
"flow-parser": "^0.102.0",
"pirates": "^3.0.2",
"vlq": "^0.2.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/common/flow_version.ml
Expand Up @@ -5,4 +5,4 @@
* LICENSE file in the root directory of this source tree.
*)

let version = "0.102.0-rc"
let version = "0.102.0"
2 changes: 1 addition & 1 deletion src/parser/META
@@ -1,5 +1,5 @@
name="parser_flow"
version="0.102.0~rc"
version="0.102.0"
requires = "sedlex wtf8"
description="flow parser ocamlfind package"
archive(byte)="parser_flow.cma"
Expand Down
2 changes: 1 addition & 1 deletion src/parser/opam
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "flow_parser"
version: "0.102.0~rc"
version: "0.102.0"
maintainer: "flow@fb.com"
authors: ["Flow Team <flow@fb.com>"]
homepage: "https://github.com/facebook/flow/tree/master/src/parser"
Expand Down
2 changes: 1 addition & 1 deletion website/en/docs/_install/setup-npm.md
Expand Up @@ -11,7 +11,7 @@ npm install --save-dev flow-bin
"name": "my-flow-project",
"version": "1.0.0",
"devDependencies": {
"flow-bin": "^0.101.0"
"flow-bin": "^0.102.0"
},
"scripts": {
"flow": "flow"
Expand Down

0 comments on commit 8d60121

Please sign in to comment.