Skip to content

Commit e0838d4

Browse files
gkzfacebook-github-bot
authored andcommitted
v0.121.0
Reviewed By: dsainati1 Differential Revision: D20503781 fbshipit-source-id: 1cbe64b0ce6e1f64959d79e3694a3e20910c74c0
1 parent 9c3e00b commit e0838d4

File tree

9 files changed

+30
-9
lines changed

9 files changed

+30
-9
lines changed

Changelog.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
### 0.121.0
2+
3+
Highlights:
4+
* Made several improvements to errors:
5+
* Restricted errors to only be suppressible at the error's primary location (see [blog post](https://medium.com/flow-type/making-flow-error-suppressions-more-specific-280aa4e3c95c))
6+
* Fixed the error grouping logic to no longer group unrelated errors that happen to share a location
7+
* Changed the order of locations printed in error messages so that the primary location is always printed first (which is the one you need to suppress if you want to do that)
8+
9+
Misc:
10+
* Fixed the `add-comments` script to add comments on `JSXText`
11+
* Fixed a crash when TMPDIR exceeded 83 characters
12+
* Stopped parsing `.flow` files without `@flow`
13+
14+
Lib defs:
15+
* Improved definitions for Node's `url.parse` function (thanks @chicoxyzzy)
16+
* Added missing `console` methods (thanks @goodmind)
17+
* Added `Element.hasAttributes()`
18+
* Added `string` index to `NamedNodeMap`
19+
* Fixed `Element.querySelector()` and `Element.querySelectorAll()` overloads
20+
* Added type definition for `Promise.allSettled()`
21+
122
### 0.120.1
223

324
Likely to cause new Flow errors:

flow_parser.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "2.0"
22
name: "flow_parser"
3-
version: "0.120.1"
3+
version: "0.121.0"
44
maintainer: "[email protected]"
55
authors: ["Flow Team <[email protected]>"]
66
homepage: "https://github.com/facebook/flow/tree/master/src/parser"

flowtype.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "2.0"
22
name: "flowtype"
3-
version: "0.120.1"
3+
version: "0.121.0"
44
maintainer: "[email protected]"
55
authors: "Flow Team <[email protected]>"
66
license: "MIT"

packages/flow-parser-bin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-parser-bin",
3-
"version": "0.120.1",
3+
"version": "0.121.0",
44
"description": "The Flow JavaScript parser, via bindings to the native OCaml implementation",
55
"main": "index.js",
66
"repository": "https://github.com/facebook/flow.git",

packages/flow-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-parser",
3-
"version": "0.120.1",
3+
"version": "0.121.0",
44
"description": "JavaScript parser written in OCaml. Produces ESTree AST",
55
"homepage": "https://flow.org",
66
"license": "MIT",

packages/flow-remove-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-remove-types",
3-
"version": "2.120.1",
3+
"version": "2.121.0",
44
"description": "Removes Flow type annotations from JavaScript files with speed and simplicity.",
55
"author": {
66
"name": "Flow Team",
@@ -43,7 +43,7 @@
4343
"es6"
4444
],
4545
"dependencies": {
46-
"flow-parser": "^0.120.1",
46+
"flow-parser": "^0.121.0",
4747
"pirates": "^3.0.2",
4848
"vlq": "^0.2.1"
4949
},

src/common/flow_version.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
* LICENSE file in the root directory of this source tree.
66
*)
77

8-
let version = "0.120.1"
8+
let version = "0.121.0"

src/parser/META

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name="parser_flow"
2-
version="0.120.1"
2+
version="0.121.0"
33
requires = "sedlex wtf8"
44
description="flow parser ocamlfind package"
55
archive(byte)="parser_flow.cma"

website/en/docs/_install/setup-npm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ npm install --save-dev flow-bin
1111
"name": "my-flow-project",
1212
"version": "1.0.0",
1313
"devDependencies": {
14-
"flow-bin": "^0.120.1"
14+
"flow-bin": "^0.121.0"
1515
},
1616
"scripts": {
1717
"flow": "flow"

0 commit comments

Comments
 (0)