diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
 # Revision history for cabal-appimage
 
+## 0.4.0.2 -- 2023-10-26
+
+* Build with GHC 9.8.
+
+
 ## 0.4.0.0 -- 2023-01-11
 
 * Allow resources to have directory structure (thanks to Sandy Maguire).
diff --git a/cabal-appimage.cabal b/cabal-appimage.cabal
--- a/cabal-appimage.cabal
+++ b/cabal-appimage.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.0
 name:                cabal-appimage
-version:             0.4.0.1
+version:             0.4.0.2
 synopsis:            Cabal support for creating AppImage applications
 description:         This package provides a build hook automating the
                      creation of AppImage bundles.
@@ -10,14 +10,14 @@
 license-file:        LICENSE
 author:              Gabriele Sales
 maintainer:          gbrsales@gmail.com
-copyright:           2020-2022 Gabriele Sales
+copyright:           2020-2023 Gabriele Sales
 category:            Development, Distribution, Linux
 extra-source-files:  CHANGELOG.md
 build-type:          Simple
 
 library
   exposed-modules:     Distribution.AppImage
-  build-depends:       base >=4.11.0.0 && <4.19,
+  build-depends:       base >=4.11.0.0 && <4.20,
                        Cabal >=2.4.1.0 && <3.11,
                        filepath >=1.4.2.1 && <1.5
   hs-source-dirs:      src
