Skip to content

Commit

Permalink
Remove support for GHC 8.6
Browse files Browse the repository at this point in the history
The minimal Cabal version is changed from 2.4 to 3.0, and the
lower bounds for dependencies are constrained accordingly.
  • Loading branch information
TravisCardwell committed Jul 30, 2024
1 parent 7b4dea4 commit ef300fe
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ jobs:
strategy:
fail-fast: false
matrix:
cabal: ['2.4.1.0', '3.0.0.0', '3.2.0.0', '3.4.1.0', '3.6.2.0', '3.8.1.0', '3.10.3.0', '3.12.1.0']
ghc: ['8.6.5']
cabal: ['3.0.0.0', '3.2.0.0', '3.4.1.0', '3.6.2.0', '3.8.1.0', '3.10.3.0', '3.12.1.0']
ghc: ['8.8.4']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ following conventions:

### Breaking

* Remove support for GHC 8.6, constraining lower bounds
* Remove support for GHC 8.4, constraining lower bounds
* Remove support for GHC 8.2, constraining lower bounds
* Change minimal Cabal from 1.24 to 2.4
* Change minimal Cabal from 1.24 to 3.0

### Non-Breaking

Expand Down
14 changes: 7 additions & 7 deletions cabal-bounds-lower.project
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
packages: ./redact.cabal

with-compiler: ghc-8.6.5
with-compiler: ghc-8.8.4

constraints:
-- https://hackage.haskell.org/package/ansi-terminal
ansi-terminal == 0.9.1
ansi-terminal == 0.10.3

-- https://hackage.haskell.org/package/ansi-wl-pprint
, ansi-wl-pprint == 0.6.9

-- https://hackage.haskell.org/package/base
-- GHC boot library
, base == 4.12.0.0
, base == 4.13.0.0

-- https://hackage.haskell.org/package/directory
-- GHC boot library
, directory == 1.3.3.0
, directory == 1.3.6.0

-- https://hackage.haskell.org/package/optparse-applicative
, optparse-applicative == 0.14.3.0
, optparse-applicative == 0.15.1.0

-- https://hackage.haskell.org/package/tasty
, tasty == 1.2.3

-- https://hackage.haskell.org/package/tasty-hunit
, tasty-hunit == 0.10.0.2
, tasty-hunit == 0.10.0.3

-- https://hackage.haskell.org/package/text
-- GHC boot library
, text == 1.2.3.1
, text == 1.2.4.0
17 changes: 8 additions & 9 deletions redact.cabal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cabal-version: 2.4
cabal-version: 3.0
name: redact
version: 0.5.0.0
synopsis: hide secret text on the terminal
Expand All @@ -21,8 +21,7 @@ extra-doc-files:
README.md

tested-with:
GHC ==8.6.5
|| ==8.8.4
GHC ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
Expand Down Expand Up @@ -54,9 +53,9 @@ library
autogen-modules:
Paths_redact
build-depends:
ansi-terminal >=0.9.1 && <1.2
, base >=4.12.0.0 && <4.20
, text >=1.2.3.1 && <2.2
ansi-terminal >=0.10.3 && <1.2
, base >=4.13.0.0 && <4.20
, text >=1.2.4.0 && <2.2
default-language: Haskell2010
default-extensions:
OverloadedStrings
Expand All @@ -70,7 +69,7 @@ executable redact
build-depends:
ansi-terminal
, base
, directory >=1.3.3.0 && <1.4
, directory >=1.3.6.0 && <1.4
, redact
if flag(optparse-applicative_ge_0_18)
build-depends:
Expand All @@ -79,7 +78,7 @@ executable redact
else
build-depends:
ansi-wl-pprint >=0.6.9 && <1.1
, optparse-applicative >=0.14.3.0 && <0.18
, optparse-applicative >=0.15.1.0 && <0.18
default-language: Haskell2010
ghc-options: -Wall

Expand All @@ -93,7 +92,7 @@ test-suite redact-test
base
, redact
, tasty >=1.2.3 && <1.6
, tasty-hunit >=0.10.0.2 && <0.11
, tasty-hunit >=0.10.0.3 && <0.11
if impl(ghc >= 8.8.1)
other-modules:
Redact.Markdown.Mock
Expand Down
18 changes: 0 additions & 18 deletions stack-8.6.5.yaml

This file was deleted.

0 comments on commit ef300fe

Please sign in to comment.