Skip to content

Commit bf9358f

Browse files
panagosg7meta-codesync[bot]
authored andcommitted
[flow] v0.306.0
Summary: Version bump for Flow v0.306.0. Automated by the flow-version-bump Sandcastle pipeline. Reviewed By: SamChou19815 Differential Revision: D97075204 fbshipit-source-id: aeab99e85b35a43633a73873ee0abceb5e1caac3
1 parent 671a21b commit bf9358f

9 files changed

Lines changed: 20 additions & 9 deletions

File tree

Changelog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
### 0.306.0
2+
3+
New Features:
4+
* Support for using well-known symbols as property names in types - the form should be exactly `Symbol.iterator`.
5+
6+
Notable bug fixes:
7+
* Report prop-missing errors for unbound module properties in explicit type args used with implicit instantiation (e.g. [try-Flow](https://flow.org/try/#1N4Igxg9gdgZglgcxALlAIwIZoKYBsD6uEEAztvhgE6UYCe+JADpdhgCYowa5kA0I2KAFcAtiRQAXSkOz9sADwxgJ+NPTbYuQ3BMnTZA+Y2yU4IwRO4A6SFBIrGVDGM7c+h46fNRLuKxJIGWh8MeT0ZfhYlCStpHzNsFBAMIQkIEQwJODAQfiEyfCEoAGsoCAB3KHw4KrBMsAALfAA3KjgsXGxxZC4eAw1m-GhcWn9aY3wWZlc+-g1mbDqJbDYAWglxxJ63AxJi7AlG2lXhXFwZ9z2Do5PRHEoLgyKwTqp1zce8qChFrpIqY41VqmDA+T4gIo-MB-AGrCCMLLQbirRoYGrgor-GDYVYIA7LSgkVZkCQE7q9dxFfIrVbMdJwMjghSeBIhPwYEhkSgqeEmTIQB7bPoAX34kA0SQAOlAzIwBRIAAQAKgVHIVACVWMoFTBKOkFQByKLKA0Abml0o0Lyo2B1z0RUAVGmx1BWABkIOwAMLpOU-HwAHmlCoVPtgiGQCuAVhjouDGsEGkJkc10SsADkIBpeNKAHwACnjzpMLDYmpIECElGhkcgIj9FnzMasYfgCAAlAqWFAkyQEz2TCQc1B27XfdBG83W4hO93e-3e+aoJbFrgbQq6w2fAqAGLEfPtpcrl2lj3e8f+iQB1PKKwAWQAkgBlJ8P9MAcXwAFV0+qAKJPgA8m6ABqf4ACL4H+6rqoB6oBgAjLmvAKvgBZ7hAh4KgA9NhCrlHAZwKmU5QKiWAq5CAzSDnA0BJM0AAMVgAMwMQArFYDEgMKQA))
8+
9+
Library Definitions:
10+
* Updated core.js library definitions to accept readonly tuples in Map constructor
11+
112
### 0.305.1
213

314
* Fix in saved state on projects including files outside the project root.

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.305.1"
3+
version: "0.306.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.305.1"
3+
version: "0.306.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.305.1"}
18+
"flow_parser" {= "0.306.0"}
1919
"inotify" {os = "linux" & >= "2.4.1"}
2020
"ounit2" {with-test}
2121
"lwt" {>= "5.7.0"}

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.305.1",
3+
"version": "0.306.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: 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.305.1",
3+
"version": "2.306.0",
44
"description": "Removes Flow type annotations from JavaScript files with speed and simplicity.",
55
"author": {
66
"name": "Flow Team",

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.14.0",
3+
"version": "2.15.0",
44
"description": "A utility for upgrading your codebase to the latest version of Flow.",
55
"engines": {
66
"node": ">=14"

packages/try-flow-website-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "try-flow-website-js",
3-
"version": "0.305.1",
3+
"version": "0.306.0",
44
"description": "An NPM package to hold compiled `flow.js` and libdefs for every Flow version.",
55
"license": "MIT",
66
"repository": "facebook/flow",

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.305.1"
8+
let version = "0.306.0"

website/docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ npm install --save-dev flow-bin
126126
"name": "my-flow-project",
127127
"version": "1.0.0",
128128
"devDependencies": {
129-
"flow-bin": "^0.305.1"
129+
"flow-bin": "^0.306.0"
130130
},
131131
"scripts": {
132132
"flow": "flow"

0 commit comments

Comments
 (0)