diff --git a/atomic-modify.cabal b/atomic-modify.cabal
--- a/atomic-modify.cabal
+++ b/atomic-modify.cabal
@@ -1,5 +1,5 @@
 name:     atomic-modify
-version:  0.1.0.2
+version:  0.1.0.3
 category: Concurrency
 synopsis: A typeclass for mutable references that have an atomic modify operation.
 
@@ -25,8 +25,8 @@
   ghc-options: -Wall
 
   build-depends:
-      base >=4.9 && <4.12
-    , stm
+      base >=4.9 && <4.17
+    , stm >= 2.4 && < 2.6
 
   exposed-modules:
       Control.Concurrent.AtomicModify
