diff --git a/changelog.md b/changelog.md
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,9 @@
 # doctemplates
 
+## 0.10.0.2
+
+  * Use doclayout 0.4.
+
 ## 0.10.0.1
 
   * Don't rely on aeson Object being implemented as a HashMap.
diff --git a/doctemplates.cabal b/doctemplates.cabal
--- a/doctemplates.cabal
+++ b/doctemplates.cabal
@@ -1,5 +1,5 @@
 name:                doctemplates
-version:             0.10.0.1
+version:             0.10.0.2
 synopsis:            Pandoc-style document templates
 description:         This is the text templating system used by pandoc.
                      It supports variable interpolation, iteration,
@@ -34,7 +34,7 @@
                        aeson,
                        HsYAML >= 0.2 && < 0.3,
                        text,
-                       doclayout >= 0.3 && < 0.4,
+                       doclayout >= 0.4 && < 0.5,
                        containers,
                        vector,
                        filepath,
@@ -52,7 +52,7 @@
   main-is:             test.hs
   build-depends:       base,
                        doctemplates,
-                       doclayout >= 0.3 && < 0.4,
+                       doclayout >= 0.4 && < 0.5,
                        containers,
                        aeson,
                        Glob,
@@ -71,7 +71,7 @@
   Main-Is:         bench.hs
   Hs-Source-Dirs:  bench
   Build-Depends:   doctemplates,
-                   doclayout >= 0.3 && < 0.4,
+                   doclayout >= 0.4 && < 0.5,
                    base >= 4.8 && < 5,
                    criterion >= 1.0 && < 1.6,
                    filepath,
diff --git a/test/keyval.txt b/test/keyval.txt
new file mode 100644
--- /dev/null
+++ b/test/keyval.txt
@@ -0,0 +1,1 @@
+
