Skip to content

Commit 8933437

Browse files
mvitousekmeta-codesync[bot]
authored andcommitted
[flow] v0.315.0
Summary: Version bump for Flow v0.315.0. Automated by the flow-version-bump Sandcastle pipeline. Reviewed By: marcoww6 Differential Revision: D105771392 fbshipit-source-id: 89eac8056336d7620ac80c94ad67e53054c3cca2
1 parent 6c0bcb6 commit 8933437

10 files changed

Lines changed: 16 additions & 10 deletions

File tree

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 0.315.0
2+
3+
Misc:
4+
* Variance keywords (`readonly`, `writeonly`, `in`, `out`) on type parameters and object/class properties are now enabled by default. The `experimental.allow_variance_keywords` is no longer needed to opt in.
5+
* The deprecated variance sigils error message now suggests the contextually correct keyword (`readonly`/`writeonly` for property positions, `out`/`in` for type parameter positions) instead of listing both alternatives.
6+
17
### 0.314.0
28

39
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.314.0"
3+
version: "0.315.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.314.0"
3+
version: "0.315.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.314.0"}
18+
"flow_parser" {= "0.315.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.314.0",
3+
"version": "0.315.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.314.0",
3+
"version": "2.315.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.25.0",
3+
"version": "2.26.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.314.0",
3+
"version": "0.315.0",
44
"description": "An NPM package to hold compiled `flow.js` and libdefs for every Flow version.",
55
"license": "MIT",
66
"repository": "facebook/flow",

rust_port/crates/flow_common/src/flow_version.rs

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

8-
const RELEASE_VERSION: &str = "0.314.0";
8+
const RELEASE_VERSION: &str = "0.315.0";
99

1010
#[cfg(fbcode_build)]
1111
static VERSION: std::sync::LazyLock<String> = std::sync::LazyLock::new(|| {

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.314.0"
8+
let version = "0.315.0"

website/docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ npm install --save-dev flow-bin
144144
"name": "my-flow-project",
145145
"version": "1.0.0",
146146
"devDependencies": {
147-
"flow-bin": "^0.314.0"
147+
"flow-bin": "^0.315.0"
148148
},
149149
"scripts": {
150150
"flow": "flow"

0 commit comments

Comments
 (0)