diff --git a/lambdacube-compiler.cabal b/lambdacube-compiler.cabal
--- a/lambdacube-compiler.cabal
+++ b/lambdacube-compiler.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                lambdacube-compiler
-version:             0.5.0.0
+version:             0.5.0.1
 homepage:            http://lambdacube3d.com
 synopsis:            LambdaCube 3D is a DSL to program GPUs
 description:         LambdaCube 3D is a domain specific language and library that makes it
@@ -78,7 +78,7 @@
     exceptions >= 0.8 && <0.9,
     filepath,
     mtl >=2.2 && <2.3,
-    megaparsec >= 4.3.0 && <4.4,
+    megaparsec >= 4.3.0 && <4.5,
     wl-pprint >=1.2 && <1.3,
     pretty-show >= 1.6.9,
     text >= 1.2 && <1.3,
@@ -102,7 +102,7 @@
     base < 4.9,
     containers >=0.5 && <0.6,
     lambdacube-compiler,
-    megaparsec >= 4.3.0 && <4.4,
+    megaparsec >= 4.3.0 && <4.5,
     QuickCheck >= 2.8.2 && <2.9,
     tasty >= 0.11 && <0.12,
     tasty-quickcheck >=0.8 && <0.9
@@ -131,7 +131,7 @@
     mtl >=2.2 && <2.3,
     monad-control >= 1.0 && <1.1,
     optparse-applicative == 0.12.*,
-    megaparsec >= 4.3.0 && <4.4,
+    megaparsec >= 4.3.0 && <4.5,
     wl-pprint >=1.2 && <1.3,
     patience >= 0.1 && < 0.2,
     text >= 1.2 && <1.3,
@@ -239,7 +239,7 @@
     mtl >=2.2 && <2.3,
     monad-control >= 1.0 && <1.1,
     optparse-applicative == 0.12.*,
-    megaparsec >= 4.3.0 && <4.4,
+    megaparsec >= 4.3.0 && <4.5,
     wl-pprint >=1.2 && <1.3,
     pretty-show >= 1.6.9,
     patience >= 0.1 && < 0.2,
