diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+# 0.1.0.7
+
+- Support `text-2.1.x`.
+
 # 0.1.0.6
 
 - Support `bytestring-0.12.x`.
diff --git a/wai-feature-flags.cabal b/wai-feature-flags.cabal
--- a/wai-feature-flags.cabal
+++ b/wai-feature-flags.cabal
@@ -1,11 +1,11 @@
 cabal-version: 1.18
 
--- This file has been generated from package.yaml by hpack version 0.34.7.
+-- This file has been generated from package.yaml by hpack version 0.35.2.
 --
 -- see: https://github.com/sol/hpack
 
 name:           wai-feature-flags
-version:        0.1.0.6
+version:        0.1.0.7
 synopsis:       Feature flag support for WAI applications.
 description:    Please see the README at <https://github.com/jwoudenberg/wai-feature-flags>.
 category:       Web
@@ -39,7 +39,7 @@
     , base >=4.10.1.0 && <5
     , bytestring >=0.10.8.2 && <0.13
     , splitmix >=0.0.3 && <0.2
-    , text >=1.2.3.0 && <2.1
+    , text >=1.2.3.0 && <2.2
     , unordered-containers >=0.2.9.0 && <0.3
     , wai >=3.2.2.1 && <3.3
   default-language: Haskell2010
