-
Notifications
You must be signed in to change notification settings - Fork 6
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
346d036
ci(GHC): Drop GHC version 8 and add 9.6, 9.8, 9.10, 9.12 as supported
davidnbr 76959ae
fix: hpack build
davidnbr 3b50a20
fix(text): bump dependency constraint to fix compiling error
davidnbr 17f4feb
bump: include only 9.6, 9.8 and 9.10 GHC versions
davidnbr ecb7ec1
fix: add undeclared bytestring dependency
davidnbr 24e6ad5
bump: delete upper-bound constraint for wai-extra dependency
davidnbr ee38646
fix: add upper-bound constraint for mayor version in wai-extra
davidnbr f3a02ae
bump: version of base from 4.13 to 4.18
davidnbr 71e34e1
bump: rollbar packages version to 1.2.0
davidnbr f522248
fix: bump version on test for itemNotifier attributes
davidnbr 06f8c38
feat(version): create dynamic version retrieval for rollbar-client
davidnbr 3537356
fix: convert string to text on version retrieval
davidnbr 9de41be
fix: bump minor version as PVP versioning (minor release from 1.1.0 to
davidnbr d2b5fae
chore: generate .cabal files with 1.1.1 and GHC 12
davidnbr 763314d
fix: change test spec from notifier to 1.1.1 version
davidnbr 3635d60
chore: add Paths_rollbar_client as autogen-module
davidnbr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: rollbar-cli | ||
version: 1.1.0 | ||
version: 1.2.0 | ||
github: "stackbuilders/rollbar-haskell" | ||
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 | ||
|
@@ -22,7 +22,7 @@ ghc-options: | |
- -Wall | ||
|
||
dependencies: | ||
- base >= 4.13 && < 5 | ||
- base >= 4.18 && < 5 | ||
|
||
_exe-ghc-options: &exe-ghc-options | ||
- -threaded | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: rollbar-client | ||
version: 1.1.0 | ||
version: 1.2.0 | ||
github: "stackbuilders/rollbar-haskell" | ||
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 | ||
|
@@ -22,7 +22,7 @@ ghc-options: | |
- -Wall | ||
|
||
dependencies: | ||
- base >= 4.13 && < 5 | ||
- base >= 4.18 && < 5 | ||
|
||
flags: | ||
example: | ||
|
@@ -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: | ||
|
@@ -73,6 +73,7 @@ tests: | |
ghc-options: *exe-ghc-options | ||
dependencies: | ||
- aeson | ||
- bytestring >= 0.10 && < 1 | ||
- hspec >= 2.7 && < 3 | ||
- mtl | ||
- rollbar-client | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,14 @@ import qualified Control.Exception as E | |
import qualified Data.Aeson.KeyMap as KM | ||
import qualified Data.Aeson.Key as K | ||
import qualified Data.Text as T | ||
import qualified Paths_rollbar_client as Paths | ||
|
||
import Control.Monad.IO.Class (MonadIO(..)) | ||
import Data.Aeson | ||
import Data.Maybe (catMaybes) | ||
import Data.Monoid (Endo(..)) | ||
import Data.Text (Text) | ||
import Data.Version (showVersion) | ||
import Network.HTTP.Req | ||
import Rollbar.Client.Internal | ||
import Rollbar.Client.Settings | ||
|
@@ -375,7 +377,7 @@ instance ToJSON Notifier where | |
defaultNotifier :: Notifier | ||
defaultNotifier = Notifier | ||
{ notifierName = "rollbar-client" | ||
, notifierVersion = "1.1.0" | ||
, notifierVersion = T.pack (showVersion Paths.version) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @davidnbr great improvement 💯 |
||
} | ||
|
||
newtype ItemId = ItemId Text | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: rollbar-wai | ||
version: 1.1.0 | ||
version: 1.2.0 | ||
github: "stackbuilders/rollbar-haskell" | ||
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 | ||
|
@@ -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> | ||
|
@@ -24,7 +23,7 @@ ghc-options: | |
- -Wall | ||
|
||
dependencies: | ||
- base >= 4.13 && < 5 | ||
- base >= 4.18 && < 5 | ||
|
||
flags: | ||
example: | ||
|
@@ -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: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: rollbar-yesod | ||
version: 1.1.0 | ||
version: 1.2.0 | ||
github: "stackbuilders/rollbar-haskell" | ||
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 | ||
|
@@ -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> | ||
|
@@ -25,7 +24,7 @@ ghc-options: | |
- -Wall | ||
|
||
dependencies: | ||
- base >= 4.13 && < 5 | ||
- base >= 4.18 && < 5 | ||
|
||
flags: | ||
example: | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.