--- a/cmark.cabal
+++ b/cmark.cabal
@@ -52,7 +52,7 @@ flag pkgconfig
 library
   exposed-modules:     CMark
   build-depends:       base >=4.5 && < 5.0,
-                       text >= 1.0 && < 2.1,
+                       text >= 1.0 && < 2.2,
                        bytestring
   if impl(ghc < 7.6)
     build-depends:     ghc-prim >= 0.2
