haskell-language-server 1.6.1.0 → 1.6.1.1
raw patch · 2 files changed
+47/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +32/−0
- haskell-language-server.cabal +15/−1
ChangeLog.md view
@@ -1,5 +1,37 @@ # Changelog for haskell-language-server +## 1.6.1.1 (*only hackage release*)++- Release to update haskell-language-server.cabal in hackage, setting the build for the executable component as dynamically linked+ - The motivation is build by default a hls executable which works for Template Haskell+ - This doesn't need a full release cause it does not affect release executables which continue being fully static++### Pull requests merged for 1.6.1.1++- Prepare 1.6.1.1 (only hackage release)+([#2681](https://github.com/haskell/haskell-language-server/pull/2681)) by @jneira+- Add the -dynamic flag and update build instructions+([#2668](https://github.com/haskell/haskell-language-server/pull/2668)) by @pepeiborra++## 1.6.1.0++This is a bug fix release to restore a fully statically linked haskell-language-server-wrapper executable.++- It has been reported [here](https://github.com/haskell/haskell-language-server/issues/2650)+ - Thanks all reporters for the fast feedback+- The bug has been traced [here](https://github.com/haskell/haskell-language-server/pull/2615#discussion_r795059782)+- And the fix is in [this pr](https://github.com/haskell/haskell-language-server/pull/2647)++### Pull requests merged for 1.6.1.0++- Post 1.6.0.0 fixes and prepare 1.6.1.0 bug fix release+([#2647](https://github.com/haskell/haskell-language-server/pull/2647)) by @jneira+- Move hackage back to flake.nix+([#2652](https://github.com/haskell/haskell-language-server/pull/2652)) by @guibou+- Wingman: Fix #1879+([#2644](https://github.com/haskell/haskell-language-server/pull/2644)) by @MorrowM++ ## 1.6.0.0 Time for a new and exciting hls release:
haskell-language-server.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.4 category: Development name: haskell-language-server-version: 1.6.1.0+version: 1.6.1.1 synopsis: LSP server for GHC description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -208,6 +208,11 @@ default: True manual: True +flag dynamic+ description: Build with the dyn rts+ default: True+ manual: True+ common example-plugins hs-source-dirs: plugins/default/src other-modules: Ide.Plugin.Example,@@ -364,6 +369,15 @@ -Wno-unticked-promoted-constructors if flag(pedantic) ghc-options: -Werror+ if !os(windows) && flag(dynamic)+ -- We want to link against the dyn rts just like official GHC binaries do;+ -- the linked rts determines how external libs are loaded dynamically by TH.+ -- The standard way of doing this is via the --enable-dynamic-executables Cabal option+ -- Unfortunately it doesnt' work, see https://github.com/haskell/haskell-language-server/issues/2659+ -- One can use --ghc-options=-dynamic but this gets applied to the dependencies as well,+ -- which results in massive rebuilds and incompatibilities with profiling.+ -- So instead we set the -dynamic flag diretly here.+ ghc-options: -dynamic build-depends: , aeson