Releases: haskell/vscode-haskell
Pre-Release 2.0.0-alpha
Pre-Release 2.0.0
We are happy to announce a Pre-Release for the new major version release for the VSCode Haskell Extension!
Many developers have contributed new features, and this announcement tells you about the latest and greatest changes!
Previously, VSCode downloaded new HLS binaries automatically. The big new exciting change is that we now use GHCup and can manage the following Haskell Tools for you: HLS
, GHC
, stack
and cabal
. To install HLS
binaries automatically, make sure you have ghcup
installed!
The first time you use the new Extension you will be asked whether you want to manually manage your Haskell Toolchain binaries or GHCup should take care of it as it sees fit.
The choice you have:
GHCup
: Choose this if you don't want to worry about HLS binaries, etc...PATH
: Choose this if you need tight control over which tools you have installed. Nothing will be installed
However, you don't have to choose between extremes! You have fine-grained control over which tools GHCup
is allowed to install/manage.
What's changed
- Add prettier script
(#566) by @fendor - Remove accidental run command
(#565) by @fendor - Upgrade dependencies
(#564) by @fendor - Add new configuration options for rename plugin
(#563) by @OliverMadine - Introduce 'haskell.toolchain' setting
(#562) by @hasufell - Improve
(#558) by @hasufell - Remove stdout/sterr from user error message
(#556) by @fendor - Fix npm security issue
(#555) by @fendor - No colour output for GHCup
(#554) by @fendor - Add eval plugin configuration
(#549) by @xsebek - Manage all the Haskell things
(#547) by @hasufell - Consider user installed HLSes (e.g. via ghcup compile)
(#543) by @hasufell - Bump lodash-es from 4.17.15 to 4.17.21
(#539) by @dependabot[bot] - Update README.MD GHC support
(#537) by @cptwunderlich - fix: change deprecated Haskell Platform install link to GHCup
(#536) by @HEIGE-PCloud - Update HLS installation method
(#533) by @hasufell - Bump ajv from 6.12.0 to 6.12.6
(#532) by @dependabot[bot] - Fixes related with paths
(#518) by @jneira - Reorganize troubleshooting section
(#516) by @jneira
Contributors
We thank all our contributors for making this pre-release possible:
- Julian Ospald
- Fendor
- jneira
- Benjamin M
- PCloud
- soiamsoNG
- Simon Michael
1.8.0
1.8.0
This release includes some interesting new features:
- You can now pass custom environment variables to the lsp server
with thehaskell.serverEnvironment
config option per project basis,
thanks to @jacobprudhomme.- For example:
"haskell.serverEnvironment": { "XDG_CACHE_HOME": "/path/to/my/cache" }
- For example:
- With this version the extension will try to use the newer lsp server version
which supports the ghc used by the project being loaded, thanks to @mduerig- WARNING: This will suppose it will use an older version than the latest one,
without its features and bug fixes.
- WARNING: This will suppose it will use an older version than the latest one,
- The extension has lot of more log traces now, which hopefully will help to
identify the cause of issues
What's Changed
- Setup the test suite by @jneira in #475
- Add integration smoke test by @jneira in #481
- Improve serverExecutablePath description and error when pointing to a directory by @jneira in #484
- Bump versions of ts, cheerio, mocha by @jneira in #485
- Fix error handling of server exec discovery in windows by @jneira in #486
- Reorganize README by @jneira in #491
- Pass environment variables to LSP by @jacobprudhomme in #494
- Trace environment variables by @jneira in #495
- Fix ci: ensure we have a supported ghc version in PATH by @jneira in #496
- support old hls versions compatible with the requested ghc version by @mduerig in #506
- Add traces for download hls by @jneira in #508
- Update issue templates by @jneira in #509
- Fix hole_severity option: Use integer instead of string by @mirko-plowtech in #511
- Update supported ghc versions for hls-1.5.1 by @jneira in #514
- Prepare 1.8.0 by @jneira in #515
New Contributors
- @jacobprudhomme made their first contribution in #494
- @mduerig made their first contribution in #506
- @mirko-plowtech made their first contribution in #511
Full Changelog: 1.7.1...1.8.0
1.7.1
1.7.0
1.7.0
- Add an option to set server command line arguments thanks to @cdsmith #464
- It includes a new config option
haskell.serverExtraArgs
to being able to pass extra argument to the lsp server executable
- It includes a new config option
- Update config options to match last haskell-language-server version #463
- It removes
haskell.diagnosticsOnChange
andhaskell.formatOnImportOn
cause they were unused in the server - It adds
haskell.checkProject
,haskell.maxCompletions
andhaskell.plugin.refineImports.globalOn
- It removes
- Fix showDocumentation command thanks to @pranaysashank #452
- It fixes partially showing the documentation directly in vscode. The documentation is rendered but internal links still does not work
- Two config options has been added:
haskell.openDocumentationInHackage
andhaskell.openSourceInHackage
with default valuetrue
- So documentation will be opened using the hackage url in an external navigator by default
- If you prefer having them in vscode you will need to change them to
false
- Create output channel only if there are no existing clients thanks to @pranaysashank #448
- This fixes the creation of several output channels for the extension
1.6.1
1.6.0
- Bump up vscode version to 1.52.0 (#424) by @berberman
- To match the lsp spec version used in haskell-language-version and fix haskell/haskell-language-server#2068
1.5.1
- Add much more logging in the client side, configured with
haskell.trace.client
- Fix error handling of working out project ghc and a bug when the path to the executable contains spaces (See #421)
- And dont use a shell to spawn the subprocess in non windows systems
- Show the progress as a cancellable notification
- Add commands
Start Haskell LSP server
andStop Haskell LSP server
1.5.0
- Emit warning about limited support for ghc-9.x on hls executable download
- Fix working out project ghc progress notificacion
- Fix tactics config, thanks to @isovector
- Update server config to match haskell-language-server-1.3.0 one
1.2.0
- Add option to open local documentation on Hackage (@DunetsNM)
- Add
haskell.updateBehaviour
option to configure when to check for updates
(@WorldSEnder) - Use locally installed servers on connection failure (@WorldSEnder)
1.1.0
- Add Fourmolu as a plugin formatter provider (@georgefst)
- Remove the
haskell.enable
configuration option, since VS Code now allows
you to disable extensions on a per workspace basis - Display errors when fetching from the GitHub API properly