diff --git a/kind-generics-th.cabal b/kind-generics-th.cabal
--- a/kind-generics-th.cabal
+++ b/kind-generics-th.cabal
@@ -1,6 +1,6 @@
 cabal-version:       >=1.10
 name:                kind-generics-th
-version:             0.2.3.0
+version:             0.2.3.1
 synopsis:            Template Haskell support for generating `GenericK` instances
 description:         This package provides Template Haskell functionality to
                      automatically derive @GenericK@ instances (from the
@@ -27,7 +27,7 @@
                      , ghc-prim >= 0.5.3
                      , kind-generics >=0.5
                      , template-haskell >=2.14 && <2.20
-                     , th-abstraction >=0.4 && <0.5
+                     , th-abstraction >=0.4 && <0.6
   hs-source-dirs:      src
   default-language:    Haskell2010
   ghc-options:         -Wall
diff --git a/src/Generics/Kind/TH.hs b/src/Generics/Kind/TH.hs
--- a/src/Generics/Kind/TH.hs
+++ b/src/Generics/Kind/TH.hs
@@ -664,6 +664,9 @@
 isNewtypeVariant Newtype         = True
 isNewtypeVariant DataInstance    = False
 isNewtypeVariant NewtypeInstance = True
+#if MIN_VERSION_th_abstraction(0,5,0)
+isNewtypeVariant TypeData        = False
+#endif
 
 -- | Extract 'Just' the 'Name' from a type variable. If the argument 'Type' is
 -- not a type variable, return 'Nothing'.
