diff --git a/Yesod/Default/Main.hs b/Yesod/Default/Main.hs
--- a/Yesod/Default/Main.hs
+++ b/Yesod/Default/Main.hs
@@ -76,12 +76,7 @@
             (toLogStr $ "Exception from Warp: " ++ show e)
         } app
   where
-    shouldLog' =
-#if MIN_VERSION_warp(2,1,3)
-        Warp.defaultShouldDisplayException
-#else
-        const True
-#endif
+    shouldLog' = Warp.defaultShouldDisplayException
 
 -- | Run your application continously, listening for SIGINT and exiting
 --   when received
diff --git a/yesod.cabal b/yesod.cabal
--- a/yesod.cabal
+++ b/yesod.cabal
@@ -1,5 +1,5 @@
 name:            yesod
-version:         1.2.6.1
+version:         1.4.0
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
@@ -22,24 +22,20 @@
         cpp-options: -DWINDOWS
 
     build-depends:   base                      >= 4.3      && < 5
-                   , yesod-core                >= 1.2.2    && < 1.3
-                   , yesod-auth                >= 1.2      && < 1.4
-                   , yesod-persistent          >= 1.2      && < 1.3
-                   , yesod-form                >= 1.3      && < 1.4
+                   , yesod-core                >= 1.4      && < 1.5
+                   , yesod-auth                >= 1.4      && < 1.5
+                   , yesod-persistent          >= 1.4      && < 1.5
+                   , yesod-form                >= 1.4      && < 1.5
                    , monad-control             >= 0.3      && < 0.4
                    , transformers              >= 0.2.2
                    , wai                       >= 1.3
                    , wai-extra                 >= 1.3
-                   , hamlet                    >= 1.1
-                   , shakespeare-js            >= 1.0.2
-                   , shakespeare-css           >= 1.0
                    , warp                      >= 1.3
                    , blaze-html                >= 0.5
                    , blaze-markup              >= 0.5.1
                    , aeson
                    , safe
                    , data-default
-                   , network-conduit
                    , unordered-containers
                    , yaml
                    , text
