New Features:
- Add Smart Select IDE feature. This allows you to expand or shrink your selection based on the surrounding code. For example you might expand from an identifier to the containing expression, to the whole statement. In vscode, you can do this via ctrl+shift+cmd+(left or right arrow).
- Add Enum
getName(value: TEnum): string
method. Given a value of the enum type, this returns the string representation of the name of the member. You will also need to update to the latestflow-enums-runtime
package.
Notable bug fixes:
- Update
annotate-exports
codemod to add lowercasereact
instead ofReact
(thanks @meandmax!).
Misc:
- Improve developer setup on Windows by exposing internal setup scripts and updating the Windows setup
README.md
. - Enable
cache_live_errors_artifacts
andcache_signature_help_artifacts
config options by default. - Improve performance and reliability of Watchman integration.
- Error for use of
super
outside ofclass
methods added in0.148.0
has been removed.
Library Definitions:
- Update React types for React 18 release.
- Update the
Map
,WeakMap
,Set
andWeakSet
constructors' iterable param to be optional as per the ECMAScript spec. - Add typing for
PageTransitionEvent
as per the HTML spec (thanks @bripkens!). - Added support for
stepUp
andstepDown
inHTMLInputElement
declaration as per the HTML spec.