|
1 | 1 | # Changelog for haskell-language-server
|
2 | 2 |
|
| 3 | +## 0.4.0 |
| 4 | + |
| 5 | +0.4.0 introduces the import lens plugin, which can convert your import statements into qualified imports, or into an explicit import list: |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | +The eval plugin has also learnt two new commands, `:type` and `:kind`: |
| 10 | + |
| 11 | +```haskell |
| 12 | +{-# LANGUAGE TypeApplications #-} |
| 13 | +foo :: Show a => a -> String |
| 14 | +foo = show |
| 15 | + |
| 16 | +-- >>> :type foo @Int |
| 17 | +-- foo @Int :: Int -> String |
| 18 | + |
| 19 | +-- >>> :type +v foo @Int |
| 20 | +-- foo @Int :: Show Int => Int -> String |
| 21 | +``` |
| 22 | + |
| 23 | +```haskell |
| 24 | +-- >>> type N = 1 |
| 25 | +-- >>> type M = 40 |
| 26 | +-- >>> :kind N + M + 1 |
| 27 | +-- N + M + 1 :: Nat |
| 28 | + |
| 29 | +-- >>> type N = 1 |
| 30 | +-- >>> type M = 40 |
| 31 | +-- >>> :kind N + M + 1 |
| 32 | +-- N + M + 1 :: Nat |
| 33 | +``` |
| 34 | + |
| 35 | +There is now also support for GHC 8.10.2, and a new `haskell-language-server --probe-tools` command to help debug what version of each tool HLS is using. |
| 36 | + |
| 37 | +``` |
| 38 | +$ haskell-language-server --probe-tools |
| 39 | +haskell-language-server version: 0.3.0.0 (GHC: 8.10.1) (PATH: /Users/luke/.cabal/store/ghc-8.10.1/hskll-lngg-srvr-0.3.0.0-7c6d48c3/bin/haskell-language-server) |
| 40 | +Tool versions found on the $PATH |
| 41 | +cabal: 3.2.0.0 |
| 42 | +stack: 2.3.3 |
| 43 | +ghc: 8.10.2 |
| 44 | +``` |
| 45 | + |
| 46 | +### Pull requests merged |
| 47 | + |
| 48 | +- Bring over https://github.com/pepeiborra/hls-tutorial |
| 49 | +([#372](https://github.com/haskell/haskell-language-server/pull/372) by @bubba) |
| 50 | +- Update the ghcide upstream to be in haskell/ghcide |
| 51 | +([#370](https://github.com/haskell/haskell-language-server/pull/370) by @alanz) |
| 52 | +- Add ISSUE_TEMPLATE for github |
| 53 | +([#305](https://github.com/haskell/haskell-language-server/pull/305) by @fendor) |
| 54 | +- Add use-package to the list of emacs packages |
| 55 | +([#343](https://github.com/haskell/haskell-language-server/pull/343) by @rgleichman) |
| 56 | +- Implements `:type [+v/+d]` in Eval Plugin |
| 57 | +([#361](https://github.com/haskell/haskell-language-server/pull/361) by @konn) |
| 58 | +- Bump bounds of hie-bios to 0.7.0 |
| 59 | +([#357](https://github.com/haskell/haskell-language-server/pull/357) by @maralorn) |
| 60 | +- Fix ImportLens plugin to work with GHC 8.10 |
| 61 | +([#356](https://github.com/haskell/haskell-language-server/pull/356) by @Ailrun) |
| 62 | +- Add single file rewrites and ignore unknown files |
| 63 | +([#321](https://github.com/haskell/haskell-language-server/pull/321) by @pepeiborra) |
| 64 | +- Do not suggest explicit import lists for qualified imports |
| 65 | +([#354](https://github.com/haskell/haskell-language-server/pull/354) by @expipiplus1) |
| 66 | +- Explicit imports lens (as seen on Twitter) |
| 67 | +([#310](https://github.com/haskell/haskell-language-server/pull/310) by @pepeiborra) |
| 68 | +- Adds `:kind` and `:kind!` commands to Eval Plugin |
| 69 | +([#345](https://github.com/haskell/haskell-language-server/pull/345) by @konn) |
| 70 | +- tech(nix): update niv and remove allowbroken |
| 71 | +([#350](https://github.com/haskell/haskell-language-server/pull/350) by @willbush) |
| 72 | +- Update VS Code Haskell URL/repo |
| 73 | +([#338](https://github.com/haskell/haskell-language-server/pull/338) by @Sir4ur0n) |
| 74 | +- doc(hack): Add explanation to hack and test HLS |
| 75 | +([#329](https://github.com/haskell/haskell-language-server/pull/329) by @Sir4ur0n) |
| 76 | +- Apply the module pragmas for evaluation |
| 77 | +([#322](https://github.com/haskell/haskell-language-server/pull/322) by @pepeiborra) |
| 78 | +- Copy working stack-8.6.5.yaml to stack.yaml |
| 79 | +([#332](https://github.com/haskell/haskell-language-server/pull/332) by @jneira) |
| 80 | +- tech(nix): Allow broken as retrie is marked as broken |
| 81 | +([#331](https://github.com/haskell/haskell-language-server/pull/331) by @Sir4ur0n) |
| 82 | +- feat(git): Add install/hie.yaml to gitignore |
| 83 | +([#328](https://github.com/haskell/haskell-language-server/pull/328) by @Sir4ur0n) |
| 84 | +- Replace wrong occurrences of "engine" by "server" |
| 85 | +([#319](https://github.com/haskell/haskell-language-server/pull/319) by @tchoutri) |
| 86 | +- Simplify coc.nvim instructions |
| 87 | +([#315](https://github.com/haskell/haskell-language-server/pull/315) by @oblitum) |
| 88 | +- Coc config file requires a {} nesting everything |
| 89 | +([#317](https://github.com/haskell/haskell-language-server/pull/317) by @hyiltiz) |
| 90 | +- Restrict opentelemetry version for stack builds |
| 91 | +([#312](https://github.com/haskell/haskell-language-server/pull/312) by @jneira) |
| 92 | +- Add support for ghc-8.10.2 |
| 93 | +([#308](https://github.com/haskell/haskell-language-server/pull/308) by @jneira) |
| 94 | +- Return nothing if tool is not on the PATH |
| 95 | +([#309](https://github.com/haskell/haskell-language-server/pull/309) by @fendor) |
| 96 | +- Probe tools cli |
| 97 | +([#306](https://github.com/haskell/haskell-language-server/pull/306) by @fendor) |
| 98 | +- Add fourmolu plugin (attempt 2) and add Brittany for ghc-8.10.1 |
| 99 | +([#264](https://github.com/haskell/haskell-language-server/pull/264) by @georgefst) |
| 100 | + |
3 | 101 | ## 0.3.0
|
4 | 102 |
|
5 | 103 | 0.3.0 comes with two new plugins, retrie and fourmolu, provides binaries for
|
|
0 commit comments