diff --git a/Changelog.md b/Changelog.md
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,3 +1,8 @@
+### 0.3.2.2
+
+- stricter constraints for packages *base* (>= 4.8 && < 5) and
+  *template-haskell* (>= 2.11.0.0)
+
 ### 0.3.2.0
 
 - versioning security: get number of required version parts from C code.
diff --git a/ngx-export.cabal b/ngx-export.cabal
--- a/ngx-export.cabal
+++ b/ngx-export.cabal
@@ -1,5 +1,5 @@
 name:                ngx-export
-version:             0.3.2.1
+version:             0.3.2.2
 synopsis:            Helper module for Nginx haskell module
 description:         Helper module for
         <http://github.com/lyokha/nginx-haskell-module Nginx haskell module>
@@ -16,8 +16,8 @@
 cabal-version:       >= 1.8
 
 library
-  build-depends:       base >= 4.7 && < 5
-                     , template-haskell
+  build-depends:       base >= 4.8 && < 5
+                     , template-haskell >= 2.11.0.0
                      , bytestring >= 0.10.0.0
                      , unix
                      , async >= 2.0
