diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Revision history for joy-rewrite
 
+## 0.2.0 -- 2022-06-29
+
+* Loosen version constraints and make tests work with Text type.
+
 ## 0.1.0.0 -- YYYY-mm-dd
 
 * First version. Released on an unsuspecting world.
diff --git a/joy-rewrite.cabal b/joy-rewrite.cabal
--- a/joy-rewrite.cabal
+++ b/joy-rewrite.cabal
@@ -2,7 +2,7 @@
 
 name:               joy-rewrite
 
-version:            0.1.0.0
+version:            0.2.0
 
 synopsis:           Transform Joy code using conditional rewrite rules
 
@@ -28,6 +28,15 @@
 
 extra-source-files: CHANGELOG.md
 
+tested-with:   GHC == 8.0.2
+             , GHC == 8.2.2
+             , GHC == 8.4.4
+             , GHC == 8.6.5
+             , GHC == 8.8.4
+             , GHC == 8.10.7
+             , GHC == 9.0.2
+             , GHC == 9.2.2
+
 source-repository head
   type: git
   location: https://github.com/johannes-riecken/joy-rewrite.git
@@ -43,12 +52,12 @@
 
     -- Other library packages from which modules are imported.
     build-depends:
-      base ^>=4.14.3.0,
-      containers ^>= 0.6.5.1,
+      base >= 4.9.1.0 && < 4.17,
+      containers >= 0.5.7.1 && < 0.7,
       monad-loops ^>= 0.4.3,
       hspec ^>= 2.8.3,
-      parsec ^>= 3.1.14.0,
-      text ^>= 1.2.4
+      parsec ^>= 3.1.13.0,
+      text ^>= 1.2.3.1
 
     -- Directories containing source files.
     hs-source-dirs:   src
@@ -71,6 +80,6 @@
 
     -- Test dependencies.
     build-depends:
-      base ^>=4.14.3.0,
+      base >= 4.9.1.0 && < 4.17,
       joy-rewrite,
       hspec ^>= 2.8.3
diff --git a/test/RewriteTest.hs b/test/RewriteTest.hs
--- a/test/RewriteTest.hs
+++ b/test/RewriteTest.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE OverloadedStrings #-}
 module Main (main) where
 
 import Language.Joy.Rewrite
