diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -31,3 +31,7 @@
 ## 0.4.0.0 -- 2018-03-08
 
 * Cabal 2.2 and GHC 8.4 support
+
+## 0.4.0.1 -- 2018-04-02
+
+* Fixed an overly optimistic upper bound on hspec's version
diff --git a/stylish-cabal.cabal b/stylish-cabal.cabal
--- a/stylish-cabal.cabal
+++ b/stylish-cabal.cabal
@@ -1,5 +1,5 @@
 name:               stylish-cabal
-version:            0.4.0.0
+version:            0.4.0.1
 synopsis:           Format Cabal files
 description:        A tool for nicely formatting your Cabal file.
 license:            BSD3
@@ -46,12 +46,12 @@
                       Types.Field
   hs-source-dirs:     src
   build-depends:      base            == 4.*
-                    , Cabal           == 2.2.*
+                    , Cabal           ^>= 2.2
                     , ansi-wl-pprint
                     , base-compat
                     , data-default
                     , deepseq
-                    , haddock-library == 1.5.*
+                    , haddock-library ^>= 1.5
                     , microlens
                     , mtl
                     , split
@@ -77,7 +77,7 @@
                     , base-compat
                     , containers
                     , haddock-library
-                    , hspec
+                    , hspec            < 2.5
                     , hspec-core
                     , microlens
                     , microlens-th
