diff --git a/changelog.md b/changelog.md
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,7 @@
+# 0.4.2.4
+
+Fix compiling with new ghc.
+
 # 0.4.2.3
 
 Fix 32-bit number parsing.
diff --git a/json-stream.cabal b/json-stream.cabal
--- a/json-stream.cabal
+++ b/json-stream.cabal
@@ -1,5 +1,5 @@
 name:                json-stream
-version:             0.4.2.3
+version:             0.4.2.4
 synopsis:            Incremental applicative JSON parser
 description:         Easy to use JSON parser fully supporting incremental parsing.
                      Parsing grammar in applicative form.
@@ -64,7 +64,7 @@
   includes:            c_lib/lexer.h
   include-dirs:        c_lib
   cc-options:          -fPIC
-  Build-Depends:         base >= 4.7 && <4.12
+  Build-Depends:         base >= 4.7 && <5
                        , doctest >= 0.9.3
                        , bytestring
                        , text
@@ -93,7 +93,7 @@
   hs-source-dirs:      test, .
   default-language:    Haskell2010
   ghc-options:         -Wall
-  build-depends:         base >=4.7 && <4.12
+  build-depends:         base >=4.7 && <5
                        , bytestring
                        , text
                        , aeson
@@ -112,7 +112,7 @@
 --   c-sources:           c_lib/lexer.c
 --   include-dirs:        c_lib
 --   default-language:    Haskell2010
---   build-depends:         base >=4.7 && <4.8
+--   build-depends:         base >=4.7 && <5
 --                        , bytestring
 --                        , text
 --                        , aeson
