github facebook/flow v0.175.0

latest releases: v0.285.0, v0.284.0, v0.283.0...
3 years ago

Notable changes:

  • Improve error messages when using a type as a value
  • Improve error messages in for loops
  • Correctly determine the scope of default expressions in function params
  • Add FLOW_CONFIG_NAME env as alternative to passing --flowconfig-name
  • Add file_watcher.mergebase_with.{git,hg} configs to support projects accessible via multiple VCSs (e.g. git mirrors of hg repositories)

IDE integration:

  • Surface deprecated autocompletion results so they appear with a strikethrough in VS Code
  • Fix a bug where changing libdefs, package.json files or the .flowconfig multiple times will cause the IDE to report "server is stopped".
  • Fix a bug where the IDE is unable to start the server if it is downgraded
  • Improve suggestions when autocompleting keys in an object literal
  • Fix an exception when autocompleting a result that would add to an import to an existing require()

flow-remove-types:

  • Fix handling of this param with trailing commas

Don't miss a new flow release

NewReleases is sending notifications on new releases.