Skip to content

Commit 4a833d3

Browse files
jneirapepeiborra
authored andcommitted
Prepare 1.5.1 (#2393)
* Rerun tests between run attempts * without quotes * Bump up versions for hackage * Add support for auth github requests As anonymous ones reach the api limit quickly Via a unique argument with a github oauth token * Add changelog for 1.5.1 * Fix makrdownlint warnings * Bump up index state * Bump up plugin version * build with -v3 on error * More backjumps for tests and benchs * Add last prs * eval plugin needs ghcide>=1.5.0.1 * Include #2395 in the changelog * Ignore deferred tests for win and 9.0.1 * Ignore tactics tests for ubuntu+8.6.5
1 parent a60532e commit 4a833d3

File tree

19 files changed

+110
-43
lines changed

19 files changed

+110
-43
lines changed

Diff for: .github/workflows/hackage.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,18 @@ jobs:
133133
# For floskell and stylish-haskell
134134
echo " floskell:base, floskell:ghc-prim, stylish-haskell:Cabal,stylish-haskell:ghc-lib-parser," >> cabal.project
135135
136-
- name: "Build all package components in isolation"
136+
- name: "Build main package components in isolation"
137137
if: steps.get-hackage-version.outputs.exists != 'true'
138138
run: |
139139
cd $(ls -d ./incoming/${{ matrix.package }}-*)
140-
cabal build --enable-tests --enable-benchmarks
140+
cabal build
141+
142+
- name: "Build package tests and benchmarks in isolation"
143+
if: steps.get-hackage-version.outputs.exists != 'true'
144+
run: |
145+
cd $(ls -d ./incoming/${{ matrix.package }}-*)
146+
# cabal-3.4.0.0 run out of backjumps with tests and benchs enabled
147+
cabal build --enable-tests --enable-benchmarks --max-backjumps 8000
141148
142149
- name: "Generate haddock for hackage"
143150
if: steps.get-hackage-version.outputs.exists != 'true'

Diff for: .github/workflows/test.yml

+32-20
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,24 @@ jobs:
140140
src/**/*.hs exe/*.hs
141141
142142
- name: Build
143-
# Retry it three times to workaround compiler segfaults in windows
144-
run: cabal build || cabal build || cabal build
143+
run: cabal build
144+
145+
- name: Set test options
146+
run: |
147+
echo "TEST_OPTS=-j1 --rerun-update --rerun-filter failures,exceptions,new" >> $GITHUB_ENV
148+
149+
- name: Cache test log bewteen attempts of the same run
150+
uses: actions/cache@v2
151+
env:
152+
cache-name: cache-test-log
153+
with:
154+
path: .tasty-rerun-log
155+
key: v1-${{ runner.os }}-${{ matrix.ghc }}-test-log-${{ github.sha }}
145156

146157
- if: needs.pre_job.outputs.should_skip_ghcide != 'true' && matrix.test
147158
name: Test ghcide
148159
# run the tests without parallelism to avoid running out of memory
149-
run: cabal test ghcide --test-options="-j1 --rerun-update" || cabal test ghcide --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test ghcide --test-options="-j1 --rerun"
160+
run: cabal test ghcide --test-options="$TEST_OPTS" || cabal test ghcide --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test ghcide --test-options="$TEST_OPTS"
150161

151162
- if: matrix.test
152163
name: Test func-test suite
@@ -156,7 +167,7 @@ jobs:
156167
# run the tests without parallelism, otherwise tasty will attempt to run
157168
# all functional test cases simultaneously which causes way too many hls
158169
# instances to be spun up for the poor github actions runner to handle
159-
run: cabal test func-test --test-options="-j1 --rerun --rerun-update" || cabal test func-test --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test func-test --test-options="-j1 --rerun"
170+
run: cabal test func-test --test-options="$TEST_OPTS" || cabal test func-test --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test func-test --test-options="$TEST_OPTS"
160171

161172
- if: matrix.test
162173
name: Test wrapper-test suite
@@ -166,63 +177,64 @@ jobs:
166177
# run the tests without parallelism, otherwise tasty will attempt to run
167178
# all functional test cases simultaneously which causes way too many hls
168179
# instances to be spun up for the poor github actions runner to handle
169-
run: cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1"
180+
181+
run: cabal test wrapper-test --test-options="$TEST_OPTS" || cabal test wrapper-test --test-options="$TEST_OPTS" || cabal test wrapper-test --test-options="$TEST_OPTS"
170182

171183
- if: matrix.test && matrix.ghc != '9.0.1'
172184
name: Test hls-brittany-plugin
173-
run: cabal test hls-brittany-plugin --test-options="-j1 --rerun-update" || cabal test hls-brittany-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-brittany-plugin --test-options="-j1 --rerun"
185+
run: cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-brittany-plugin --test-options="$TEST_OPTS"
174186

175187
- if: matrix.test && matrix.ghc != '9.0.1'
176188
name: Test hls-class-plugin
177-
run: cabal test hls-class-plugin --test-options="-j1 --rerun-update" || cabal test hls-class-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-class-plugin --test-options="-j1 --rerun"
189+
run: cabal test hls-class-plugin --test-options="$TEST_OPTS" || cabal test hls-class-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-class-plugin --test-options="$TEST_OPTS"
178190

179191
- if: matrix.test
180192
name: Test hls-eval-plugin
181-
run: cabal test hls-eval-plugin --test-options="-j1 --rerun-update" || cabal test hls-eval-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-eval-plugin --test-options="-j1 --rerun"
193+
run: cabal test hls-eval-plugin --test-options="$TEST_OPTS" || cabal test hls-eval-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-eval-plugin --test-options="$TEST_OPTS"
182194

183195
- if: matrix.test
184196
name: Test hls-haddock-comments-plugin
185-
run: cabal test hls-haddock-comments-plugin --test-options="-j1 --rerun-update" || cabal test hls-haddock-comments-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-haddock-comments-plugin --test-options="-j1 --rerun"
197+
run: cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS"
186198

187199
- if: matrix.test
188200
name: Test hls-splice-plugin
189-
run: cabal test hls-splice-plugin --test-options="-j1 --rerun-update" || cabal test hls-splice-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-splice-plugin --test-options="-j1 --rerun"
201+
run: cabal test hls-splice-plugin --test-options="$TEST_OPTS" || cabal test hls-splice-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-splice-plugin --test-options="$TEST_OPTS"
190202

191203
- if: matrix.test && matrix.ghc != '9.0.1'
192204
name: Test hls-stylish-haskell-plugin
193-
run: cabal test hls-stylish-haskell-plugin --test-options="-j1 --rerun-update" || cabal test hls-stylish-haskell-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stylish-haskell-plugin --test-options="-j1 --rerun"
205+
run: cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS"
194206

195207
- if: matrix.test
196208
name: Test hls-ormolu-plugin
197-
run: cabal test hls-ormolu-plugin --test-options="-j1 --rerun-update" || cabal test hls-ormolu-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-ormolu-plugin --test-options="-j1 --rerun"
209+
run: cabal test hls-ormolu-plugin --test-options="$TEST_OPTS" || cabal test hls-ormolu-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-ormolu-plugin --test-options="$TEST_OPTS"
198210

199211
- if: matrix.test
200212
name: Test hls-fourmolu-plugin
201-
run: cabal test hls-fourmolu-plugin --test-options="-j1 --rerun-update" || cabal test hls-fourmolu-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-fourmolu-plugin --test-options="-j1 --rerun"
213+
run: cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS"
202214

203-
- if: matrix.test && matrix.ghc != '9.0.1'
215+
- if: matrix.test && matrix.ghc != '9.0.1' && !(matrix.os == 'ubuntu-latest' && matrix.ghc == '8.6.5')
204216
name: Test hls-tactics-plugin test suite
205-
run: cabal test hls-tactics-plugin --test-options="-j1 --rerun-update" || cabal test hls-tactics-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="-j1 --rerun"
217+
run: cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="$TEST_OPTS"
206218

207219
- if: matrix.test
208220
name: Test hls-refine-imports-plugin test suite
209-
run: cabal test hls-refine-imports-plugin --test-options="-j1 --rerun-update" || cabal test hls-refine-imports-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-refine-imports-plugin --test-options="-j1 --rerun"
221+
run: cabal test hls-refine-imports-plugin --test-options="$TEST_OPTS" || cabal test hls-refine-imports-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-refine-imports-plugin --test-options="$TEST_OPTS"
210222

211223
- if: matrix.test
212224
name: Test hls-explicit-imports-plugin test suite
213-
run: cabal test hls-explicit-imports-plugin --test-options="-j1 --rerun-update" || cabal test hls-explicit-imports-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-explicit-imports-plugin --test-options="-j1 --rerun"
225+
run: cabal test hls-explicit-imports-plugin --test-options="$TEST_OPTS" || cabal test hls-explicit-imports-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-explicit-imports-plugin --test-options="$TEST_OPTS"
214226

215227
- if: matrix.test
216228
name: Test hls-call-hierarchy-plugin test suite
217-
run: cabal test hls-call-hierarchy-plugin --test-options="-j1 --rerun-update" || cabal test hls-call-hierarchy-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-call-hierarchy-plugin --test-options="-j1 --rerun"
229+
run: cabal test hls-call-hierarchy-plugin --test-options="$TEST_OPTS" || cabal test hls-call-hierarchy-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-call-hierarchy-plugin --test-options="$TEST_OPTS"
218230

219231
- if: matrix.test
220232
name: Test hls-rename-plugin test suite
221-
run: cabal test hls-rename-plugin --test-options="-j1 --rerun-update" || cabal test hls-rename-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-rename-plugin --test-options="-j1 --rerun"
233+
run: cabal test hls-rename-plugin --test-options="$TEST_OPTS" || cabal test hls-rename-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-rename-plugin --test-options="$TEST_OPTS"
222234

223235
- if: matrix.test
224236
name: Test hls-hlint-plugin test suite
225-
run: cabal test hls-hlint-plugin --test-options="-j1 --rerun-update" || cabal test hls-hlint-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-hlint-plugin --test-options="-j1 --rerun"
237+
run: cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-hlint-plugin --test-options="$TEST_OPTS"
226238

227239
test_post_job:
228240
if: always()

Diff for: ChangeLog.md

+45-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
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+
- Fix hls-graph build with embed-files flag
17+
([#2395](https://github.com/haskell/haskell-language-server/pull/2395)) by @pepeiborra
18+
- Prepare 1.5.1
19+
([#2393](https://github.com/haskell/haskell-language-server/pull/2393)) by @jneira
20+
- Revert "Update to latest prettyprinter API (#2352)"
21+
([#2389](https://github.com/haskell/haskell-language-server/pull/2389)) by @pepeiborra
22+
- Add extra logging around build queue
23+
([#2388](https://github.com/haskell/haskell-language-server/pull/2388)) by @pepeiborra
24+
- docs: Fix typo
25+
([#2386](https://github.com/haskell/haskell-language-server/pull/2386)) by @nh2
26+
- Update release instructions
27+
([#2384](https://github.com/haskell/haskell-language-server/pull/2384)) by @jneira
28+
- ghcide: Update dependency on `hls-plugin-api`
29+
([#2382](https://github.com/haskell/haskell-language-server/pull/2382)) by @hololeap
30+
- Fix regression in GhcSessionDeps
31+
([#2380](https://github.com/haskell/haskell-language-server/pull/2380)) by @pepeiborra
32+
- Boot files
33+
([#2377](https://github.com/haskell/haskell-language-server/pull/2377)) by @pepeiborra
34+
- hls-module-name-plugin: Add missing golden file to hackage tarball
35+
([#2374](https://github.com/haskell/haskell-language-server/pull/2374)) by @maralorn
36+
- hls-explicit-imports-plugin: Add golden files to hackage tarball
37+
([#2373](https://github.com/haskell/haskell-language-server/pull/2373)) by @maralorn
38+
- Update ghcide dependency for various plugins
39+
([#2368](https://github.com/haskell/haskell-language-server/pull/2368)) by @hololeap
40+
- Fix several hlint issues related with the use of parsed module without comments
41+
([#2366](https://github.com/haskell/haskell-language-server/pull/2366)) by @jneira
42+
343
## 1.5.0
444

545
Time for another hls release:
@@ -22,6 +62,8 @@ Time for another hls release:
2262

2363
### Pull requests merged for 1.5.0
2464

65+
- Prepare 1.5.0
66+
([#2361](https://github.com/haskell/haskell-language-server/pull/2361)) by @jneira
2567
- More completion fixes
2668
([#2354](https://github.com/haskell/haskell-language-server/pull/2354)) by @pepeiborra
2769
- Update to latest prettyprinter API
@@ -986,6 +1028,7 @@ This version uses `lsp-1.2.0`, `hls-plugin-api-1.1.0`, and `ghcide-1.2.0.2`.
9861028
This is the celebratory release of Haskell Language Server 1.0.0!
9871029
This release includes a lot of internal changes, bug fixes, leaks plugged, and performance improvements, thanks to all our contributors.
9881030
Among others,
1031+
9891032
- We added the support for GHC 8.10.4, and removed the support for GHC 8.10.1
9901033
Afterward, we will support upmost 3 patch versions for each minor version of GHC, if no special situation happens.
9911034
- 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 +1212,7 @@ Among others,
11691212
([#1266](https://github.com/haskell/haskell-language-server/pull/1266)) by @pepeiborra
11701213
- ghcide: Implements a CodeAction to disambiguate ambiguous symbols
11711214
([#1264](https://github.com/haskell/haskell-language-server/pull/1264)) by @konn
1172-
- Doctest comment parsing using module annotations in Eval Plugin
1215+
- Doctest comment parsing using module annotations in Eval Plugin
11731216
([#1232](https://github.com/haskell/haskell-language-server/pull/1232)) by @konn
11741217
- Apply some hlint suggestions, silence some others.
11751218
([#1227](https://github.com/haskell/haskell-language-server/pull/1227)) by @peterwicksstringfield
@@ -1370,7 +1413,6 @@ And remember, we have a new brand logo, courtesy of @Ailrun :slightly_smiling_fa
13701413
- ghcide lives now directly in this repository
13711414
- the test suite has been cleaned and improved (continuing the work done in 0.7.0)
13721415

1373-
13741416
Thanks to all contributors and happy new year!
13751417

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

16261668
```shell
1627-
$ ghcup install hls
1669+
> ghcup install hls
16281670
```
16291671

16301672
### Pull requests merged for 0.5.0

Diff for: GenChangelogs.hs

+8-2
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

Diff for: cabal-ghc901.project

+1-1
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

Diff for: cabal-ghc921.project

+1-1
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

Diff for: cabal.project

+1-1
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

Diff for: hls-test-utils/hls-test-utils.cabal

+1-1
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>

Diff for: plugins/hls-class-plugin/hls-class-plugin.cabal

+1-1
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

0 commit comments

Comments
 (0)