Relax http-client-tls upper bound to allow 0.4#57
Merged
Conversation
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) <noreply@anthropic.com>
Member
Author
|
Fixes #56 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
http-client-tlsreleased0.4.0, which brokeprometheus's version bounds in Stackage (http-client-tls >= 0.3 && < 0.4). See commercialhaskell/stackage#7966 —prometheus-2.3.0is one of 23 packages bounded out, and the Stackage-side workaround in PR #8050 temporarily caps these packages until maintainers update.This relaxes the upper bound to
< 0.5and bumps to2.3.1for a Hackage release.Our only use of the package is
newTlsManagerinHttp/Push.hs, whose API is unchanged in0.4.0— that release was an internal dependency swap (cryptohash-md5/base16 instead of the unmaintained crypton/memory) for security advisory HSEC-2026-0008.Test plan
cabal build --constraint="http-client-tls >= 0.4", which resolveshttp-client-tls-0.4.0and compiles cleanly.2.3.1to Hackage.🤖 Generated with Claude Code