diff --git a/errata.cabal b/errata.cabal
--- a/errata.cabal
+++ b/errata.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.4
 name:          errata
-version:       0.4.0.1
+version:       0.4.0.2
 synopsis:      Source code error pretty printing
 description:
     An extremely customizable error pretty printer that can handle many kinds of error formatting.
@@ -27,6 +27,7 @@
   , GHC == 9.2.8
   , GHC == 9.4.5
   , GHC == 9.6.2
+  , GHC == 9.8.1
 
 source-repository head
   type:     git
@@ -38,9 +39,9 @@
 
 common common-options
   build-depends:
-      base >= 4.12 && < 4.19
+      base >= 4.12 && < 4.20
     , containers >= 0.6 && < 0.7
-    , text >= 1.2.3 && < 2.1
+    , text >= 1.2.3 && < 2.2
   ghc-options:
       -Wall
       -Wcompat
