diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+### 1.0.31
+
++ Use haskell-gi 0.27.
+
 ### 1.0.30
 
 + Depend on haskell-gi >= 0.26.9 (see [issue 439](https://github.com/haskell-gi/haskell-gi/issues/439))
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Documentation
 Autogenerated documentation for this package can be found at
 
-[https://hackage.haskell.org/package/gi-cairo-1.0.30/docs/GI-Cairo.html](https://hackage.haskell.org/package/gi-cairo-1.0.30/docs/GI-Cairo.html)
+[https://hackage.haskell.org/package/gi-cairo-1.0.31/docs/GI-Cairo.html](https://hackage.haskell.org/package/gi-cairo-1.0.31/docs/GI-Cairo.html)
 
 For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,16 +1,17 @@
 {-# LANGUAGE OverloadedStrings #-}
 
-import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..))
+import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..), TaggedPkgConfigVersions(..))
 
 
 
 main :: IO ()
-main = setupBinding name version pkgName pkgVersion verbose overridesFile inheritedOverrides outputDir
+main = setupBinding name version pkgName pkgVersion verbose overridesFile inheritedOverrides depVersions outputDir
   where name = "cairo"
         version = "1.0"
         pkgName = "gi-cairo"
-        pkgVersion = "1.0.30"
+        pkgVersion = "1.0.31"
         overridesFile = Just "cairo.overrides"
         verbose = False
         outputDir = Nothing
         inheritedOverrides = []
+        depVersions = []
diff --git a/gi-cairo.cabal b/gi-cairo.cabal
--- a/gi-cairo.cabal
+++ b/gi-cairo.cabal
@@ -1,5 +1,5 @@
 name:                 gi-cairo
-version:              1.0.30
+version:              1.0.31
 synopsis:             Cairo bindings
 description:          Bindings for Cairo, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -16,7 +16,7 @@
 custom-setup
       setup-depends: base >= 4.11 && < 5,
                      Cabal >= 1.24 && < 4,
-                     haskell-gi >= 0.26.9 && < 0.27
+                     haskell-gi >= 0.27 && < 0.28
 
 library
       default-language: Haskell2010
@@ -27,7 +27,7 @@
       pkgconfig-depends: cairo-gobject >= 1.0 && < 2
       build-depends: base >= 4.7 && <5,
                      haskell-gi-base >= 0.26 && < 0.27,
-                     haskell-gi >= 0.26.9 && < 0.27,
+                     haskell-gi >= 0.27 && < 0.28,
                      haskell-gi-overloading < 1.1,
                      bytestring >= 0.10 && < 1,
                      containers >= 0.5 && < 1,
@@ -54,6 +54,7 @@
                        GI.Cairo.Structs.Device,
                        GI.Cairo.Structs.FontFace,
                        GI.Cairo.Structs.FontOptions,
+                       GI.Cairo.Structs.Glyph,
                        GI.Cairo.Structs.Matrix,
                        GI.Cairo.Structs.Path,
                        GI.Cairo.Structs.Pattern,
@@ -61,7 +62,8 @@
                        GI.Cairo.Structs.RectangleInt,
                        GI.Cairo.Structs.Region,
                        GI.Cairo.Structs.ScaledFont,
-                       GI.Cairo.Structs.Surface
+                       GI.Cairo.Structs.Surface,
+                       GI.Cairo.Structs.TextCluster
 
       autogen-modules: GI.Cairo.Config,
                        GI.Cairo,
@@ -72,6 +74,7 @@
                        GI.Cairo.Structs.Device,
                        GI.Cairo.Structs.FontFace,
                        GI.Cairo.Structs.FontOptions,
+                       GI.Cairo.Structs.Glyph,
                        GI.Cairo.Structs.Matrix,
                        GI.Cairo.Structs.Path,
                        GI.Cairo.Structs.Pattern,
@@ -79,4 +82,5 @@
                        GI.Cairo.Structs.RectangleInt,
                        GI.Cairo.Structs.Region,
                        GI.Cairo.Structs.ScaledFont,
-                       GI.Cairo.Structs.Surface
+                       GI.Cairo.Structs.Surface,
+                       GI.Cairo.Structs.TextCluster
