diff --git a/burrito.cabal b/burrito.cabal
--- a/burrito.cabal
+++ b/burrito.cabal
@@ -1,7 +1,7 @@
 cabal-version: 2.2
 
 name: burrito
-version: 2.0.1.6
+version: 2.0.1.7
 
 synopsis: Parse and render URI templates.
 description:
@@ -39,12 +39,12 @@
 
 common library
   build-depends:
-    , base >= 4.16.0 && < 4.19
+    , base >= 4.16.0 && < 4.20
     , bytestring >= 0.11.3 && < 0.12
     , containers >= 0.6.5 && < 0.7
     , parsec >= 3.1.15 && < 3.2
-    , template-haskell >= 2.18.0 && < 2.21
-    , text >= 1.2.5 && < 1.3 || >= 2.0 && < 2.1
+    , template-haskell >= 2.18.0 && < 2.22
+    , text >= 1.2.5 && < 1.3 || >= 2.0 && < 2.2
     , transformers >= 0.5.6 && < 0.7
   default-language: Haskell2010
   ghc-options:
@@ -62,6 +62,9 @@
 
   if flag(pedantic)
     ghc-options: -Werror
+
+  if impl(ghc >= 9.8)
+    ghc-options: -Wno-missing-role-annotations
 
 common executable
   import: library
