CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 15:46:52 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/"5087735b65dd9797562318dd5cc27f8e"
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 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 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 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=0lTDenpGAgMCnoxOEwqB2HKnJ8U9pT7bAWtE9GQ%2Bf6npwYkIp0WxXHMzSIqwVyocodjC4GdOGMc%2BkQkf%2FiWPWmGum7y6Ai75yxlpx8qMCtvSLQRq%2FP97JCjKPPogYAhgZG17oLLxuBSJL9%2BQBep3plK8a4UpfPW%2BldUl2PHbqVt%2B30HpBwy2D%2Bsx%2BrPBRhGJ9ytH2T7lYscCA0pJdE6xo4NHm4%2BHqTk8%2FyazxnxC4%2FGP1nrKtiFJu3lbqNKUazCoGhJFAWYCS3upuUlARpXM1g%3D%3D--Z4MVM26Nk68DtcD%2B--cmXmp16ehyA815DyDg0tDQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.116542776.1753285612; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 15:46:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 15:46:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D922:39062F:E25158:10B885E:688103EC
Releases · facebook/flow · GitHub
23 Jul 13:03
Loading
18 Jul 23:06
Loading
04 Jul 15:02
Loading
27 Jun 18:48
Loading
26 Jun 01:07
Loading
24 Jun 15:43
Loading
11 Jun 19:22
Loading
06 Jun 20:00
Loading
30 May 22:10
Loading
24 May 15:18
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.277.0
Compare
Likely to cause new Flow errors:
- Array literals that cannot be contextually typed can no longer be passed to mutable tuples with a more general element type. It might cause additional errors. example
Assets 2
v0.276.0
Compare
Likely to cause new Flow errors:
- Hook calls inside anonynous functions bound to a variable will get
react-rule-hook-definitely-not-in-component-or-hook
error, if the variable name doesn't conform to hook naming convention. example
IDE:
- Added support for workspace symbol feature
Misc:
- Thanks @jbroma for improving
as
casts withfunction
generics andcomponent
generics!
Assets 11
v0.275.0
Compare
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 causeinternal-type
error sincev0.258.0
. You should useReact.MixedElement
instead.
Assets 11
v0.274.2
Compare
- Bug fixes for
match
Assets 11
v0.274.1
Compare
New Features:
- Support for experimental
match
feature using optionexperimental.pattern_matching=true
Assets 11
v0.274.0
Compare
Likely to cause new Flow errors:
- Unannotated object literals reachable from exports will now be inferred to have all mutable fields when being imported. Previously, it has unsound types, so new errors might appear.
- When comparing two object types whose properties have variance incompatibilities, Flow will raise a single error that will summarize the properties with incompatible variances, instead of a single error for each property. (e.g. try-Flow)
- When an object with extra properties is passed to a place that expect an exact object, we will now generate a single error with all extra properties. The error message will list the extra properties, and state that "Exact objects do not accept extra props". In rare cases, the error locations might be moved.
- Flow will error more consistently with sketchy-bool on nullable boolean types (e.g. try-Flow)
Library Definitions:
- All properties in the builtin
PropertyDescriptor
type are marked as readonly. If you need a mutable version, you can introduce something liketype MutablePropertyDescriptor<T> = {...$Exact<PropertyDescriptor<T>>, ...}
Assets 11
v0.273.1
Compare
Notable bug fixes:
- Fixed windows builds.
- Fixed crash when loading saved state.
Assets 11
v0.273.0
Compare
Likely to cause new Flow errors:
- We are announcing Natural Inference for Flow, an improved way to infer types for primitive values, that resolves a long-standing correctness gap and source of confusion. See more in this post.
- Added
nested-hook
andnested-component
lint errors which detect nested hook or component syntax within component or hook syntax. This is on by default.
Notable bug fixes:
- For default imports, the autoimport ranking will now consider the names of the importing side. (e.g. Previously we completely ignored the name of
foo
inimport foo from './bar'
, but now we will count foo. If the pattern ofimport foo from './bar'
happens a lot, then the autoimport algorithm will be more likely to suggestimport foo from './bar'
rather thanimport bar from './bar'
). - Flow will infer a correct type when viewing the type of an object literal as a dictionary type. For example, the error in this try-Flow will be raised.
- Previously, we undercounted some imports during indexing, which causes autoimport ranking to behave incorrectly. The issue is now fixed.
- Flow will no longer emit
react-rule-hook-conditional
error for hooks called in a conditionally defined nested component.
Assets 2
v0.272.2
Compare
Notable bug fixes:
- Prevent non-termination when computing code actions.
Assets 11
v0.272.1
Compare
Notable bug fixes:
- Fixed https://flow.org/try. It was broken from v0.270.0 to v0.272.0.
- Documentation in hover now preserves indentations. Therefore, code blocks in jsdoc will no longer lose indentation.
Assets 11
Previous Next
You can’t perform that action at this time.