diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,12 @@
 # Revision history for streaming-concurrency
 
+## 0.3.1.3 -- 2019-05-13
+
+* Bump/fix dependencies for:
+    - stm
+    - hspec
+    - lifted-async
+
 ## 0.3.1.2 -- 2018-05-23
 
 * Bump lifted-async dependency.
diff --git a/src/Streaming/Concurrent.hs b/src/Streaming/Concurrent.hs
--- a/src/Streaming/Concurrent.hs
+++ b/src/Streaming/Concurrent.hs
@@ -331,7 +331,7 @@
     openBasket = do
       (writeB, readB) <- case buffer of
         Bounded n -> do
-            q <- STM.newTBQueueIO n
+            q <- STM.newTBQueueIO (fromIntegral n)
             return (STM.writeTBQueue q, STM.readTBQueue q)
         Unbounded -> do
             q <- STM.newTQueueIO
@@ -346,7 +346,7 @@
             m <- STM.newEmptyTMVarIO
             return (\x -> STM.tryTakeTMVar m *> STM.putTMVar m x, STM.takeTMVar m)
         Newest n  -> do
-            q <- STM.newTBQueueIO n
+            q <- STM.newTBQueueIO (fromIntegral n)
             let writeB x = STM.writeTBQueue q x <|> (STM.tryReadTBQueue q *> writeB x)
             return (writeB, STM.readTBQueue q)
 
diff --git a/streaming-concurrency.cabal b/streaming-concurrency.cabal
--- a/streaming-concurrency.cabal
+++ b/streaming-concurrency.cabal
@@ -1,5 +1,5 @@
 name:                streaming-concurrency
-version:             0.3.1.2
+version:             0.3.1.3
 synopsis:            Concurrency support for the streaming ecosystem
 description:
   There are two primary higher-level use-cases for this library:
@@ -23,7 +23,7 @@
 extra-source-files:  ChangeLog.md, README.md
 cabal-version:       >=1.10
 tested-with:         GHC == 7.10.2, GHC == 8.0.2, GHC == 8.2.2,
-                     GHC == 8.4.1, GHC == 8.5.*
+                     GHC == 8.4.1, GHC == 8.6.5, GHC == 8.8.1
 
 source-repository head
   type:     git
@@ -34,9 +34,9 @@
                      , Streaming.Concurrent.Lifted
   build-depends:       base ==4.*
                      , exceptions >= 0.6 && < 0.11
-                     , lifted-async >= 0.9.3 && < 0.111
+                     , lifted-async >= 0.9.3 && < 0.11
                      , monad-control == 1.*
-                     , stm >= 2.4 && < 3
+                     , stm >= 2.4 && < 2.6
                      , streaming >= 0.1.4.0 && < 0.3
                      , streaming-with >= 0.1.0.0 && < 0.3
                      , transformers-base
@@ -48,7 +48,7 @@
   main-is:             merging.hs
   build-depends:       streaming-concurrency
                      , base
-                     , hspec == 2.4.*
+                     , hspec >= 2.4 && < 2.8
                      , QuickCheck == 2.*
                      , quickcheck-instances
                      , streaming
