diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,3 +1,7 @@
+yst 0.7.1.2 (released 12 Aug 2021)
+
+  * Use latest HStringTemplate so we can build with GHC 9.
+
 yst 0.7.1.1 (released 12 Aug 2021)
 
   * Fixes to work with pandoc 2.14.1.
diff --git a/yst.cabal b/yst.cabal
--- a/yst.cabal
+++ b/yst.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                yst
-version:             0.7.1.1
+version:             0.7.1.2
 build-type:          Simple
 synopsis:            Builds a static website from templates and data in YAML or
                      CSV files.
@@ -56,9 +56,9 @@
                      Yst.Sqlite3,
                      Paths_yst
   autogen-modules:   Paths_yst
-  build-depends:     base >=3 && < 4.15,
+  build-depends:     base >=3 && < 5,
                      unordered-containers,
-                     HStringTemplate >= 0.6.1 && < 0.6.9 || > 0.6.11 && < 0.9,
+                     HStringTemplate >= 0.8.8,
                      csv,
                      aeson >= 1.0,
                      yaml,
