Skip to content

Commit 41b30b5

Browse files
committed
Prepare 1.7.0.0
1 parent 6ca2587 commit 41b30b5

File tree

30 files changed

+267
-88
lines changed

30 files changed

+267
-88
lines changed

ChangeLog.md

+176
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,181 @@
11
# Changelog for haskell-language-server
22

3+
## 1.7.0.0
4+
5+
- Distribute dynamically linked binaries for HLS to avoid statically linking against GLIBC
6+
and system libraries, and to avoid unpredictable failures due to subtle differences
7+
between the GHC used to compile HLS and the GHC installed on the users machine
8+
(@hasufell, #2675, #2431)
9+
10+
- Improved recompilation avoidance in projects that make use of Template Haskell (#2316). See
11+
the [blog post](https://well-typed.com/blog/2022/04/hls-performance/) for more details.
12+
This release includes the `avoid-recompile` set of commits described in the blog post.
13+
14+
- Support for GHC 9.2.2
15+
16+
- Removal of HLS installer scripts as mentioned by the deprecation notice last release (#2773)
17+
18+
- Many more improvements and bug fixed thanks to our contributors!
19+
20+
### Pull requests merged for 1.6.1.1
21+
22+
- Restore concise type variables in ghc-9.2
23+
([#2828](https://github.com/haskell/haskell-language-server/pull/2828)) by @July541
24+
- Should no related code lens if the module name is correct
25+
([#2826](https://github.com/haskell/haskell-language-server/pull/2826)) by @July541
26+
- Bump cachix/install-nix-action from 16 to 17
27+
([#2823](https://github.com/haskell/haskell-language-server/pull/2823)) by @dependabot[bot]
28+
- Bump actions/upload-artifact from 2 to 3
29+
([#2822](https://github.com/haskell/haskell-language-server/pull/2822)) by @dependabot[bot]
30+
- Bump actions/download-artifact from 2 to 3
31+
([#2821](https://github.com/haskell/haskell-language-server/pull/2821)) by @dependabot[bot]
32+
- bench: Add more metrics
33+
([#2814](https://github.com/haskell/haskell-language-server/pull/2814)) by @wz1000
34+
- Enable rename plugin
35+
([#2809](https://github.com/haskell/haskell-language-server/pull/2809)) by @OliverMadine
36+
- Fix `cabal install` commands for local HLS build in docs
37+
([#2807](https://github.com/haskell/haskell-language-server/pull/2807)) by @9999years
38+
- Bump actions/cache from 2 to 3
39+
([#2806](https://github.com/haskell/haskell-language-server/pull/2806)) by @dependabot[bot]
40+
- [hls-graph] Optimise waitConcurrently
41+
([#2805](https://github.com/haskell/haskell-language-server/pull/2805)) by @pepeiborra
42+
- [bench] track changes to hls-* projects
43+
([#2803](https://github.com/haskell/haskell-language-server/pull/2803)) by @pepeiborra
44+
- Fix Show instance
45+
([#2802](https://github.com/haskell/haskell-language-server/pull/2802)) by @pepeiborra
46+
- Provide all format suggestions in AlternatFormat Code Action
47+
([#2790](https://github.com/haskell/haskell-language-server/pull/2790)) by @drsooch
48+
- Avoid race conditions with VFS and VFS versions
49+
([#2789](https://github.com/haskell/haskell-language-server/pull/2789)) by @wz1000
50+
- Don't show the redundant space
51+
([#2788](https://github.com/haskell/haskell-language-server/pull/2788)) by @July541
52+
- Target GHC 9.2.2
53+
([#2787](https://github.com/haskell/haskell-language-server/pull/2787)) by @pepeiborra
54+
- Allow import all constructors
55+
([#2782](https://github.com/haskell/haskell-language-server/pull/2782)) by @July541
56+
- Customizable TH warning
57+
([#2781](https://github.com/haskell/haskell-language-server/pull/2781)) by @pepeiborra
58+
- Fix #2693
59+
([#2780](https://github.com/haskell/haskell-language-server/pull/2780)) by @wz1000
60+
- Add Gentoo installation details
61+
([#2778](https://github.com/haskell/haskell-language-server/pull/2778)) by @paul-jewell
62+
- Eval plugin: mark exceptions
63+
([#2775](https://github.com/haskell/haskell-language-server/pull/2775)) by @xsebek
64+
- Fix 2 space leaks
65+
([#2774](https://github.com/haskell/haskell-language-server/pull/2774)) by @pepeiborra
66+
- Delete HLS installer scripts
67+
([#2773](https://github.com/haskell/haskell-language-server/pull/2773)) by @fendor
68+
- Purge some more hslogger
69+
([#2770](https://github.com/haskell/haskell-language-server/pull/2770)) by @michaelpj
70+
- Abbreviate explicit import code lenses
71+
([#2769](https://github.com/haskell/haskell-language-server/pull/2769)) by @michaelpj
72+
- Review masking and add traces when things don't cancel timely
73+
([#2768](https://github.com/haskell/haskell-language-server/pull/2768)) by @pepeiborra
74+
- Upgrade to hie-bios 0.9.1
75+
([#2766](https://github.com/haskell/haskell-language-server/pull/2766)) by @fendor
76+
- Avoid extra parens for wildcard type signature
77+
([#2764](https://github.com/haskell/haskell-language-server/pull/2764)) by @xsebek
78+
- Add an option to run Fourmolu via the CLI interface of a separate binary, rather than the bundled library
79+
([#2763](https://github.com/haskell/haskell-language-server/pull/2763)) by @georgefst
80+
- Fix Change Type Signature Plugin test suite for 9.2.1
81+
([#2761](https://github.com/haskell/haskell-language-server/pull/2761)) by @drsooch
82+
- Bump actions/checkout from 2 to 3
83+
([#2759](https://github.com/haskell/haskell-language-server/pull/2759)) by @dependabot[bot]
84+
- Refactor LSP logger and log via window/logMessage also
85+
([#2758](https://github.com/haskell/haskell-language-server/pull/2758)) by @michaelpj
86+
- Fix the tower of Babel
87+
([#2757](https://github.com/haskell/haskell-language-server/pull/2757)) by @hasufell
88+
- Implement cycle detection in hls-graph
89+
([#2756](https://github.com/haskell/haskell-language-server/pull/2756)) by @pepeiborra
90+
- Adjust rendering of error logs and drop unneeded MonadUnliftIO instance
91+
([#2755](https://github.com/haskell/haskell-language-server/pull/2755)) by @pepeiborra
92+
- Estimate file versions safely
93+
([#2753](https://github.com/haskell/haskell-language-server/pull/2753)) by @pepeiborra
94+
- Fix test failure for AlternateNumberFormat
95+
([#2752](https://github.com/haskell/haskell-language-server/pull/2752)) by @drsooch
96+
- LSP window message log recorder
97+
([#2750](https://github.com/haskell/haskell-language-server/pull/2750)) by @pepeiborra
98+
- Fix FreeBSD bindist build
99+
([#2748](https://github.com/haskell/haskell-language-server/pull/2748)) by @hasufell
100+
- Improve bindist makefile
101+
([#2746](https://github.com/haskell/haskell-language-server/pull/2746)) by @hasufell
102+
- Fix flake.lock
103+
([#2743](https://github.com/haskell/haskell-language-server/pull/2743)) by @michaelpj
104+
- Add failing test for variables in hovers
105+
([#2742](https://github.com/haskell/haskell-language-server/pull/2742)) by @michaelpj
106+
- Update Define Function Code Action to have knowledge of comments
107+
([#2740](https://github.com/haskell/haskell-language-server/pull/2740)) by @drsooch
108+
- Upgrade to hie-bios 0.9.0
109+
([#2738](https://github.com/haskell/haskell-language-server/pull/2738)) by @fendor
110+
- Track file versions accurately.
111+
([#2735](https://github.com/haskell/haskell-language-server/pull/2735)) by @wz1000
112+
- Fix hls-class-plugin on ghc-9.2
113+
([#2733](https://github.com/haskell/haskell-language-server/pull/2733)) by @July541
114+
- Bump actions/github-script from 2 to 6
115+
([#2730](https://github.com/haskell/haskell-language-server/pull/2730)) by @dependabot[bot]
116+
- Delete the Telemetry log level
117+
([#2727](https://github.com/haskell/haskell-language-server/pull/2727)) by @michaelpj
118+
- Tone down logging of plugin rules
119+
([#2723](https://github.com/haskell/haskell-language-server/pull/2723)) by @pepeiborra
120+
- Troubleshooting: GHC 9.2 partial support
121+
([#2722](https://github.com/haskell/haskell-language-server/pull/2722)) by @andys8
122+
- Remove `getHspecFormattedConfig` which is no longer used
123+
([#2721](https://github.com/haskell/haskell-language-server/pull/2721)) by @hololeap
124+
- Fix crash for non-LSP modes wrt #2627
125+
([#2719](https://github.com/haskell/haskell-language-server/pull/2719)) by @hasufell
126+
- Wingman: Don't use keywords for variable names
127+
([#2717](https://github.com/haskell/haskell-language-server/pull/2717)) by @isovector
128+
- Expose DisplayTHWarning (backport #2712)
129+
([#2714](https://github.com/haskell/haskell-language-server/pull/2714)) by @mergify[bot]
130+
- Send LSP error when GHC cannot be found
131+
([#2713](https://github.com/haskell/haskell-language-server/pull/2713)) by @hasufell
132+
- Expose DisplayTHWarning
133+
([#2712](https://github.com/haskell/haskell-language-server/pull/2712)) by @pepeiborra
134+
- Improve wrapper cradle errors
135+
([#2711](https://github.com/haskell/haskell-language-server/pull/2711)) by @hasufell
136+
- Fix min bound for ghc-exactprint dependency in hls-class-plugin
137+
([#2710](https://github.com/haskell/haskell-language-server/pull/2710)) by @pepeiborra
138+
- Remove duplicate help messages & format CRLF to LF
139+
([#2709](https://github.com/haskell/haskell-language-server/pull/2709)) by @July541
140+
- Add @July541 for call-hierarchy-plugin
141+
([#2708](https://github.com/haskell/haskell-language-server/pull/2708)) by @July541
142+
- Fix releasing
143+
([#2707](https://github.com/haskell/haskell-language-server/pull/2707)) by @hasufell
144+
- Print info message when ignoring a file due to a none cradle
145+
([#2701](https://github.com/haskell/haskell-language-server/pull/2701)) by @ThomasCrevoisier
146+
- fix: handle comma in extend import list with ghc 9.2
147+
([#2697](https://github.com/haskell/haskell-language-server/pull/2697)) by @guibou
148+
- Build Alternate Number Format Plugin with GHC 9.2
149+
([#2696](https://github.com/haskell/haskell-language-server/pull/2696)) by @drsooch
150+
- Optionally publish packages definitely in the hackage workflow
151+
([#2689](https://github.com/haskell/haskell-language-server/pull/2689)) by @jneira
152+
- Set -dynamic in cabal.project
153+
([#2688](https://github.com/haskell/haskell-language-server/pull/2688)) by @jneira
154+
- Multi component issues in GHC 9.2
155+
([#2687](https://github.com/haskell/haskell-language-server/pull/2687)) by @pepeiborra
156+
- Fix flaky boot def test
157+
([#2686](https://github.com/haskell/haskell-language-server/pull/2686)) by @eddiemundo
158+
- Fix typos in troubleshooting.md
159+
([#2680](https://github.com/haskell/haskell-language-server/pull/2680)) by @visortelle
160+
- Add pre-commit hook for cleaning up mixed-line endings
161+
([#2679](https://github.com/haskell/haskell-language-server/pull/2679)) by @drsooch
162+
- Add a test for #2673
163+
([#2676](https://github.com/haskell/haskell-language-server/pull/2676)) by @pepeiborra
164+
- Implement distribution of dynamic builds
165+
([#2675](https://github.com/haskell/haskell-language-server/pull/2675)) by @hasufell
166+
- Restore eval plugin build for GHC 9.2
167+
([#2669](https://github.com/haskell/haskell-language-server/pull/2669)) by @guibou
168+
- Change Type Signature Plugin
169+
([#2660](https://github.com/haskell/haskell-language-server/pull/2660)) by @drsooch
170+
- Nix flake fix dev shells
171+
([#2655](https://github.com/haskell/haskell-language-server/pull/2655)) by @guibou
172+
- Speed up fuzzy search
173+
([#2639](https://github.com/haskell/haskell-language-server/pull/2639)) by @Bodigrim
174+
- Improve logging
175+
([#2558](https://github.com/haskell/haskell-language-server/pull/2558)) by @eddiemundo
176+
- Improve recompilation avoidance in the presence of TH
177+
([#2316](https://github.com/haskell/haskell-language-server/pull/2316)) by @wz1000
178+
3179
## 1.6.1.1 (*only hackage release*)
4180

5181
- Release to update haskell-language-server.cabal in hackage, setting the build for the executable component as dynamically linked

bindist/ghcs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
8.6.5,cabal.project
2+
8.8.4,cabal.project
13
8.10.7,cabal.project
24
9.0.2,cabal-ghc90.project
35
9.2.1,cabal-ghc92.project
6+
9.2.2,cabal-ghc92.project

ghcide/ghcide.cabal

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cabal-version: 2.4
22
build-type: Simple
33
category: Development
44
name: ghcide
5-
version: 1.6.0.1
5+
version: 1.7.0.0
66
license: Apache-2.0
77
license-file: LICENSE
88
author: Digital Asset and Ghcide contributors
@@ -13,7 +13,7 @@ description:
1313
A library for building Haskell IDE's on top of the GHC API.
1414
homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
1515
bug-reports: https://github.com/haskell/haskell-language-server/issues
16-
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.6 || == 8.10.7 || == 9.0.1 || == 9.0.2 || == 9.2.1
16+
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.6 || == 8.10.7 || == 9.0.1 || == 9.0.2 || == 9.2.1 || == 9.2.2
1717
extra-source-files: README.md CHANGELOG.md
1818
test/data/**/*.project
1919
test/data/**/*.cabal
@@ -60,7 +60,7 @@ library
6060
haddock-library >= 1.8 && < 1.11,
6161
hashable,
6262
hie-compat ^>= 0.2.0.0,
63-
hls-plugin-api ^>= 1.2.0.2 || ^>= 1.3,
63+
hls-plugin-api ^>= 1.4,
6464
lens,
6565
list-t,
6666
hiedb == 0.4.1.*,
@@ -79,7 +79,7 @@ library
7979
rope-utf16-splay,
8080
safe,
8181
safe-exceptions,
82-
hls-graph ^>= 1.6,
82+
hls-graph ^>= 1.7,
8383
sorted-list,
8484
sqlite-simple,
8585
stm,

haskell-language-server.cabal

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 2.4
22
category: Development
33
name: haskell-language-server
4-
version: 1.6.1.1
4+
version: 1.7.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>
@@ -71,12 +71,12 @@ library
7171
, cryptohash-sha1
7272
, data-default
7373
, ghc
74-
, ghcide ^>=1.6
74+
, ghcide ^>=1.7
7575
, githash
7676
, lsp
7777
, hie-bios
7878
, hiedb
79-
, hls-plugin-api ^>=1.3
79+
, hls-plugin-api ^>=1.4
8080
, optparse-applicative
8181
, optparse-simple
8282
, process
@@ -225,42 +225,42 @@ common example-plugins
225225

226226
common class
227227
if flag(class) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds))
228-
build-depends: hls-class-plugin ^>=1.0.0.1
228+
build-depends: hls-class-plugin ^>= 1.0
229229
cpp-options: -Dclass
230230

231231
common callHierarchy
232232
if flag(callHierarchy)
233-
build-depends: hls-call-hierarchy-plugin ^>=1.0.0.0
233+
build-depends: hls-call-hierarchy-plugin ^>= 1.0
234234
cpp-options: -DcallHierarchy
235235

236236
common haddockComments
237237
if flag(haddockComments)
238-
build-depends: hls-haddock-comments-plugin ^>=1.0.0.1
238+
build-depends: hls-haddock-comments-plugin ^>= 1.0
239239
cpp-options: -DhaddockComments
240240

241241
common eval
242242
if flag(eval)
243-
build-depends: hls-eval-plugin ^>=1.2.0.0
243+
build-depends: hls-eval-plugin ^>= 1.2
244244
cpp-options: -Deval
245245

246246
common importLens
247247
if flag(importLens)
248-
build-depends: hls-explicit-imports-plugin ^>=1.0.0.1
248+
build-depends: hls-explicit-imports-plugin ^>= 1.1
249249
cpp-options: -DimportLens
250250

251251
common refineImports
252252
if flag(refineImports)
253-
build-depends: hls-refine-imports-plugin ^>=1.0.0.0
253+
build-depends: hls-refine-imports-plugin ^>=1.0
254254
cpp-options: -DrefineImports
255255

256256
common rename
257257
if flag(rename)
258-
build-depends: hls-rename-plugin ^>= 1.0.0.0
258+
build-depends: hls-rename-plugin ^>= 1.0
259259
cpp-options: -Drename
260260

261261
common retrie
262262
if flag(retrie) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds))
263-
build-depends: hls-retrie-plugin ^>=1.0.0.1
263+
build-depends: hls-retrie-plugin ^>= 1.0
264264
cpp-options: -Dretrie
265265

266266
common tactic
@@ -270,17 +270,17 @@ common tactic
270270

271271
common hlint
272272
if flag(hlint) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds))
273-
build-depends: hls-hlint-plugin ^>=1.0.0.2
273+
build-depends: hls-hlint-plugin ^>= 1.0
274274
cpp-options: -Dhlint
275275

276276
common moduleName
277277
if flag(moduleName)
278-
build-depends: hls-module-name-plugin ^>=1.0.0.0
278+
build-depends: hls-module-name-plugin ^>= 1.0
279279
cpp-options: -DmoduleName
280280

281281
common pragmas
282282
if flag(pragmas)
283-
build-depends: hls-pragmas-plugin ^>=1.0.0.0
283+
build-depends: hls-pragmas-plugin ^>= 1.0
284284
cpp-options: -Dpragmas
285285

286286
common splice
@@ -290,49 +290,49 @@ common splice
290290

291291
common alternateNumberFormat
292292
if flag(alternateNumberFormat)
293-
build-depends: hls-alternate-number-format-plugin ^>=1.1.0.0
293+
build-depends: hls-alternate-number-format-plugin ^>= 1.1
294294
cpp-options: -DalternateNumberFormat
295295

296296
common qualifyImportedNames
297297
if flag(qualifyImportedNames)
298-
build-depends: hls-qualify-imported-names-plugin ^>=1.0.0.0
298+
build-depends: hls-qualify-imported-names-plugin ^>=1.0
299299
cpp-options: -DqualifyImportedNames
300300

301301
common selectionRange
302302
if flag(selectionRange)
303-
build-depends: hls-selection-range-plugin ^>=1.0.0.0
303+
build-depends: hls-selection-range-plugin ^>= 1.0
304304
cpp-options: -DselectionRange
305305

306306
common changeTypeSignature
307307
if flag(changeTypeSignature)
308-
build-depends: hls-change-type-signature-plugin ^>=1.0.0.0
308+
build-depends: hls-change-type-signature-plugin ^>= 1.0
309309
cpp-options: -DchangeTypeSignature
310310

311311
-- formatters
312312

313313
common floskell
314314
if flag(floskell)
315-
build-depends: hls-floskell-plugin ^>=1.0.0.0
315+
build-depends: hls-floskell-plugin ^>= 1.0
316316
cpp-options: -Dfloskell
317317

318318
common fourmolu
319319
if flag(fourmolu)
320-
build-depends: hls-fourmolu-plugin ^>=1.0.0.0
320+
build-depends: hls-fourmolu-plugin ^>= 1.0
321321
cpp-options: -Dfourmolu
322322

323323
common ormolu
324324
if flag(ormolu)
325-
build-depends: hls-ormolu-plugin ^>=1.0.0.0
325+
build-depends: hls-ormolu-plugin ^>= 1.0
326326
cpp-options: -Dormolu
327327

328328
common stylishHaskell
329329
if flag(stylishHaskell) && (impl(ghc < 9.0.1) || flag(ignore-plugins-ghc-bounds))
330-
build-depends: hls-stylish-haskell-plugin ^>=1.0.0.0
330+
build-depends: hls-stylish-haskell-plugin ^>= 1.0
331331
cpp-options: -DstylishHaskell
332332

333333
common brittany
334334
if flag(brittany) && (impl(ghc < 9.0.2) || flag(ignore-plugins-ghc-bounds))
335-
build-depends: hls-brittany-plugin ^>=1.0.0.1
335+
build-depends: hls-brittany-plugin ^>= 1.0
336336
cpp-options: -Dbrittany
337337

338338
executable haskell-language-server

hls-graph/hls-graph.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: hls-graph
3-
version: 1.6.0.0
3+
version: 1.7.0.0
44
synopsis: Haskell Language Server internal graph API
55
description:
66
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server/tree/master/hls-graph#readme>

0 commit comments

Comments
 (0)