diff --git a/Web/Routes.hs b/Web/Routes.hs
--- a/Web/Routes.hs
+++ b/Web/Routes.hs
@@ -1,4 +1,4 @@
-module Web.Routes 
+module Web.Routes
     ( module Web.Routes.Base
     , module Web.Routes.PathInfo
     , module Web.Routes.QuickCheck
diff --git a/Web/Routes/Base.hs b/Web/Routes/Base.hs
--- a/Web/Routes/Base.hs
+++ b/Web/Routes/Base.hs
@@ -1,4 +1,3 @@
-{-# LANGUAGE GeneralizedNewtypeDeriving, FlexibleInstances, TypeFamilies, PackageImports, FlexibleContexts, UndecidableInstances #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Web.Routes.Base
diff --git a/Web/Routes/PathInfo.hs b/Web/Routes/PathInfo.hs
--- a/Web/Routes/PathInfo.hs
+++ b/Web/Routes/PathInfo.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, FlexibleInstances, TypeSynonymInstances, TupleSections #-}
+{-# LANGUAGE CPP, FlexibleContexts, FlexibleInstances, TupleSections #-}
 
 #if __GLASGOW_HASKELL__ > 702
 {-# LANGUAGE DefaultSignatures, OverloadedStrings, ScopedTypeVariables, TypeOperators #-}
diff --git a/Web/Routes/RouteT.hs b/Web/Routes/RouteT.hs
--- a/Web/Routes/RouteT.hs
+++ b/Web/Routes/RouteT.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleInstances, TypeFamilies, PackageImports, FlexibleContexts, UndecidableInstances #-}
+{-# LANGUAGE CPP, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, TypeFamilies, UndecidableInstances #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Web.Route.RouteT
diff --git a/web-routes.cabal b/web-routes.cabal
--- a/web-routes.cabal
+++ b/web-routes.cabal
@@ -1,5 +1,5 @@
 Name:             web-routes
-Version:          0.27.14.3
+Version:          0.27.14.4
 License:          BSD3
 License-File:     LICENSE
 Author:           jeremy@seereason.com
@@ -8,11 +8,12 @@
 Synopsis:         portable, type-safe URL routing
 Description:      A collection of types and functions that ensure that URLs generated by an application are valid. Need more properties here.
 Homepage:         http://www.happstack.com/docs/crashcourse/index.html#web-routes
-Cabal-Version:    >= 1.8
+Cabal-Version:    >= 1.10
 Build-type:       Simple
-tested-with:      GHC==8.0.1, GHC==8.2.2, GHC==8.4.1, GHC==8.6.5, GHC==8.8.1
+tested-with:      GHC==8.0.2, GHC==8.2.2, GHC==8.4.1, GHC==8.6.5, GHC==8.8.4, GHC==8.10.7, GHC==9.0.2, GHC==9.2.2
 
 test-suite Test
+  Default-Language : Haskell2010
   type             : exitcode-stdio-1.0
   main-is          : Test.hs
   hs-source-dirs   : test
@@ -24,13 +25,14 @@
                      web-routes
 
 Library
+        Default-Language: Haskell2010
         Build-Depends:    base          >= 4.9  && < 5,
                           blaze-builder >= 0.2  && < 0.5,
                           parsec        >= 2    && < 4,
-                          bytestring    >= 0.9  && < 0.11,
+                          bytestring    >= 0.9  && < 0.12,
                           http-types    >= 0.6  && < 0.13,
                           mtl           >= 2.0  && < 2.3,
-                          text          >= 0.11 && < 1.3,
+                          text          >= 0.11 && < 2.1,
                           utf8-string   >= 0.3  && < 1.1,
                           exceptions    >= 0.6.1 && < 0.11
         if impl(ghc >= 7.2)
@@ -42,8 +44,16 @@
                           Web.Routes.RouteT
                           Web.Routes.Site
 
-        Extensions:       FlexibleContexts,
-                          CPP
+        Other-Extensions: CPP,
+                          FlexibleContexts,
+                          FlexibleInstances,
+                          GeneralizedNewtypeDeriving,
+                          MultiParamTypeClasses,
+                          TypeFamilies,
+                          TupleSections,
+                          UndecidableInstances
+
+
 
 source-repository head
     type:     git
