diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,9 @@
 # Revision history for th-extras
 
+## 0.0.0.7 - 2023-12-15
+
+* Support GHC 9.6 and 9.8
+
 ## 0.0.0.6 - 2022-01-04
 
 * Fix GHC 8.0 build
diff --git a/src/Language/Haskell/TH/Extras.hs b/src/Language/Haskell/TH/Extras.hs
--- a/src/Language/Haskell/TH/Extras.hs
+++ b/src/Language/Haskell/TH/Extras.hs
@@ -252,7 +252,11 @@
 -- its declaration, and the arity of the kind of type being defined (i.e. how many more arguments would
 -- need to be supplied in addition to the bound parameters in order to obtain an ordinary type of kind *).
 -- If the supplied 'Name' is anything other than a data or newtype, produces an error.
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 908
 tyConArity' :: Name -> Q ([TyVarBndrUnit], Int)
+#else
+tyConArity' :: Name -> Q ([TyVarBndr BndrVis], Int)
+#endif
 tyConArity' n = do
   r <- reify n
   return $ case r of
diff --git a/th-extras.cabal b/th-extras.cabal
--- a/th-extras.cabal
+++ b/th-extras.cabal
@@ -1,5 +1,5 @@
 name:                   th-extras
-version:                0.0.0.6
+version:                0.0.0.7
 stability:              experimental
 
 cabal-version:          >= 1.10
@@ -19,8 +19,8 @@
                         providing high-level operations and making sure they work on as many
                         versions of Template Haskell as I can.
 
-tested-with:            GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
-                        GHC == 8.8.4, GHC == 8.10.2, GHC == 9.0.1
+tested-with:            GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4,
+                        GHC == 8.10.2, GHC == 9.0.1, GHC == 9.6.3, GHC == 9.8.1
 
 extra-source-files:     ReadMe.md
                       , ChangeLog.md
@@ -34,7 +34,7 @@
   exposed-modules:      Language.Haskell.TH.Extras
   build-depends:        base >= 4.9 && < 5
                       , containers
-                      , template-haskell < 2.19
-                      , th-abstraction >= 0.4 && < 0.5
+                      , template-haskell < 2.23
+                      , th-abstraction >= 0.4 && < 0.7
                       , syb
   default-language:     Haskell2010
