diff --git a/yesod-mangopay.cabal b/yesod-mangopay.cabal
--- a/yesod-mangopay.cabal
+++ b/yesod-mangopay.cabal
@@ -1,5 +1,5 @@
 name:           yesod-mangopay
-version:        1.10
+version:        1.11
 cabal-version:  >= 1.8
 build-type:     Simple
 author:         JP Moresmau <jpmoresmau@gmail.com>
@@ -29,24 +29,21 @@
     Description:   Only build the library and not the test application
     Default:       True
 
-Flag conduit11
-    Description:  conduit >= 1.1
-
 library
     ghc-options:   -Wall
     hs-source-dirs:    src
     build-depends:
                    base         >= 4      && < 5
-                 , mangopay     == 1.10.*
+                 , mangopay     == 1.11.*
                  , containers   >= 0.5    && < 0.6
                  , http-conduit >= 2.0    && < 2.2
                  , http-types   >= 0.8.2  && < 0.9
                  , lifted-base  >= 0.2.1  && < 0.3
                  , text         >= 0.11.3
-                 , time         >= 1.4.0  && < 1.5
-                 , yesod        >= 1.2.5  && < 1.3
-                 , yesod-core   >= 1.2    && < 1.3
-                 , persistent-template >=1.3.1 && <1.4
+                 , time         >= 1.4.0  && < 1.6
+                 , yesod        == 1.4.*
+                 , yesod-core   == 1.4.*
+                 , persistent-template >= 2.1 && < 3
     exposed-modules:
                          Yesod.MangoPay,
                          Yesod.MangoPay.Util
@@ -91,22 +88,25 @@
                 EmptyDataDecls
                 NoMonomorphismRestriction
                 DeriveDataTypeable
+                ViewPatterns
     build-depends:
                  base, containers, http-conduit, mangopay, text,
                  time, yesod, yesod-core
                  , yesod-mangopay
                  , aeson                         >= 0.6        && < 0.9
                  , bytestring                    >= 0.9        && < 0.11
+                 , conduit                       == 1.2.*
+                 , conduit-extra                 == 1.1.*
                  , data-default
                  , directory                     >= 1.1        && < 1.3
-                 , fast-logger                   >= 2.1.4      && < 2.3
+                 , fast-logger                   >= 2.3
                  , hamlet
                  , hjsmin                        >= 0.1        && < 0.2
-                 , monad-control                 >= 0.3        && < 0.4
+                 , monad-control                 >= 1.0
                  , monad-logger                  >= 0.3        && < 0.4
-                 , persistent                    >= 1.3        && < 1.4
-                 , persistent-postgresql         >= 1.3        && < 1.4
-                 , persistent-template           >= 1.3        && < 1.4
+                 , persistent                    >= 2.1        && < 3
+                 , persistent-postgresql         >= 2.1        && < 3
+                 , persistent-template           >= 2.1        && < 3
                  , resourcet
                  , shakespeare
                  , shakespeare-css
@@ -118,16 +118,9 @@
                  , wai-logger                    >= 2.1        && < 2.3
                  , warp                          >= 2.1        && < 3.1
                  , yaml                          >= 0.8        && < 0.9
-                 , yesod-auth                    >= 1.2.6
-                 , yesod-form                    >= 1.3.0      && < 1.4
+                 , yesod-auth
+                 , yesod-form
                  , yesod-persistent
-                 , yesod-static                  >= 1.2        && < 1.3
+                 , yesod-static
                  , lifted-base                   >=0.2.2       && <0.3
                  , country-codes                 == 0.1.*
-    if flag(conduit11)
-      build-depends:
-          conduit       == 1.1.*
-        , conduit-extra == 1.1.*
-    else
-      build-depends:
-          conduit       == 1.0.*
