Skip to content

Commit 14e71db

Browse files
committed
Prepare for 0.5.0
1 parent 378c444 commit 14e71db

File tree

3 files changed

+91
-4
lines changed

3 files changed

+91
-4
lines changed

ChangeLog.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,92 @@
11
# Changelog for haskell-language-server
22

3+
## 0.5.0
4+
5+
0.5.0 comes with a new tactics plugin which provides case splitting, homomorphic case splitting, and lambda introduction:
6+
7+
![Case splitting](https://user-images.githubusercontent.com/307223/92657198-3d4be400-f2a9-11ea-8ad3-f541c8eea891.gif)
8+
9+
It can even attempt to fully fill a hole!
10+
11+
![Attempt to fill in hole code action](https://user-images.githubusercontent.com/307223/94743611-82a18580-032c-11eb-9f13-8f46bc45f928.gif)
12+
13+
The imports lens plugin also learnt a new code action to make all imports explicit:
14+
15+
![Explicit imports code action](https://user-images.githubusercontent.com/2488460/94994815-1a53dd80-0592-11eb-8a12-ec704ae92385.gif)
16+
17+
There's also plenty of bug fixes, improvements and updates to the underlying tools, including Fourmolu, implicit-hie-cradle and ghcide. [Some of the improvements from ghcide](https://github.com/haskell/ghcide/releases/tag/v0.4.0) include:
18+
19+
* The entire project is typechecked on load
20+
* Reverse dependencies of a module are typechecked upon saving
21+
* Code completion includes local terms
22+
* Import code actions now also suggest open imports
23+
* Documentation on hover shows for symbols defined in the same module
24+
25+
If you're eager to try all this out, haskell-language-server is now also installable via [ghcup](https://www.haskell.org/ghcup/):
26+
27+
```
28+
$ ghcup install hls
29+
```
30+
31+
32+
### Pull requests merged
33+
- Update GHC version 8.12 to 9.0 in README
34+
([#460)](https://github.com/haskell/haskell-language-server/pull/460) by @maralorn
35+
- Update Fourmolu to 0.2
36+
([#455)](https://github.com/haskell/haskell-language-server/pull/455) by @georgefst
37+
- Generate .gz tars of all the binaries for macOS and Linux in GitHub Actions
38+
([#454)](https://github.com/haskell/haskell-language-server/pull/454) by @bubba
39+
- install: create hls hardlinks instead of copies except on Windows
40+
([#451)](https://github.com/haskell/haskell-language-server/pull/451) by @juhp
41+
- wrapper: cd to --cwd earlier
42+
([#448)](https://github.com/haskell/haskell-language-server/pull/448) by @ocharles
43+
- Update README.md
44+
([#446)](https://github.com/haskell/haskell-language-server/pull/446) by @moodmosaic
45+
- Upate Emacs setup notes
46+
([#440)](https://github.com/haskell/haskell-language-server/pull/440) by @gdevanla
47+
- Use ghcide master and prepare hls-plugin-api-0.4.1.0
48+
([#439)](https://github.com/haskell/haskell-language-server/pull/439) by @jneira
49+
- Add a code action to make all imports explicit
50+
([#436)](https://github.com/haskell/haskell-language-server/pull/436) by @pepeiborra
51+
- Add docs on how to choose a formatter
52+
([#432)](https://github.com/haskell/haskell-language-server/pull/432) by @googleson78
53+
- Implement 'Attempt to fill hole' code action
54+
([#431)](https://github.com/haskell/haskell-language-server/pull/431) by @TOTBWF
55+
- Clarify that eval is a lens
56+
([#428)](https://github.com/haskell/haskell-language-server/pull/428) by @Anrock
57+
- Use implicit-hie-cradle-0.2.0.1
58+
([#427)](https://github.com/haskell/haskell-language-server/pull/427) by @jneira
59+
- [retrie] Fix uris in workspace edit
60+
([#424)](https://github.com/haskell/haskell-language-server/pull/424) by @pepeiborra
61+
- Separate paragraphs
62+
([#423)](https://github.com/haskell/haskell-language-server/pull/423) by @jneira
63+
- Include .editorconfig in the contributing section
64+
([#420)](https://github.com/haskell/haskell-language-server/pull/420) by @jneira
65+
- Mention the copy of executables wit ghc version
66+
([#419)](https://github.com/haskell/haskell-language-server/pull/419) by @jneira
67+
- Eval plugin: proper multilined results handling and command-name abbreviations
68+
([#413)](https://github.com/haskell/haskell-language-server/pull/413) by @konn
69+
- Retrie - calculate imports in the command handler
70+
([#408)](https://github.com/haskell/haskell-language-server/pull/408) by @pepeiborra
71+
- Progress reporting for Eval plugin
72+
([#398)](https://github.com/haskell/haskell-language-server/pull/398) by @pepeiborra
73+
- bump ghcide submodule
74+
([#396)](https://github.com/haskell/haskell-language-server/pull/396) by @wz1000
75+
- Fix cradles
76+
([#393)](https://github.com/haskell/haskell-language-server/pull/393) by @pepeiborra
77+
- Case splitting and lambda introduction
78+
([#391)](https://github.com/haskell/haskell-language-server/pull/391) by @isovector
79+
- Use stale data in explicit imports lens
80+
([#383)](https://github.com/haskell/haskell-language-server/pull/383) by @pepeiborra
81+
- Create hls-plugin-api and move plugins to exe
82+
([#379)](https://github.com/haskell/haskell-language-server/pull/379) by @jneira
83+
- Rebase on ghcide HEAD
84+
([#378)](https://github.com/haskell/haskell-language-server/pull/378) by @pepeiborra
85+
- README clarify how exactly to use code evaluation
86+
([#377)](https://github.com/haskell/haskell-language-server/pull/377) by @DunetsNM
87+
- Revise README.md
88+
([#374)](https://github.com/haskell/haskell-language-server/pull/374) by @gihyeonsung
89+
390
## 0.4.0
491

592
0.4.0 introduces the import lens plugin, which can convert your import statements into qualified imports, or into an explicit import list:

GenChangelogs.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ main = do
2222
lastDateStr <- last . lines <$> readProcess "git" ["show", "-s", "--format=%cI", "-1", last tags] ""
2323
lastDate <- zonedTimeToUTC <$> iso8601ParseM lastDateStr
2424

25-
prs <- github () $ pullRequestsForR "haskell" "haskell-language-server" stateClosed FetchAll
26-
let prsAfterLastTag = either (error "asdf")
25+
prs <- github' $ pullRequestsForR "haskell" "haskell-language-server" stateClosed FetchAll
26+
let prsAfterLastTag = either (error . show)
2727
(foldMap (\pr -> if inRange pr then [pr] else []))
2828
prs
2929
inRange pr
@@ -32,5 +32,5 @@ main = do
3232

3333
forM_ prsAfterLastTag $ \SimplePullRequest{..} ->
3434
putStrLn $ T.unpack $ "- " <> simplePullRequestTitle <>
35-
"\n([#" <> T.pack (show $ unIssueNumber simplePullRequestNumber) <> "](" <> getUrl simplePullRequestUrl <> ")" <>
35+
"\n([#" <> T.pack (show $ unIssueNumber simplePullRequestNumber) <> ")](" <> getUrl simplePullRequestHtmlUrl <> ")" <>
3636
" by @" <> (untagName (simpleUserLogin simplePullRequestUser))

haskell-language-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 2.2
22
category: Development
33
name: haskell-language-server
4-
version: 0.4.0.0
4+
version: 0.5.0.0
55
synopsis: LSP server for GHC
66
description:
77
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

0 commit comments

Comments
 (0)