2.2.1 (2023-01-06)
- Fix a security vulnerability.
2.2.0 (2022-07-26)
- Removed support for the
log.file
flowconfig option, since it contained a security vulnerability. - Upgraded bundled version to 0.183.0
2.1.0 (2022-03-15)
- Prevent running versions of flow-bin < 0.110.0 in Restricted Mode, since those versions contained a security vulnerability.
- Upgraded bundled version to 0.110.1
- Removed support for flow-bin < 0.110.0 in Restricted Mode
2.0.0 (2022-02-09)
- Removed support for legacy Flow integration. All communication with Flow now uses the Language Server Protocol.
- The "Path To Flow" setting is now ignored in Restricted Mode.
1.9.2 (2021-09-07)
- windows: fix verification of
flow-bin
binaries (9885ab6)
1.9.1 (2021-07-12)
- restore compatibility with older versions of VS Code (00a4ff0)
1.9.0 (2021-06-29)
- Verify integrity of
flow-bin
binaries (af92850) - Allow clickable links on hover for type descriptions (1a43503)
1.5.0 (2019-09-09)
- flow-bin: update bundled flow to v0.107.0 (68f9ccf)
1.4.0 (2019-09-02)
- windows: fix
flow is running on a different directory
(@Mayank1791989 in cd0831b), closes #260
- flow-bin: update bundled flow to v0.106.3 (a4389fc)
1.3.0 (2019-08-04)
- remote: fix plugin not working with remote extension pack on windows (@Mayank1791989 in 3dd4ecc), closes #336
- flow-bin: update bundled flow to v0.104.0 (@Mayank1791989 in 5c15751)
- flow-bin: update bundled flow to v0.103.0 (@Mayank1791989 in 8d50b98)
- lsp: fix issue #350 (@Mayank1791989 in ec9c9e0)
- build: fix issue #341 (@Mayank1791989 in c6bacf0)
- lsp: accept flow release candidate version (@telaoumatenyanis in #344)
- Update bundled Flow to v0.101.0. (@Mayank1791989 in #340)
- Update Node, Babel, Prettier, and setup Jest for testing. (@Mayank1791989 in #340)
- Add
useCodeSnippetOnFunctionSuggest
. (@Mayank1791989 in #337) - Change
useNPMPackagedFlow
default to true. (@Mayank1791989 in #337) - Fix bundle might be bigger than expected (#327). (@Mayank1791989 in #337)
- Fix Intelllisense can't pick up functions in plain objects properly (#335). (@Mayank1791989 in #337)
- Fix restart vs. restart client (#323). (@Mayank1791989 in #337)
- Fix extension activates even for non-Flow (and non-JS) projects. (@Mayank1791989 in #326)
- Multiple config and multi-root workspace support - @Mayank1791989 #315
- Bug fix for infinite loop - @Mayank1791989 #305
- Converts Flow LSP support to be default, and moves to using the flow-lsp module as the base:
-
A potential fix for killing flow processes
-
Fix go to definition for namespaced imports
-
Updates for the flow language-server-plugin
-
Add
showUncovered
config option to activate uncovered code report by default
- Adds windows support for the flow language-server-plugin
- Adds experimental support for flow language-server-plugin, to use it set
flow.useLSP
to true in your project/global settings - Bump Flow to 0.68
- Improves
flow.pathToFlow
to allow passing in the workspace root"${workspaceRoot}/node_modules/.bin/flow"
)
- Fixes for flow not re-checking on file changes- @clintwood
- Add more file extensions for flow support - @clintwood
- Adds a
flow.runOnAllFiles
option, which treats all files as if they had// @flow
at the top. - @doshisid #144
- Bundles
flow-bin
with the plugin to use in cases where it has not been installed globally or locally. - @BrainMaestro #118 - Improvements around flow file detection, and reducing the amount of duplicate requests to the flow server. - @thymikee #126
- Adds the status indicator (spinner) to the statusbar which appears when flow is
type checking, so that users can tell if everything type checked or if flow is
just not finished yet. Indicator can be disabled by setting
flow.showStatus
tofalse
. - @gozala #85 - Type checks code as you type. Only unsaved changes in an active document are
considered (other unsaved documents are type checked by content on the disk).
This feature can be disabled by setting
flow.runOnEdit
tofalse
- @gozala #87 - Adds the flowtype.org/try like functionality to allow
sketching, without setting up a project. Unsaved documents (ones created by
Files: New Untitled File
command) injavascript
/javascriptreact
mode and@flow
pragma will be typechecked as you type (assumingflow.runOnEdit
is set totrue
). Please note that once file is saved, unless it's under project with.flowconfig
it will no longer be type checked un further edits. - @gozala #88 - Adds Flow type coverage indicator, allowing to also toggle diagnosis of code uncovered by flow by clicking on it. – @thymikee #108
- Redundant
[flow]
annotation is now removed. – @thymikee #106
- Uses the absolute path to the
where
command provided by Windows - @JPanneel #70 - Uses the new VS Code autocompletion API for functions - @orta #51
- When you want to work on the flow-for-vscode project, pressing run will start the babel build watcher task - @orta
- Adds support for *.js.flow files ( such as those generated by graphql-js ) which are treated as common JavaScript files - @orta
- Fixes "File not found" error with diagnostics when
flow status --json
provides non-absolute file paths - @ryanashcraft #77
- Adds the ability to use flow from your project's node_modules folder.
This is a security risk ( see facebookarchive/nuclide#570) and so it
is hidden behind a user setting of
useNPMPackagedFlow
which needs to be set totrue
for it to work. - @orta #53 - Show flow errors that start at line 0 - @orta #54