Skip to content

Commit 68eb37c

Browse files
authored
Merge ba86be9 into 7f469f0
2 parents 7f469f0 + ba86be9 commit 68eb37c

File tree

16 files changed

+61
-19
lines changed

16 files changed

+61
-19
lines changed

ChangeLog.md

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

3+
## 1.5.1
4+
5+
This is a bug fix release for two regressions found after releasing 1.5.0:
6+
7+
- [#2365](https://github.com/haskell/haskell-language-server/issue/2365): hs-boot files not handled correctly, discovered in the ghc codebase and fixed with [#2377](https://github.com/haskell/haskell-language-server/pull/2377)
8+
- [#2379](https://github.com/haskell/haskell-language-server/issue/2379): `tried to look at linkable for GetModIfaceWithoutLinkable for NormalizedFilePath...` error handling template haskell, fixed with [#2380](https://github.com/haskell/haskell-language-server/pull/2380)
9+
10+
Both quick fixes thanks to @pepeiborra
11+
12+
Also it fixes some long standing bugs in the hlint plugin due to comments being ignored (see [#2366](https://github.com/haskell/haskell-language-server/pull/2366))
13+
14+
### Pull requests merged for 1.5.1
15+
16+
- Revert "Update to latest prettyprinter API (#2352)"
17+
([#2389](https://github.com/haskell/haskell-language-server/pull/2389)) by @pepeiborra
18+
- Add extra logging around build queue
19+
([#2388](https://github.com/haskell/haskell-language-server/pull/2388)) by @pepeiborra
20+
- docs: Fix typo
21+
([#2386](https://github.com/haskell/haskell-language-server/pull/2386)) by @nh2
22+
- ghcide: Update dependency on `hls-plugin-api`
23+
([#2382](https://github.com/haskell/haskell-language-server/pull/2382)) by @hololeap
24+
- Fix regression in GhcSessionDeps
25+
([#2380](https://github.com/haskell/haskell-language-server/pull/2380)) by @pepeiborra
26+
- Boot files
27+
([#2377](https://github.com/haskell/haskell-language-server/pull/2377)) by @pepeiborra
28+
- hls-module-name-plugin: Add missing golden file to hackage tarball
29+
([#2374](https://github.com/haskell/haskell-language-server/pull/2374)) by @maralorn
30+
- hls-explicit-imports-plugin: Add golden files to hackage tarball
31+
([#2373](https://github.com/haskell/haskell-language-server/pull/2373)) by @maralorn
32+
- Update ghcide dependency for various plugins
33+
([#2368](https://github.com/haskell/haskell-language-server/pull/2368)) by @hololeap
34+
- Fix several hlint issues related with the use of parsed module without comments
35+
([#2366](https://github.com/haskell/haskell-language-server/pull/2366)) by @jneira
36+
337
## 1.5.0
438

539
Time for another hls release:
@@ -22,6 +56,8 @@ Time for another hls release:
2256

2357
### Pull requests merged for 1.5.0
2458

59+
- Prepare 1.5.0
60+
([#2361](https://github.com/haskell/haskell-language-server/pull/2361)) by @jneira
2561
- More completion fixes
2662
([#2354](https://github.com/haskell/haskell-language-server/pull/2354)) by @pepeiborra
2763
- Update to latest prettyprinter API
@@ -986,6 +1022,7 @@ This version uses `lsp-1.2.0`, `hls-plugin-api-1.1.0`, and `ghcide-1.2.0.2`.
9861022
This is the celebratory release of Haskell Language Server 1.0.0!
9871023
This release includes a lot of internal changes, bug fixes, leaks plugged, and performance improvements, thanks to all our contributors.
9881024
Among others,
1025+
9891026
- We added the support for GHC 8.10.4, and removed the support for GHC 8.10.1
9901027
Afterward, we will support upmost 3 patch versions for each minor version of GHC, if no special situation happens.
9911028
- As by hie-bios >= 0.7.3, we use (`${XDG_CACHE_HOME}`)[https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html]`/hie-bios/...` (or similar depends on OS) as a build directory for Cabal.
@@ -1169,7 +1206,7 @@ Among others,
11691206
([#1266](https://github.com/haskell/haskell-language-server/pull/1266)) by @pepeiborra
11701207
- ghcide: Implements a CodeAction to disambiguate ambiguous symbols
11711208
([#1264](https://github.com/haskell/haskell-language-server/pull/1264)) by @konn
1172-
- Doctest comment parsing using module annotations in Eval Plugin
1209+
- Doctest comment parsing using module annotations in Eval Plugin
11731210
([#1232](https://github.com/haskell/haskell-language-server/pull/1232)) by @konn
11741211
- Apply some hlint suggestions, silence some others.
11751212
([#1227](https://github.com/haskell/haskell-language-server/pull/1227)) by @peterwicksstringfield
@@ -1370,7 +1407,6 @@ And remember, we have a new brand logo, courtesy of @Ailrun :slightly_smiling_fa
13701407
- ghcide lives now directly in this repository
13711408
- the test suite has been cleaned and improved (continuing the work done in 0.7.0)
13721409

1373-
13741410
Thanks to all contributors and happy new year!
13751411

13761412
### Pull requests merged for 0.8.0
@@ -1624,7 +1660,7 @@ There's also plenty of bug fixes, improvements and updates to the underlying too
16241660
If you're eager to try all this out, haskell-language-server is now also installable via [ghcup](https://www.haskell.org/ghcup/):
16251661

16261662
```shell
1627-
$ ghcup install hls
1663+
> ghcup install hls
16281664
```
16291665

16301666
### Pull requests merged for 0.5.0

GenChangelogs.hs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
#!/usr/bin/env cabal
22
{- cabal:
3-
build-depends: base, process, text, github, time >= 1.9
3+
build-depends: base, bytestring, process, text, github, time >= 1.9
44
-}
55

66
{-# LANGUAGE OverloadedStrings #-}
77
{-# LANGUAGE RecordWildCards #-}
88

99
import Control.Monad
10+
import qualified Data.ByteString.Char8 as BS
1011
import Data.List
1112
import Data.Maybe
1213
import qualified Data.Text as T
1314
import Data.Time.Format.ISO8601
1415
import Data.Time.LocalTime
1516
import GitHub
17+
import System.Environment
1618
import System.Process
1719

1820
main = do
@@ -23,7 +25,11 @@ main = do
2325
lastDateStr <- last . lines <$> readProcess "git" ["show", "-s", "--format=%cI", "-1", last tags] ""
2426
lastDate <- zonedTimeToUTC <$> iso8601ParseM lastDateStr
2527

26-
prs <- github' $ pullRequestsForR "haskell" "haskell-language-server" stateClosed FetchAll
28+
args <- getArgs
29+
let githubReq = case args of
30+
[] -> github'
31+
token:_ -> github (OAuth $ BS.pack token)
32+
prs <- githubReq $ pullRequestsForR "haskell" "haskell-language-server" stateClosed FetchAll
2733
let prsAfterLastTag = either (error . show)
2834
(foldMap (\pr -> [pr | inRange pr]))
2935
prs

cabal-ghc901.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ source-repository-package
4949

5050
write-ghc-environment-files: never
5151

52-
index-state: 2021-11-11T19:25:51Z
52+
index-state: 2021-11-23T21:12:30Z
5353

5454
constraints:
5555
-- These plugins don't work on GHC9 yet

cabal-ghc921.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ package *
3434

3535
write-ghc-environment-files: never
3636

37-
index-state: 2021-11-11T19:25:51Z
37+
index-state: 2021-11-23T21:12:30Z
3838

3939
constraints:
4040
-- These plugins doesn't work on GHC92 yet

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ package *
3838

3939
write-ghc-environment-files: never
4040

41-
index-state: 2021-11-11T19:25:51Z
41+
index-state: 2021-11-23T21:12:30Z
4242

4343
constraints:
4444
hyphenation +embed

hls-test-utils/hls-test-utils.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-test-utils
3-
version: 1.1.0.1
3+
version: 1.1.0.2
44
synopsis: Utilities used in the tests of Haskell Language Server
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-class-plugin/hls-class-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-class-plugin
3-
version: 1.0.1.1
3+
version: 1.0.1.2
44
synopsis:
55
Class/instance management plugin for Haskell Language Server
66

plugins/hls-eval-plugin/hls-eval-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-eval-plugin
3-
version: 1.2.0.1
3+
version: 1.2.0.2
44
synopsis: Eval plugin for Haskell Language Server
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-explicit-imports-plugin/hls-explicit-imports-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: hls-explicit-imports-plugin
3-
version: 1.0.1.1
3+
version: 1.0.1.2
44
synopsis: Explicit imports plugin for Haskell Language Server
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-fourmolu-plugin
3-
version: 1.0.1.1
3+
version: 1.0.1.2
44
synopsis: Integration with the Fourmolu code formatter
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-hlint-plugin/hls-hlint-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-hlint-plugin
3-
version: 1.0.2.0
3+
version: 1.0.2.1
44
synopsis: Hlint integration plugin with Haskell Language Server
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-module-name-plugin/hls-module-name-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-module-name-plugin
3-
version: 1.0.0.2
3+
version: 1.0.0.3
44
synopsis: Module name plugin for Haskell Language Server
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-ormolu-plugin
3-
version: 1.0.1.1
3+
version: 1.0.1.2
44
synopsis: Integration with the Ormolu code formatter
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-retrie-plugin/hls-retrie-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: hls-retrie-plugin
3-
version: 1.0.1.3
3+
version: 1.0.1.4
44
synopsis: Retrie integration plugin for Haskell Language Server
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

plugins/hls-splice-plugin/hls-splice-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-splice-plugin
3-
version: 1.0.0.5
3+
version: 1.0.0.6
44
synopsis:
55
HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes
66

plugins/hls-stylish-haskell-plugin/hls-stylish-haskell-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-stylish-haskell-plugin
3-
version: 1.0.0.3
3+
version: 1.0.0.4
44
synopsis: Integration with the Stylish Haskell code formatter
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>

0 commit comments

Comments
 (0)