Skip to content

ci(GHC): Drop GHC version 8 and add 9.6, 9.8, 9.10 as supported #89

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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 rollbar-cli/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: MIT
author: "Stack Builders Inc."
maintainer: "David Mazarro <[email protected]>"
copyright: "2020-present Stack Builders Inc."
tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1

extra-source-files:
- README.md
Expand Down
7 changes: 3 additions & 4 deletions rollbar-cli/rollbar-cli.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 99c3aa74e5ef6c059b7ebeb837bca8f09c047df2a00b6856c99a919e4ad041ed
-- hash: 8f6bd66ca2b431b7af154b0cbaabb8381a717534c43db1561c9d4ebc4486880d

name: rollbar-cli
version: 1.1.0
Expand All @@ -20,7 +20,7 @@ copyright: 2020-present Stack Builders Inc.
license: MIT
license-file: LICENSE
tested-with:
GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1
build-type: Simple
extra-source-files:
README.md
Expand Down Expand Up @@ -68,5 +68,4 @@ test-suite spec
build-depends:
base >=4.13 && <5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidMazarro As we are dropping support for GHC 8.x, I believe we should consider bumping the lower bound for base and do a major release. What do you think?

image

We could bump to 4.15

https://wiki.haskell.org/Base_package

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding which versions to support, I'm wondering if we could use the following table as a reference:

image

@DavidMazarro Maybe we could stick with the recommended version. What do you think?

https://endoflife.date/ghc

, rollbar-cli
, bytestring >=0.10 && <1
default-language: Haskell2010
5 changes: 3 additions & 2 deletions rollbar-client/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: MIT
author: "Stack Builders Inc."
maintainer: "David Mazarro <[email protected]>"
copyright: "2020-present Stack Builders Inc."
tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1

extra-source-files:
- README.md
Expand Down Expand Up @@ -45,7 +45,7 @@ library:
- mtl >= 2.2 && < 3
- process >= 1.6 && < 2
- req >= 2.1 && < 4
- text >= 1.2 && < 2.1
- text >= 1.2 && < 2.2
- unordered-containers >= 0.2 && < 1
- yaml >= 0.11 && < 1
exposed-modules:
Expand Down Expand Up @@ -73,6 +73,7 @@ tests:
ghc-options: *exe-ghc-options
dependencies:
- aeson
- bytestring >= 0.10 && < 1
- hspec >= 2.7 && < 3
- mtl
- rollbar-client
Expand Down
10 changes: 5 additions & 5 deletions rollbar-client/rollbar-client.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 372dae78f9159532940f589cb4a58365621fc289aae679dfac95e4b6ba477ed7
-- hash: 787806f62c45b9f62f8493c73a0fefe94c7f3f3e096d3f599c6b5e601b184ca1

name: rollbar-client
version: 1.1.0
Expand All @@ -20,7 +20,7 @@ copyright: 2020-present Stack Builders Inc.
license: MIT
license-file: LICENSE
tested-with:
GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1
build-type: Simple
extra-source-files:
README.md
Expand Down Expand Up @@ -57,7 +57,7 @@ library
, mtl >=2.2 && <3
, process >=1.6 && <2
, req >=2.1 && <4
, text >=1.2 && <2.1
, text >=1.2 && <2.2
, unordered-containers >=0.2 && <1
, yaml >=0.11 && <1
default-language: Haskell2010
Expand Down Expand Up @@ -93,11 +93,11 @@ test-suite spec
build-depends:
aeson
, base >=4.13 && <5
, bytestring >=0.10 && <1
, hspec >=2.7 && <3
, mtl
, rollbar-client
, text
, unordered-containers
, yaml
, bytestring >=0.10 && <1
default-language: Haskell2010
7 changes: 3 additions & 4 deletions rollbar-wai/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: MIT
author: "Stack Builders Inc."
maintainer: "David Mazarro <[email protected]>"
copyright: "2020-present Stack Builders Inc."
tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1

extra-source-files:
- README.md
Expand All @@ -15,7 +15,6 @@ synopsis: >
Provides error reporting capabilities to WAI based applications through
Rollbar API.
category: Network

description: |
Please see the README on GitHub at
<https://github.com/stackbuilders/rollbar-haskell/tree/master/rollbar-wai>
Expand Down Expand Up @@ -45,10 +44,10 @@ library:
- case-insensitive >= 1.2 && < 2
- http-types >= 0.12 && < 1
- rollbar-client >= 1.0 && < 2
- text >= 1.2 && < 2.1
- text >= 1.2 && < 2.2
- unordered-containers >= 0.2 && < 1
- wai >= 3.2 && < 4
- wai-extra < 3.1.17 # TODO: update breaks yesod-core, see https://github.com/yesodweb/yesod/issues/1854
- wai-extra >=3.0 && < 4

executables:
wai-example:
Expand Down
12 changes: 5 additions & 7 deletions rollbar-wai/rollbar-wai.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: ec084557ab6ac4fa78cda03d7566582d95296b617cdf5f55ec5d6a8ab9bad8c8
-- hash: cf2227064192dc4c6cb8aa19776ed2e3112241ef9c24c3ede8f990bea30bbc7d

name: rollbar-wai
version: 1.1.0
Expand All @@ -21,7 +21,7 @@ copyright: 2020-present Stack Builders Inc.
license: MIT
license-file: LICENSE
tested-with:
GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1
build-type: Simple
extra-source-files:
README.md
Expand Down Expand Up @@ -51,11 +51,10 @@ library
, case-insensitive >=1.2 && <2
, http-types >=0.12 && <1
, rollbar-client >=1.0 && <2
, text >=1.2 && <2.1
, text >=1.2 && <2.2
, unordered-containers >=0.2 && <1
, wai >=3.2 && <4
, wai-extra >=3.0 && < 3.1.17
-- TODO: update breaks yesod-core, see https://github.com/yesodweb/yesod/issues/1854
, wai-extra >=3.0
default-language: Haskell2010

executable wai-example
Expand Down Expand Up @@ -102,5 +101,4 @@ test-suite spec
, unordered-containers
, wai
, warp >=3.3 && <4
, bytestring >=0.10 && <1
default-language: Haskell2010
3 changes: 1 addition & 2 deletions rollbar-yesod/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: MIT
author: "Stack Builders Inc."
maintainer: "David Mazarro <[email protected]>"
copyright: "2020-present Stack Builders Inc."
tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1

extra-source-files:
- README.md
Expand All @@ -16,7 +16,6 @@ synopsis: >
Provides error reporting capabilities to Yesod applications through Rollbar
API.
category: Network

description: |
Please see the README on GitHub at
<https://github.com/stackbuilders/rollbar-haskell/tree/master/rollbar-yesod>
Expand Down
7 changes: 3 additions & 4 deletions rollbar-yesod/rollbar-yesod.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 73910af7b84cf6d3325d9af612c5d29651317e6e29596c3660c64a32be67da87
-- hash: 2b59759f80250c1aa7d3765ef87fdd788e005eae91db24bd89f4c820ed3988c2

name: rollbar-yesod
version: 1.1.0
Expand All @@ -21,7 +21,7 @@ copyright: 2020-present Stack Builders Inc.
license: MIT
license-file: LICENSE
tested-with:
GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1
build-type: Simple
extra-source-files:
README.md
Expand Down Expand Up @@ -91,5 +91,4 @@ test-suite spec
, wai
, yesod-core
, yesod-test >=1.6 && <2
, bytestring >=0.10 && <1
default-language: Haskell2010