diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # thyme
 
-[![CI](https://github.com/fumieval/thyme/actions/workflows/haskell.yml/badge.svg)](https://github.com/fumieval/thyme/actions/workflows/haskell.yml) [![Hackage](https://img.shields.io/hackage/v/thyme.svg?logo=haskell)](http://hackage.haskell.org/package/thyme)
+[![CI](https://github.com/haskell-github-trust/thyme/actions/workflows/haskell.yml/badge.svg)](https://github.com/haskell-github-trust/thyme/actions/workflows/haskell.yml) [![Hackage](https://img.shields.io/hackage/v/thyme.svg?logo=haskell)](http://hackage.haskell.org/package/thyme)
 
 A faster date and time library based on [time][].
 
diff --git a/src/Data/Thyme/TrueName.hs b/src/Data/Thyme/TrueName.hs
--- a/src/Data/Thyme/TrueName.hs
+++ b/src/Data/Thyme/TrueName.hs
@@ -65,7 +65,9 @@
     PatSynSigD _name typ -> typNames typ
 #endif
 
-#if MIN_VERSION_template_haskell(2,8,0)
+#if MIN_VERSION_template_haskell(2,22,0)
+    InfixD _ _ _ -> []
+#elif MIN_VERSION_template_haskell(2,8,0)
     InfixD _ _ -> []
 #endif
 
@@ -121,6 +123,11 @@
 
 #if MIN_VERSION_template_haskell(2,15,0)
     ImplicitParamBindD _ _ -> []
+#endif
+
+#if MIN_VERSION_template_haskell(2,22,0)
+    TypeDataD _ _ _ _ -> []
+    DefaultD _ -> []
 #endif
 
 {- }}} -}
diff --git a/thyme.cabal b/thyme.cabal
--- a/thyme.cabal
+++ b/thyme.cabal
@@ -1,5 +1,5 @@
 name:           thyme
-version:        0.4
+version:        0.4.1
 synopsis:       A faster time library
 description:
     @thyme@ is a performance-optimized rewrite of the excellent
@@ -22,7 +22,7 @@
     README.md
     include/thyme.h
 tested-with:
-    GHC >= 8.4 && < 9.6
+    GHC >= 8.4 && < 9.12
 
 source-repository head
     type:       git
@@ -97,7 +97,7 @@
         old-locale >= 1.0,
         random,
         text >= 0.11,
-        template-haskell >= 2.7 && < 2.20,
+        template-haskell >= 2.7 && < 2.23,
         time >= 1.4,
         vector >= 0.9,
         vector-th-unbox >= 0.2.1.0,
@@ -133,7 +133,7 @@
     build-depends:
         QuickCheck,
         attoparsec,
-        base,
+        base < 5,
         bytestring,
         old-locale,
         text,
@@ -152,7 +152,7 @@
     hs-source-dirs: tests
     main-is: rewrite.hs
     build-depends:
-        base,
+        base < 5,
         containers,
         random,
         thyme
@@ -165,7 +165,7 @@
     main-is: hlint.hs
     ghc-options: -threaded -rtsopts -with-rtsopts=-N
     if flag(HLint)
-        build-depends: base, hlint >= 1.9
+        build-depends: base < 5, hlint >= 1.9
     else
         buildable: False
 
@@ -181,7 +181,7 @@
         other-modules: Control.Lens
     build-depends:
         QuickCheck,
-        base,
+        base < 5,
         criterion,
         mtl,
         old-locale,
