Skip to content

Relax http-client-tls upper bound to allow 0.4#57

Merged
wraithm merged 1 commit into
masterfrom
relax-http-client-tls-bound
Jun 25, 2026
Merged

Relax http-client-tls upper bound to allow 0.4#57
wraithm merged 1 commit into
masterfrom
relax-http-client-tls-bound

Conversation

@wraithm

@wraithm wraithm commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

http-client-tls released 0.4.0, which broke prometheus's version bounds in Stackage (http-client-tls >= 0.3 && < 0.4). See commercialhaskell/stackage#7966prometheus-2.3.0 is 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.5 and bumps to 2.3.1 for a Hackage release.

Our only use of the package is newTlsManager in Http/Push.hs, whose API is unchanged in 0.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

  • Built the library with cabal build --constraint="http-client-tls >= 0.4", which resolves http-client-tls-0.4.0 and compiles cleanly.
  • After merge: release 2.3.1 to Hackage.

🤖 Generated with Claude Code

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>
@wraithm wraithm requested a review from cdepillabout June 25, 2026 15:21
@wraithm wraithm mentioned this pull request Jun 25, 2026
1 task
@wraithm

wraithm commented Jun 25, 2026

Copy link
Copy Markdown
Member Author

Fixes #56

@wraithm wraithm merged commit 34b546e into master Jun 25, 2026
0 of 12 checks passed
@wraithm wraithm deleted the relax-http-client-tls-bound branch June 25, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant