diff --git a/rest-gen.cabal b/rest-gen.cabal
--- a/rest-gen.cabal
+++ b/rest-gen.cabal
@@ -1,5 +1,5 @@
 Name:             rest-gen
-Version:          0.9.0.6
+Version:          0.9.0.7
 Description:      Documentation and client generation from rest definition.
 Synopsis:         Documentation and client generation from rest definition.
 Maintainer:       code@silk.co
@@ -20,7 +20,7 @@
   Hs-Source-Dirs:   src
   Build-Depends:
 
-      base                      == 4.*
+      base                      >= 4.5     &&  < 4.8
     , HStringTemplate           >= 0.6     &&  < 0.8
     , attoparsec                >= 0.10    &&  < 0.12
     , aeson                     >= 0.7     &&  < 0.8
@@ -73,7 +73,7 @@
   Other-Modules: Paths_rest_gen
 
 Test-suite rest-gen-tests
-  build-depends:       base                 >= 4.5    && < 4.7
+  build-depends:       base                 >= 4.5    && < 4.8
                      , HUnit                == 1.2.*
                      , rest-core            == 0.28.*
                      , rest-gen
