diff --git a/deb/stack.yaml b/deb/stack.yaml
index 3f84be738..959081d18 100644
--- a/deb/stack.yaml
+++ b/deb/stack.yaml
@@ -15,8 +15,5 @@ packages:
 - '..'
 - 'https://hackage.haskell.org/package/pandoc-citeproc-0.9/pandoc-citeproc-0.9.tar.gz'
 extra-deps:
-- 'cmark-0.5.0'
-- 'pandoc-types-1.16.0.1'
-# Use older aeson to avoid excessive memory use in compilation:
-- 'aeson-0.8.0.2'
-resolver: lts-4.0
+- 'aeson-0.11'
+resolver: lts-5.2
diff --git a/osx/stack.yaml b/osx/stack.yaml
index d9decaba1..461ecb173 100644
--- a/osx/stack.yaml
+++ b/osx/stack.yaml
@@ -18,8 +18,5 @@ packages:
 - '..'
 - 'https://hackage.haskell.org/package/pandoc-citeproc-0.9/pandoc-citeproc-0.9.tar.gz'
 extra-deps:
-- 'cmark-0.5.0'
-- 'pandoc-types-1.16.0.1'
-# Use older aeson to avoid excessive memory use in compilation:
-- 'aeson-0.8.0.2'
-resolver: lts-4.0
+- 'aeson-0.11'
+resolver: lts-5.2
diff --git a/stack.full.yaml b/stack.full.yaml
index d79d25d0c..880fe9425 100644
--- a/stack.full.yaml
+++ b/stack.full.yaml
@@ -13,7 +13,5 @@ packages:
 - '../pandoc-types'
 - '../texmath'
 extra-deps:
-- 'cmark-0.5.0'
-# Use older aeson to avoid excessive memory use in compilation:
-- 'aeson-0.8.0.2'
-resolver: lts-4.0
+- 'aeson-0.11'
+resolver: lts-5.2
diff --git a/stack.yaml b/stack.yaml
index 82f2f5073..9a36feed1 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -8,9 +8,5 @@ flags:
 packages:
 - '.'
 extra-deps:
-- 'cmark-0.5.1'
-- 'pandoc-citeproc-0.9'
-- 'pandoc-types-1.16.0.1'
-# Use older aeson to avoid excessive memory use in compilation:
-- 'aeson-0.8.0.2'
-resolver: lts-4.0
+- 'aeson-0.11'
+resolver: lts-5.2
diff --git a/windows/stack.yaml b/windows/stack.yaml
index 91f1c1539..a01dbfc03 100644
--- a/windows/stack.yaml
+++ b/windows/stack.yaml
@@ -15,7 +15,5 @@ packages:
 - '..'
 - '../../pandoc-citeproc'
 extra-deps:
-- 'cmark-0.5.0'
 - 'hsb2hs-0.3.1'
-- 'pandoc-types-1.16.0.1'
-resolver: lts-3.20
+resolver: lts-5.2