diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -4,10 +4,13 @@
 
 None.
 
+## [v2.0.0.1](https://github.com/freckle/yesod-page-cursor/compare/v2.0.0.0...v2.0.0.1)
+
+- Fix test suite for new persistent
+
 ## [v2.0.0.0](https://github.com/freckle/yesod-page-cursor/compare/v1.0.0.1...v2.0.0.0)
 
 - Add `defaultLimit :: Int` argument to `withPage` and `withPageLink`
-
 
 ## [v1.0.0.1](https://github.com/freckle/yesod-page-cursor/compare/v1.0.0.0...v1.0.0.1)
 
diff --git a/test/TestApp.hs b/test/TestApp.hs
--- a/test/TestApp.hs
+++ b/test/TestApp.hs
@@ -1,5 +1,7 @@
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE DeriveGeneric #-}
 {-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE GADTs #-}
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
 {-# LANGUAGE LambdaCase #-}
diff --git a/yesod-page-cursor.cabal b/yesod-page-cursor.cabal
--- a/yesod-page-cursor.cabal
+++ b/yesod-page-cursor.cabal
@@ -1,82 +1,74 @@
-cabal-version: 1.12
-
--- This file has been generated from package.yaml by hpack version 0.33.0.
---
--- see: https://github.com/sol/hpack
---
--- hash: 8dc3f8214e380e14ac9e103fd4cdff50f3186e9497536d2f654257e1e1d1072f
-
-name:           yesod-page-cursor
-version:        2.0.0.0
-description:    Cursor based pagination for Yesod
-homepage:       https://github.com/freckle/yesod-page-cursor#readme
-bug-reports:    https://github.com/freckle/yesod-page-cursor/issues
-author:         Freckle Engineering
-maintainer:     engineering@freckle.com
-copyright:      2020 Renaissance Learning Inc
-license:        MIT
-license-file:   LICENSE
-build-type:     Simple
+cabal-version:      1.12
+name:               yesod-page-cursor
+version:            2.0.0.1
+license:            MIT
+license-file:       LICENSE
+copyright:          2020 Renaissance Learning Inc
+maintainer:         engineering@freckle.com
+author:             Freckle Engineering
+homepage:           https://github.com/freckle/yesod-page-cursor#readme
+bug-reports:        https://github.com/freckle/yesod-page-cursor/issues
+description:        Cursor based pagination for Yesod
+build-type:         Simple
 extra-source-files:
     README.md
     ChangeLog.md
 
 source-repository head
-  type: git
-  location: https://github.com/freckle/yesod-page-cursor
+    type:     git
+    location: https://github.com/freckle/yesod-page-cursor
 
 library
-  exposed-modules:
-      Yesod.Page
-      Yesod.Page.RenderedRoute
-  other-modules:
-      Paths_yesod_page_cursor
-  hs-source-dirs:
-      src
-  build-depends:
-      aeson
-    , base >=4.7 && <5
-    , bytestring
-    , containers
-    , http-link-header
-    , network-uri
-    , text
-    , unliftio
-    , yesod-core
-  default-language: Haskell2010
+    exposed-modules:
+        Yesod.Page
+        Yesod.Page.RenderedRoute
 
+    hs-source-dirs:   src
+    other-modules:    Paths_yesod_page_cursor
+    default-language: Haskell2010
+    build-depends:
+        aeson >=1.4.7.1 && <1.6,
+        base >=4.7 && <5,
+        bytestring >=0.10.10.0 && <0.11,
+        containers >=0.6.2.1 && <0.7,
+        http-link-header >=1.0.3.1 && <1.1,
+        network-uri >=2.6.3.0 && <2.7,
+        text >=1.2.3.2 && <1.3,
+        unliftio >=0.2.13 && <0.3,
+        yesod-core >=1.6.18 && <1.7
+
 test-suite yesod-page-cursor-test
-  type: exitcode-stdio-1.0
-  main-is: Spec.hs
-  other-modules:
-      TestApp
-      Paths_yesod_page_cursor
-  hs-source-dirs:
-      test
-  ghc-options: -threaded -rtsopts -with-rtsopts=-N
-  build-depends:
-      aeson
-    , base >=4.7 && <5
-    , bytestring
-    , hspec
-    , hspec-expectations-lifted
-    , http-link-header
-    , http-types
-    , lens
-    , lens-aeson
-    , monad-logger
-    , mtl
-    , persistent
-    , persistent-sqlite
-    , persistent-template
-    , scientific
-    , text
-    , time
-    , unliftio
-    , unliftio-core
-    , wai-extra
-    , yesod
-    , yesod-core
-    , yesod-page-cursor
-    , yesod-test
-  default-language: Haskell2010
+    type:             exitcode-stdio-1.0
+    main-is:          Spec.hs
+    hs-source-dirs:   test
+    other-modules:
+        TestApp
+        Paths_yesod_page_cursor
+
+    default-language: Haskell2010
+    ghc-options:      -threaded -rtsopts -with-rtsopts=-N
+    build-depends:
+        aeson >=1.4.7.1 && <1.6,
+        base >=4.7 && <5,
+        bytestring >=0.10.10.0 && <0.11,
+        hspec >=2.7.2 && <2.8,
+        hspec-expectations-lifted >=0.10.0 && <0.11,
+        http-link-header >=1.0.3.1 && <1.1,
+        http-types >=0.12.3 && <0.13,
+        lens >=4.18.1 && <4.20,
+        lens-aeson ==1.1.*,
+        monad-logger >=0.3.35 && <0.4,
+        mtl >=2.2.2 && <2.3,
+        persistent >=2.10.5.2 && <2.11,
+        persistent-sqlite >=2.10.6.2 && <2.11,
+        persistent-template >=2.8.2.3 && <2.9,
+        scientific >=0.3.6.2 && <0.4,
+        text >=1.2.3.2 && <1.3,
+        time >=1.9.3 && <1.10,
+        unliftio >=0.2.13 && <0.3,
+        unliftio-core >=0.1.2.0 && <0.3,
+        wai-extra >=3.0.29.2 && <3.2,
+        yesod >=1.6.1.0 && <1.7,
+        yesod-core >=1.6.18 && <1.7,
+        yesod-page-cursor -any,
+        yesod-test >=1.6.10 && <1.7
