1.7.0.0
Binaries for this release are available at https://downloads.haskell.org/~hls/haskell-language-server-1.7.0.0/.
Subsequent releases will also be available at https://downloads.haskell.org/~hls.
The prebuilt binaries in this release support the following GHC versions:
- 8.6.5
- 8.8.4
- 8.10.7
- 9.0.2
- 9.2.1
- 9.2.2
These binaries can be installed using GHCup or version 2.0.0 and above of the VSCode extension (currently prerelease). Older versions of the VSCode extension will not attempt to download this version.
If you would like to install these manually, note that we have changed the process by which we distribute binaries. For non-Windows platforms, there is now a Makefile which will install a dynamically linked version of HLS after verifying that it is compatible with your local GHC installation.
You must download the tarball with the same platform suffix as the GHC bindist you installed from https://downloads.haskell.org/~ghc/ - for instance, if you used ghc-8.10.7-x86_64-fedora27-linux.tar.lz to install GHC, you will need haskell-language-server-1.7.0.0-x86_64-linux-fedora27.tar.xz.
If you get your GHC binaries from a source other than https://downloads.haskell.org (or GHCup), then you will need to build HLS from source yourself.
Changelog
-
Distribute dynamically linked binaries for HLS to avoid statically linking against GLIBC
and system libraries, and to avoid unpredictable failures due to subtle differences
between the GHC used to compile HLS and the GHC installed on the users machine
(@hasufell, #2675, #2431) -
Improved recompilation avoidance in projects that make use of Template Haskell (#2316). See
the blog post for more details.
This release includes theavoid-recompile
set of commits described in the blog post.
-
Support for GHC 9.2.2
-
Removal of HLS installer scripts as mentioned by the deprecation notice last release (#2773)
-
Many more improvements and bug fixed thanks to our contributors!
Pull requests merged for 1.6.1.1
- Restore concise type variables in ghc-9.2
(#2828) by @July541 - Should no related code lens if the module name is correct
(#2826) by @July541 - Bump cachix/install-nix-action from 16 to 17
(#2823) by @dependabot[bot] - Bump actions/upload-artifact from 2 to 3
(#2822) by @dependabot[bot] - Bump actions/download-artifact from 2 to 3
(#2821) by @dependabot[bot] - bench: Add more metrics
(#2814) by @wz1000 - Enable rename plugin
(#2809) by @OliverMadine - Fix
cabal install
commands for local HLS build in docs
(#2807) by @9999years - Bump actions/cache from 2 to 3
(#2806) by @dependabot[bot] - [hls-graph] Optimise waitConcurrently
(#2805) by @pepeiborra - [bench] track changes to hls-* projects
(#2803) by @pepeiborra - Fix Show instance
(#2802) by @pepeiborra - Provide all format suggestions in AlternatFormat Code Action
(#2790) by @drsooch - Avoid race conditions with VFS and VFS versions
(#2789) by @wz1000 - Don't show the redundant space
(#2788) by @July541 - Target GHC 9.2.2
(#2787) by @pepeiborra - Allow import all constructors
(#2782) by @July541 - Customizable TH warning
(#2781) by @pepeiborra - Fix #2693
(#2780) by @wz1000 - Add Gentoo installation details
(#2778) by @paul-jewell - Eval plugin: mark exceptions
(#2775) by @xsebek - Fix 2 space leaks
(#2774) by @pepeiborra - Delete HLS installer scripts
(#2773) by @fendor - Purge some more hslogger
(#2770) by @michaelpj - Abbreviate explicit import code lenses
(#2769) by @michaelpj - Review masking and add traces when things don't cancel timely
(#2768) by @pepeiborra - Upgrade to hie-bios 0.9.1
(#2766) by @fendor - Avoid extra parens for wildcard type signature
(#2764) by @xsebek - Add an option to run Fourmolu via the CLI interface of a separate binary, rather than the bundled library
(#2763) by @georgefst - Fix Change Type Signature Plugin test suite for 9.2.1
(#2761) by @drsooch - Bump actions/checkout from 2 to 3
(#2759) by @dependabot[bot] - Refactor LSP logger and log via window/logMessage also
(#2758) by @michaelpj - Fix the tower of Babel
(#2757) by @hasufell - Implement cycle detection in hls-graph
(#2756) by @pepeiborra - Adjust rendering of error logs and drop unneeded MonadUnliftIO instance
(#2755) by @pepeiborra - Estimate file versions safely
(#2753) by @pepeiborra - Fix test failure for AlternateNumberFormat
(#2752) by @drsooch - LSP window message log recorder
(#2750) by @pepeiborra - Fix FreeBSD bindist build
(#2748) by @hasufell - Improve bindist makefile
(#2746) by @hasufell - Fix flake.lock
(#2743) by @michaelpj - Add failing test for variables in hovers
(#2742) by @michaelpj - Update Define Function Code Action to have knowledge of comments
(#2740) by @drsooch - Upgrade to hie-bios 0.9.0
(#2738) by @fendor - Track file versions accurately.
(#2735) by @wz1000 - Fix hls-class-plugin on ghc-9.2
(#2733) by @July541 - Bump actions/github-script from 2 to 6
(#2730) by @dependabot[bot] - Delete the Telemetry log level
(#2727) by @michaelpj - Tone down logging of plugin rules
(#2723) by @pepeiborra - Troubleshooting: GHC 9.2 partial support
(#2722) by @andys8 - Remove
getHspecFormattedConfig
which is no longer used
(#2721) by @hololeap - Fix crash for non-LSP modes wrt #2627
(#2719) by @hasufell - Wingman: Don't use keywords for variable names
(#2717) by @isovector - Expose DisplayTHWarning (backport #2712)
(#2714) by @mergify[bot] - Send LSP error when GHC cannot be found
(#2713) by @hasufell - Expose DisplayTHWarning
(#2712) by @pepeiborra - Improve wrapper cradle errors
(#2711) by @hasufell - Fix min bound for ghc-exactprint dependency in hls-class-plugin
(#2710) by @pepeiborra - Remove duplicate help messages & format CRLF to LF
(#2709) by @July541 - Add @July541 for call-hierarchy-plugin
(#2708) by @July541 - Fix releasing
(#2707) by @hasufell - Print info message when ignoring a file due to a none cradle
(#2701) by @ThomasCrevoisier - fix: handle comma in extend import list with ghc 9.2
(#2697) by @guibou - Build Alternate Number Format Plugin with GHC 9.2
(#2696) by @drsooch - Optionally publish packages definitely in the hackage workflow
(#2689) by @jneira - Set -dynamic in cabal.project
(#2688) by @jneira - Multi component issues in GHC 9.2
(#2687) by @pepeiborra - Fix flaky boot def test
(#2686) by @eddiemundo - Fix typos in troubleshooting.md
(#2680) by @visortelle - Add pre-commit hook for cleaning up mixed-line endings
(#2679) by @drsooch - Add a test for #2673
(#2676) by @pepeiborra - Implement distribution of dynamic builds
(#2675) by @hasufell - Restore eval plugin build for GHC 9.2
(#2669) by @guibou - Change Type Signature Plugin
(#2660) by @drsooch - Nix flake fix dev shells
(#2655) by @guibou - Speed up fuzzy search
(#2639) by @Bodigrim - Improve logging
(#2558) by @eddiemundo - Improve recompilation avoidance in the presence of TH
(#2316) by @wz1000