Skip to content

v0.161.0

Choose a tag to compare

@facebook-github-bot facebook-github-bot released this 29 Sep 19:48
· 10841 commits to main since this release

Likely to cause new Flow errors:

  • Only consider variables as "constlike" if their assignments are within their declarations. This fixes cases of unsoundness. example.

New Features:

  • Add hierarchical document symbol support to the LSP. Improves VS Code's Outline pane, breadcrumbs and symbol search.
  • Autocomplete now includes primitive types like string and number, as well as utility types like $Call and $Keys.

Notable changes:

  • Significantly improved overall performance.

Notable bug fixes:

  • Unknown or redundant settings in the flowconfig [lints] section are now ignored when passing --ignore-version.
  • Improve results of type-at-pos on $ReadOnly types.

flow-remove-types:

  • Added a Jest transformer, flow-remove-types/jest