v0.80.0
·
10865 commits
to main
since this release
Likely to cause new Flow errors:
- We've changed how Flow lint severity is calculated. We used to look at every location mentioned by a lint and we'd use the lowest severity, where Off < Warn < Error. Now we just use the severity at the lint's first location. Flow suppression comments (e.g.
// $FlowFixMe
) can still suppress a lint at any mentioned location. Depending on your setup, this change may expose Flow lints which were turned off by accident. For example, a "Sketchy Null Check" lint in a file with that lint set to error would have been turned off if it also mentions a file with that lint off. Now that lint will show up as an error. - Some libdef changes may cause a few errors. For example,
Headers.get
andURLSearchParams.get
are now annotated to returnnull | string
instead ofstring
andFile.lastModifiedDate: any
was replaced withFile.lastModified: number
.
Notable bug fixes:
- Fixed a crash that could happen when a persistent connection disappears.
Misc:
- Many improvements to the libdefs and docs. Thanks for the PRs, everyone!
- Small perf improvement by making
BoundT
(internal representation of type parameter bounds) smaller.
Parser:
- Small change to the OCaml AST for the
extends
expression in a class declaration. Moved a couple of properties to their own node.