From d010614c7e6a44f9efd0c6475b78656db1466310 Mon Sep 17 00:00:00 2001 From: Zubin Duggal Date: Tue, 10 Oct 2023 16:36:33 +0530 Subject: [PATCH 1/4] Disable simdutf for text globally. C++ is hard to distribute properly, especially on older GHCs. See https://github.com/haskell/haskell-language-server/issues/3822. --- .cirrus.yml | 2 +- .github/workflows/release.yaml | 2 +- cabal.project | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 157f7d1d82..4f0b3fad09 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -17,7 +17,7 @@ build_task: ARTIFACT: "x86_64-freebsd" DISTRO: "na" RUNNER_OS: "FreeBSD" - ADD_CABAL_ARGS: "--enable-split-sections --constraint='text -simdutf'" + ADD_CABAL_ARGS: "--enable-split-sections" GITHUB_WORKSPACE: ${CIRRUS_WORKING_DIR} CABAL_CACHE_NONFATAL: "yes" matrix: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 915952872c..3f23f203d8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -106,7 +106,7 @@ jobs: , toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf" , DISTRO: "CentOS" , ARTIFACT: "x86_64-linux-centos7" - , ADD_CABAL_ARGS: "--enable-split-sections --constraint='text -simdutf'" # centos7 gcc is too old to build text +simdutf + , ADD_CABAL_ARGS: "--enable-split-sections" } ] # TODO: rm diff --git a/cabal.project b/cabal.project index 00c983b81b..121b9ba544 100644 --- a/cabal.project +++ b/cabal.project @@ -55,6 +55,9 @@ write-ghc-environment-files: never index-state: 2023-10-06T06:12:29Z constraints: + -- C++ is hard to distribute, especially on older GHCs + -- See https://github.com/haskell/haskell-language-server/issues/3822 + text -simdutf, -- For GHC 9.4, older versions of entropy fail to build on Windows entropy >= 0.4.1.10, -- For GHC 9.4 From 4f48ef47d35d3311cf63d8bedaa6d46b5ae2c521 Mon Sep 17 00:00:00 2001 From: Zubin Duggal Date: Tue, 10 Oct 2023 16:47:38 +0530 Subject: [PATCH 2/4] Prepare release 2.4.0.0 --- .github/workflows/release.yaml | 14 ++--- ChangeLog.md | 22 ++++++- ghcide-bench/ghcide-bench.cabal | 2 +- ghcide/ghcide.cabal | 6 +- haskell-language-server.cabal | 58 +++++++++---------- hls-graph/hls-graph.cabal | 2 +- hls-plugin-api/hls-plugin-api.cabal | 4 +- hls-test-utils/hls-test-utils.cabal | 6 +- .../hls-alternate-number-format-plugin.cabal | 8 +-- .../hls-cabal-fmt-plugin.cabal | 8 +-- .../hls-cabal-plugin/hls-cabal-plugin.cabal | 10 ++-- .../hls-call-hierarchy-plugin.cabal | 8 +-- .../hls-change-type-signature-plugin.cabal | 8 +-- .../hls-class-plugin/hls-class-plugin.cabal | 8 +-- .../hls-code-range-plugin.cabal | 10 ++-- plugins/hls-eval-plugin/hls-eval-plugin.cabal | 8 +-- .../hls-explicit-fixity-plugin.cabal | 8 +-- .../hls-explicit-imports-plugin.cabal | 6 +- .../hls-explicit-record-fields-plugin.cabal | 6 +- .../hls-floskell-plugin.cabal | 8 +-- .../hls-fourmolu-plugin.cabal | 8 +-- plugins/hls-gadt-plugin/hls-gadt-plugin.cabal | 8 +-- .../hls-hlint-plugin/hls-hlint-plugin.cabal | 8 +-- .../hls-module-name-plugin.cabal | 8 +-- .../hls-ormolu-plugin/hls-ormolu-plugin.cabal | 8 +-- .../hls-overloaded-record-dot-plugin.cabal | 2 +- .../hls-pragmas-plugin.cabal | 8 +-- .../hls-qualify-imported-names-plugin.cabal | 8 +-- .../hls-refactor-plugin.cabal | 8 +-- .../hls-rename-plugin/hls-rename-plugin.cabal | 8 +-- .../hls-retrie-plugin/hls-retrie-plugin.cabal | 8 +-- .../hls-splice-plugin/hls-splice-plugin.cabal | 8 +-- .../hls-stylish-haskell-plugin.cabal | 8 +-- 33 files changed, 164 insertions(+), 144 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3f23f203d8..af56dc7727 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8", "9.0.2"] + ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"] platform: [ { image: "debian:9" , installCmd: "sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list && sed -i /-updates/d /etc/apt/sources.list && apt-get update && apt-get install -y" , toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf" @@ -145,7 +145,7 @@ jobs: , ARTIFACT: "x86_64-linux-unknown" , ADD_CABAL_ARGS: "--enable-split-sections" } - - ghc: 9.6.2 + - ghc: 9.6.3 platform: { image: "rockylinux:8" , installCmd: "yum -y install epel-release && yum install -y --allowerasing" @@ -154,7 +154,7 @@ jobs: , ARTIFACT: "x86_64-linux-unknown" , ADD_CABAL_ARGS: "--enable-split-sections" } - - ghc: 9.6.3 + - ghc: 9.8.1 platform: { image: "rockylinux:8" , installCmd: "yum -y install epel-release && yum install -y --allowerasing" @@ -222,7 +222,7 @@ jobs: strategy: fail-fast: true matrix: - ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8", "9.0.2"] + ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"] steps: - uses: docker://arm64v8/ubuntu:focal name: Cleanup (aarch64 linux) @@ -282,7 +282,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8", "9.0.2"] + ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"] steps: - name: Checkout code uses: actions/checkout@v3 @@ -327,7 +327,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8"] + ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8"] steps: - name: Checkout code uses: actions/checkout@v3 @@ -372,7 +372,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8", "9.0.2"] + ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"] steps: - name: install windows deps shell: pwsh diff --git a/ChangeLog.md b/ChangeLog.md index f61ba18924..44aef5baa5 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,26 @@ # Changelog for haskell-language-server -## 2.3.0.0.0 +## 2.4.0.0 + +* Support for GHC 9.8.1 +* Fix broken Windows binaries (#3822) + +### Pull Requests + +- Remove constraint on stm-hamt + ([#3829](https://github.com/haskell/haskell-language-server/pull/3829)) by @iMichka +- Cleanup func-test suite + ([#3828](https://github.com/haskell/haskell-language-server/pull/3828)) by @fendor +- Bump haskell/actions from 2.4.6 to 2.4.7 in /.github/actions/setup-build + ([#3824](https://github.com/haskell/haskell-language-server/pull/3824)) by @dependabot[bot] +- Bump haskell/actions from 2.4.6 to 2.4.7 + ([#3823](https://github.com/haskell/haskell-language-server/pull/3823)) by @dependabot[bot] +- Release 2.3.0.0 + ([#3818](https://github.com/haskell/haskell-language-server/pull/3818)) by @wz1000 +- GHC 9.8 support + ([#3727](https://github.com/haskell/haskell-language-server/pull/3727)) by @wz1000 + +## 2.3.0.0 * Binaries for GHC 9.6.3 * Drop support for GHC 8.10 diff --git a/ghcide-bench/ghcide-bench.cabal b/ghcide-bench/ghcide-bench.cabal index 3ce8609416..c26665da9a 100644 --- a/ghcide-bench/ghcide-bench.cabal +++ b/ghcide-bench/ghcide-bench.cabal @@ -2,7 +2,7 @@ cabal-version: 3.0 build-type: Simple category: Development name: ghcide-bench -version: 2.3.0.0 +version: 2.4.0.0 license: Apache-2.0 license-file: LICENSE author: The Haskell IDE team diff --git a/ghcide/ghcide.cabal b/ghcide/ghcide.cabal index 6840b52349..c4faae618a 100644 --- a/ghcide/ghcide.cabal +++ b/ghcide/ghcide.cabal @@ -2,7 +2,7 @@ cabal-version: 3.0 build-type: Simple category: Development name: ghcide -version: 2.3.0.0 +version: 2.4.0.0 license: Apache-2.0 license-file: LICENSE author: Digital Asset and Ghcide contributors @@ -69,7 +69,7 @@ library haddock-library >= 1.8 && < 1.12, hashable, hie-compat ^>= 0.3.0.0, - hls-plugin-api == 2.3.0.0, + hls-plugin-api == 2.4.0.0, lens, list-t, hiedb == 0.4.3.*, @@ -85,7 +85,7 @@ library row-types, text-rope, safe-exceptions, - hls-graph == 2.3.0.0, + hls-graph == 2.4.0.0, sorted-list, sqlite-simple, stm, diff --git a/haskell-language-server.cabal b/haskell-language-server.cabal index 717a911fbf..b5dbc6c685 100644 --- a/haskell-language-server.cabal +++ b/haskell-language-server.cabal @@ -1,7 +1,7 @@ cabal-version: 3.0 category: Development name: haskell-language-server -version: 2.3.0.0 +version: 2.4.0.0 synopsis: LSP server for GHC description: Please see the README on GitHub at @@ -198,129 +198,129 @@ flag cabalfmt common cabalfmt if flag(cabalfmt) - build-depends: hls-cabal-fmt-plugin == 2.3.0.0 + build-depends: hls-cabal-fmt-plugin == 2.4.0.0 cpp-options: -Dhls_cabalfmt common cabal if flag(cabal) - build-depends: hls-cabal-plugin == 2.3.0.0 + build-depends: hls-cabal-plugin == 2.4.0.0 cpp-options: -Dhls_cabal common class if flag(class) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-class-plugin == 2.3.0.0 + build-depends: hls-class-plugin == 2.4.0.0 cpp-options: -Dhls_class common callHierarchy if flag(callHierarchy) - build-depends: hls-call-hierarchy-plugin == 2.3.0.0 + build-depends: hls-call-hierarchy-plugin == 2.4.0.0 cpp-options: -Dhls_callHierarchy common eval if flag(eval) - build-depends: hls-eval-plugin == 2.3.0.0 + build-depends: hls-eval-plugin == 2.4.0.0 cpp-options: -Dhls_eval common importLens if flag(importLens) - build-depends: hls-explicit-imports-plugin == 2.3.0.0 + build-depends: hls-explicit-imports-plugin == 2.4.0.0 cpp-options: -Dhls_importLens common rename if flag(rename) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-rename-plugin == 2.3.0.0 + build-depends: hls-rename-plugin == 2.4.0.0 cpp-options: -Dhls_rename common retrie if flag(retrie) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-retrie-plugin == 2.3.0.0 + build-depends: hls-retrie-plugin == 2.4.0.0 cpp-options: -Dhls_retrie common hlint if flag(hlint) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-hlint-plugin == 2.3.0.0 + build-depends: hls-hlint-plugin == 2.4.0.0 cpp-options: -Dhls_hlint common moduleName if flag(moduleName) - build-depends: hls-module-name-plugin == 2.3.0.0 + build-depends: hls-module-name-plugin == 2.4.0.0 cpp-options: -Dhls_moduleName common pragmas if flag(pragmas) - build-depends: hls-pragmas-plugin == 2.3.0.0 + build-depends: hls-pragmas-plugin == 2.4.0.0 cpp-options: -Dhls_pragmas common splice if flag(splice) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-splice-plugin == 2.3.0.0 + build-depends: hls-splice-plugin == 2.4.0.0 cpp-options: -Dhls_splice common alternateNumberFormat if flag(alternateNumberFormat) - build-depends: hls-alternate-number-format-plugin == 2.3.0.0 + build-depends: hls-alternate-number-format-plugin == 2.4.0.0 cpp-options: -Dhls_alternateNumberFormat common qualifyImportedNames if flag(qualifyImportedNames) - build-depends: hls-qualify-imported-names-plugin == 2.3.0.0 + build-depends: hls-qualify-imported-names-plugin == 2.4.0.0 cpp-options: -Dhls_qualifyImportedNames common codeRange if flag(codeRange) - build-depends: hls-code-range-plugin == 2.3.0.0 + build-depends: hls-code-range-plugin == 2.4.0.0 cpp-options: -Dhls_codeRange common changeTypeSignature if flag(changeTypeSignature) - build-depends: hls-change-type-signature-plugin == 2.3.0.0 + build-depends: hls-change-type-signature-plugin == 2.4.0.0 cpp-options: -Dhls_changeTypeSignature common gadt if flag(gadt) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-gadt-plugin == 2.3.0.0 + build-depends: hls-gadt-plugin == 2.4.0.0 cpp-options: -Dhls_gadt common explicitFixity if flag(explicitFixity) - build-depends: hls-explicit-fixity-plugin == 2.3.0.0 + build-depends: hls-explicit-fixity-plugin == 2.4.0.0 cpp-options: -DexplicitFixity common explicitFields if flag(explicitFields) - build-depends: hls-explicit-record-fields-plugin == 2.3.0.0 + build-depends: hls-explicit-record-fields-plugin == 2.4.0.0 cpp-options: -DexplicitFields common overloadedRecordDot if flag(overloadedRecordDot) && (impl(ghc >= 9.2.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-overloaded-record-dot-plugin == 2.3.0.0 + build-depends: hls-overloaded-record-dot-plugin == 2.4.0.0 cpp-options: -Dhls_overloaded_record_dot -- formatters common floskell if flag(floskell) && impl(ghc < 9.5) - build-depends: hls-floskell-plugin == 2.3.0.0 + build-depends: hls-floskell-plugin == 2.4.0.0 cpp-options: -Dhls_floskell common fourmolu if flag(fourmolu) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-fourmolu-plugin == 2.3.0.0 + build-depends: hls-fourmolu-plugin == 2.4.0.0 cpp-options: -Dhls_fourmolu common ormolu if flag(ormolu) && impl(ghc < 9.7) - build-depends: hls-ormolu-plugin == 2.3.0.0 + build-depends: hls-ormolu-plugin == 2.4.0.0 cpp-options: -Dhls_ormolu common stylishHaskell if flag(stylishHaskell) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-stylish-haskell-plugin == 2.3.0.0 + build-depends: hls-stylish-haskell-plugin == 2.4.0.0 cpp-options: -Dhls_stylishHaskell common refactor if flag(refactor) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-refactor-plugin == 2.3.0.0 + build-depends: hls-refactor-plugin == 2.4.0.0 cpp-options: -Dhls_refactor library @@ -372,12 +372,12 @@ library , cryptohash-sha1 , data-default , ghc - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , githash >=0.1.6.1 , lsp >= 2.2.0.0 , hie-bios , hiedb - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , optparse-applicative , optparse-simple , process @@ -516,7 +516,7 @@ test-suite func-test , lens-aeson , ghcide , ghcide-test-utils - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lsp-types , aeson , hls-plugin-api diff --git a/hls-graph/hls-graph.cabal b/hls-graph/hls-graph.cabal index 3abf5a01cd..21130e76c5 100644 --- a/hls-graph/hls-graph.cabal +++ b/hls-graph/hls-graph.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-graph -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Haskell Language Server internal graph API description: Please see the README on GitHub at diff --git a/hls-plugin-api/hls-plugin-api.cabal b/hls-plugin-api/hls-plugin-api.cabal index 0349340f6e..f4d0185df2 100644 --- a/hls-plugin-api/hls-plugin-api.cabal +++ b/hls-plugin-api/hls-plugin-api.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-plugin-api -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Haskell Language Server API for plugin communication description: Please see the README on GitHub at @@ -59,7 +59,7 @@ library , filepath , ghc , hashable - , hls-graph == 2.3.0.0 + , hls-graph == 2.4.0.0 , lens , lens-aeson , lsp ^>=2.2 diff --git a/hls-test-utils/hls-test-utils.cabal b/hls-test-utils/hls-test-utils.cabal index 2dd7668a4a..3eb1149db0 100644 --- a/hls-test-utils/hls-test-utils.cabal +++ b/hls-test-utils/hls-test-utils.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-test-utils -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Utilities used in the tests of Haskell Language Server description: Please see the README on GitHub at @@ -42,9 +42,9 @@ library , directory , extra , filepath - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hls-graph - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp ^>=2.2 , lsp-test ^>=0.16 diff --git a/plugins/hls-alternate-number-format-plugin/hls-alternate-number-format-plugin.cabal b/plugins/hls-alternate-number-format-plugin/hls-alternate-number-format-plugin.cabal index fd3cb134f4..c89681b2fd 100644 --- a/plugins/hls-alternate-number-format-plugin/hls-alternate-number-format-plugin.cabal +++ b/plugins/hls-alternate-number-format-plugin/hls-alternate-number-format-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-alternate-number-format-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Provide Alternate Number Formats plugin for Haskell Language Server description: Please see the README on GitHub at @@ -31,10 +31,10 @@ library , base >=4.12 && < 5 , containers , extra - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , ghc-boot-th , hls-graph - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , hie-compat , lens , lsp ^>=2.2.0.0 @@ -62,7 +62,7 @@ test-suite tests , base >=4.12 && < 5 , filepath , hls-alternate-number-format-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lsp , QuickCheck , regex-tdfa diff --git a/plugins/hls-cabal-fmt-plugin/hls-cabal-fmt-plugin.cabal b/plugins/hls-cabal-fmt-plugin/hls-cabal-fmt-plugin.cabal index b86fd9c7ae..7a002bbf49 100644 --- a/plugins/hls-cabal-fmt-plugin/hls-cabal-fmt-plugin.cabal +++ b/plugins/hls-cabal-fmt-plugin/hls-cabal-fmt-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-cabal-fmt-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Integration with the cabal-fmt code formatter description: Please see the README on GitHub at @@ -33,8 +33,8 @@ library , base >=4.12 && <5 , directory , filepath - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp-types , mtl @@ -56,7 +56,7 @@ test-suite tests , directory , filepath , hls-cabal-fmt-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 if flag(isolateTests) build-tool-depends: cabal-fmt:cabal-fmt ^>=0.1.6 diff --git a/plugins/hls-cabal-plugin/hls-cabal-plugin.cabal b/plugins/hls-cabal-plugin/hls-cabal-plugin.cabal index 04281c7455..21a6da5a7f 100644 --- a/plugins/hls-cabal-plugin/hls-cabal-plugin.cabal +++ b/plugins/hls-cabal-plugin/hls-cabal-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hls-cabal-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Cabal integration plugin with Haskell Language Server description: Please see the README on GitHub at @@ -49,10 +49,10 @@ library , directory , filepath , extra >=1.7.4 - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hashable - , hls-plugin-api == 2.3.0.0 - , hls-graph == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 + , hls-graph == 2.4.0.0 , lens , lsp ^>=2.2 , lsp-types ^>=2.0.2 @@ -84,7 +84,7 @@ test-suite tests , filepath , ghcide , hls-cabal-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp , lsp-types diff --git a/plugins/hls-call-hierarchy-plugin/hls-call-hierarchy-plugin.cabal b/plugins/hls-call-hierarchy-plugin/hls-call-hierarchy-plugin.cabal index a0a04df91f..e599b367c2 100644 --- a/plugins/hls-call-hierarchy-plugin/hls-call-hierarchy-plugin.cabal +++ b/plugins/hls-call-hierarchy-plugin/hls-call-hierarchy-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-call-hierarchy-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Call hierarchy plugin for Haskell Language Server description: Please see the README on GitHub at @@ -33,9 +33,9 @@ library , base >=4.12 && <5 , containers , extra - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hiedb - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp >=2.2.0.0 , sqlite-simple @@ -58,7 +58,7 @@ test-suite tests , extra , filepath , hls-call-hierarchy-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , ghcide-test-utils , lens , lsp diff --git a/plugins/hls-change-type-signature-plugin/hls-change-type-signature-plugin.cabal b/plugins/hls-change-type-signature-plugin/hls-change-type-signature-plugin.cabal index 51f5dfcce7..a13d396f3a 100644 --- a/plugins/hls-change-type-signature-plugin/hls-change-type-signature-plugin.cabal +++ b/plugins/hls-change-type-signature-plugin/hls-change-type-signature-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-change-type-signature-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Change a declarations type signature with a Code Action description: Please see the README on GitHub at @@ -27,8 +27,8 @@ library hs-source-dirs: src build-depends: , base >=4.12 && < 5 - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lsp-types , regex-tdfa , syb @@ -59,7 +59,7 @@ test-suite tests , base >=4.12 && < 5 , filepath , hls-change-type-signature-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lsp , QuickCheck , regex-tdfa diff --git a/plugins/hls-class-plugin/hls-class-plugin.cabal b/plugins/hls-class-plugin/hls-class-plugin.cabal index d1903276c2..035b2f554c 100644 --- a/plugins/hls-class-plugin/hls-class-plugin.cabal +++ b/plugins/hls-class-plugin/hls-class-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-class-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Class/instance management plugin for Haskell Language Server @@ -44,10 +44,10 @@ library , deepseq , extra , ghc - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , ghc-boot-th , hls-graph - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , mtl @@ -84,7 +84,7 @@ test-suite tests , ghcide , hls-class-plugin , hls-plugin-api - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp-types , row-types diff --git a/plugins/hls-code-range-plugin/hls-code-range-plugin.cabal b/plugins/hls-code-range-plugin/hls-code-range-plugin.cabal index ab9ce245a4..7b226668b5 100644 --- a/plugins/hls-code-range-plugin/hls-code-range-plugin.cabal +++ b/plugins/hls-code-range-plugin/hls-code-range-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-code-range-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: HLS Plugin to support smart selection range and Folding range @@ -37,9 +37,9 @@ library , containers , deepseq , extra - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hashable - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , mtl @@ -62,10 +62,10 @@ test-suite tests , bytestring , containers , filepath - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hls-code-range-plugin , hls-plugin-api - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp , lsp-test diff --git a/plugins/hls-eval-plugin/hls-eval-plugin.cabal b/plugins/hls-eval-plugin/hls-eval-plugin.cabal index ddd0d7887e..163681016b 100644 --- a/plugins/hls-eval-plugin/hls-eval-plugin.cabal +++ b/plugins/hls-eval-plugin/hls-eval-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-eval-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Eval plugin for Haskell Language Server description: Please see the README on GitHub at @@ -67,10 +67,10 @@ library , ghc , ghc-boot-th , ghc-paths - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hashable , hls-graph - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , lsp-types @@ -112,7 +112,7 @@ test-suite tests , filepath , hls-eval-plugin , hls-plugin-api - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp-types , text diff --git a/plugins/hls-explicit-fixity-plugin/hls-explicit-fixity-plugin.cabal b/plugins/hls-explicit-fixity-plugin/hls-explicit-fixity-plugin.cabal index 10e95593ab..721dee0c0d 100644 --- a/plugins/hls-explicit-fixity-plugin/hls-explicit-fixity-plugin.cabal +++ b/plugins/hls-explicit-fixity-plugin/hls-explicit-fixity-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-explicit-fixity-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Show fixity explicitly while hovering description: Please see the README on GitHub at @@ -29,9 +29,9 @@ library , deepseq , extra , ghc - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hashable - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lsp >=2.2 , text , transformers @@ -53,5 +53,5 @@ test-suite tests , base , filepath , hls-explicit-fixity-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , text diff --git a/plugins/hls-explicit-imports-plugin/hls-explicit-imports-plugin.cabal b/plugins/hls-explicit-imports-plugin/hls-explicit-imports-plugin.cabal index 1503235d16..77a3b796e3 100644 --- a/plugins/hls-explicit-imports-plugin/hls-explicit-imports-plugin.cabal +++ b/plugins/hls-explicit-imports-plugin/hls-explicit-imports-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hls-explicit-imports-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Explicit imports plugin for Haskell Language Server description: Please see the README on GitHub at @@ -37,9 +37,9 @@ library , containers , deepseq , ghc - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hls-graph - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , mtl diff --git a/plugins/hls-explicit-record-fields-plugin/hls-explicit-record-fields-plugin.cabal b/plugins/hls-explicit-record-fields-plugin/hls-explicit-record-fields-plugin.cabal index 5c05eb7872..96cc6b23b2 100644 --- a/plugins/hls-explicit-record-fields-plugin/hls-explicit-record-fields-plugin.cabal +++ b/plugins/hls-explicit-record-fields-plugin/hls-explicit-record-fields-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hls-explicit-record-fields-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Explicit record fields plugin for Haskell Language Server description: Please see the README on GitHub at @@ -35,8 +35,8 @@ library build-depends: , base >=4.12 && <5 , ghc - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lsp , lens , hls-graph diff --git a/plugins/hls-floskell-plugin/hls-floskell-plugin.cabal b/plugins/hls-floskell-plugin/hls-floskell-plugin.cabal index de34f436ba..5beb8d7a0f 100644 --- a/plugins/hls-floskell-plugin/hls-floskell-plugin.cabal +++ b/plugins/hls-floskell-plugin/hls-floskell-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-floskell-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Integration with the Floskell code formatter description: Please see the README on GitHub at @@ -29,8 +29,8 @@ library build-depends: , base >=4.12 && <5 , floskell ^>=0.10 - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lsp-types ^>=2.0.2.0 , mtl , text @@ -50,4 +50,4 @@ test-suite tests , base , filepath , hls-floskell-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 diff --git a/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal b/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal index 424a6180e8..fd10d201fb 100644 --- a/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal +++ b/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-fourmolu-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Integration with the Fourmolu code formatter description: Please see the README on GitHub at @@ -37,8 +37,8 @@ library , filepath , ghc , ghc-boot-th - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , mtl @@ -77,5 +77,5 @@ test-suite tests , filepath , hls-fourmolu-plugin , hls-plugin-api - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lsp-test diff --git a/plugins/hls-gadt-plugin/hls-gadt-plugin.cabal b/plugins/hls-gadt-plugin/hls-gadt-plugin.cabal index bd6e17d01f..8616b361b9 100644 --- a/plugins/hls-gadt-plugin/hls-gadt-plugin.cabal +++ b/plugins/hls-gadt-plugin/hls-gadt-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-gadt-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Convert to GADT syntax plugin description: Please see the README on GitHub at @@ -35,10 +35,10 @@ library , containers , extra , ghc - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , ghc-boot-th , ghc-exactprint - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , hls-refactor-plugin , lens , lsp >=2.2.0.0 @@ -68,7 +68,7 @@ test-suite tests , base , filepath , hls-gadt-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp , lsp-test diff --git a/plugins/hls-hlint-plugin/hls-hlint-plugin.cabal b/plugins/hls-hlint-plugin/hls-hlint-plugin.cabal index f4f3749c21..3f5972d908 100644 --- a/plugins/hls-hlint-plugin/hls-hlint-plugin.cabal +++ b/plugins/hls-hlint-plugin/hls-hlint-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-hlint-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Hlint integration plugin with Haskell Language Server description: Please see the README on GitHub at @@ -50,10 +50,10 @@ library , extra , filepath , ghc-exactprint >=0.6.3.4 - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hashable , hlint < 3.7 - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , mtl @@ -98,7 +98,7 @@ test-suite tests , filepath , hls-hlint-plugin , hls-plugin-api - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp-types , row-types diff --git a/plugins/hls-module-name-plugin/hls-module-name-plugin.cabal b/plugins/hls-module-name-plugin/hls-module-name-plugin.cabal index 2c50cfe5da..4648baf67b 100644 --- a/plugins/hls-module-name-plugin/hls-module-name-plugin.cabal +++ b/plugins/hls-module-name-plugin/hls-module-name-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-module-name-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Module name plugin for Haskell Language Server description: Please see the README on GitHub at @@ -32,8 +32,8 @@ library , containers , directory , filepath - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lsp , text , transformers @@ -51,4 +51,4 @@ test-suite tests , base , filepath , hls-module-name-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 diff --git a/plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal b/plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal index 422befbb2e..e1ec3cb029 100644 --- a/plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal +++ b/plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-ormolu-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Integration with the Ormolu code formatter description: Please see the README on GitHub at @@ -34,8 +34,8 @@ library , filepath , ghc , ghc-boot-th - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , mtl @@ -63,7 +63,7 @@ test-suite tests , filepath , hls-ormolu-plugin , hls-plugin-api - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lsp-types , text , ormolu diff --git a/plugins/hls-overloaded-record-dot-plugin/hls-overloaded-record-dot-plugin.cabal b/plugins/hls-overloaded-record-dot-plugin/hls-overloaded-record-dot-plugin.cabal index de2f6899f7..1faf118da1 100644 --- a/plugins/hls-overloaded-record-dot-plugin/hls-overloaded-record-dot-plugin.cabal +++ b/plugins/hls-overloaded-record-dot-plugin/hls-overloaded-record-dot-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hls-overloaded-record-dot-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Overloaded record dot plugin for Haskell Language Server description: Please see the README on GitHub at diff --git a/plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal b/plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal index 465fa52bfd..a7d383c754 100644 --- a/plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal +++ b/plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-pragmas-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Pragmas plugin for Haskell Language Server description: Please see the README on GitHub at @@ -29,8 +29,8 @@ library , extra , fuzzy , ghc - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , text @@ -51,7 +51,7 @@ test-suite tests , base , filepath , hls-pragmas-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp-types , text diff --git a/plugins/hls-qualify-imported-names-plugin/hls-qualify-imported-names-plugin.cabal b/plugins/hls-qualify-imported-names-plugin/hls-qualify-imported-names-plugin.cabal index 318220f430..d2c7443452 100644 --- a/plugins/hls-qualify-imported-names-plugin/hls-qualify-imported-names-plugin.cabal +++ b/plugins/hls-qualify-imported-names-plugin/hls-qualify-imported-names-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hls-qualify-imported-names-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: A Haskell Language Server plugin that qualifies imported names description: Please see the README on GitHub at @@ -30,9 +30,9 @@ library , containers , deepseq , ghc - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hls-graph - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , lens , lsp , text @@ -56,4 +56,4 @@ test-suite tests , text , filepath , hls-qualify-imported-names-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 diff --git a/plugins/hls-refactor-plugin/hls-refactor-plugin.cabal b/plugins/hls-refactor-plugin/hls-refactor-plugin.cabal index 2faf102828..d1fccf1eb3 100644 --- a/plugins/hls-refactor-plugin/hls-refactor-plugin.cabal +++ b/plugins/hls-refactor-plugin/hls-refactor-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hls-refactor-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Exactprint refactorings for Haskell Language Server description: Please see the README on GitHub at @@ -73,8 +73,8 @@ library , ghc-boot , regex-tdfa , text-rope - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lsp , text , transformers @@ -112,7 +112,7 @@ test-suite tests , base , filepath , hls-refactor-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , lens , lsp-types , text diff --git a/plugins/hls-rename-plugin/hls-rename-plugin.cabal b/plugins/hls-rename-plugin/hls-rename-plugin.cabal index 7c0b3f52ce..48c414f5e1 100644 --- a/plugins/hls-rename-plugin/hls-rename-plugin.cabal +++ b/plugins/hls-rename-plugin/hls-rename-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-rename-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Rename plugin for Haskell Language Server description: Please see the README on GitHub at @@ -34,11 +34,11 @@ library , extra , ghc , ghc-exactprint - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hashable , hiedb , hie-compat - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , hls-refactor-plugin , lens , lsp @@ -69,4 +69,4 @@ test-suite tests , filepath , hls-plugin-api , hls-rename-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 diff --git a/plugins/hls-retrie-plugin/hls-retrie-plugin.cabal b/plugins/hls-retrie-plugin/hls-retrie-plugin.cabal index d4ae524f38..25d4b58edb 100644 --- a/plugins/hls-retrie-plugin/hls-retrie-plugin.cabal +++ b/plugins/hls-retrie-plugin/hls-retrie-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hls-retrie-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Retrie integration plugin for Haskell Language Server description: Please see the README on GitHub at @@ -37,9 +37,9 @@ library , directory , extra , ghc - , ghcide == 2.3.0.0 + , ghcide == 2.4.0.0 , hashable - , hls-plugin-api == 2.3.0.0 + , hls-plugin-api == 2.4.0.0 , hls-refactor-plugin , lens , lsp @@ -77,5 +77,5 @@ test-suite tests , hls-plugin-api , hls-refactor-plugin , hls-retrie-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , text diff --git a/plugins/hls-splice-plugin/hls-splice-plugin.cabal b/plugins/hls-splice-plugin/hls-splice-plugin.cabal index 383cc0c86e..89a8be1d6b 100644 --- a/plugins/hls-splice-plugin/hls-splice-plugin.cabal +++ b/plugins/hls-splice-plugin/hls-splice-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-splice-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes @@ -47,8 +47,8 @@ library , foldl , ghc , ghc-exactprint - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , hls-refactor-plugin , lens , lsp @@ -79,6 +79,6 @@ test-suite tests , base , filepath , hls-splice-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 , text , row-types diff --git a/plugins/hls-stylish-haskell-plugin/hls-stylish-haskell-plugin.cabal b/plugins/hls-stylish-haskell-plugin/hls-stylish-haskell-plugin.cabal index 776bd4bb6c..3087806a98 100644 --- a/plugins/hls-stylish-haskell-plugin/hls-stylish-haskell-plugin.cabal +++ b/plugins/hls-stylish-haskell-plugin/hls-stylish-haskell-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-stylish-haskell-plugin -version: 2.3.0.0 +version: 2.4.0.0 synopsis: Integration with the Stylish Haskell code formatter description: Please see the README on GitHub at @@ -33,8 +33,8 @@ library , filepath , ghc , ghc-boot-th - , ghcide == 2.3.0.0 - , hls-plugin-api == 2.3.0.0 + , ghcide == 2.4.0.0 + , hls-plugin-api == 2.4.0.0 , lsp-types , mtl , stylish-haskell ^>=0.12 || ^>=0.13 || ^>=0.14.2 @@ -56,4 +56,4 @@ test-suite tests , base , filepath , hls-stylish-haskell-plugin - , hls-test-utils == 2.3.0.0 + , hls-test-utils == 2.4.0.0 From 0c131c12c18d629bbac8c8ef3473d1f0c77309a7 Mon Sep 17 00:00:00 2001 From: Zubin Duggal Date: Tue, 10 Oct 2023 16:55:09 +0530 Subject: [PATCH 3/4] Update docs --- ChangeLog.md | 2 +- docs/support/ghc-version-support.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 44aef5baa5..753a627279 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,7 +2,7 @@ ## 2.4.0.0 -* Support for GHC 9.8.1 +* Initial support for GHC 9.8.1, without plugins dependent on `ghc-exactprint` * Fix broken Windows binaries (#3822) ### Pull Requests diff --git a/docs/support/ghc-version-support.md b/docs/support/ghc-version-support.md index e122057480..3f95b1c8a6 100644 --- a/docs/support/ghc-version-support.md +++ b/docs/support/ghc-version-support.md @@ -17,6 +17,7 @@ Support status (see the support policy below for more details): | GHC version | Last supporting HLS version | Support status | |--------------|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------| +| 9.8.1 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | initial support | | 9.6.3 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | basic support | | 9.6.2 | [2.2.0.0](https://github.com/haskell/haskell-language-server/releases/latest) | basic support | | 9.6.1 | [2.0.0.0](https://github.com/haskell/haskell-language-server/releases/tag/2.0.0.0) | basic support | From 362fdd1293efb4b82410b676ab1273479f6d17ee Mon Sep 17 00:00:00 2001 From: Zubin Duggal Date: Tue, 10 Oct 2023 17:17:08 +0530 Subject: [PATCH 4/4] Run cabal update inside project dir --- .github/scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index 7a713cddfb..d27a940e14 100644 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -21,7 +21,8 @@ download_cabal_cache "$HOME/.local/bin/cabal-cache" # build ghcup install ghc "${GHC_VERSION}" ghcup set ghc "${GHC_VERSION}" -(cd .. && ecabal update) # run cabal update outside project dir +sed -i.bak -e '/DELETE MARKER FOR CI/,/END DELETE/d' cabal.project # see comment in cabal.project +ecabal update ecabal user-config diff ecabal user-config init -f "ghc-${GHC_VERSION}" --info @@ -56,7 +57,6 @@ case "$(uname)" in cp "$(cabal list-bin -v0 ${args[@]} exe:hls-wrapper)" "$CI_PROJECT_DIR/out/${ARTIFACT}/haskell-language-server-wrapper${ext}" ;; *) - sed -i.bak -e '/DELETE MARKER FOR CI/,/END DELETE/d' cabal.project # see comment in cabal.project emake --version emake GHCUP=ghcup CABAL_CACHE_BIN=cabal-cache.sh S3_HOST="${S3_HOST}" S3_KEY="${ARTIFACT}" GHC_VERSION="${GHC_VERSION}" hls-ghc ;;