From 346d03655ec3622125c895f4feeb2a439353099d Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 17 Apr 2025 14:18:08 -0500 Subject: [PATCH 01/16] ci(GHC): Drop GHC version 8 and add 9.6, 9.8, 9.10, 9.12 as supported --- rollbar-client/package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index 3069acd..d4945eb 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7 +tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 extra-source-files: - README.md From 76959ae088235d4fead36e1cae465d706282cedd Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 17 Apr 2025 15:35:53 -0500 Subject: [PATCH 02/16] fix: hpack build --- rollbar-cli/package.yaml | 2 +- rollbar-cli/rollbar-cli.cabal | 7 +++---- rollbar-client/rollbar-client.cabal | 7 +++---- rollbar-wai/package.yaml | 5 ++--- rollbar-wai/rollbar-wai.cabal | 10 ++++------ rollbar-yesod/package.yaml | 3 +-- rollbar-yesod/rollbar-yesod.cabal | 7 +++---- 7 files changed, 17 insertions(+), 24 deletions(-) diff --git a/rollbar-cli/package.yaml b/rollbar-cli/package.yaml index aef5626..9a9ef30 100644 --- a/rollbar-cli/package.yaml +++ b/rollbar-cli/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7 +tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 extra-source-files: - README.md diff --git a/rollbar-cli/rollbar-cli.cabal b/rollbar-cli/rollbar-cli.cabal index 26935a6..6f20bd3 100644 --- a/rollbar-cli/rollbar-cli.cabal +++ b/rollbar-cli/rollbar-cli.cabal @@ -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: a83fc1986401d60e95b403c89a44ae9b8e952aa3427da2ef9c890fc974903626 name: rollbar-cli version: 1.1.0 @@ -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.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 build-type: Simple extra-source-files: README.md @@ -68,5 +68,4 @@ test-suite spec build-depends: base >=4.13 && <5 , rollbar-cli - , bytestring >=0.10 && <1 default-language: Haskell2010 diff --git a/rollbar-client/rollbar-client.cabal b/rollbar-client/rollbar-client.cabal index 62373e9..54adefd 100644 --- a/rollbar-client/rollbar-client.cabal +++ b/rollbar-client/rollbar-client.cabal @@ -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: a23531aa21650ed7c03cfe098d4d1162b8edbaa539991ff1e34b828954bb6c8d name: rollbar-client version: 1.1.0 @@ -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.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 build-type: Simple extra-source-files: README.md @@ -99,5 +99,4 @@ test-suite spec , text , unordered-containers , yaml - , bytestring >=0.10 && <1 default-language: Haskell2010 diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index efaf38b..34f1211 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7 +tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 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 @@ -48,7 +47,7 @@ library: - text >= 1.2 && < 2.1 - 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.1.17 # TODO: update breaks yesod-core, see https://github.com/yesodweb/yesod/issues/1854 executables: wai-example: diff --git a/rollbar-wai/rollbar-wai.cabal b/rollbar-wai/rollbar-wai.cabal index ef68a64..6e647ec 100644 --- a/rollbar-wai/rollbar-wai.cabal +++ b/rollbar-wai/rollbar-wai.cabal @@ -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: b86fed99ff701f3fcad9f738afc390815821aa0fb67532db9332583377e86282 name: rollbar-wai version: 1.1.0 @@ -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.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 build-type: Simple extra-source-files: README.md @@ -54,8 +54,7 @@ library , text >=1.2 && <2.1 , 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.1.17 default-language: Haskell2010 executable wai-example @@ -102,5 +101,4 @@ test-suite spec , unordered-containers , wai , warp >=3.3 && <4 - , bytestring >=0.10 && <1 default-language: Haskell2010 diff --git a/rollbar-yesod/package.yaml b/rollbar-yesod/package.yaml index a965e6d..14f9876 100644 --- a/rollbar-yesod/package.yaml +++ b/rollbar-yesod/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7 +tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 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 diff --git a/rollbar-yesod/rollbar-yesod.cabal b/rollbar-yesod/rollbar-yesod.cabal index 692caf5..45c6f1b 100644 --- a/rollbar-yesod/rollbar-yesod.cabal +++ b/rollbar-yesod/rollbar-yesod.cabal @@ -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: c61923a1f84423ec023148f3e9d0bc0c60770d5c5328de3a12ee3864b1b00f3a name: rollbar-yesod version: 1.1.0 @@ -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.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 build-type: Simple extra-source-files: README.md @@ -91,5 +91,4 @@ test-suite spec , wai , yesod-core , yesod-test >=1.6 && <2 - , bytestring >=0.10 && <1 default-language: Haskell2010 From 3b50a2096da0198725dafb761d1e81744b2fc612 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 17 Apr 2025 15:58:55 -0500 Subject: [PATCH 03/16] fix(text): bump dependency constraint to fix compiling error --- rollbar-client/package.yaml | 2 +- rollbar-wai/package.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index d4945eb..ca67cf2 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -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: diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index 34f1211..04ceedd 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -44,7 +44,7 @@ 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 From 17f4feb4a7f0f40954c70f14ea410fa51626f5c1 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 24 Apr 2025 14:38:44 -0500 Subject: [PATCH 04/16] bump: include only 9.6, 9.8 and 9.10 GHC versions --- rollbar-cli/package.yaml | 2 +- rollbar-cli/rollbar-cli.cabal | 4 ++-- rollbar-client/package.yaml | 2 +- rollbar-client/rollbar-client.cabal | 6 +++--- rollbar-wai/package.yaml | 2 +- rollbar-wai/rollbar-wai.cabal | 6 +++--- rollbar-yesod/package.yaml | 2 +- rollbar-yesod/rollbar-yesod.cabal | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/rollbar-cli/package.yaml b/rollbar-cli/package.yaml index 9a9ef30..0f57019 100644 --- a/rollbar-cli/package.yaml +++ b/rollbar-cli/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 extra-source-files: - README.md diff --git a/rollbar-cli/rollbar-cli.cabal b/rollbar-cli/rollbar-cli.cabal index 6f20bd3..443fcd3 100644 --- a/rollbar-cli/rollbar-cli.cabal +++ b/rollbar-cli/rollbar-cli.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: a83fc1986401d60e95b403c89a44ae9b8e952aa3427da2ef9c890fc974903626 +-- hash: 8f6bd66ca2b431b7af154b0cbaabb8381a717534c43db1561c9d4ebc4486880d name: rollbar-cli version: 1.1.0 @@ -20,7 +20,7 @@ copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE tested-with: - GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple extra-source-files: README.md diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index ca67cf2..8e82ddd 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 extra-source-files: - README.md diff --git a/rollbar-client/rollbar-client.cabal b/rollbar-client/rollbar-client.cabal index 54adefd..b2f7709 100644 --- a/rollbar-client/rollbar-client.cabal +++ b/rollbar-client/rollbar-client.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: a23531aa21650ed7c03cfe098d4d1162b8edbaa539991ff1e34b828954bb6c8d +-- hash: 17dd5f3cfeecb37dab18d19a89e879082cb87d450484d6442d5d29c3c07f6ac6 name: rollbar-client version: 1.1.0 @@ -20,7 +20,7 @@ copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE tested-with: - GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple extra-source-files: README.md @@ -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 diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index 04ceedd..0e5ac00 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 extra-source-files: - README.md diff --git a/rollbar-wai/rollbar-wai.cabal b/rollbar-wai/rollbar-wai.cabal index 6e647ec..a1f949d 100644 --- a/rollbar-wai/rollbar-wai.cabal +++ b/rollbar-wai/rollbar-wai.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: b86fed99ff701f3fcad9f738afc390815821aa0fb67532db9332583377e86282 +-- hash: 4419308d935ac2c2c904f04bc2c6e6d009dada286117ef9bb4cc4305f6aea11f name: rollbar-wai version: 1.1.0 @@ -21,7 +21,7 @@ copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE tested-with: - GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple extra-source-files: README.md @@ -51,7 +51,7 @@ 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 diff --git a/rollbar-yesod/package.yaml b/rollbar-yesod/package.yaml index 14f9876..50262ce 100644 --- a/rollbar-yesod/package.yaml +++ b/rollbar-yesod/package.yaml @@ -5,7 +5,7 @@ license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 extra-source-files: - README.md diff --git a/rollbar-yesod/rollbar-yesod.cabal b/rollbar-yesod/rollbar-yesod.cabal index 45c6f1b..ed52baf 100644 --- a/rollbar-yesod/rollbar-yesod.cabal +++ b/rollbar-yesod/rollbar-yesod.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: c61923a1f84423ec023148f3e9d0bc0c60770d5c5328de3a12ee3864b1b00f3a +-- hash: 2b59759f80250c1aa7d3765ef87fdd788e005eae91db24bd89f4c820ed3988c2 name: rollbar-yesod version: 1.1.0 @@ -21,7 +21,7 @@ copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE tested-with: - GHC ==9.4.7, GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1, GHC ==9.12.2 + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple extra-source-files: README.md From ecb7ec1f62768a6765ae55596fbf0a1d32d736e6 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 24 Apr 2025 15:09:01 -0500 Subject: [PATCH 05/16] fix: add undeclared bytestring dependency --- rollbar-client/package.yaml | 1 + rollbar-client/rollbar-client.cabal | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index 8e82ddd..818f3fd 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -73,6 +73,7 @@ tests: ghc-options: *exe-ghc-options dependencies: - aeson + - bytestring >= 0.10 && < 1 - hspec >= 2.7 && < 3 - mtl - rollbar-client diff --git a/rollbar-client/rollbar-client.cabal b/rollbar-client/rollbar-client.cabal index b2f7709..872fb79 100644 --- a/rollbar-client/rollbar-client.cabal +++ b/rollbar-client/rollbar-client.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 17dd5f3cfeecb37dab18d19a89e879082cb87d450484d6442d5d29c3c07f6ac6 +-- hash: 787806f62c45b9f62f8493c73a0fefe94c7f3f3e096d3f599c6b5e601b184ca1 name: rollbar-client version: 1.1.0 @@ -93,6 +93,7 @@ test-suite spec build-depends: aeson , base >=4.13 && <5 + , bytestring >=0.10 && <1 , hspec >=2.7 && <3 , mtl , rollbar-client From 24e6ad5d37be4e2fe9a3d7edb849499ce9210486 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 24 Apr 2025 16:21:50 -0500 Subject: [PATCH 06/16] bump: delete upper-bound constraint for wai-extra dependency --- rollbar-wai/package.yaml | 2 +- rollbar-wai/rollbar-wai.cabal | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index 0e5ac00..f356511 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -47,7 +47,7 @@ library: - 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 # TODO: update breaks yesod-core, see https://github.com/yesodweb/yesod/issues/1854 executables: wai-example: diff --git a/rollbar-wai/rollbar-wai.cabal b/rollbar-wai/rollbar-wai.cabal index a1f949d..fde47a0 100644 --- a/rollbar-wai/rollbar-wai.cabal +++ b/rollbar-wai/rollbar-wai.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 4419308d935ac2c2c904f04bc2c6e6d009dada286117ef9bb4cc4305f6aea11f +-- hash: cf2227064192dc4c6cb8aa19776ed2e3112241ef9c24c3ede8f990bea30bbc7d name: rollbar-wai version: 1.1.0 @@ -54,7 +54,7 @@ library , text >=1.2 && <2.2 , unordered-containers >=0.2 && <1 , wai >=3.2 && <4 - , wai-extra <3.1.17 + , wai-extra >=3.0 default-language: Haskell2010 executable wai-example From ee38646d45e66c51a75253621ae2c8cdff292b61 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 24 Apr 2025 16:51:31 -0500 Subject: [PATCH 07/16] fix: add upper-bound constraint for mayor version in wai-extra dependency --- rollbar-wai/package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index f356511..6388393 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -47,7 +47,7 @@ library: - text >= 1.2 && < 2.2 - unordered-containers >= 0.2 && < 1 - wai >= 3.2 && < 4 - - wai-extra >=3.0 # TODO: update breaks yesod-core, see https://github.com/yesodweb/yesod/issues/1854 + - wai-extra >=3.0 && < 4 executables: wai-example: From f3a02aecadc6e5d2de56c05b11ae6351894b50cb Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 8 May 2025 18:08:53 -0500 Subject: [PATCH 08/16] bump: version of base from 4.13 to 4.18 --- rollbar-cli/package.yaml | 2 +- rollbar-cli/rollbar-cli.cabal | 8 ++++---- rollbar-client/package.yaml | 2 +- rollbar-client/rollbar-client.cabal | 8 ++++---- rollbar-wai/package.yaml | 2 +- rollbar-wai/rollbar-wai.cabal | 10 +++++----- rollbar-yesod/package.yaml | 2 +- rollbar-yesod/rollbar-yesod.cabal | 8 ++++---- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/rollbar-cli/package.yaml b/rollbar-cli/package.yaml index 0f57019..539e6b4 100644 --- a/rollbar-cli/package.yaml +++ b/rollbar-cli/package.yaml @@ -22,7 +22,7 @@ ghc-options: - -Wall dependencies: - - base >= 4.13 && < 5 + - base >= 4.18 && < 5 _exe-ghc-options: &exe-ghc-options - -threaded diff --git a/rollbar-cli/rollbar-cli.cabal b/rollbar-cli/rollbar-cli.cabal index 443fcd3..8f65b9b 100644 --- a/rollbar-cli/rollbar-cli.cabal +++ b/rollbar-cli/rollbar-cli.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 8f6bd66ca2b431b7af154b0cbaabb8381a717534c43db1561c9d4ebc4486880d +-- hash: 8ee6ee554171cde826ad2a633c4c22198ce024643369d946a14289bd549dc0c2 name: rollbar-cli version: 1.1.0 @@ -39,7 +39,7 @@ library src ghc-options: -Wall build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , optparse-applicative >=0.14 && <1 , rollbar-client >=1.0 && <2 default-language: Haskell2010 @@ -52,7 +52,7 @@ executable rollbar app ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , rollbar-cli , rollbar-client default-language: Haskell2010 @@ -66,6 +66,6 @@ test-suite spec test ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , rollbar-cli default-language: Haskell2010 diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index 818f3fd..9f9ee7e 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -22,7 +22,7 @@ ghc-options: - -Wall dependencies: - - base >= 4.13 && < 5 + - base >= 4.18 && < 5 flags: example: diff --git a/rollbar-client/rollbar-client.cabal b/rollbar-client/rollbar-client.cabal index 872fb79..7da7625 100644 --- a/rollbar-client/rollbar-client.cabal +++ b/rollbar-client/rollbar-client.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 787806f62c45b9f62f8493c73a0fefe94c7f3f3e096d3f599c6b5e601b184ca1 +-- hash: cfe8379f09ac3d6016064c0a450b03ae0f1918d0ccd4050dc686a82864c59d71 name: rollbar-client version: 1.1.0 @@ -50,7 +50,7 @@ library ghc-options: -Wall build-depends: aeson >=2.0 && <3 - , base >=4.13 && <5 + , base >=4.18 && <5 , bytestring >=0.10 && <1 , directory >=1.3 && <2 , exceptions >=0.10 && <1 @@ -70,7 +70,7 @@ executable client-example example ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , rollbar-client , text default-language: Haskell2010 @@ -92,7 +92,7 @@ test-suite spec hspec-discover:hspec-discover >=2.7 && <3 build-depends: aeson - , base >=4.13 && <5 + , base >=4.18 && <5 , bytestring >=0.10 && <1 , hspec >=2.7 && <3 , mtl diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index 6388393..e0844c9 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -23,7 +23,7 @@ ghc-options: - -Wall dependencies: - - base >= 4.13 && < 5 + - base >= 4.18 && < 5 flags: example: diff --git a/rollbar-wai/rollbar-wai.cabal b/rollbar-wai/rollbar-wai.cabal index fde47a0..4e9e980 100644 --- a/rollbar-wai/rollbar-wai.cabal +++ b/rollbar-wai/rollbar-wai.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: cf2227064192dc4c6cb8aa19776ed2e3112241ef9c24c3ede8f990bea30bbc7d +-- hash: c2711649ac4ce6d4ff340d52040ad26c62dda61d3bc0fe63400c1114a333336c name: rollbar-wai version: 1.1.0 @@ -46,7 +46,7 @@ library ghc-options: -Wall build-depends: aeson >=2.0 && <3 - , base >=4.13 && <5 + , base >=4.18 && <5 , bytestring >=0.10 && <1 , case-insensitive >=1.2 && <2 , http-types >=0.12 && <1 @@ -54,7 +54,7 @@ library , text >=1.2 && <2.2 , unordered-containers >=0.2 && <1 , wai >=3.2 && <4 - , wai-extra >=3.0 + , wai-extra >=3.0 && <4 default-language: Haskell2010 executable wai-example @@ -65,7 +65,7 @@ executable wai-example example ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , rollbar-client , rollbar-wai , wai @@ -89,7 +89,7 @@ test-suite spec hspec-discover:hspec-discover >=2.7 && <3 build-depends: aeson - , base >=4.13 && <5 + , base >=4.18 && <5 , hspec >=2.7 && <3 , http-types , mtl >=2.2 && <3 diff --git a/rollbar-yesod/package.yaml b/rollbar-yesod/package.yaml index 50262ce..44f1b97 100644 --- a/rollbar-yesod/package.yaml +++ b/rollbar-yesod/package.yaml @@ -24,7 +24,7 @@ ghc-options: - -Wall dependencies: - - base >= 4.13 && < 5 + - base >= 4.18 && < 5 flags: example: diff --git a/rollbar-yesod/rollbar-yesod.cabal b/rollbar-yesod/rollbar-yesod.cabal index ed52baf..fb0c1da 100644 --- a/rollbar-yesod/rollbar-yesod.cabal +++ b/rollbar-yesod/rollbar-yesod.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 2b59759f80250c1aa7d3765ef87fdd788e005eae91db24bd89f4c820ed3988c2 +-- hash: 4db0e774c58481a01ca154a66062cb3ac4dd8ba09bb9e11f54dfcdf039fc001e name: rollbar-yesod version: 1.1.0 @@ -45,7 +45,7 @@ library src ghc-options: -Wall build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , rollbar-client >=1.0 && <2 , rollbar-wai >=1.0 && <2 , unliftio >=0.2 && <1 @@ -61,7 +61,7 @@ executable yesod-example example ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , rollbar-client , rollbar-yesod , warp >=3.3 && <4 @@ -84,7 +84,7 @@ test-suite spec build-tool-depends: hspec-discover:hspec-discover >=2.7 && <3 build-depends: - base >=4.13 && <5 + base >=4.18 && <5 , hspec >=2.7 && <3 , rollbar-client , rollbar-yesod From 71e34e1d7516ad44882d91062ec1d6a69571efe1 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 8 May 2025 18:11:49 -0500 Subject: [PATCH 09/16] bump: rollbar packages version to 1.2.0 --- rollbar-cli/package.yaml | 2 +- rollbar-cli/rollbar-cli.cabal | 4 ++-- rollbar-client/package.yaml | 2 +- rollbar-client/rollbar-client.cabal | 4 ++-- rollbar-wai/package.yaml | 2 +- rollbar-wai/rollbar-wai.cabal | 4 ++-- rollbar-yesod/package.yaml | 2 +- rollbar-yesod/rollbar-yesod.cabal | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rollbar-cli/package.yaml b/rollbar-cli/package.yaml index 539e6b4..ff419bc 100644 --- a/rollbar-cli/package.yaml +++ b/rollbar-cli/package.yaml @@ -1,5 +1,5 @@ name: rollbar-cli -version: 1.1.0 +version: 1.2.0 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." diff --git a/rollbar-cli/rollbar-cli.cabal b/rollbar-cli/rollbar-cli.cabal index 8f65b9b..233d533 100644 --- a/rollbar-cli/rollbar-cli.cabal +++ b/rollbar-cli/rollbar-cli.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 8ee6ee554171cde826ad2a633c4c22198ce024643369d946a14289bd549dc0c2 +-- hash: 06008e94a54478aab8ebf7a602178874866a988ec726e4bf4d2d6da0de509848 name: rollbar-cli -version: 1.1.0 +version: 1.2.0 synopsis: Simple CLI tool to perform commons tasks such as tracking deploys. description: Please see the README on GitHub at diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index 9f9ee7e..34dfe2a 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -1,5 +1,5 @@ name: rollbar-client -version: 1.1.0 +version: 1.2.0 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." diff --git a/rollbar-client/rollbar-client.cabal b/rollbar-client/rollbar-client.cabal index 7da7625..158befe 100644 --- a/rollbar-client/rollbar-client.cabal +++ b/rollbar-client/rollbar-client.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: cfe8379f09ac3d6016064c0a450b03ae0f1918d0ccd4050dc686a82864c59d71 +-- hash: 51800f31b3c17842ec1abffab29c5966901d356f4a6be199e4851bb70d632431 name: rollbar-client -version: 1.1.0 +version: 1.2.0 synopsis: Core library to communicate with Rollbar API. description: Please see the README on GitHub at diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index e0844c9..9a2cb49 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -1,5 +1,5 @@ name: rollbar-wai -version: 1.1.0 +version: 1.2.0 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." diff --git a/rollbar-wai/rollbar-wai.cabal b/rollbar-wai/rollbar-wai.cabal index 4e9e980..dea1421 100644 --- a/rollbar-wai/rollbar-wai.cabal +++ b/rollbar-wai/rollbar-wai.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: c2711649ac4ce6d4ff340d52040ad26c62dda61d3bc0fe63400c1114a333336c +-- hash: 9c8edccb3292a596219436cab59ec7dc0b0ed6ca8932667de57a87824d4311a8 name: rollbar-wai -version: 1.1.0 +version: 1.2.0 synopsis: Provides error reporting capabilities to WAI based applications through Rollbar API. description: Please see the README on GitHub at diff --git a/rollbar-yesod/package.yaml b/rollbar-yesod/package.yaml index 44f1b97..6533930 100644 --- a/rollbar-yesod/package.yaml +++ b/rollbar-yesod/package.yaml @@ -1,5 +1,5 @@ name: rollbar-yesod -version: 1.1.0 +version: 1.2.0 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." diff --git a/rollbar-yesod/rollbar-yesod.cabal b/rollbar-yesod/rollbar-yesod.cabal index fb0c1da..29247a6 100644 --- a/rollbar-yesod/rollbar-yesod.cabal +++ b/rollbar-yesod/rollbar-yesod.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 4db0e774c58481a01ca154a66062cb3ac4dd8ba09bb9e11f54dfcdf039fc001e +-- hash: 785ff690a35d1c29037f54eee3dd094aa68b6084535b568f4ee6826c4174727d name: rollbar-yesod -version: 1.1.0 +version: 1.2.0 synopsis: Provides error reporting capabilities to Yesod applications through Rollbar API. description: Please see the README on GitHub at From f52224871e60bb80ad9a2e2184acbbc27c74c758 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 8 May 2025 19:05:45 -0500 Subject: [PATCH 10/16] fix: bump version on test for itemNotifier attributes --- rollbar-client/test/Rollbar/ClientSpec.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rollbar-client/test/Rollbar/ClientSpec.hs b/rollbar-client/test/Rollbar/ClientSpec.hs index 577b5b0..6e30c16 100644 --- a/rollbar-client/test/Rollbar/ClientSpec.hs +++ b/rollbar-client/test/Rollbar/ClientSpec.hs @@ -161,12 +161,12 @@ spec = do , title = Nothing , uuid = Just "12345" , fingerprint = Nothing - , itemNotifier = Notifier "rollbar-client" "1.1.0" + , itemNotifier = Notifier "rollbar-client" "1.2.0" } jsonItem = decodeUtf8 $ DBL.toStrict $ encode item it "omits fields if they are Nothing values" $ T.unpack jsonItem `shouldNotContain` "\"server\"" - it "includes fields if they are Just values" $ + it "includes fields if they are Just values" $ T.unpack jsonItem `shouldContain` "\"platform\":\"haskell\"" From 06f8c384613ef8c11c51a2e38fa76cd0744f7be8 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 8 May 2025 19:21:26 -0500 Subject: [PATCH 11/16] feat(version): create dynamic version retrieval for rollbar-client --- rollbar-client/src/Rollbar/Client/Item.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rollbar-client/src/Rollbar/Client/Item.hs b/rollbar-client/src/Rollbar/Client/Item.hs index 120bcc4..f2de1a8 100644 --- a/rollbar-client/src/Rollbar/Client/Item.hs +++ b/rollbar-client/src/Rollbar/Client/Item.hs @@ -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 = showVersion Paths.version } newtype ItemId = ItemId Text From 35373563e481b0d288e76ca726db6037b2bb89dd Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Thu, 8 May 2025 19:27:44 -0500 Subject: [PATCH 12/16] fix: convert string to text on version retrieval --- rollbar-client/src/Rollbar/Client/Item.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollbar-client/src/Rollbar/Client/Item.hs b/rollbar-client/src/Rollbar/Client/Item.hs index f2de1a8..dae6c84 100644 --- a/rollbar-client/src/Rollbar/Client/Item.hs +++ b/rollbar-client/src/Rollbar/Client/Item.hs @@ -377,7 +377,7 @@ instance ToJSON Notifier where defaultNotifier :: Notifier defaultNotifier = Notifier { notifierName = "rollbar-client" - , notifierVersion = showVersion Paths.version + , notifierVersion = T.pack (showVersion Paths.version) } newtype ItemId = ItemId Text From 9de41bef3d0ce839f9f18e75488ca24d8d3b8ec3 Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Fri, 9 May 2025 07:57:05 -0500 Subject: [PATCH 13/16] fix: bump minor version as PVP versioning (minor release from 1.1.0 to 1.1.1) bump: add GHC version 9.12.2 as supported --- rollbar-cli/package.yaml | 4 ++-- rollbar-client/package.yaml | 4 ++-- rollbar-wai/package.yaml | 4 ++-- rollbar-yesod/package.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rollbar-cli/package.yaml b/rollbar-cli/package.yaml index ff419bc..c39167d 100644 --- a/rollbar-cli/package.yaml +++ b/rollbar-cli/package.yaml @@ -1,11 +1,11 @@ name: rollbar-cli -version: 1.2.0 +version: 1.1.1 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: - README.md diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index 34dfe2a..ec031bf 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -1,11 +1,11 @@ name: rollbar-client -version: 1.2.0 +version: 1.1.1 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: - README.md diff --git a/rollbar-wai/package.yaml b/rollbar-wai/package.yaml index 9a2cb49..88d8dec 100644 --- a/rollbar-wai/package.yaml +++ b/rollbar-wai/package.yaml @@ -1,11 +1,11 @@ name: rollbar-wai -version: 1.2.0 +version: 1.1.1 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: - README.md diff --git a/rollbar-yesod/package.yaml b/rollbar-yesod/package.yaml index 6533930..ff17c88 100644 --- a/rollbar-yesod/package.yaml +++ b/rollbar-yesod/package.yaml @@ -1,11 +1,11 @@ name: rollbar-yesod -version: 1.2.0 +version: 1.1.1 github: "stackbuilders/rollbar-haskell" license: MIT author: "Stack Builders Inc." maintainer: "David Mazarro " copyright: "2020-present Stack Builders Inc." -tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 +tested-with: GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: - README.md From d2b5fae7255798635bd90c1fd0d38d849933798a Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Fri, 9 May 2025 08:21:19 -0500 Subject: [PATCH 14/16] chore: generate .cabal files with 1.1.1 and GHC 12 --- rollbar-cli/rollbar-cli.cabal | 10 ++++------ rollbar-client/rollbar-client.cabal | 10 ++++------ rollbar-wai/rollbar-wai.cabal | 10 ++++------ rollbar-yesod/rollbar-yesod.cabal | 10 ++++------ 4 files changed, 16 insertions(+), 24 deletions(-) diff --git a/rollbar-cli/rollbar-cli.cabal b/rollbar-cli/rollbar-cli.cabal index 233d533..e1d8299 100644 --- a/rollbar-cli/rollbar-cli.cabal +++ b/rollbar-cli/rollbar-cli.cabal @@ -1,13 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.38.1. +-- This file has been generated from package.yaml by hpack version 0.36.1. -- -- see: https://github.com/sol/hpack --- --- hash: 06008e94a54478aab8ebf7a602178874866a988ec726e4bf4d2d6da0de509848 name: rollbar-cli -version: 1.2.0 +version: 1.1.1 synopsis: Simple CLI tool to perform commons tasks such as tracking deploys. description: Please see the README on GitHub at @@ -19,9 +17,9 @@ maintainer: David Mazarro copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE -tested-with: - GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple +tested-with: + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: README.md ChangeLog.md diff --git a/rollbar-client/rollbar-client.cabal b/rollbar-client/rollbar-client.cabal index 158befe..a648f11 100644 --- a/rollbar-client/rollbar-client.cabal +++ b/rollbar-client/rollbar-client.cabal @@ -1,13 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.38.1. +-- This file has been generated from package.yaml by hpack version 0.36.1. -- -- see: https://github.com/sol/hpack --- --- hash: 51800f31b3c17842ec1abffab29c5966901d356f4a6be199e4851bb70d632431 name: rollbar-client -version: 1.2.0 +version: 1.1.1 synopsis: Core library to communicate with Rollbar API. description: Please see the README on GitHub at @@ -19,9 +17,9 @@ maintainer: David Mazarro copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE -tested-with: - GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple +tested-with: + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: README.md ChangeLog.md diff --git a/rollbar-wai/rollbar-wai.cabal b/rollbar-wai/rollbar-wai.cabal index dea1421..3e7252a 100644 --- a/rollbar-wai/rollbar-wai.cabal +++ b/rollbar-wai/rollbar-wai.cabal @@ -1,13 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.38.1. +-- This file has been generated from package.yaml by hpack version 0.36.1. -- -- see: https://github.com/sol/hpack --- --- hash: 9c8edccb3292a596219436cab59ec7dc0b0ed6ca8932667de57a87824d4311a8 name: rollbar-wai -version: 1.2.0 +version: 1.1.1 synopsis: Provides error reporting capabilities to WAI based applications through Rollbar API. description: Please see the README on GitHub at @@ -20,9 +18,9 @@ maintainer: David Mazarro copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE -tested-with: - GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple +tested-with: + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: README.md ChangeLog.md diff --git a/rollbar-yesod/rollbar-yesod.cabal b/rollbar-yesod/rollbar-yesod.cabal index 29247a6..8649350 100644 --- a/rollbar-yesod/rollbar-yesod.cabal +++ b/rollbar-yesod/rollbar-yesod.cabal @@ -1,13 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.38.1. +-- This file has been generated from package.yaml by hpack version 0.36.1. -- -- see: https://github.com/sol/hpack --- --- hash: 785ff690a35d1c29037f54eee3dd094aa68b6084535b568f4ee6826c4174727d name: rollbar-yesod -version: 1.2.0 +version: 1.1.1 synopsis: Provides error reporting capabilities to Yesod applications through Rollbar API. description: Please see the README on GitHub at @@ -20,9 +18,9 @@ maintainer: David Mazarro copyright: 2020-present Stack Builders Inc. license: MIT license-file: LICENSE -tested-with: - GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.1 build-type: Simple +tested-with: + GHC ==9.6.7, GHC ==9.8.4, GHC ==9.10.2, GHC ==9.12.2 extra-source-files: README.md ChangeLog.md From 763314da9d61d05310824625658ca168fc7a1deb Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Fri, 9 May 2025 08:22:42 -0500 Subject: [PATCH 15/16] fix: change test spec from notifier to 1.1.1 version --- rollbar-client/test/Rollbar/ClientSpec.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollbar-client/test/Rollbar/ClientSpec.hs b/rollbar-client/test/Rollbar/ClientSpec.hs index 6e30c16..d45b5ad 100644 --- a/rollbar-client/test/Rollbar/ClientSpec.hs +++ b/rollbar-client/test/Rollbar/ClientSpec.hs @@ -161,7 +161,7 @@ spec = do , title = Nothing , uuid = Just "12345" , fingerprint = Nothing - , itemNotifier = Notifier "rollbar-client" "1.2.0" + , itemNotifier = Notifier "rollbar-client" "1.1.1" } jsonItem = decodeUtf8 $ DBL.toStrict $ encode item From 3635d6056c42f80ea965f8b1167dcf008a54d9bd Mon Sep 17 00:00:00 2001 From: Davidnbr Date: Fri, 9 May 2025 08:51:43 -0500 Subject: [PATCH 16/16] chore: add Paths_rollbar_client as autogen-module --- rollbar-client/package.yaml | 2 ++ rollbar-client/rollbar-client.cabal | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/rollbar-client/package.yaml b/rollbar-client/package.yaml index ec031bf..cbcb077 100644 --- a/rollbar-client/package.yaml +++ b/rollbar-client/package.yaml @@ -50,6 +50,8 @@ library: - yaml >= 0.11 && < 1 exposed-modules: - Rollbar.Client + generated-other-modules: + - Paths_rollbar_client executables: client-example: diff --git a/rollbar-client/rollbar-client.cabal b/rollbar-client/rollbar-client.cabal index a648f11..e5da9e3 100644 --- a/rollbar-client/rollbar-client.cabal +++ b/rollbar-client/rollbar-client.cabal @@ -1,4 +1,4 @@ -cabal-version: 1.12 +cabal-version: 2.0 -- This file has been generated from package.yaml by hpack version 0.36.1. -- @@ -43,6 +43,8 @@ library Rollbar.Client.Ping Rollbar.Client.Settings Paths_rollbar_client + autogen-modules: + Paths_rollbar_client hs-source-dirs: src ghc-options: -Wall @@ -64,6 +66,8 @@ executable client-example main-is: Main.hs other-modules: Paths_rollbar_client + autogen-modules: + Paths_rollbar_client hs-source-dirs: example ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N @@ -83,6 +87,8 @@ test-suite spec other-modules: Rollbar.ClientSpec Paths_rollbar_client + autogen-modules: + Paths_rollbar_client hs-source-dirs: test ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N