diff --git a/ascii.cabal b/ascii.cabal
--- a/ascii.cabal
+++ b/ascii.cabal
@@ -1,7 +1,7 @@
 cabal-version: 3.0
 
 name: ascii
-version: 1.7.0.0
+version: 1.7.0.1
 synopsis: The ASCII character set and encoding
 category: Data, Text
 
@@ -24,7 +24,7 @@
     location: git://github.com/typeclasses/ascii.git
 
 common base
-    default-language: Haskell2010
+    default-language: GHC2021
     ghc-options: -Wall
     default-extensions: NoImplicitPrelude
     build-depends:
@@ -36,14 +36,13 @@
       , ascii-predicates == 1.0.1.*
       , ascii-superset == 1.3.0.*
       , ascii-th == 1.2.0.*
-      , base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17
-      , bytestring ^>= 0.10.12 || ^>= 0.11
-      , text ^>= 1.2.4 || ^>= 2.0
+      , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18
+      , bytestring ^>= 0.11.4
+      , text ^>= 1.2.5 || ^>= 2.0
 
 library
     import: base
     hs-source-dirs: library
-    default-extensions: RankNTypes ScopedTypeVariables TypeApplications
     exposed-modules: ASCII
     reexported-modules:
       , ASCII.Case
@@ -72,4 +71,4 @@
     default-extensions: OverloadedStrings QuasiQuotes
     build-depends:
       , ascii
-      , hspec ^>= 2.8.5 || ^>= 2.9 || ^>= 2.10
+      , hspec ^>= 2.9.7 || ^>= 2.10 || ^>= 2.11
diff --git a/changelog.md b/changelog.md
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,7 @@
+### 1.7.0.1 (2023-06-26)
+
+Upgrade language to GHC2021
+
 ### 1.7.0.0 (2023-03-01)
 
 Rename `toAsciiCharMaybe` to `toCharMaybe`
diff --git a/library/ASCII.hs b/library/ASCII.hs
--- a/library/ASCII.hs
+++ b/library/ASCII.hs
@@ -602,7 +602,7 @@
 They convert a string from one ASCII-superset type to another.
 
 @
-ASCII.byteListToUnicodeStringMaybe [0x48, 0x54, 0x54, 0x50] == Just "HTTP"
+ASCII.byteListToUnicodeStringMaybe [0x48, 0x54, 0x54, 0x50] == Just \"HTTP"
 @
 
 If any of the characters in the input is outside the ASCII character set, the
