diff --git a/chart-svg.cabal b/chart-svg.cabal
--- a/chart-svg.cabal
+++ b/chart-svg.cabal
@@ -1,6 +1,6 @@
 cabal-version: 3.0
 name: chart-svg
-version: 0.5.1.1
+version: 0.5.2.0
 license: BSD-3-Clause
 license-file: LICENSE
 copyright: Tony Day (c) 2017
@@ -30,7 +30,7 @@
     See "Chart" for a broad overview of concepts, and "Chart.Examples" for practical examples.
 
 build-type: Simple
-tested-with: GHC == 8.10.7 || ==9.2.8 || ==9.4.5 || ==9.6.2
+tested-with: GHC == 8.10.7 || ==9.2.8 || ==9.4.5 || ==9.6.2 || ==9.8.1
 extra-doc-files:
     ChangeLog.md
     other/*.svg
@@ -116,7 +116,7 @@
         , attoparsec         >=0.13.2 && <0.15
         , base               >=4.7 && <5
         , bytestring         >=0.11.3 && <0.13
-        , containers         >=0.6 && <0.7
+        , containers         >=0.6 && <0.8
         , cubicbezier        ^>=0.6
         , flatparse          >=0.3.5 && <0.6
         , foldl              ^>=1.4
@@ -129,7 +129,7 @@
         , optics-core        >=0.4 && <0.5
         , random             >=1.2 && <1.3
         , string-interpolate >=0.3 && <0.4
-        , text               >=1.2 && <2.1
+        , text               >=1.2 && <2.2
         , time               >=1.9 && <1.13
     exposed-modules:
         Chart
diff --git a/src/Chart.hs b/src/Chart.hs
--- a/src/Chart.hs
+++ b/src/Chart.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE DuplicateRecordFields #-}
 {-# OPTIONS_HADDOCK prune #-}
 
 -- | A haskell Charting library targetting SVG.
