diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+### 3.9.8 [2024.04.20]
+* Support building with GHC 9.10.
+* Add a `TextShow` instance for `NamespaceSpecifier` in
+  `TextShow.Language.Haskell.TH` when building with `template-haskell-2.22.0.0`
+  (GHC 9.10.1) or later.
+
 ### 3.9.7 [2023.10.11]
 * Add `TextShow(1)` instances for `aeson`'s `KeyMap` type.
 * Add `TextShow(1)` instances for `NonEmptyVector` from the `nonempty-vector`
diff --git a/src/TextShow/Language/Haskell/TH.hs b/src/TextShow/Language/Haskell/TH.hs
--- a/src/TextShow/Language/Haskell/TH.hs
+++ b/src/TextShow/Language/Haskell/TH.hs
@@ -146,6 +146,9 @@
   , ''ModuleInfo
   , ''NameFlavour
   , ''NameSpace
+#if MIN_VERSION_template_haskell(2,22,0)
+  , ''NamespaceSpecifier
+#endif
   , ''OccName
   , ''Pat
   , ''Phases
diff --git a/text-show-instances.cabal b/text-show-instances.cabal
--- a/text-show-instances.cabal
+++ b/text-show-instances.cabal
@@ -1,5 +1,5 @@
 name:                text-show-instances
-version:             3.9.7
+version:             3.9.8
 synopsis:            Additional instances for text-show
 description:         @text-show-instances@ is a supplemental library to @text-show@
                      that provides additional @Show@ instances for data types in
@@ -81,8 +81,10 @@
                    , GHC == 8.10.7
                    , GHC == 9.0.2
                    , GHC == 9.2.8
-                   , GHC == 9.4.5
-                   , GHC == 9.6.2
+                   , GHC == 9.4.8
+                   , GHC == 9.6.5
+                   , GHC == 9.8.2
+                   , GHC == 9.10.1
 extra-source-files:  CHANGELOG.md, README.md
 cabal-version:       >=1.10
 
@@ -130,13 +132,13 @@
                        TextShow.System.Posix
   other-modules:       TextShow.Utils
   build-depends:       aeson                 >= 2.0.3   && < 2.3
-                     , base                  >= 4.9     && < 4.20
+                     , base                  >= 4.9     && < 4.21
                      , base-compat           >= 0.10    && < 1
                      , bifunctors            >= 5.2     && < 6
                      , binary                >= 0.8.3   && < 0.9
                      , containers            >= 0.5.7.1 && < 0.8
                      , directory             >= 1.3     && < 1.4
-                     , ghc-boot-th           >= 8.0     && < 9.9
+                     , ghc-boot-th           >= 8.0     && < 9.11
                      , haskeline             >= 0.7.3   && < 0.9
                      , hpc                   >= 0.6     && < 0.8
                      , nonempty-vector       >= 0.2     && < 0.3
@@ -147,7 +149,7 @@
                      , scientific            >= 0.3.7   && < 0.4
                      , semigroups            >= 0.16.2  && < 1
                      , tagged                >= 0.4.4   && < 1
-                     , template-haskell      >= 2.11    && < 2.22
+                     , template-haskell      >= 2.11    && < 2.23
                      , text                  >= 0.11.1  && < 2.2
                      , text-short            >= 0.1     && < 0.2
                      , text-show             >= 3.4     && < 4
@@ -241,14 +243,14 @@
                        Spec.System.Console.TerminfoSpec
                        Spec.System.PosixSpec
   build-depends:       aeson                 >= 2.0.3   && < 2.3
-                     , base                  >= 4.9     && < 4.20
+                     , base                  >= 4.9     && < 4.21
                      , base-compat           >= 0.10    && < 1
                      , bifunctors            >= 5.5.5   && < 6
                      , binary                >= 0.8.3   && < 0.9
                      , containers            >= 0.5.7.1 && < 0.8
                      , directory             >= 1.3     && < 1.4
                      , generic-deriving      >= 1.9     && < 2
-                     , ghc-boot-th           >= 8.0     && < 9.9
+                     , ghc-boot-th           >= 8.0     && < 9.11
                      , ghc-prim
                      , haskeline             >= 0.7.3   && < 0.9
                      , hpc                   >= 0.6     && < 0.8
@@ -262,7 +264,7 @@
                      , random                >= 1.0.1   && < 1.3
                      , tagged                >= 0.4.4   && < 1
                      , scientific            >= 0.3.7   && < 0.4
-                     , template-haskell      >= 2.11    && < 2.22
+                     , template-haskell      >= 2.11    && < 2.23
                      , text-short            >= 0.1     && < 0.2
                      , text-show             >= 3.10    && < 4
                      , text-show-instances
