diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal
--- a/stylish-haskell.cabal
+++ b/stylish-haskell.cabal
@@ -1,5 +1,5 @@
 Name:          stylish-haskell
-Version:       0.5.0.1
+Version:       0.5.0.2
 Synopsis:      Haskell code prettifier
 Homepage:      https://github.com/jaspervdj/stylish-haskell
 License:       BSD3
@@ -47,7 +47,7 @@
     base             >= 4    && < 5,
     bytestring       >= 0.9  && < 0.10,
     containers       >= 0.3  && < 0.6,
-    directory        >= 1.1  && < 1.2,
+    directory        >= 1.1  && < 1.3,
     filepath         >= 1.1  && < 1.4,
     haskell-src-exts >= 1.13 && < 1.14,
     mtl              >= 2.0  && < 2.2,
@@ -68,7 +68,7 @@
     base             >= 4    && < 5,
     bytestring       >= 0.9  && < 0.10,
     containers       >= 0.3  && < 0.6,
-    directory        >= 1.1  && < 1.2,
+    directory        >= 1.1  && < 1.3,
     filepath         >= 1.1  && < 1.4,
     haskell-src-exts >= 1.13 && < 1.14,
     mtl              >= 2.0  && < 2.2,
@@ -101,7 +101,7 @@
     bytestring       >= 0.9  && < 0.10,
     cmdargs          >= 0.9  && < 0.11,
     containers       >= 0.3  && < 0.6,
-    directory        >= 1.1  && < 1.2,
+    directory        >= 1.1  && < 1.3,
     filepath         >= 1.1  && < 1.4,
     haskell-src-exts >= 1.13 && < 1.14,
     mtl              >= 2.0  && < 2.2,
