Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.3.0.0 #3818

Merged
merged 7 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build_task:
ARTIFACT: "x86_64-freebsd"
DISTRO: "na"
RUNNER_OS: "FreeBSD"
ADD_CABAL_ARGS: "--enable-split-sections"
ADD_CABAL_ARGS: "--enable-split-sections --constraint='text -simdutf'"
GITHUB_WORKSPACE: ${CIRRUS_WORKING_DIR}
CABAL_CACHE_NONFATAL: "yes"
matrix:
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.2", "9.4.7", "9.2.8", "9.0.2"]
ghc: ["9.6.3", "9.6.2", "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"
Expand Down Expand Up @@ -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"
, ADD_CABAL_ARGS: "--enable-split-sections --constraint='text -simdutf'" # centos7 gcc is too old to build text +simdutf
}
]
# TODO: rm
Expand Down Expand Up @@ -154,6 +154,15 @@ jobs:
, ARTIFACT: "x86_64-linux-unknown"
, ADD_CABAL_ARGS: "--enable-split-sections"
}
- ghc: 9.6.3
platform:
{ image: "rockylinux:8"
, installCmd: "yum -y install epel-release && yum install -y --allowerasing"
, 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: "Unknown"
, ARTIFACT: "x86_64-linux-unknown"
, ADD_CABAL_ARGS: "--enable-split-sections"
}
container:
image: ${{ matrix.platform.image }}
steps:
Expand Down Expand Up @@ -213,7 +222,7 @@ jobs:
strategy:
fail-fast: true
matrix:
ghc: ["9.6.2", "9.4.7", "9.2.8", "9.0.2"]
ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8", "9.0.2"]
steps:
- uses: docker://arm64v8/ubuntu:focal
name: Cleanup (aarch64 linux)
Expand Down Expand Up @@ -273,7 +282,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.2", "9.4.7", "9.2.8", "9.0.2"]
ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8", "9.0.2"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -318,7 +327,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.2", "9.4.7", "9.2.8"]
ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -363,7 +372,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.2", "9.4.7", "9.2.8", "9.0.2"]
ghc: ["9.6.3", "9.6.2", "9.4.7", "9.2.8", "9.0.2"]
steps:
- name: install windows deps
shell: pwsh
Expand Down
57 changes: 57 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
# Changelog for haskell-language-server

## 2.3.0.0.0

* Binaries for GHC 9.6.3
* Drop support for GHC 8.10
* Remove `hls-haddock-comments-plugin`, `hls-stan-plugin`, and `hls-tactics-plugin`
* Don't suggest bogus modules names in `hls-module-name-plugin` (#3784)
* Add support for external Ormolu (#3771)
* Improve refine imports behaviour for qualified imports (#3806)

### Pull Requests

- Switch chat room to matrix
([#3817](https://github.com/haskell/haskell-language-server/pull/3817)) by @July541
- Fix flaky hie bios test
([#3814](https://github.com/haskell/haskell-language-server/pull/3814)) by @fendor
- Revert "Bump actions/checkout from 3 to 4"
([#3813](https://github.com/haskell/haskell-language-server/pull/3813)) by @wz1000
- Add test directories to hls-retrie-plugin
([#3808](https://github.com/haskell/haskell-language-server/pull/3808)) by @Vekhir
- Change refine imports behaviour for qualified imports
([#3806](https://github.com/haskell/haskell-language-server/pull/3806)) by @joyfulmantis
- Update links to Nix documentation
([#3805](https://github.com/haskell/haskell-language-server/pull/3805)) by @maralorn
- Bump actions/checkout from 3 to 4
([#3802](https://github.com/haskell/haskell-language-server/pull/3802)) by @dependabot[bot]
- Bump cachix/install-nix-action from 22 to 23
([#3801](https://github.com/haskell/haskell-language-server/pull/3801)) by @dependabot[bot]
- Add support for Fourmolu 0.14.0.0
([#3796](https://github.com/haskell/haskell-language-server/pull/3796)) by @brandonchinn178
- Add code lens and fix code actions experiments
([#3791](https://github.com/haskell/haskell-language-server/pull/3791)) by @joyfulmantis
- Bump lsp versions in flake
([#3790](https://github.com/haskell/haskell-language-server/pull/3790)) by @colonelpanic8
- Clean up Release CI
([#3787](https://github.com/haskell/haskell-language-server/pull/3787)) by @fendor
- Do not suggest bogus module names
([#3784](https://github.com/haskell/haskell-language-server/pull/3784)) by @Bodigrim
- Delete `hls-haddock-comments-plugin`, `hls-stan-plugin`, and `hls-tactics-plugin`
([#3782](https://github.com/haskell/haskell-language-server/pull/3782)) by @michaelpj
- Enhance/releasing checklist
([#3781](https://github.com/haskell/haskell-language-server/pull/3781)) by @fendor
- Add cradle dependencies to session loading errors
([#3779](https://github.com/haskell/haskell-language-server/pull/3779)) by @VeryMilkyJoe
- Prepare release 2.2.0.0
([#3775](https://github.com/haskell/haskell-language-server/pull/3775)) by @fendor
- Add support for external Ormolu
([#3771](https://github.com/haskell/haskell-language-server/pull/3771)) by @sir4ur0n
- Support for resolve for class-plugin lenses
([#3769](https://github.com/haskell/haskell-language-server/pull/3769)) by @joyfulmantis
- Introduce declarative test project definition for plugin tests
([#3767](https://github.com/haskell/haskell-language-server/pull/3767)) by @fendor
- Use latest version of fourmolu possible
([#3764](https://github.com/haskell/haskell-language-server/pull/3764)) by @brandonchinn178
- Drop support for GHC 8.10
([#3434](https://github.com/haskell/haskell-language-server/pull/3434)) by @michaelpj


## 2.2.0.0

* Binaries for GHC 9.4.7
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ BINDIST_BASE_DIR := out/bindist/$(ARTIFACT)
BINDIST_OUT_DIR := $(BINDIST_BASE_DIR)/haskell-language-server-$(HLS_VERSION)

CABAL_BASE_ARGS ?= --store-dir=$(ROOT_DIR)/$(STORE_DIR)
CABAL_ARGS ?= --disable-tests --disable-profiling -O2
CABAL_ARGS ?= --disable-tests --disable-profiling -O2 $(ADD_CABAL_ARGS)
CABAL_INSTALL_ARGS ?= --overwrite-policy=always --install-method=copy
CABAL_INSTALL := $(CABAL) $(CABAL_BASE_ARGS) v2-install
PROJECT_FILE := cabal.project
Expand Down
7 changes: 4 additions & 3 deletions docs/support/ghc-version-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ Support status (see the support policy below for more details):

| GHC version | Last supporting HLS version | Support status |
|--------------|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
| 9.6.2 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | basic 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 |
| 9.4.7 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.4.6 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.4.5 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.4.6 | [2.2.0.0](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.4.5 | [2.2.0.0](https://github.com/haskell/haskell-language-server/releases/latest) | full support |
| 9.4.4 | [1.10.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.10.0.0) | deprecated |
| 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 |
Expand Down
2 changes: 1 addition & 1 deletion ghcide-bench/ghcide-bench.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 3.0
build-type: Simple
category: Development
name: ghcide-bench
version: 2.2.0.0
version: 2.3.0.0
license: Apache-2.0
license-file: LICENSE
author: The Haskell IDE team
Expand Down
6 changes: 3 additions & 3 deletions ghcide/ghcide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 3.0
build-type: Simple
category: Development
name: ghcide
version: 2.2.0.0
version: 2.3.0.0
license: Apache-2.0
license-file: LICENSE
author: Digital Asset and Ghcide contributors
Expand Down Expand Up @@ -69,7 +69,7 @@ library
haddock-library >= 1.8 && < 1.12,
hashable,
hie-compat ^>= 0.3.0.0,
hls-plugin-api == 2.2.0.0,
hls-plugin-api == 2.3.0.0,
lens,
list-t,
hiedb == 0.4.3.*,
Expand All @@ -85,7 +85,7 @@ library
row-types,
text-rope,
safe-exceptions,
hls-graph == 2.2.0.0,
hls-graph == 2.3.0.0,
sorted-list,
sqlite-simple,
stm,
Expand Down
58 changes: 29 additions & 29 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 3.0
category: Development
name: haskell-language-server
version: 2.2.0.0
version: 2.3.0.0
synopsis: LSP server for GHC
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Expand Down Expand Up @@ -198,129 +198,129 @@ flag cabalfmt

common cabalfmt
if flag(cabalfmt)
build-depends: hls-cabal-fmt-plugin == 2.2.0.0
build-depends: hls-cabal-fmt-plugin == 2.3.0.0
cpp-options: -Dhls_cabalfmt

common cabal
if flag(cabal)
build-depends: hls-cabal-plugin == 2.2.0.0
build-depends: hls-cabal-plugin == 2.3.0.0
cpp-options: -Dhls_cabal

common class
if flag(class)
build-depends: hls-class-plugin == 2.2.0.0
build-depends: hls-class-plugin == 2.3.0.0
cpp-options: -Dhls_class

common callHierarchy
if flag(callHierarchy)
build-depends: hls-call-hierarchy-plugin == 2.2.0.0
build-depends: hls-call-hierarchy-plugin == 2.3.0.0
cpp-options: -Dhls_callHierarchy

common eval
if flag(eval)
build-depends: hls-eval-plugin == 2.2.0.0
build-depends: hls-eval-plugin == 2.3.0.0
cpp-options: -Dhls_eval

common importLens
if flag(importLens)
build-depends: hls-explicit-imports-plugin == 2.2.0.0
build-depends: hls-explicit-imports-plugin == 2.3.0.0
cpp-options: -Dhls_importLens

common rename
if flag(rename)
build-depends: hls-rename-plugin == 2.2.0.0
build-depends: hls-rename-plugin == 2.3.0.0
cpp-options: -Dhls_rename

common retrie
if flag(retrie)
build-depends: hls-retrie-plugin == 2.2.0.0
build-depends: hls-retrie-plugin == 2.3.0.0
cpp-options: -Dhls_retrie

common hlint
if flag(hlint)
build-depends: hls-hlint-plugin == 2.2.0.0
build-depends: hls-hlint-plugin == 2.3.0.0
cpp-options: -Dhls_hlint

common moduleName
if flag(moduleName)
build-depends: hls-module-name-plugin == 2.2.0.0
build-depends: hls-module-name-plugin == 2.3.0.0
cpp-options: -Dhls_moduleName

common pragmas
if flag(pragmas)
build-depends: hls-pragmas-plugin == 2.2.0.0
build-depends: hls-pragmas-plugin == 2.3.0.0
cpp-options: -Dhls_pragmas

common splice
if flag(splice)
build-depends: hls-splice-plugin == 2.2.0.0
build-depends: hls-splice-plugin == 2.3.0.0
cpp-options: -Dhls_splice

common alternateNumberFormat
if flag(alternateNumberFormat)
build-depends: hls-alternate-number-format-plugin == 2.2.0.0
build-depends: hls-alternate-number-format-plugin == 2.3.0.0
cpp-options: -Dhls_alternateNumberFormat

common qualifyImportedNames
if flag(qualifyImportedNames)
build-depends: hls-qualify-imported-names-plugin == 2.2.0.0
build-depends: hls-qualify-imported-names-plugin == 2.3.0.0
cpp-options: -Dhls_qualifyImportedNames

common codeRange
if flag(codeRange)
build-depends: hls-code-range-plugin == 2.2.0.0
build-depends: hls-code-range-plugin == 2.3.0.0
cpp-options: -Dhls_codeRange

common changeTypeSignature
if flag(changeTypeSignature)
build-depends: hls-change-type-signature-plugin == 2.2.0.0
build-depends: hls-change-type-signature-plugin == 2.3.0.0
cpp-options: -Dhls_changeTypeSignature

common gadt
if flag(gadt)
build-depends: hls-gadt-plugin == 2.2.0.0
build-depends: hls-gadt-plugin == 2.3.0.0
cpp-options: -Dhls_gadt

common explicitFixity
if flag(explicitFixity)
build-depends: hls-explicit-fixity-plugin == 2.2.0.0
build-depends: hls-explicit-fixity-plugin == 2.3.0.0
cpp-options: -DexplicitFixity

common explicitFields
if flag(explicitFields)
build-depends: hls-explicit-record-fields-plugin == 2.2.0.0
build-depends: hls-explicit-record-fields-plugin == 2.3.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.2.0.0
build-depends: hls-overloaded-record-dot-plugin == 2.3.0.0
cpp-options: -Dhls_overloaded_record_dot

-- formatters

common floskell
if flag(floskell) && impl(ghc < 9.5)
build-depends: hls-floskell-plugin == 2.2.0.0
build-depends: hls-floskell-plugin == 2.3.0.0
cpp-options: -Dhls_floskell

common fourmolu
if flag(fourmolu)
build-depends: hls-fourmolu-plugin == 2.2.0.0
build-depends: hls-fourmolu-plugin == 2.3.0.0
cpp-options: -Dhls_fourmolu

common ormolu
if flag(ormolu) && impl(ghc < 9.7)
build-depends: hls-ormolu-plugin == 2.2.0.0
build-depends: hls-ormolu-plugin == 2.3.0.0
cpp-options: -Dhls_ormolu

common stylishHaskell
if flag(stylishHaskell)
build-depends: hls-stylish-haskell-plugin == 2.2.0.0
build-depends: hls-stylish-haskell-plugin == 2.3.0.0
cpp-options: -Dhls_stylishHaskell

common refactor
if flag(refactor)
build-depends: hls-refactor-plugin == 2.2.0.0
build-depends: hls-refactor-plugin == 2.3.0.0
cpp-options: -Dhls_refactor

library
Expand Down Expand Up @@ -372,12 +372,12 @@ library
, cryptohash-sha1
, data-default
, ghc
, ghcide == 2.2.0.0
, ghcide == 2.3.0.0
, githash >=0.1.6.1
, lsp >= 2.2.0.0
, hie-bios
, hiedb
, hls-plugin-api == 2.2.0.0
, hls-plugin-api == 2.3.0.0
, optparse-applicative
, optparse-simple
, process
Expand Down Expand Up @@ -516,7 +516,7 @@ test-suite func-test
, lens-aeson
, ghcide
, ghcide-test-utils
, hls-test-utils == 2.2.0.0
, hls-test-utils == 2.3.0.0
, lsp-types
, aeson
, hls-plugin-api
Expand Down
2 changes: 1 addition & 1 deletion hls-graph/hls-graph.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hls-graph
version: 2.2.0.0
version: 2.3.0.0
synopsis: Haskell Language Server internal graph API
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server/tree/master/hls-graph#readme>
Expand Down
Loading