diff --git a/Text/XML/Expat/SAX.hs b/Text/XML/Expat/SAX.hs
--- a/Text/XML/Expat/SAX.hs
+++ b/Text/XML/Expat/SAX.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE DeriveDataTypeable, TypeSynonymInstances #-}
+{-# LANGUAGE DeriveDataTypeable, TypeSynonymInstances, CPP #-}
 
 -- hexpat, a Haskell wrapper for expat
 -- Copyright (C) 2008 Evan Martin <martine@danga.com>
@@ -126,7 +126,16 @@
     gxFromChar = T.singleton
     gxHead = T.head
     gxTail = T.tail
+#if MIN_VERSION_text(0,11,0)
+    gxBreakOn c = T.break (==c)
+#elif MIN_VERSION_text(0,10,0)
+    -- breakBy gets renamed to break between 0.10.0.0 and 0.10.0.1.
+    -- There's no 'break' function that is consistent between these two
+    -- versions so we work around it using other functions.
+    gxBreakOn c t = (T.takeWhile (/=c) t, T.dropWhile (/=c) t)
+#else
     gxBreakOn c = T.breakBy (==c)
+#endif
     gxFromCStringLen cstr = TE.decodeUtf8 <$> peekByteStringLen cstr
     gxToByteString = TE.encodeUtf8
 
diff --git a/hexpat.cabal b/hexpat.cabal
--- a/hexpat.cabal
+++ b/hexpat.cabal
@@ -1,6 +1,6 @@
 Cabal-Version: >= 1.6
 Name: hexpat
-Version: 0.19.4
+Version: 0.19.5
 Synopsis: XML parser/formatter based on expat
 Description:
   This package provides a general purpose Haskell XML library using Expat to
@@ -49,7 +49,8 @@
     0.19.1 fix a memory leak introduced in 0.19, delegate parsing to bound thread
     if unbound (see note above); 0.19.2 include expat source code so \'cabal install\' just works
     on Linux, Mac and Windows (thanks Jacob Stanley); 0.19.3 fix misconfiguration of expat
-    which broke entity parsing; 0.19.4 bump version constraint for text.
+    which broke entity parsing; 0.19.4 bump version constraint for text; 0.19.5 bump text
+    to < 0.12 and fix text-0.10.0.1 breakage.
 Category: XML
 License: BSD3
 License-File: LICENSE
@@ -116,7 +117,7 @@
     base >= 3 && < 5,
     bytestring,
     transformers,
-    text >= 0.5 && < 0.11,
+    text >= 0.5 && < 0.12,
     utf8-string == 0.3.*,
     deepseq == 1.1.*,
     containers,
diff --git a/test/hexpat-tests.cabal b/test/hexpat-tests.cabal
--- a/test/hexpat-tests.cabal
+++ b/test/hexpat-tests.cabal
@@ -9,7 +9,7 @@
 
   build-depends:
     HUnit < 1.3,
-    QuickCheck >= 2.1.0.3 && < 2.2,
+    QuickCheck == 2.3.*,
     base >= 3 && < 5,
     bytestring,
     containers,
