diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,5 @@
+2.3.1
+	* Fix Network.hs compilation
 2.3.0
 	* hlint mods
 	* Add debug code with new DebugLevel option
diff --git a/adblock2privoxy.cabal b/adblock2privoxy.cabal
--- a/adblock2privoxy.cabal
+++ b/adblock2privoxy.cabal
@@ -1,9 +1,9 @@
 name:           adblock2privoxy
-version:        2.3.0
+version:        2.3.1
 cabal-version:  >= 1.10
 build-type:     Simple
 tested-with:
-                GHC==9.6.3
+                GHC==9.12.2
 author:         Alexey Zubritsky <adblock2privoxy@zubr.me>, Steven Thomas Smith <steve.t.smith@gmail.com>
 data-files:
                 templates/ab2p.system.action,
@@ -71,10 +71,10 @@
                 filepath >= 1.4.200 && < 1.5,
                 mtl >= 2.3.1 && < 2.4,
                 time >= 1.12.2 && < 1.13,
-                network >= 3.1.4 && < 3.2,
+                network >= 3.1.4 && < 3.3,
                 old-locale >= 1.0.0 && < 1.1,
                 parsec >= 3.1.16 && < 3.2,
-                text >= 2.0.2 && < 2.1,
+                text >= 2.0.2 && < 2.2,
                 case-insensitive >= 1.2.1 && < 1.3,
                 http-conduit >= 2.3.8 && < 2.4,
                 network-uri >= 2.6.4 && < 2.7,
@@ -104,4 +104,4 @@
   type:         git
   location:     https://github.com/essandess/adblock2privoxy.git
   subdir:       adblock2privoxy
-  tag:          v2.3.0
+  tag:          v2.3.1
diff --git a/src/Network.hs b/src/Network.hs
--- a/src/Network.hs
+++ b/src/Network.hs
@@ -5,7 +5,7 @@
 
 import Network.HTTP.Conduit
 import Data.Text.Lazy.Encoding
-import Data.Text.Lazy
+import Data.Text.Lazy (unpack)
 import Control.Exception
 
 -- | A simpleHttp alternative that specifies bigger timeout and retries connection attempts
