diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+### 0.18.31
+
++ Use haskell-gi 0.27.
+
 ### 0.18.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-poppler-0.18.30/docs/GI-Poppler.html](https://hackage.haskell.org/package/gi-poppler-0.18.30/docs/GI-Poppler.html)
+[https://hackage.haskell.org/package/gi-poppler-0.18.31/docs/GI-Poppler.html](https://hackage.haskell.org/package/gi-poppler-0.18.31/docs/GI-Poppler.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,6 +1,6 @@
 {-# LANGUAGE OverloadedStrings #-}
 
-import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..))
+import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..), TaggedPkgConfigVersions(..))
 
 import qualified GI.GLib.Config as GLib
 import qualified GI.GObject.Config as GObject
@@ -9,12 +9,13 @@
 
 
 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 = "Poppler"
         version = "0.18"
         pkgName = "gi-poppler"
-        pkgVersion = "0.18.30"
+        pkgVersion = "0.18.31"
         overridesFile = Just "Poppler.overrides"
         verbose = False
         outputDir = Nothing
         inheritedOverrides = [TaggedOverride "inherited:GLib" GLib.overrides, TaggedOverride "inherited:GObject" GObject.overrides, TaggedOverride "inherited:Gio" Gio.overrides, TaggedOverride "inherited:Cairo" Cairo.overrides]
+        depVersions = [TaggedPkgConfigVersions "GLib" GLib.pkgConfigVersions, TaggedPkgConfigVersions "GObject" GObject.pkgConfigVersions, TaggedPkgConfigVersions "Gio" Gio.pkgConfigVersions, TaggedPkgConfigVersions "Cairo" Cairo.pkgConfigVersions]
diff --git a/gi-poppler.cabal b/gi-poppler.cabal
--- a/gi-poppler.cabal
+++ b/gi-poppler.cabal
@@ -1,5 +1,5 @@
 name:                 gi-poppler
-version:              0.18.30
+version:              0.18.31
 synopsis:             Poppler bindings
 description:          Bindings for Poppler, 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,
                      gi-cairo == 1.0.*,
                      gi-gio == 2.0.*,
                      gi-gobject == 2.0.*,
@@ -31,7 +31,7 @@
       pkgconfig-depends: poppler-glib >= 0.18
       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,
                      gi-cairo == 1.0.*,
                      gi-gio == 2.0.*,
@@ -65,6 +65,7 @@
                        GI.Poppler.Objects.AnnotCircle,
                        GI.Poppler.Objects.AnnotFileAttachment,
                        GI.Poppler.Objects.AnnotFreeText,
+                       GI.Poppler.Objects.AnnotInk,
                        GI.Poppler.Objects.AnnotLine,
                        GI.Poppler.Objects.AnnotMarkup,
                        GI.Poppler.Objects.AnnotMovie,
@@ -101,6 +102,7 @@
                        GI.Poppler.Structs.CertificateInfo,
                        GI.Poppler.Structs.Color,
                        GI.Poppler.Structs.Dest,
+                       GI.Poppler.Structs.FontDescription,
                        GI.Poppler.Structs.FontsIter,
                        GI.Poppler.Structs.FormFieldMapping,
                        GI.Poppler.Structs.ImageMapping,
@@ -109,6 +111,7 @@
                        GI.Poppler.Structs.LinkMapping,
                        GI.Poppler.Structs.PageRange,
                        GI.Poppler.Structs.PageTransition,
+                       GI.Poppler.Structs.Path,
                        GI.Poppler.Structs.Point,
                        GI.Poppler.Structs.Quadrilateral,
                        GI.Poppler.Structs.Rectangle,
@@ -132,6 +135,7 @@
                        GI.Poppler.Objects.AnnotCircle,
                        GI.Poppler.Objects.AnnotFileAttachment,
                        GI.Poppler.Objects.AnnotFreeText,
+                       GI.Poppler.Objects.AnnotInk,
                        GI.Poppler.Objects.AnnotLine,
                        GI.Poppler.Objects.AnnotMarkup,
                        GI.Poppler.Objects.AnnotMovie,
@@ -168,6 +172,7 @@
                        GI.Poppler.Structs.CertificateInfo,
                        GI.Poppler.Structs.Color,
                        GI.Poppler.Structs.Dest,
+                       GI.Poppler.Structs.FontDescription,
                        GI.Poppler.Structs.FontsIter,
                        GI.Poppler.Structs.FormFieldMapping,
                        GI.Poppler.Structs.ImageMapping,
@@ -176,6 +181,7 @@
                        GI.Poppler.Structs.LinkMapping,
                        GI.Poppler.Structs.PageRange,
                        GI.Poppler.Structs.PageTransition,
+                       GI.Poppler.Structs.Path,
                        GI.Poppler.Structs.Point,
                        GI.Poppler.Structs.Quadrilateral,
                        GI.Poppler.Structs.Rectangle,
