From e88007c74145c0593a7355c45af2f3ede1f56f4b Mon Sep 17 00:00:00 2001 From: Matthew Wraith Date: Thu, 25 Jun 2026 08:18:04 -0700 Subject: [PATCH] Relax http-client-tls upper bound to allow 0.4 http-client-tls 0.4.0 broke version bounds for prometheus in Stackage (commercialhaskell/stackage#7966). Our only use is newTlsManager, whose API is unchanged in 0.4.0 (the release was an internal dependency swap for HSEC-2026-0008). Verified the library builds against 0.4.0. Bump version to 2.3.1 for the Hackage release. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 5 +++++ prometheus.cabal | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bf30d848..a68b44673 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ +## 2.3.1 + +* Relax the `http-client-tls` upper bound to allow `0.4.*`. + [#7966](https://github.com/commercialhaskell/stackage/issues/7966) + ## 2.3.0 * Change the `observeAndSample` function from the diff --git a/prometheus.cabal b/prometheus.cabal index 4cfce28a0..052e6c68a 100644 --- a/prometheus.cabal +++ b/prometheus.cabal @@ -1,5 +1,5 @@ name: prometheus -version: 2.3.0 +version: 2.3.1 synopsis: Prometheus Haskell Client homepage: http://github.com/bitnomial/prometheus bug-reports: http://github.com/bitnomial/prometheus/issues @@ -93,7 +93,7 @@ library , bytestring >= 0.10 && < 0.13 , containers >= 0.5 && < 0.8 , http-client >= 0.4 && < 0.8 - , http-client-tls >= 0.3 && < 0.4 + , http-client-tls >= 0.3 && < 0.5 , http-types >= 0.8 && < 0.13 , network-uri >= 2.5 && < 2.7 , text >= 1.2 && < 2.2