CARVIEW |
Select Language
HTTP/2 200
date: Mon, 13 Oct 2025 02:45:26 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"dc568a05f79de5273758dfca87e6a9b1"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=YvzAXATRmSSiKAI4ieIU9jUwDGETQCvddAuka9rzhwoOO2iWa8zCB%2B80xhhIgC01hIXLmLg3E%2F3ykWeMvkKqIsgsGu1aBF4ww6%2B2CVOeM8sci6o5FiHKsAfU%2F3TfG6JRuozAB3pw%2FeHjPUtPVpAUAnaRenLaKlOAvtZZEp4JGxJhotTAm9m9WFNb5qgRpO3oq9UkJEHAZ0Hj7whMvuF2JPSgWNu0QLj6NZzVs%2BOLQJOB40KF6I6U%2FqzI6Bi04jK5diB5PYJVDBhz3Z40mV65dw%3D%3D--Djbed24Fb%2B5DbcI7--lFIE4xbHEzru2Ru0y%2BLo9Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1951190186.1760323525; Path=/; Domain=github.com; Expires=Tue, 13 Oct 2026 02:45:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 13 Oct 2026 02:45:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D58A:E3EA6:1433F18:1B0181A:68EC67C5
Releases Β· facebook/flow Β· GitHub
27 Sep 16:02
Loading
24 Sep 18:58
Loading
20 Sep 08:20
Loading
18 Sep 20:02
Loading
17 Sep 04:49
Loading
16 Sep 20:52
Loading
04 Sep 19:25
Loading
27 Aug 15:10
Loading
14 Aug 23:28
Loading
01 Aug 02:03
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Releases: facebook/flow
Releases Β· facebook/flow
v0.287.0
Compare
Breaking Changes:
- We will stop publishing new versions of flow-parser-bin. If you want to parse flow code with native-like performance, you should use
hermes-parser
package, which is running on wasm.
Likely to cause new Flow errors:
- The deprecated
React$Element
type is now removed. You should useReact.Node
orReact.MixedElement
in most cases. If you really want exact react elements, you can useExactReactElement_DEPRECATED
New Features:
- Flow has full React 19 ref-as-prop support. Since this version, you are allowed to spread ref prop in component syntax components.
IDE:
- We now provide a rewrite refactor to convert arrays, map, set, and object types into their readonly forms.
Assets 8
v0.286.0
Compare
Breaking Changes:
- Starting from this version,
flow-bin
will only contain ARM64 binaries for macOS.
Likely to cause new Flow errors:
- Flow now errors on constant conditions and invalid comparisons. example
- Flow will no longer infer an unsound type for array and object literals passed to a general function. example
React.ElementConfig<...>
andReact.PropsOf<...>
will now always include the ref prop in the props object type.- The config option for an earlier mode
react.ref_as_prop=partial_support
is removed, and Flow now has better support for React 19's ref-as-prop behavior:- All the ref prop in component syntax components must be made optional
- You might need to rewrite some of your higher order components. e.g. previously an identity HOC must be written as
declare function id<Props: {...}, Ref>(c: component(ref?: Ref, ...Props)): component(ref?: Ref...Props)
now it must be written as
declare function id<Props: {...}>(c: component(...Props)): component(...Props)
Assets 11
v0.285.0
Compare
Library Definitions:
- Fix type of
useActionState
hook in React. Type should beAwaited
instead ofPromise
(the opposite operation). - Added types for
Object.groupBy
andMap.groupBy
Bug fixes:
- Fixed a bug that when
experimental.ts_utility_syntax=true
, importedReadonly
,ReadonlyArray
,NonNullable
,ReadonlyMap
,ReadonlySet
types are considered any.
Assets 11
v0.284.0
Compare
Likely to cause new Flow errors:
- Flow now strictly enforces that Array.includes, .indexOf, and .lastIndexOf take only values that could potentially be present in the array -- it is now an error to check if arrays include values whose types are unrelated to the array's element type. This catches many cases where developers accidentally test the wrong thing, which may lead to errors at runtime.
- Flow will infer general types for react jsx elements. The new behavior is described in the docs.
Assets 11
v0.283.0
Compare
Likely to cause new Flow errors:
- Invalid suppressions like
// $FlowFixMe[incompatible
will now cause an error on the suppression
Assets 11
v0.282.0
Compare
Likely to cause new Flow errors:
- Multiple object property invariant subtyping errors on the same object will be combined into one error. Some error locations might be moved.
Notable bug fixes:
- Fixes crash happening on exported functions with signatures of the form
<X>(x: X, y: typeof x): T
IDE:
- We now provide a best effort quickfix for some invariant subtyping errors.
Library Definitions:
Array.find
can now return a more precise value if the predicate is inferred to be a type guard. example
Assets 11
v0.281.0
Compare
Breaking Changes:
- Support for the
casting_syntax=colon
is removed. This means that the as casting syntax is always enabled. experimental.error_code_migration
config option is removed. In the previously version, the only allowed value wasnew
.
Likely to cause new Flow errors:
- We have fixed more source of object literal unsoundness. More errors will be exposed. (example)
- For most of the common invariant subtyping errors (arrays, objects with mutable fields), we will now emit a single subtyping error with explanation how to fix. Error locations might change. See https://flow.org/en/docs/lang/variance/#toc-invariance to learn more about variance of types
- Suppressions without error code will now be an error instead of a warning.
- Suppressions without error code will no longer apply. You can download and use this script to automatically migrate most of the suppressions.
- Only
$FlowFixMe
and$FlowExpectedError
are supported suppression comments. Existing$FlowIgnore
and$FlowIssue
will no longer suppress anything.
New Features:
- Added a Flow lint
require-explicit-enum-checks
which works likerequire-explicit-enum-switch-cases
but formatch
.
Notable bug fixes:
- Various codemods will now insert parentheses around expressions in class extends if they are changed. Previously, it might result in invalid code like
class Foo extends myExpr() as Bar
- Fixes an inconsistency in recording the this-type guard on a regular (non-
declare
) method in the same vs different files.
IDE:
- Added a quickfix to convert type to value imports on type-as-value errors.
Assets 11
v0.280.0
Compare
Likely to cause new Flow errors:
- Accessing missing exports on namespaced import will now trigger
missing-export
error instead ofprop-missing
error. (example) - The only supported
suppress_type
$FlowFixMe
is now just a type alias ofany
. For most of the code, there will be no functional differences. However, you might see new errors if you have any local definitions of$FlowFixMe
, or you used the undocumented$FlowFixMe<arbitrary type arguments>
. - Support for
suppress_type
config has been removed. The only supportedsupress_type
now is$FlowFixMe
. If you want other variants, you can add
type MySuppressType = any
in your global library definitions.
- Many subtyping type errors' error codes have been standardized into
incompatible-type
, so some previously suppressed errors will reappear until you change the suppression error code intoincompatible-type
. The change was announced in the previous version, with option to enable it viaexperimental.error_code_migration=new
. Now the only valid option toexperimental.error_code_migration
isnew
. You can runflow codemod error-code-migration --write .
with the previous version of Flow to help migrate, since the codemod is removed in this version.
Assets 11
1 person reacted
v0.279.0
Compare
New Features:
- In the next release (0.280.0) of Flow, we intend to standardize the error code for various subtyping errors into
incompatible-type
. You can addexperimental.error_code_migration=new
in your flowconfig to enable the new behavior now. We also provide a codemodflow codemod error-code-migration --write .
that you can run over your codebase to automatically change the error code. Both the flowconfig option and the codemod will be removed in the next version.
Notable bug fixes:
- Improved precision of error messages when inferred primitive types are checked against other incompatible primitive types (e.g. try-Flow)
Misc:
- Thanks @JamBalaya56562 for fixing various typos across the codebase!
Assets 11
1 person reacted
v0.278.0
Compare
Likely to cause new Flow errors:
- Hooks calls inside normal functions in component or hooks as conditional calls. They will get
react-rule-hook-conditional
error instead ofreact-rule-hook
error. - Array literals that cannot be contextually typed will be inferred as an actual array type. It might cause additional errors. example
Assets 11
Previous Next
You canβt perform that action at this time.