Skip to content

Prepare 2.0.0.1 release (for GHC 9.6.2 and 9.2.8) #3608

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

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 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 .github/scripts/bindist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ case "${TARBALL_EXT}" in
: "${GHCS:="$(cd "$CI_PROJECT_DIR/out/${ARTIFACT}" && rm -f ./*.json && for ghc in * ; do printf "%s\n" "$ghc" ; done | sort -r | tr '\n' ' ')"}"
emake --version
emake GHCUP=ghcup ARTIFACT="${ARTIFACT}" GHCS="${GHCS}" bindist
emake GHCUP=ghcup ARTIFACT="${ARTIFACT}" bindist-tar
emake GHCUP=ghcup GHCS="${GHCS}" clean-ghcs
emake GHCUP=ghcup ARTIFACT="${ARTIFACT}" bindist-tar
;;
*)
fail "Unknown TARBALL_EXT: ${TARBALL_EXT}"
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.1", "9.4.5", "9.2.7", "9.0.2", "8.10.7"]
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "9.0.2", "8.10.7"]
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 @@ -113,9 +113,11 @@ jobs:
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" }
- ghc: 9.2.7
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" }
- ghc: 9.2.8
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" }
- ghc: 9.4.5
platform: { image: "fedora:33", installCmd: "dnf install -y", 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 tree", DISTRO: "Unknown", ARTIFACT: "x86_64-linux-unknown", ADD_CABAL_ARGS: "--enable-split-sections" }
- ghc: 9.6.1
- ghc: 9.6.2
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 }}
Expand Down Expand Up @@ -171,7 +173,7 @@ jobs:
strategy:
fail-fast: true
matrix:
ghc: ["9.6.1","9.4.5", "9.2.7", "9.0.2", "8.10.7"]
ghc: ["9.6.2", "9.2.8", "9.2.7", "9.0.2", "8.10.7"]
steps:
- uses: docker://arm64v8/ubuntu:focal
name: Cleanup (aarch64 linux)
Expand Down Expand Up @@ -226,7 +228,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.1", "9.4.5", "9.2.7", "9.0.2", "8.10.7"]
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "9.0.2", "8.10.7"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -266,7 +268,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.1", "9.4.5", "9.2.7", "8.10.7"]
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "8.10.7"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -315,7 +317,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.6.1", "9.4.5", "9.2.7", "9.0.2", "8.10.7"]
ghc: ["9.6.2", "9.4.5", "9.2.8", "9.2.7", "9.0.2", "8.10.7"]
steps:
- name: install windows deps
shell: pwsh
Expand Down
15 changes: 10 additions & 5 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog for haskell-language-server

## 2.0.0.1

- Add overloaded record dot plugin intial version (closes #3350) (#3560)
- Binaries for GHC 9.2.8 and GHC 9.6.2

## 2.0.0.0

- New versioning scheme for all packages distributed as part of HLS,
Expand Down Expand Up @@ -95,7 +100,7 @@
([#3411](https://github.com/haskell/haskell-language-server/pull/3411)) by @pepeiborra
- Support fourmolu 0.10
([#3410](https://github.com/haskell/haskell-language-server/pull/3410)) by @brandonchinn178
- Fix nix build CI
- Fix nix build CI
([#3404](https://github.com/haskell/haskell-language-server/pull/3404)) by @wavewave
- Fix fourmolu with -f-fixity-th in nix env
([#3400](https://github.com/haskell/haskell-language-server/pull/3400)) by @wavewave
Expand Down Expand Up @@ -145,7 +150,7 @@
([#3339](https://github.com/haskell/haskell-language-server/pull/3339)) by @santiweight
- Add hls-cabal-fmt-plugin to hackage release CI script and HLS library
([#3335](https://github.com/haskell/haskell-language-server/pull/3335)) by @fendor
- Ensure at least 1 capability
- Ensure at least 1 capability
([#3334](https://github.com/haskell/haskell-language-server/pull/3334)) by @pepeiborra
- Add support for Fourmolu 0.9
([#3331](https://github.com/haskell/haskell-language-server/pull/3331)) by @brandonchinn178
Expand Down Expand Up @@ -324,7 +329,7 @@
- Initial support for GHC 9.4 with binaries for GHC 9.4.1 and GHC 9.4.2
- Startup time and performance improvements on projects using Template Haskell by serializing intermediate core (#2813)
- Memory usage improvements due to using a packed representation for filepaths (#3067, @kokobd)
- Improvements for hls-class-plugin (#2920, @July541)
- Improvements for hls-class-plugin (#2920, @July541)
- The new hls-gadt-plugin (#2899, @July541)
- Moving code actions from ghcide to the new hls-refactor-plugin (#3091, @wz1000)
- Many more improvements and bug fixes thanks to our contributors!
Expand Down Expand Up @@ -549,7 +554,7 @@
([#2873](https://github.com/haskell/haskell-language-server/pull/2873)) by @pepeiborra
- Expand input to pragma if available
([#2871](https://github.com/haskell/haskell-language-server/pull/2871)) by @July541
- Fix hanging redundant import on Unicode function
- Fix hanging redundant import on Unicode function
([#2870](https://github.com/haskell/haskell-language-server/pull/2870)) by @drsooch
- Compatibility with older aeson releases
([#2868](https://github.com/haskell/haskell-language-server/pull/2868)) by @pepeiborra
Expand Down Expand Up @@ -754,7 +759,7 @@
- Improve logging
([#2558](https://github.com/haskell/haskell-language-server/pull/2558)) by @eddiemundo
- Improve recompilation avoidance in the presence of TH
([#2316](https://github.com/haskell/haskell-language-server/pull/2316)) by @wz1000
([#2316](https://github.com/haskell/haskell-language-server/pull/2316)) by @wz1000

## 1.6.1.1 (*only hackage release*)

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.0.0.0
version: 2.0.0.1
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.0.0.0
version: 2.0.0.1
license: Apache-2.0
license-file: LICENSE
author: Digital Asset and Ghcide contributors
Expand Down Expand Up @@ -65,7 +65,7 @@ library
haddock-library >= 1.8 && < 1.12,
hashable,
hie-compat ^>= 0.3.0.0,
hls-plugin-api == 2.0.0.0,
hls-plugin-api == 2.0.0.1,
lens,
list-t,
hiedb == 0.4.3.*,
Expand All @@ -80,7 +80,7 @@ library
regex-tdfa >= 1.3.1.0,
text-rope,
safe-exceptions,
hls-graph == 2.0.0.0,
hls-graph == 2.0.0.1,
sorted-list,
sqlite-simple,
stm,
Expand Down
66 changes: 33 additions & 33 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.0.0.0
version: 2.0.0.1
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 @@ -218,149 +218,149 @@ flag cabalfmt

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

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

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

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

common haddockComments
if flag(haddockComments) && (impl(ghc < 9.2.1) || flag(ignore-plugins-ghc-bounds))
build-depends: hls-haddock-comments-plugin == 2.0.0.0
build-depends: hls-haddock-comments-plugin == 2.0.0.1
cpp-options: -Dhls_haddockComments

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

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

common refineImports
if flag(refineImports)
build-depends: hls-refine-imports-plugin == 2.0.0.0
build-depends: hls-refine-imports-plugin == 2.0.0.1
cpp-options: -Dhls_refineImports

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

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

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

common hlint
if flag(hlint) && impl(ghc < 9.5)
build-depends: hls-hlint-plugin == 2.0.0.0
build-depends: hls-hlint-plugin == 2.0.0.1
cpp-options: -Dhls_hlint

common stan
if flag(stan) && (impl(ghc >= 8.10) && impl(ghc < 9.0))
build-depends: hls-stan-plugin == 2.0.0.0
build-depends: hls-stan-plugin == 2.0.0.1
cpp-options: -Dhls_stan

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

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

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

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

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

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

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

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

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

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

-- formatters

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

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

common ormolu
if flag(ormolu) && impl(ghc < 9.5)
build-depends: hls-ormolu-plugin == 2.0.0.0
build-depends: hls-ormolu-plugin == 2.0.0.1
cpp-options: -Dhls_ormolu

common stylishHaskell
if flag(stylishHaskell) && impl(ghc < 9.5)
build-depends: hls-stylish-haskell-plugin == 2.0.0.0
build-depends: hls-stylish-haskell-plugin == 2.0.0.1
cpp-options: -Dhls_stylishHaskell

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

library
Expand Down Expand Up @@ -416,12 +416,12 @@ library
, cryptohash-sha1
, data-default
, ghc
, ghcide == 2.0.0.0
, ghcide == 2.0.0.1
, githash >=0.1.6.1
, lsp
, hie-bios
, hiedb
, hls-plugin-api == 2.0.0.0
, hls-plugin-api == 2.0.0.1
, optparse-applicative
, optparse-simple
, process
Expand Down Expand Up @@ -560,7 +560,7 @@ test-suite func-test
, lens-aeson
, ghcide
, ghcide-test-utils
, hls-test-utils == 2.0.0.0
, hls-test-utils == 2.0.0.1
, 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.0.0.0
version: 2.0.0.1
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
4 changes: 2 additions & 2 deletions hls-plugin-api/hls-plugin-api.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hls-plugin-api
version: 2.0.0.0
version: 2.0.0.1
synopsis: Haskell Language Server API for plugin communication
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
Expand Down Expand Up @@ -55,7 +55,7 @@ library
, filepath
, ghc
, hashable
, hls-graph == 2.0.0.0
, hls-graph == 2.0.0.1
, lens
, lens-aeson
, lsp ^>=1.6.0.0
Expand Down
Loading