diff --git a/.github/workflows/hackage.yml b/.github/workflows/hackage.yml index 09785cce48..9e09249d6d 100644 --- a/.github/workflows/hackage.yml +++ b/.github/workflows/hackage.yml @@ -1,5 +1,10 @@ name: Hackage +# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. +concurrency: + group: ${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + on: push: branches: @@ -9,6 +14,7 @@ jobs: check-and-upload-tarballs: runs-on: ubuntu-latest strategy: + fail-fast: ${{ !contains(github.ref_name, 'check') }} matrix: package: ["hie-compat", "hls-graph", "shake-bench", "hls-plugin-api", "ghcide", "hls-test-utils", @@ -21,7 +27,20 @@ jobs: "hls-splice-plugin", "hls-tactics-plugin", "hls-call-hierarchy-plugin", "haskell-language-server"] - ghc: ["9.0.1", "8.10.7", "8.8.4", "8.6.5"] + # Uncomment 9.0.1 when ghcide is buildable + ghc: [ # "9.0.1", + "8.10.7", + "8.8.4", + "8.6.5"] + exclude: + - ghc: "9.0.1" + package: "hls-brittany-plugin" + - ghc: "9.0.1" + package: "hls-stylish-haskell-plugin" + - ghc: "9.0.1" + package: "hls-class-plugin" + - ghc: "9.0.1" + package: "hls-tactics-plugin" steps: @@ -96,8 +115,23 @@ jobs: run: | cd $(ls -d ./incoming/${{ matrix.package }}-*) echo "packages: . ../../* ../../plugins/*" > cabal.project + + - name: "Add temporary needed allow-newer" + if: steps.get-hackage-version.outputs.exists != 'true' + run: | + # TODO: remove when not needed + cd $(ls -d ./incoming/${{ matrix.package }}-*) + echo "allow-newer: Chart-diagrams:diagrams-core, SVGFonts:diagrams-core," >> cabal.project + + - name: "Add temporary needed allow-newer for ghc-9.0" + if: steps.get-hackage-version.outputs.exists != 'true' && matrix.ghc == '9.0.1' + run: | # TODO: remove when not needed - echo "allow-newer: Chart-diagrams:diagrams-core, SVGFonts:diagrams-core" >> cabal.project + cd $(ls -d ./incoming/${{ matrix.package }}-*) + # For brittany + echo " brittany:base, brittany:ghc, brittany:ghc-boot-th, butcher:base, multistate:base, data-tree-print:base," >> cabal.project + # For floskell and stylish-haskell + echo " floskell:base, floskell:ghc-prim, stylish-haskell:Cabal,stylish-haskell:ghc-lib-parser," >> cabal.project - name: "Build all package components in isolation" if: steps.get-hackage-version.outputs.exists != 'true' @@ -112,14 +146,14 @@ jobs: cabal haddock --haddock-for-hackage - name: "Upload package dist tarball" - if: steps.get-hackage-version.outputs.exists != 'true' + if: steps.get-hackage-version.outputs.exists != 'true' && matrix.ghc == '8.10.7' uses: actions/upload-artifact@v2 with: name: ${{ matrix.package }} path: ${{ steps.generate-dist-tarball.outputs.path }} upload-candidate: - if: ${{ !contains(github.head_ref, 'check') }} + if: ${{ !contains(github.ref_name, 'check') }} needs: check-and-upload-tarballs runs-on: ubuntu-latest steps: diff --git a/ChangeLog.md b/ChangeLog.md index cb8997cf09..81540161bd 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,178 @@ # Changelog for haskell-language-server +## 1.5.0 + +Time for another hls release: + +- @pepeiborra has done an epic work to improve performance, redefining some of the core pieces of HLS + - You can take an overall look to improvements in [these slides](https://drive.google.com/file/d/16FpmiHXX_rd2gAf5XVgWAIr4kg-AkUqX/view) +- We have fourmolu support for ghc-9.0.1 thanks to @georgefst +- We have got improvements over import suggestions thanks to @yoshitsugu and @alexnaspo +- Completions also has been improved in general thanks to @pepeiborra +- There have been lot of documentation updates by several contributors, thanks also to all of you +- In this release we still don't have full support for all plugins and ghc-9.0.1 + - Missing plugins for ghc-9.0.1 are: hls-class-plugin, hls-tactics-plugin (wingman), hls-brittany-plugin and hls-stylish-haskell-plugin + +### Deprecation notice for 1.5.0 + +- As we noted in the previous release we have dropped support for ghc versions 8.6.4, 8.10.2, 8.10.3, 8.10.4 in *this release* +- We will drop support for ghc versions 8.10.5 and 8.8.3 *after this release* +- The advise is upgrade ghc to the last minor version: 8.6.5, 8.8.4 or 8.10.7 +- You can read more about ghc deprecation policy and schedule [here](https://haskell-language-server.readthedocs.io/en/latest/supported-versions.html) + +### Pull requests merged for 1.5.0 + +- More completion fixes +([#2354](https://github.com/haskell/haskell-language-server/pull/2354)) by @pepeiborra +- Update to latest prettyprinter API +([#2352](https://github.com/haskell/haskell-language-server/pull/2352)) by @fendor +- Use hackage version of czipwith +([#2346](https://github.com/haskell/haskell-language-server/pull/2346)) by @jneira +- Show build graph statistics in ghcide-bench +([#2343](https://github.com/haskell/haskell-language-server/pull/2343)) by @pepeiborra +- contributing: add implicit-hie gen-hie > hie.yaml note +([#2341](https://github.com/haskell/haskell-language-server/pull/2341)) by @Anton-Latukha +- add dependabot: add Actions CI merge requests automation +([#2339](https://github.com/haskell/haskell-language-server/pull/2339)) by @Anton-Latukha +- Skip parsing without haddock for above GHC9.0 +([#2338](https://github.com/haskell/haskell-language-server/pull/2338)) by @yoshitsugu +- Give unique names to post-jobs +([#2337](https://github.com/haskell/haskell-language-server/pull/2337)) by @jneira +- Cancel prev runs for bench and nix +([#2335](https://github.com/haskell/haskell-language-server/pull/2335)) by @jneira +- Trace diagnostics +([#2333](https://github.com/haskell/haskell-language-server/pull/2333)) by @pepeiborra +- Include sortText in completions and improve suggestions +([#2332](https://github.com/haskell/haskell-language-server/pull/2332)) by @pepeiborra +- Not suggest exported imports +([#2329](https://github.com/haskell/haskell-language-server/pull/2329)) by @yoshitsugu +- Update troubleshooting section +([#2326](https://github.com/haskell/haskell-language-server/pull/2326)) by @jneira +- Remove automatic comment to [skip circleci] +([#2325](https://github.com/haskell/haskell-language-server/pull/2325)) by @jneira +- Add README.md in install/ subproject +([#2324](https://github.com/haskell/haskell-language-server/pull/2324)) by @sir4ur0n +- Improve the performance of GetModIfaceFromDisk in large repos and delete GetDependencies +([#2323](https://github.com/haskell/haskell-language-server/pull/2323)) by @pepeiborra +- Add support for install hls from hackage using ghc 9.0.1 +([#2322](https://github.com/haskell/haskell-language-server/pull/2322)) by @jneira +- Rename hlint test data files and add regression tests +([#2321](https://github.com/haskell/haskell-language-server/pull/2321)) by @jneira +- Suggest hiding imports when local definition exists +([#2320](https://github.com/haskell/haskell-language-server/pull/2320)) by @yoshitsugu +- Improve trace readability +([#2319](https://github.com/haskell/haskell-language-server/pull/2319)) by @pepeiborra +- Sir4ur0n/doc/cleanup hie +([#2311](https://github.com/haskell/haskell-language-server/pull/2311)) by @sir4ur0n +- Add option to effectively cancel prev runs +([#2310](https://github.com/haskell/haskell-language-server/pull/2310)) by @jneira +- Separate features from demos +([#2307](https://github.com/haskell/haskell-language-server/pull/2307)) by @jneira +- Prevent Tactics hover provider from blocking at startup +([#2306](https://github.com/haskell/haskell-language-server/pull/2306)) by @pepeiborra +- Fix defaultIdeOptions to use the initial config settings +([#2302](https://github.com/haskell/haskell-language-server/pull/2302)) by @pepeiborra +- Use new queue rules for mergify bot +([#2301](https://github.com/haskell/haskell-language-server/pull/2301)) by @jneira +- Fix reverse dep. tracking for alwaysRerun rules +([#2298](https://github.com/haskell/haskell-language-server/pull/2298)) by @pepeiborra +- Reorganize github workflows and use specific label [skip circleci] +([#2297](https://github.com/haskell/haskell-language-server/pull/2297)) by @jneira +- Enable func-test suite for windows +([#2296](https://github.com/haskell/haskell-language-server/pull/2296)) by @jneira +- Generate linkables in the Eval plugin +([#2295](https://github.com/haskell/haskell-language-server/pull/2295)) by @pepeiborra +- [hls-graph] clean up databaseDirtySet +([#2294](https://github.com/haskell/haskell-language-server/pull/2294)) by @pepeiborra +- Update link to supported platforms by ghcup +([#2293](https://github.com/haskell/haskell-language-server/pull/2293)) by @chshersh +- Make circleci honour [skip ci] wherever is placed in the pr info (title, description) +([#2289](https://github.com/haskell/haskell-language-server/pull/2289)) by @jneira +- Note in the install script that listed ghcs are the supported ones +([#2286](https://github.com/haskell/haskell-language-server/pull/2286)) by @jneira +- Move hlint tests to its own package (and other clean ups) +([#2284](https://github.com/haskell/haskell-language-server/pull/2284)) by @jneira +- Trace rebuilds +([#2283](https://github.com/haskell/haskell-language-server/pull/2283)) by @pepeiborra +- Fix excessive interface recompilation caused by the Tactics plugin +([#2282](https://github.com/haskell/haskell-language-server/pull/2282)) by @pepeiborra +- Preserve dirty set and add dirtiness assertion +([#2279](https://github.com/haskell/haskell-language-server/pull/2279)) by @pepeiborra +- Ignore null WatchedFile events +([#2278](https://github.com/haskell/haskell-language-server/pull/2278)) by @pepeiborra +- Trace log events and fix ghcide logger +([#2277](https://github.com/haskell/haskell-language-server/pull/2277)) by @pepeiborra +- Point to GitHub from Contributing.md +([#2275](https://github.com/haskell/haskell-language-server/pull/2275)) by @georgefst +- installation.md: add Fedora copr repo +([#2274](https://github.com/haskell/haskell-language-server/pull/2274)) by @juhp +- avoid double rebuilds for FOIs +([#2266](https://github.com/haskell/haskell-language-server/pull/2266)) by @pepeiborra +- Update installation on ArchLinux - new package +([#2265](https://github.com/haskell/haskell-language-server/pull/2265)) by @marcin-rzeznicki +- Garbage collection of dirty keys +([#2263](https://github.com/haskell/haskell-language-server/pull/2263)) by @pepeiborra +- Add lsp-mode links +([#2260](https://github.com/haskell/haskell-language-server/pull/2260)) by @jneira +- Add more features and demos in docs +([#2257](https://github.com/haskell/haskell-language-server/pull/2257)) by @jneira +- Add nix installation section +([#2256](https://github.com/haskell/haskell-language-server/pull/2256)) by @jneira +- Bump Fourmolu to 0.4 +([#2254](https://github.com/haskell/haskell-language-server/pull/2254)) by @georgefst +- Remove custom version of operational +([#2249](https://github.com/haskell/haskell-language-server/pull/2249)) by @jneira +- Generate custom source tarball +([#2248](https://github.com/haskell/haskell-language-server/pull/2248)) by @jneira +- Enable the ghcide test plugin in HLS test suites +([#2243](https://github.com/haskell/haskell-language-server/pull/2243)) by @pepeiborra +- Partial sort of fuzzy filtering results +([#2240](https://github.com/haskell/haskell-language-server/pull/2240)) by @pepeiborra +- Fix build with fbghc +([#2234](https://github.com/haskell/haskell-language-server/pull/2234)) by @pepeiborra +- Tweaks to GHC support docs +([#2232](https://github.com/haskell/haskell-language-server/pull/2232)) by @michaelpj +- Add ghc deprecation policy to documentation +([#2231](https://github.com/haskell/haskell-language-server/pull/2231)) by @jneira +- Add ghcup compile option +([#2230](https://github.com/haskell/haskell-language-server/pull/2230)) by @jneira +- Parallel fuzzy filtering +([#2225](https://github.com/haskell/haskell-language-server/pull/2225)) by @pepeiborra +- Revert "Inline Text.Fuzzy to add INLINABLE pragmas" +([#2223](https://github.com/haskell/haskell-language-server/pull/2223)) by @pepeiborra +- feat(flake): expose hie-bios +([#2221](https://github.com/haskell/haskell-language-server/pull/2221)) by @teto +- flake: remove the 'follows' directive +([#2218](https://github.com/haskell/haskell-language-server/pull/2218)) by @teto +- Return completions lazily for massive savings +([#2217](https://github.com/haskell/haskell-language-server/pull/2217)) by @pepeiborra +- Inline Text.Fuzzy to add INLINABLE pragmas +([#2215](https://github.com/haskell/haskell-language-server/pull/2215)) by @pepeiborra +- Add chat on irc badge +([#2214](https://github.com/haskell/haskell-language-server/pull/2214)) by @jneira +- ghcide: Add flags to toggle building each executable +([#2212](https://github.com/haskell/haskell-language-server/pull/2212)) by @hololeap +- Add matrix haskell-tooling channel +([#2210](https://github.com/haskell/haskell-language-server/pull/2210)) by @jneira +- Relax upper bounds over ormolu and stylish-haskell +([#2207](https://github.com/haskell/haskell-language-server/pull/2207)) by @jneira +- Add missing config options in documentation +([#2203](https://github.com/haskell/haskell-language-server/pull/2203)) by @jneira +- Add gitlab CI +([#2200](https://github.com/haskell/haskell-language-server/pull/2200)) by @hasufell +- Apply workaround for 8.8.4 and windows to enable it in ci +([#2199](https://github.com/haskell/haskell-language-server/pull/2199)) by @jneira +- Drop ghc support for 8.6.4, 8.10.2, 8.10.3, 8.10.4 +([#2197](https://github.com/haskell/haskell-language-server/pull/2197)) by @jneira +- Consider all root paths when suggesting module name change. +([#2195](https://github.com/haskell/haskell-language-server/pull/2195)) by @cdsmith +- enable completions of local imports +([#2190](https://github.com/haskell/haskell-language-server/pull/2190)) by @alexnaspo +- Drop ghc-api-compat from dependency closure +([#2128](https://github.com/haskell/haskell-language-server/pull/2128)) by @fendor +- Reimplement shake (continued) +([#2060](https://github.com/haskell/haskell-language-server/pull/2060)) by @pepeiborra + ## 1.4.0 After a month of vacation a new hls release has arrived: @@ -27,6 +200,8 @@ After a month of vacation a new hls release has arrived: ### Pull requests merged for 1.4.0 +- Prepare 1.4.0 +([#2182](https://github.com/haskell/haskell-language-server/pull/2182)) by @jneira - Update flake to fix nix builds ([#2188](https://github.com/haskell/haskell-language-server/pull/2188)) by @jneira - Completions for project identifiers diff --git a/GenChangelogs.hs b/GenChangelogs.hs index 0e8cb78f82..aef3005316 100755 --- a/GenChangelogs.hs +++ b/GenChangelogs.hs @@ -1,6 +1,6 @@ #!/usr/bin/env cabal {- cabal: -build-depends: base, process, text, github, time +build-depends: base, process, text, github, time >= 1.9 -} {-# LANGUAGE OverloadedStrings #-} diff --git a/cabal-ghc901.project b/cabal-ghc901.project index 7924e742d1..54459009f3 100644 --- a/cabal-ghc901.project +++ b/cabal-ghc901.project @@ -6,11 +6,11 @@ packages: ./ghcide ./hls-plugin-api ./hls-test-utils - -- ./plugins/hls-tactics-plugin - -- ./plugins/hls-brittany-plugin - -- ./plugins/hls-stylish-haskell-plugin + ./plugins/hls-tactics-plugin + ./plugins/hls-brittany-plugin + ./plugins/hls-stylish-haskell-plugin ./plugins/hls-fourmolu-plugin - -- ./plugins/hls-class-plugin + ./plugins/hls-class-plugin ./plugins/hls-eval-plugin ./plugins/hls-explicit-imports-plugin ./plugins/hls-refine-imports-plugin @@ -35,10 +35,10 @@ package * source-repository-package type: git - location: https://github.com/anka-213/th-extras - tag: 57a97b4df128eb7b360e8ab9c5759392de8d1659 --- https://github.com/mokus0/th-extras/pull/8 --- https://github.com/mokus0/th-extras/issues/7 + location: https://github.com/mokus0/th-extras + tag: 0d050b24ec5ef37c825b6f28ebd46787191e2a2d +-- https://github.com/mokus0/th-extras/issues/10 + source-repository-package type: git @@ -53,11 +53,26 @@ index-state: 2021-11-11T19:25:51Z constraints: -- These plugins don't work on GHC9 yet - haskell-language-server +ignore-plugins-ghc-bounds -brittany -class -stylishhaskell -tactic + haskell-language-server +ignore-plugins-ghc-bounds -brittany -class -stylishhaskell -tactic, + ghc-lib-parser ^>= 9.0 +-- although we are not building all plugins cabal solver phase is run for all packages +-- this way we track explicitly all transitive dependencies which need support for ghc-9 allow-newer: + brittany:base, + brittany:ghc, + brittany:ghc-boot-th, + -- for brittany + butcher:base, + multistate:base, + data-tree-print:base, + + stylish-haskell:Cabal, + stylish-haskell:ghc-lib-parser, + floskell:base, floskell:ghc-prim, + -- for shake-bench Chart-diagrams:diagrams-core, SVGFonts:diagrams-core diff --git a/docs/supported-versions.md b/docs/supported-versions.md index 700b5f0de8..f3466f2a19 100644 --- a/docs/supported-versions.md +++ b/docs/supported-versions.md @@ -10,13 +10,13 @@ The current support for different GHC versions is given in the following table. | 9.0.1 | [current](https://github.com/haskell/haskell-language-server/releases/latest) ([partial](https://github.com/haskell/haskell-language-server/issues/297)) | | | 8.10.7 | [current](https://github.com/haskell/haskell-language-server/releases/latest) | | | 8.10.6 | [current](https://github.com/haskell/haskell-language-server/releases/latest) | will be deprecated after LTS and HLS full support for ghc-9.0 | -| 8.10.5 | [current](https://github.com/haskell/haskell-language-server/releases/latest) | deprecated, will be removed after 1.5.0 | +| 8.10.5 | [1.5.0](https://github.com/haskell/haskell-language-server/releases/tag/1.5.0) | deprecated | | 8.10.4 | [1.4.0](https://github.com/haskell/haskell-language-server/releases/tag/1.4.0) | deprecated | | 8.10.3 | [1.4.0](https://github.com/haskell/haskell-language-server/releases/tag/1.4.0) | deprecated | | 8.10.2 | [1.4.0](https://github.com/haskell/haskell-language-server/releases/tag/1.4.0) | deprecated | | 8.10.1 | [0.9.0](https://github.com/haskell/haskell-language-server/releases/tag/0.9.0) | deprecated | | 8.8.4 | [current](https://github.com/haskell/haskell-language-server/releases/latest) | will be deprecated after LTS and HLS full support for ghc-9.2 | -| 8.8.3 | [current](https://github.com/haskell/haskell-language-server/releases/latest) | deprecated, will be removed after 1.5.0 | +| 8.8.3 | [1.5.0](https://github.com/haskell/haskell-language-server/releases/1.5.0) | deprecated | | 8.8.2 | [1.2.0](https://github.com/haskell/haskell-language-server/releases/tag/1.2.0) | deprecated | | 8.6.5 | [current](https://github.com/haskell/haskell-language-server/releases/latest) | will be deprecated after LTS and HLS full suppot for ghc-9.2 | | 8.6.4 | [1.4.0](https://github.com/haskell/haskell-language-server/releases/tag/1.4.0) | deprecated | @@ -52,7 +52,7 @@ We will warn users about the upcoming deprecation of a GHC version in the notes ### Why deprecate older versions of GHC? -`haskell-language-server`(HLS) is highly tied to the ghc api.This imposes a high maintenance cost: +`haskell-language-server`(HLS) is highly tied to the ghc api. This imposes a high maintenance cost: - The codebase is littered with conditional logic, - We own auxiliary packages to support older versions of ghc. diff --git a/ghcide/ghcide.cabal b/ghcide/ghcide.cabal index 78ccbe2a99..82628ee50b 100644 --- a/ghcide/ghcide.cabal +++ b/ghcide/ghcide.cabal @@ -2,7 +2,7 @@ cabal-version: 2.4 build-type: Simple category: Development name: ghcide -version: 1.4.2.4 +version: 1.5.0 license: Apache-2.0 license-file: LICENSE author: Digital Asset and Ghcide contributors diff --git a/haskell-language-server.cabal b/haskell-language-server.cabal index 39936ae2f4..fe002a3fd8 100644 --- a/haskell-language-server.cabal +++ b/haskell-language-server.cabal @@ -1,7 +1,7 @@ cabal-version: 2.4 category: Development name: haskell-language-server -version: 1.4.0.0 +version: 1.5.0.0 synopsis: LSP server for GHC description: Please see the README on GitHub at @@ -58,7 +58,7 @@ library , cryptohash-sha1 , data-default , ghc - , ghcide ^>=1.4 + , ghcide ^>=1.4 || ^>=1.5 , gitrev , lsp , hie-bios @@ -230,7 +230,7 @@ common retrie common tactic if flag(tactic) && (impl(ghc < 9.0.1) || flag(ignore-plugins-ghc-bounds)) - build-depends: hls-tactics-plugin >=1.2.0.0 && <1.5 + build-depends: hls-tactics-plugin >=1.2.0.0 && <1.6 cpp-options: -Dtactic common hlint diff --git a/hls-plugin-api/hls-plugin-api.cabal b/hls-plugin-api/hls-plugin-api.cabal index 2101ffe199..153631a05c 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: 1.2.0.1 +version: 1.2.0.2 synopsis: Haskell Language Server API for plugin communication description: Please see the README on GitHub at diff --git a/hls-test-utils/hls-test-utils.cabal b/hls-test-utils/hls-test-utils.cabal index dc25afb526..32c3f2e805 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: 1.1.0.0 +version: 1.1.0.1 synopsis: Utilities used in the tests of Haskell Language Server description: Please see the README on GitHub at @@ -41,7 +41,7 @@ library , directory , extra , filepath - , ghcide ^>=1.4 + , ghcide ^>=1.4 || ^>=1.5 , hls-graph , hls-plugin-api ^>=1.2 , hspec <2.8 diff --git a/plugins/hls-brittany-plugin/hls-brittany-plugin.cabal b/plugins/hls-brittany-plugin/hls-brittany-plugin.cabal index fb7e57cfbe..ba64f55660 100644 --- a/plugins/hls-brittany-plugin/hls-brittany-plugin.cabal +++ b/plugins/hls-brittany-plugin/hls-brittany-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-brittany-plugin -version: 1.0.1.0 +version: 1.0.1.1 synopsis: Integration with the Brittany code formatter description: Please see the README on GitHub at @@ -25,7 +25,7 @@ library , filepath , ghc , ghc-boot-th - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lens , 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 d54d0d5677..5be56db221 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: 1.0.1.0 +version: 1.0.1.1 synopsis: Call hierarchy plugin for Haskell Language Server description: Please see the README on GitHub at @@ -30,7 +30,7 @@ library , containers , extra , ghc - , ghcide ^>=1.4.1 + , ghcide ^>=1.4.1 || ^>= 1.5.0 , hiedb , hls-plugin-api ^>=1.2 , lens diff --git a/plugins/hls-class-plugin/hls-class-plugin.cabal b/plugins/hls-class-plugin/hls-class-plugin.cabal index 766965e1a9..d7342d72c0 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: 1.0.1.0 +version: 1.0.1.1 synopsis: Class/instance management plugin for Haskell Language Server @@ -29,7 +29,7 @@ library , containers , ghc , ghc-exactprint - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lens , lsp diff --git a/plugins/hls-eval-plugin/hls-eval-plugin.cabal b/plugins/hls-eval-plugin/hls-eval-plugin.cabal index e3114e1656..47952af8b3 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: 1.2.0.0 +version: 1.2.0.1 synopsis: Eval plugin for Haskell Language Server description: Please see the README on GitHub at @@ -65,7 +65,7 @@ library , ghc , ghc-boot-th , ghc-paths - , ghcide >=1.4.2.4 && <1.5 + , ghcide >=1.5.0 && <1.6 , hashable , hls-graph , hls-plugin-api ^>=1.2 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 b74f2a556c..4d36654991 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: 1.0.1.0 +version: 1.0.1.1 synopsis: Explicit imports plugin for Haskell Language Server description: Please see the README on GitHub at @@ -21,7 +21,7 @@ library , containers , deepseq , ghc - , ghcide ^>=1.4 + , ghcide ^>=1.4 || ^>=1.5 , hls-graph , hls-plugin-api >=1.1 && <1.3 , lsp diff --git a/plugins/hls-floskell-plugin/hls-floskell-plugin.cabal b/plugins/hls-floskell-plugin/hls-floskell-plugin.cabal index 89ef213b6f..3542b47896 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: 1.0.0.1 +version: 1.0.0.2 synopsis: Integration with the Floskell code formatter description: Please see the README on GitHub at @@ -22,7 +22,7 @@ library build-depends: , base >=4.12 && <5 , floskell ^>=0.10 - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lsp-types , text diff --git a/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal b/plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal index 3645687550..240935ec66 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: 1.0.1.0 +version: 1.0.1.1 synopsis: Integration with the Fourmolu code formatter description: Please see the README on GitHub at @@ -26,7 +26,7 @@ library , fourmolu ^>=0.3 || ^>=0.4 , ghc , ghc-boot-th - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lens , lsp diff --git a/plugins/hls-haddock-comments-plugin/hls-haddock-comments-plugin.cabal b/plugins/hls-haddock-comments-plugin/hls-haddock-comments-plugin.cabal index 2c7e20d74f..cc9f140a57 100644 --- a/plugins/hls-haddock-comments-plugin/hls-haddock-comments-plugin.cabal +++ b/plugins/hls-haddock-comments-plugin/hls-haddock-comments-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-haddock-comments-plugin -version: 1.0.0.3 +version: 1.0.0.4 synopsis: Haddock comments plugin for Haskell Language Server description: Please see the README on GitHub at @@ -29,7 +29,7 @@ library , containers , ghc , ghc-exactprint - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lsp-types , text diff --git a/plugins/hls-hlint-plugin/hls-hlint-plugin.cabal b/plugins/hls-hlint-plugin/hls-hlint-plugin.cabal index 316bdf0f36..afe9c07c81 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: 1.0.1.1 +version: 1.0.2.0 synopsis: Hlint integration plugin with Haskell Language Server description: Please see the README on GitHub at @@ -55,7 +55,7 @@ library , extra , filepath , ghc-exactprint >=0.6.3.4 - , ghcide ^>=1.4 + , ghcide ^>=1.4 || ^>=1.5 , hashable , hlint , hls-plugin-api >=1.1 && <1.3 @@ -78,8 +78,8 @@ library else build-depends: , ghc - , ghc-lib ==9.0.* - , ghc-lib-parser-ex ==9.0.* + , ghc-lib ^>=9.0 + , ghc-lib-parser-ex ^>=9.0 cpp-options: -DHLINT_ON_GHC_LIB 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 61b6a31a8f..3fa203c4c6 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: 1.0.0.1 +version: 1.0.0.2 synopsis: Module name plugin for Haskell Language Server description: Please see the README on GitHub at @@ -25,7 +25,7 @@ library , base >=4.12 && <5 , directory , filepath - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lsp , text diff --git a/plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal b/plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal index 740eafdfa0..bc416d5303 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: 1.0.1.0 +version: 1.0.1.1 synopsis: Integration with the Ormolu code formatter description: Please see the README on GitHub at @@ -24,7 +24,7 @@ library , filepath , ghc , ghc-boot-th - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lens , lsp diff --git a/plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal b/plugins/hls-pragmas-plugin/hls-pragmas-plugin.cabal index 2096fe4f9d..d1e70daaac 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: 1.0.1.0 +version: 1.0.1.1 synopsis: Pragmas plugin for Haskell Language Server description: Please see the README on GitHub at @@ -24,7 +24,7 @@ library , base >=4.12 && <5 , extra , fuzzy - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lens , lsp diff --git a/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal b/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal index 4a2b3a71b9..cee9508f3a 100644 --- a/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal +++ b/plugins/hls-refine-imports-plugin/hls-refine-imports-plugin.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-refine-imports-plugin -version: 1.0.0.1 +version: 1.0.0.2 synopsis: Refine imports plugin for Haskell Language Server description: Please see the README on GitHub at @@ -24,7 +24,7 @@ library , containers , deepseq , ghc - , ghcide ^>=1.4 + , ghcide ^>=1.4 || ^>=1.5 , hls-explicit-imports-plugin ^>=1.0.0.1 , hls-graph , hls-plugin-api >=1.1 && <1.3 diff --git a/plugins/hls-rename-plugin/hls-rename-plugin.cabal b/plugins/hls-rename-plugin/hls-rename-plugin.cabal index 1d1499d44f..e08d0b86da 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: 1.0.0.0 +version: 1.0.0.1 synopsis: Rename plugin for Haskell Language Server description: Please see the README on GitHub at @@ -25,7 +25,7 @@ library , extra , ghc , ghc-exactprint - , ghcide >=1.4 && <1.5 + , ghcide >=1.4 && <1.6 , hiedb , hls-plugin-api ^>=1.2 , hls-retrie-plugin >=1.0.1.1 diff --git a/plugins/hls-retrie-plugin/hls-retrie-plugin.cabal b/plugins/hls-retrie-plugin/hls-retrie-plugin.cabal index 411429f7e2..08662ede87 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: 1.0.1.2 +version: 1.0.1.3 synopsis: Retrie integration plugin for Haskell Language Server description: Please see the README on GitHub at @@ -23,7 +23,7 @@ library , directory , extra , ghc - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hashable , hls-plugin-api >=1.1 && <1.3 , lsp diff --git a/plugins/hls-splice-plugin/hls-splice-plugin.cabal b/plugins/hls-splice-plugin/hls-splice-plugin.cabal index 4f9d7600e5..d7c4e99cf4 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: 1.0.0.4 +version: 1.0.0.5 synopsis: HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes @@ -38,7 +38,7 @@ library , foldl , ghc , ghc-exactprint - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lens , lsp 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 c9c87210b6..d9eae4b04b 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: 1.0.0.2 +version: 1.0.0.3 synopsis: Integration with the Stylish Haskell code formatter description: Please see the README on GitHub at @@ -24,7 +24,7 @@ library , filepath , ghc , ghc-boot-th - , ghcide >=1.2 && <1.5 + , ghcide >=1.2 && <1.6 , hls-plugin-api >=1.1 && <1.3 , lsp-types , stylish-haskell ^>=0.12 || ^>=0.13 diff --git a/plugins/hls-tactics-plugin/hls-tactics-plugin.cabal b/plugins/hls-tactics-plugin/hls-tactics-plugin.cabal index d1c82d8a36..14f748a93d 100644 --- a/plugins/hls-tactics-plugin/hls-tactics-plugin.cabal +++ b/plugins/hls-tactics-plugin/hls-tactics-plugin.cabal @@ -1,7 +1,7 @@ cabal-version: 2.4 category: Development name: hls-tactics-plugin -version: 1.4.0.0 +version: 1.5.0.0 synopsis: Wingman plugin for Haskell Language Server description: Please see the README on GitHub at @@ -82,7 +82,7 @@ library , ghc-boot-th , ghc-exactprint , ghc-source-gen ^>=0.4.1 - , ghcide ^>=1.4.1 + , ghcide ^>=1.4.1 || ^>=1.5 , hls-graph , hls-plugin-api >=1.1 && <1.3 , hyphenation diff --git a/stack-9.0.1.yaml b/stack-9.0.1.yaml index 616fd8b6ed..7044e94b39 100644 --- a/stack-9.0.1.yaml +++ b/stack-9.0.1.yaml @@ -92,11 +92,12 @@ flags: haskell-language-server: pedantic: true + ignore-plugins-ghc-bounds: true class: false tactic: false # Dependencies fail - stylishHaskell: false brittany: false + retrie: BuildExecutable: false # Stack doesn't support automatic flags.