From 9074ac3c1254e71f39f9e86285b8c88b6c7521ad Mon Sep 17 00:00:00 2001 From: Jappie Klooster Date: Thu, 5 Mar 2026 23:01:47 +0100 Subject: [PATCH 1/2] replace memory with ram --- http-client-tls/http-client-tls.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-client-tls/http-client-tls.cabal b/http-client-tls/http-client-tls.cabal index f8f1a94c..0b21b5a3 100644 --- a/http-client-tls/http-client-tls.cabal +++ b/http-client-tls/http-client-tls.cabal @@ -27,7 +27,7 @@ library , transformers , http-types , crypton - , memory + , ram , exceptions , containers , text From a6e117c75d518d44b8f25506c037437e99aa296b Mon Sep 17 00:00:00 2001 From: jappeace-sloth Date: Sat, 7 Mar 2026 19:33:40 +0000 Subject: [PATCH 2/2] Tighten tls bounds to >= 2.3.0 && < 2.4 tls 2.3.0 is the first version using ram instead of memory. Older tls versions (< 2.3.0) use memory and will cause type errors when combined with this package which now depends on ram. The upper bound ensures compatibility with the current tls API. Prompt: add bounds to the PR such that this branch has a tls with the ram change already included, but also a tls with a tight upper bound Tokens used: ~200k Co-Authored-By: Claude Opus 4.6 --- http-client-tls/http-client-tls.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-client-tls/http-client-tls.cabal b/http-client-tls/http-client-tls.cabal index 0b21b5a3..498b3d14 100644 --- a/http-client-tls/http-client-tls.cabal +++ b/http-client-tls/http-client-tls.cabal @@ -21,7 +21,7 @@ library , http-client >= 0.7.11 , crypton-connection , network - , tls >= 2.1.2 + , tls >= 2.3.0 && < 2.4 , bytestring , case-insensitive , transformers