diff --git a/om-doh.cabal b/om-doh.cabal
--- a/om-doh.cabal
+++ b/om-doh.cabal
@@ -1,8 +1,6 @@
--- Initial om-doh.cabal generated by cabal init.  For further 
--- documentation, see http://haskell.org/cabal/users-guide/
-
+cabal-version:       3.0
 name:                om-doh
-version:             0.1.0.1
+version:             0.1.0.2
 synopsis:            om-doh
 -- description:         
 homepage:            https://github.com/owensmurray/om-doh
@@ -14,7 +12,6 @@
 -- category:            
 build-type:          Simple
 extra-source-files:  README.md
-cabal-version:       >=1.10
 
 library
   exposed-modules:     
@@ -23,14 +20,14 @@
   other-modules:       
   -- other-extensions:    
   build-depends:
-    base           >= 4.13      && < 4.14,
-    base64         >= 0.4.2.2   && < 0.5,
-    bytestring     >= 0.10.10.1 && < 0.11,
-    http-api-data  >= 0.4.1.1   && < 0.5,
-    resolv         >= 0.1.2.0   && < 0.2,
-    servant        >= 0.16.2    && < 0.17,
-    servant-server >= 0.16.2    && < 0.17,
-    text           >= 1.2.4.0   && < 1.3
+   , base           >= 4.19.0.0 && < 4.20
+   , base64         >= 1.0      && < 1.1
+   , bytestring     >= 0.12.0.2 && < 0.13
+   , http-api-data  >= 0.6      && < 0.7
+   , resolv         >= 0.2.0.2  && < 0.3
+   , servant        >= 0.20.1   && < 0.21
+   , servant-server >= 0.20     && < 0.21
+   , text           >= 2.1      && < 2.2
   hs-source-dirs:      src
   default-language:    Haskell2010
   ghc-options:
diff --git a/src/OM/DoH/Api.hs b/src/OM/DoH/Api.hs
--- a/src/OM/DoH/Api.hs
+++ b/src/OM/DoH/Api.hs
@@ -17,7 +17,7 @@
 
 
 import Data.ByteString (ByteString)
-import Data.ByteString.Base64 (decodeBase64)
+import Data.ByteString.Base64 (decodeBase64Untyped)
 import Data.Text.Encoding (encodeUtf8)
 import GHC.Generics (Generic)
 import Servant.API (type (:>), Accept(contentType),
@@ -49,7 +49,7 @@
 newtype Query = Query {unQuery :: ByteString}
   deriving newtype (MimeUnrender DnsMsgCT)
 instance FromHttpApiData Query where
-  parseUrlPiece txt = Query <$> decodeBase64 (encodeUtf8 txt)
+  parseUrlPiece txt = Query <$> decodeBase64Untyped (encodeUtf8 txt)
 
 
 {- |
