Skip to content

Commit

Permalink
Merge branch 'master' into nix-ghc927
Browse files Browse the repository at this point in the history
  • Loading branch information
July541 authored Apr 7, 2023
2 parents 1a8d8a2 + 9f489d0 commit a375501
Show file tree
Hide file tree
Showing 31 changed files with 48 additions and 55 deletions.
13 changes: 6 additions & 7 deletions docs/support/ghc-version-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ Support status (see the support policy below for more details):

| GHC version | Last supporting HLS version | Support status |
|--------------|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
| 9.6.1 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | basic support |
| 9.4.4 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.4.3 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.4.2 | [1.8.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.8.0.0) | full support |
| 9.4.1 | [1.8.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.8.0.0) | full support |
| 9.2.6 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.2.5 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.2.4 | [1.8.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.8.0.0) | full support |
| 9.2.3 | [1.8.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.8.0.0) | full support |
| 9.4.3 | [1.9.1.0](https://github.com/haskell/haskell-language-server/releases/tag/1.9.1.0) | deprecated |
| 9.4.(1,2) | [1.8.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.8.0.0) | deprecated |
| 9.2.7 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.2.(5,6) | [1.9.1.0](https://github.com/haskell/haskell-language-server/releases/tag/1.9.1.0) | deprecated |
| 9.2.(3,4) | [1.8.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.8.0.0) | deprecated |
| 9.2.(1,2) | [1.7.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.7.0.0) | deprecated |
| 9.0.2 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.0.1 | [1.6.1.0](https://github.com/haskell/haskell-language-server/releases/tag/1.6.1.0) | deprecated |
Expand Down
16 changes: 8 additions & 8 deletions docs/support/plugin-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ For example, a plugin to provide a formatter which has itself been abandoned has
| `hls-eval-plugin` | 2 | |
| `hls-explicit-fixity-plugin` | 2 | |
| `hls-explicit-record-fields-plugin` | 2 | |
| `hls-floskell-plugin` | 2 | |
| `hls-fourmolu-plugin` | 2 | |
| `hls-floskell-plugin` | 2 | 9.6 |
| `hls-fourmolu-plugin` | 2 | 9.6 |
| `hls-gadt-plugin` | 2 | |
| `hls-hlint-plugin` | 2 | |
| `hls-hlint-plugin` | 2 | 9.6 |
| `hls-module-name-plugin` | 2 | |
| `hls-qualify-imported-names-plugin` | 2 | |
| `hls-ormolu-plugin` | 2 | |
| `hls-ormolu-plugin` | 2 | 9.6 |
| `hls-rename-plugin` | 2 | |
| `hls-refine-imports-plugin` | 2 | |
| `hls-stylish-haskell-plugin` | 2 | |
| `hls-tactics-plugin` | 2 | 9.2, 9.4 |
| `hls-haddock-comments-plugin` | 3 | 9.2, 9.4 |
| `hls-stan-plugin` | 3 | 8.6, 9.0, 9.2, 9.4 |
| `hls-stylish-haskell-plugin` | 2 | 9.6 |
| `hls-tactics-plugin` | 2 | 9.2, 9.4, 9.6 |
| `hls-haddock-comments-plugin` | 3 | 9.2, 9.4, 9.6 |
| `hls-stan-plugin` | 3 | 8.6, 9.0, 9.2, 9.4, 9.6 |
| `hls-retrie-plugin` | 3 | |
| `hls-splice-plugin` | 3 | |
6 changes: 0 additions & 6 deletions ghcide/src/Development/IDE/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ data Log
| LogLspStart [PluginId]
| LogLspStartDuration !Seconds
| LogShouldRunSubset !Bool
| LogOnlyPartialGhc94Support
| LogSetInitialDynFlagsException !SomeException
| LogService Service.Log
| LogShake Shake.Log
Expand All @@ -159,8 +158,6 @@ instance Pretty Log where
"Started LSP server in" <+> pretty (showDuration duration)
LogShouldRunSubset shouldRunSubset ->
"shouldRunSubset:" <+> pretty shouldRunSubset
LogOnlyPartialGhc94Support ->
"Currently, HLS supports GHC 9.4 only partially. See [issue #3190](https://github.com/haskell/haskell-language-server/issues/3190) for more detail."
LogSetInitialDynFlagsException e ->
"setInitialDynFlags:" <+> pretty (displayException e)
LogService log -> pretty log
Expand Down Expand Up @@ -341,9 +338,6 @@ defaultMain recorder Arguments{..} = withHeapStats (cmapWithPrio LogHeapStats re
, optRunSubset = runSubset
}
caps = LSP.resClientCapabilities env
-- FIXME: Remove this after GHC 9.4 gets fully supported
when (ghcVersion == GHC94) $
log Warning LogOnlyPartialGhc94Support
monitoring <- argsMonitoring
initialise
(cmapWithPrio LogService recorder)
Expand Down
4 changes: 2 additions & 2 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ common retrie

common tactic
if flag(tactic) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds))
build-depends: hls-tactics-plugin ^>= 1.8
build-depends: hls-tactics-plugin ^>= 1.8.1
cpp-options: -Dhls_tactic

common hlint
Expand Down Expand Up @@ -549,7 +549,7 @@ test-suite func-test
, lens-aeson
, ghcide
, ghcide-test-utils
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lsp-types
, aeson
, hls-plugin-api
Expand Down
2 changes: 1 addition & 1 deletion hie-compat/hie-compat.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.22
name: hie-compat
version: 0.3.1.0
version: 0.3.1.1
synopsis: HIE files for GHC 8.8 and other HIE file backports
license: Apache-2.0
description:
Expand Down
4 changes: 2 additions & 2 deletions hls-test-utils/hls-test-utils.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hls-test-utils
version: 1.5.0.0
version: 1.6.0.0
synopsis: Utilities used in the tests of Haskell Language Server
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Expand Down Expand Up @@ -41,7 +41,7 @@ library
, directory
, extra
, filepath
, ghcide ^>=1.9 || ^>= 1.10
, ghcide ^>= 1.10
, hls-graph
, hls-plugin-api ^>=1.6
, lens
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test-suite tests
, base >=4.12 && < 5
, filepath
, hls-alternate-number-format-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lsp
, QuickCheck
, regex-tdfa
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-cabal-fmt-plugin/hls-cabal-fmt-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test-suite tests
, directory
, filepath
, hls-cabal-fmt-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6

if flag(isolateTests)
build-tool-depends: cabal-fmt:cabal-fmt ^>=0.1.6
2 changes: 1 addition & 1 deletion plugins/hls-cabal-plugin/hls-cabal-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test-suite tests
, filepath
, ghcide
, hls-cabal-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp-types
, tasty-hunit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ test-suite tests
, extra
, filepath
, hls-call-hierarchy-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, ghcide-test-utils
, lens
, lsp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test-suite tests
, base >=4.12 && < 5
, filepath
, hls-change-type-signature-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lsp
, QuickCheck
, regex-tdfa
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-class-plugin/hls-class-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test-suite tests
, ghcide
, hls-class-plugin
, hls-plugin-api
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp-types
, text
2 changes: 1 addition & 1 deletion plugins/hls-code-range-plugin/hls-code-range-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ test-suite tests
, filepath
, ghcide ^>=1.8 || ^>= 1.9 || ^>= 1.10
, hls-code-range-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp
, lsp-test
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-eval-plugin/hls-eval-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ test-suite tests
, filepath
, hls-eval-plugin
, hls-plugin-api
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp-types
, text
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ test-suite tests
, base
, filepath
, hls-explicit-fixity-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, text
4 changes: 2 additions & 2 deletions plugins/hls-floskell-plugin/hls-floskell-plugin.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hls-floskell-plugin
version: 1.0.2.0
version: 1.0.2.1
synopsis: Integration with the Floskell code formatter
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Expand Down Expand Up @@ -48,4 +48,4 @@ test-suite tests
, base
, filepath
, hls-floskell-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
2 changes: 1 addition & 1 deletion plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ test-suite tests
, filepath
, hls-fourmolu-plugin
, hls-plugin-api
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lsp-test
2 changes: 1 addition & 1 deletion plugins/hls-gadt-plugin/hls-gadt-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ test-suite tests
, base
, filepath
, hls-gadt-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp
, lsp-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ test-suite tests
, base
, filepath
, hls-haddock-comments-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, text
2 changes: 1 addition & 1 deletion plugins/hls-hlint-plugin/hls-hlint-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ test-suite tests
, filepath
, hls-hlint-plugin
, hls-plugin-api
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp-types
, text
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ test-suite tests
, base
, filepath
, hls-module-name-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
2 changes: 1 addition & 1 deletion plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ test-suite tests
, base
, filepath
, hls-ormolu-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lsp-types
, ormolu
2 changes: 1 addition & 1 deletion plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ test-suite tests
, base
, filepath
, hls-pragmas-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp-types
, text
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ test-suite tests
, text
, filepath
, hls-qualify-imported-names-plugin
, hls-test-utils ^>= 1.5
, hls-test-utils ^>= 1.6
2 changes: 1 addition & 1 deletion plugins/hls-refactor-plugin/hls-refactor-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ test-suite tests
, base
, filepath
, hls-refactor-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp-types
, text
Expand Down
4 changes: 2 additions & 2 deletions plugins/hls-rename-plugin/hls-rename-plugin.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hls-rename-plugin
version: 1.0.2.0
version: 1.0.2.1
synopsis: Rename plugin for Haskell Language Server
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Expand Down Expand Up @@ -58,4 +58,4 @@ test-suite tests
, filepath
, hls-plugin-api
, hls-rename-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
2 changes: 1 addition & 1 deletion plugins/hls-retrie-plugin/hls-retrie-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ test-suite tests
, hls-plugin-api
, hls-refactor-plugin
, hls-retrie-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, text
2 changes: 1 addition & 1 deletion plugins/hls-splice-plugin/hls-splice-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ test-suite tests
, base
, filepath
, hls-splice-plugin
, hls-test-utils ^>= 1.5
, hls-test-utils ^>= 1.6
, text
2 changes: 1 addition & 1 deletion plugins/hls-stan-plugin/hls-stan-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test-suite test
, filepath
, hls-stan-plugin
, hls-plugin-api
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, lens
, lsp-types
, text
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hls-stylish-haskell-plugin
version: 1.0.1.2
version: 1.0.1.3
synopsis: Integration with the Stylish Haskell code formatter
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Expand Down Expand Up @@ -50,4 +50,4 @@ test-suite tests
, base
, filepath
, hls-stylish-haskell-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
4 changes: 2 additions & 2 deletions plugins/hls-tactics-plugin/hls-tactics-plugin.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.4
category: Development
name: hls-tactics-plugin
version: 1.8.0.0
version: 1.8.1.0
synopsis: Wingman plugin for Haskell Language Server
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Expand Down Expand Up @@ -185,7 +185,7 @@ test-suite tests
, ghcide
, hls-plugin-api
, hls-tactics-plugin
, hls-test-utils ^>=1.5
, hls-test-utils ^>=1.6
, hspec
, hspec-expectations
, lens
Expand Down

0 comments on commit a375501

Please sign in to comment.