diff --git a/aeson-better-errors.cabal b/aeson-better-errors.cabal
--- a/aeson-better-errors.cabal
+++ b/aeson-better-errors.cabal
@@ -1,5 +1,5 @@
 name:                aeson-better-errors
-version:             0.4.0.0
+version:             0.4.0.1
 synopsis:            Better error messages when decoding JSON values.
 license:             MIT
 license-file:        LICENSE
@@ -26,7 +26,7 @@
                      Data.Aeson.BetterErrors.Internal
   other-modules:     Data.Aeson.BetterErrors.Utils
   build-depends:     base >=4 && <5
-                   , aeson >=0.6.1.0
+                   , aeson >=0.7
                    , unordered-containers
                    , dlist
                    , text
@@ -34,6 +34,7 @@
                    , scientific
                    , vector
                    , transformers
+                   , transformers-compat >= 0.3
                    , mtl
                    , void
 
