Download Latest Version flow-linux-arm64-v0.277.1.zip (15.9 MB)
Email in envelope

Get an email when there's a new version of Flow

Home / v0.275.0
Name Modified Size InfoDownloads / Week
Parent folder
flow 2025-07-04 1.9 kB
flow-win64-v0.275.0.zip 2025-07-04 13.8 MB
libflowparser-osx-arm64-v0.275.0.zip 2025-07-04 1.4 MB
flow-osx-arm64-v0.275.0.zip 2025-07-04 10.2 MB
libflowparser-osx-v0.275.0.zip 2025-07-04 1.3 MB
flow-osx-v0.275.0.zip 2025-07-04 8.8 MB
flow-linux-arm64-v0.275.0.zip 2025-07-04 15.9 MB
libflowparser-linux64-v0.275.0.zip 2025-07-04 2.2 MB
flow-linux64-v0.275.0.zip 2025-07-04 13.1 MB
README.md 2025-07-03 1.2 kB
v0.275.0 source code.tar.gz 2025-07-03 8.8 MB
v0.275.0 source code.zip 2025-07-03 14.5 MB
Totals: 12 Items   90.0 MB 0

Likely to cause new Flow errors:

  • For all object literals in positions that cannot be contextually typed, we will infer a stricter type for them. It will cause new errors in code like

    const foo = {baz: new Dog()}; type Foo = {bar?: string, baz: Animal}; declare function acceptFoo(foo: Foo): void; acceptFoo(foo); // error

To fix the error, you can either annotate the object

const foo: Foo = {baz: new Dog()};

type Foo = {bar?: string, baz: Animal};
declare function acceptFoo(foo: Foo): void;

acceptFoo(foo);

or make the call site accepts readonly objects:

const foo = {baz: new Dog()};

type Foo = $ReadOnly<{bar?: string, baz: Animal}>;
declare function acceptFoo(foo: Foo): void;

acceptFoo(foo);

We provide a codemod to automate the annotation process. flow codemod annotate-literal-declaration --write --max-type-size 5. (You can adjust the max type size based on your needs).

IDE: * Support rename on private properties and methods.

Library Definitions: * React$MixedElement is removed from builtin libdef. It will cause internal-type error since v0.258.0. You should use React.MixedElement instead.

Source: README.md, updated 2025-07-03