From 35621b8e005ccff41c3c1e02f1c3cb8b971dd42c Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Wed, 5 Apr 2023 18:40:54 +0800 Subject: [PATCH] Update docs about support status (#3544) * Update GHC version support * Update plugin support * Remove outdated log --- docs/support/ghc-version-support.md | 13 ++++++------- docs/support/plugin-support.md | 16 ++++++++-------- ghcide/src/Development/IDE/Main.hs | 6 ------ 3 files changed, 14 insertions(+), 21 deletions(-) diff --git a/docs/support/ghc-version-support.md b/docs/support/ghc-version-support.md index 2a90a473e6..cea89b1196 100644 --- a/docs/support/ghc-version-support.md +++ b/docs/support/ghc-version-support.md @@ -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 | diff --git a/docs/support/plugin-support.md b/docs/support/plugin-support.md index e5fb8d00e9..ed36c9bd45 100644 --- a/docs/support/plugin-support.md +++ b/docs/support/plugin-support.md @@ -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 | | diff --git a/ghcide/src/Development/IDE/Main.hs b/ghcide/src/Development/IDE/Main.hs index 081c78acce..ae18d3a571 100644 --- a/ghcide/src/Development/IDE/Main.hs +++ b/ghcide/src/Development/IDE/Main.hs @@ -135,7 +135,6 @@ data Log | LogLspStart [PluginId] | LogLspStartDuration !Seconds | LogShouldRunSubset !Bool - | LogOnlyPartialGhc94Support | LogSetInitialDynFlagsException !SomeException | LogService Service.Log | LogShake Shake.Log @@ -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 @@ -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)