diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,17 @@
+# Changelog
+
+## [0.2.0.1] - 2022-04-26
+
+### Added
+
+* Compatibility with `GHC >= 9`
+
+## [0.2.0.0] - 2021-06-19
+
+### Added
+
+* Dependency on `sydtest-persistent`
+
+### Changed
+
+* Type of `runSqliteTest` is changed to run `SqlPersistM` instead of `SqlPersistT IO`
diff --git a/src/Test/Syd/Persistent/Sqlite.hs b/src/Test/Syd/Persistent/Sqlite.hs
--- a/src/Test/Syd/Persistent/Sqlite.hs
+++ b/src/Test/Syd/Persistent/Sqlite.hs
@@ -1,5 +1,6 @@
 {-# LANGUAGE CPP #-}
 {-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RankNTypes #-}
 
 -- | Testing with an in-memory sqlite database using persistent-sqlite
 module Test.Syd.Persistent.Sqlite
@@ -51,7 +52,7 @@
 
 -- | Set up a sqlite connection and migrate it to run the given function.
 withConnectionPool :: Migration -> (ConnectionPool -> IO r) -> IO r
-withConnectionPool = unSetupFunc . connectionPoolSetupFunc
+withConnectionPool migration func = unSetupFunc (connectionPoolSetupFunc migration) func
 
 -- | The 'SetupFunc' version of 'withConnectionPool'.
 connectionPoolSetupFunc :: Migration -> SetupFunc ConnectionPool
diff --git a/sydtest-persistent-sqlite.cabal b/sydtest-persistent-sqlite.cabal
--- a/sydtest-persistent-sqlite.cabal
+++ b/sydtest-persistent-sqlite.cabal
@@ -1,21 +1,24 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.34.4.
+-- This file has been generated from package.yaml by hpack version 0.34.7.
 --
 -- see: https://github.com/sol/hpack
 
 name:           sydtest-persistent-sqlite
-version:        0.2.0.0
+version:        0.2.0.1
 synopsis:       A persistent-sqlite companion library for sydtest
 category:       Testing
 homepage:       https://github.com/NorfairKing/sydtest#readme
 bug-reports:    https://github.com/NorfairKing/sydtest/issues
 author:         Tom Sydney Kerckhove
 maintainer:     syd@cs-syd.eu
-copyright:      Copyright (c) 2020-2021 Tom Sydney Kerckhove
+copyright:      Copyright (c) 2020-2022 Tom Sydney Kerckhove
 license:        OtherLicense
 license-file:   LICENSE.md
 build-type:     Simple
+extra-source-files:
+    LICENSE.md
+    CHANGELOG.md
 
 source-repository head
   type: git
@@ -34,7 +37,6 @@
     , mtl
     , persistent
     , persistent-sqlite
-    , persistent-template
     , sydtest
     , sydtest-persistent
   default-language: Haskell2010
@@ -55,7 +57,6 @@
       base >=4.7 && <5
     , persistent
     , persistent-sqlite
-    , persistent-template
     , sydtest
     , sydtest-persistent-sqlite
   default-language: Haskell2010
diff --git a/test/Test/Syd/Persistent/Example.hs b/test/Test/Syd/Persistent/Example.hs
--- a/test/Test/Syd/Persistent/Example.hs
+++ b/test/Test/Syd/Persistent/Example.hs
@@ -12,6 +12,7 @@
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE TypeFamilies #-}
 {-# LANGUAGE UndecidableInstances #-}
+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
 
 module Test.Syd.Persistent.Example where
 
