Skip to content

Commit 7c64d4b

Browse files
SamChou19815meta-codesync[bot]
authored andcommitted
v0.320.0
Reviewed By: gkz Differential Revision: D109219236 fbshipit-source-id: 59241a532b5948db65d9ecd57ccf46645cb3aef8
1 parent 3bd4092 commit 7c64d4b

13 files changed

Lines changed: 21 additions & 16 deletions

File tree

Changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 0.320.0
2+
3+
Likely to cause new Flow errors:
4+
* Object operations on class instance types now produce plain object types instead of preserving the class instance's nominal identity. This affects object type spreads and utilities such as `Partial`, `Required`, `Readonly`, `Pick`, and `Omit`. [Example](https://flow.org/try/#1N4Igxg9gdgZglgcxALlAIwIZoKYBsD6uEEAztvhgE6UYCe+JADpdhgCYowa5kA0I2KAFcAtiRQAXSkOz9sAD0bZKcEYIncAdJCgkJ+RlQxjO3PgMXLV6rRJINaUDfMnTZIFhjATN0p9ZQQDCEJCBEMCTgwEH4hMnwhKABrKAgAdyh8OEywCLAAC3wANyo4LFxscWQuHnc2bCL8aFxaTQlaJXwWZlNa-nrmbFyJbDYAWnalXvMSJOwJAtox4VxcafdZ+cXl0RxKddioMAqqCY7sA5BEqCHKkiol7JKVDCdL69uSe8oliEZI6DcMYFDDZd66DAwbBjBDzEaUEhjMgSeFVGrmRJxUZjZhhOBkS4KJQqNROLQYL7KfR-ZQRCD7apmbAAX34kHqgWOFJIAAIAMI84AAHSgPJ58mQPOEIj2PIAvDyAAwAbhFYpEAAoAJSSooQOBsQXMkXGqAi+pclg8nR6HmGSiRbiSgAKVEduAAPHyAHyqqD2908in85U8gD0YZ5AFFqPTJQADV0Osqen3xnn4oOiiBoABWQwkPMmsilEELGB58b56eyeleYGwmhFIuLPIAyoN2AKFcBNH2+bweX3NMy-RbcFRsNboLamJ42JKO-O+X656xDcGV+HIzHKHGeWv2NkEFmM7oNEcp63cWwhA3ea8eTn894i+cm2anOceQApOISAANeUeWdKIki9QcAHJ5Eg31zSGCcrRtQtc3-ADJT-PQAL9VCsM0TUtVDCNo1jSgE1AsBwIHHloNg9NmloacyVrIt8inRgwNGJ8MjtPdiXaD8YhAIplBIOBoECIpFU0ABmABGABOTRFRAZkgA)
5+
16
### 0.319.0
27

38
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.319.0"
3+
version: "0.320.0"
44
maintainer: "flow@fb.com"
55
authors: ["Flow Team <flow@fb.com>"]
66
homepage: "https://github.com/facebook/flow/tree/master/src/parser"

flowtype.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "2.0"
22
name: "flowtype"
3-
version: "0.319.0"
3+
version: "0.320.0"
44
maintainer: "flow@fb.com"
55
authors: "Flow Team <flow@fb.com>"
66
license: "MIT"
@@ -15,7 +15,7 @@ depends: [
1515
"camlp-streams" {>= "5.0.1"}
1616
"dtoa" {>= "0.3.2"}
1717
"fileutils" {>= "0.6.4"}
18-
"flow_parser" {= "0.319.0"}
18+
"flow_parser" {= "0.320.0"}
1919
"inotify" {os = "linux" & >= "2.4.1"}
2020
"ounit2" {with-test}
2121
"lwt" {>= "5.7.0"}

packages/babel-plugin-syntax-flow-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/facebook/flow.git"
1111
},
1212
"dependencies": {
13-
"flow-parser": "0.319.0"
13+
"flow-parser": "0.320.0"
1414
},
1515
"files": [
1616
"dist",

packages/flow-eslint/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"dependencies": {
2626
"esrecurse": "^4.3.0",
27-
"flow-estree": "0.319.0",
28-
"flow-parser": "0.319.0"
27+
"flow-estree": "0.320.0",
28+
"flow-parser": "0.320.0"
2929
}
3030
}

packages/flow-estree/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-estree",
3-
"version": "0.319.0",
3+
"version": "0.320.0",
44
"description": "Flow types for the Flow-ESTree spec produced by the Flow Rust parser, forked from hermes-estree.",
55
"homepage": "https://flow.org",
66
"license": "MIT",

packages/flow-parser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-parser",
3-
"version": "0.319.0",
3+
"version": "0.320.0",
44
"description": "JavaScript parser written in OCaml. Produces ESTree AST",
55
"homepage": "https://flow.org",
66
"license": "MIT",
@@ -23,7 +23,7 @@
2323
"build": "make js"
2424
},
2525
"dependencies": {
26-
"flow-estree": "0.319.0"
26+
"flow-estree": "0.320.0"
2727
},
2828
"devDependencies": {
2929
"@babel/generator": "7.7.4",

packages/flow-remove-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-remove-types",
3-
"version": "2.319.0",
3+
"version": "2.320.0",
44
"description": "Removes Flow type annotations from JavaScript files with speed and simplicity.",
55
"author": {
66
"name": "Flow Team",

packages/flow-transform/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"esquery": "^1.4.0",
1515
"flow-enums-runtime": "^0.0.6",
1616
"flow-eslint": "0.0.1",
17-
"flow-estree": "0.319.0",
18-
"flow-parser": "0.319.0",
17+
"flow-estree": "0.320.0",
18+
"flow-parser": "0.320.0",
1919
"string-width": "4.2.3"
2020
},
2121
"peerDependencies": {

packages/flow-upgrade/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-upgrade",
3-
"version": "2.30.0",
3+
"version": "2.31.0",
44
"description": "A utility for upgrading your codebase to the latest version of Flow.",
55
"engines": {
66
"node": ">=14"

0 commit comments

Comments
 (0)