diff --git a/postgresql-binary.cabal b/postgresql-binary.cabal
--- a/postgresql-binary.cabal
+++ b/postgresql-binary.cabal
@@ -1,7 +1,7 @@
 name:
   postgresql-binary
 version:
-  0.12.4.1
+  0.12.4.2
 synopsis:
   Encoders and decoders for the PostgreSQL's binary format
 description:
@@ -64,7 +64,7 @@
     PostgreSQL.Binary.Inet
     PostgreSQL.Binary.BuilderPrim
   build-depends:
-    aeson >=1.5 && <2,
+    aeson >=2 && <3,
     base >=4.12 && <5,
     binary-parser >=0.5.7 && <0.6,
     bytestring >=0.10.4 && <0.12,
