diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
+# 0.7.1
+* Updates for newer versions of persistent (#22)
+
 # 0.7.0
-* Updates for newer versions of persistent (#23)
+* Updates for newer versions of persistent (#22)
 
 # 0.6.1
 * Add some extensions for persistent >= 2.10.5 (#21)
diff --git a/snaplet-persistent.cabal b/snaplet-persistent.cabal
--- a/snaplet-persistent.cabal
+++ b/snaplet-persistent.cabal
@@ -1,5 +1,5 @@
 name:           snaplet-persistent
-version:        0.7.0
+version:        0.7.1
 synopsis:       persistent snaplet for the Snap Framework
 description:    Snaplet support for using the Postgresql database
                 with a Snap Framework application via the persistent
@@ -52,9 +52,8 @@
     errors                     >= 1.4,
     monad-logger               >= 0.2.4,
     mtl                        >= 2,
-    persistent                 >= 2.0,
-    persistent-postgresql      >= 2.0,
-    persistent-template        >= 2.0,
+    persistent                 >= 2.13,
+    persistent-postgresql      >= 2.13,
     readable                   >= 0.1,
     resource-pool              >= 0.2,
     resourcet                  >= 0.4,
diff --git a/src/Snap/Snaplet/Auth/Backends/Persistent.hs b/src/Snap/Snaplet/Auth/Backends/Persistent.hs
--- a/src/Snap/Snaplet/Auth/Backends/Persistent.hs
+++ b/src/Snap/Snaplet/Auth/Backends/Persistent.hs
@@ -40,6 +40,7 @@
 import           Database.Persist
 import           Database.Persist.Postgresql
 import           Database.Persist.Quasi
+import           Database.Persist.Quasi.Internal
 import           Database.Persist.TH                         hiding (derivePersistField)
 import           Heist
 import           Heist.Compiled
@@ -65,7 +66,7 @@
 -- > share [mkMigrate "migrateAll"] $
 -- >    authEntityDefs ++
 -- >    $(persistFileWith lowerCaseSettings "schema.txt")
-authEntityDefs :: [EntityDef]
+authEntityDefs :: [UnboundEntityDef]
 authEntityDefs = $(persistFileWith lowerCaseSettings "schema.txt")
 
 
