Likely to cause new Flow errors:
- JSX expressions now use the new spread semantics added in v0.111.0
- Attempting to write to or update a read-only property using operator assignment is now a type error
New Features:
- New
ambiguous-object-typelint warning against use of{}object types (prefer{||}or{...}instead, even whenexact-by-defaultis enabled). - Improved support for optional chaining
Notable bug fixes:
- Malformed type annotations no longer trigger the
unclear-typelint error - Builtin classes can no longer be extended
Misc:
- Improved performance for utility types and refinements in unions
- Various improvements to autocomplete and get-def IDE services
- Add
useDeferredValueanduseTransitionto React library definitions - Add
bytesWrittenfunciton to library definition (thanks @farzonl)