diff --git a/semigroups.cabal b/semigroups.cabal
--- a/semigroups.cabal
+++ b/semigroups.cabal
@@ -1,6 +1,6 @@
 name:          semigroups
 category:      Algebra, Data, Data Structures, Math
-version:       0.12.1
+version:       0.12.2
 license:       BSD3
 cabal-version: >= 1.10
 license-file:  LICENSE
@@ -38,11 +38,11 @@
   else
     build-depends:
       base                 >= 3    && < 5,
-      bytestring           >= 0.9  && < 0.11,
+      bytestring           >= 0.9  && < 1,
       containers           >= 0.3  && < 0.6,
       hashable             >= 1.1  && < 1.3,
       nats                 >= 0.1  && < 1,
-      text                 >= 0.10 && < 1.1,
+      text                 >= 0.10 && < 2,
       unordered-containers >= 0.2  && < 0.3
 
   hs-source-dirs: src
diff --git a/src/Data/Semigroup.hs b/src/Data/Semigroup.hs
--- a/src/Data/Semigroup.hs
+++ b/src/Data/Semigroup.hs
@@ -76,8 +76,8 @@
 #ifndef BASE2
 import Data.ByteString as Strict
 import Data.ByteString.Lazy as Lazy
-import Data.Text as Strict
-import Data.Text.Lazy as Lazy
+import qualified Data.Text as Strict
+import qualified Data.Text.Lazy as Lazy
 import Data.Hashable
 import Data.HashMap.Lazy as Lazy
 import Data.HashSet
