diff --git a/dhscanner-ast.cabal b/dhscanner-ast.cabal
--- a/dhscanner-ast.cabal
+++ b/dhscanner-ast.cabal
@@ -1,4 +1,4 @@
-cabal-version:      3.0
+cabal-version:      3.12
 name:               dhscanner-ast
 category:           parsing
 synopsis:           abstract syntax tree for multiple programming languages
@@ -22,7 +22,7 @@
     and models both of them as plain sequential code blocks. Every file has exactly one ast that represents it.
     Non Haskell parogrammers note: The ast is /immutable/ (like everything else in Haskell ...)
 
-version:            1.2.0
+version:            1.3.0
 license:            GPL-3.0-only
 license-file:       LICENSE
 author:             OrenGitHub
@@ -47,15 +47,15 @@
         Location
 
     build-depends:
-        aeson < 2.3,
-        base < 4.19,
-        containers < 0.7
+        aeson >= 2.2.5 && < 2.4,
+        base >= 4.22 && < 4.23,
+        containers >= 0.8 && < 0.9
 
     hs-source-dirs:
         src
 
     default-language:
-        Haskell2010
+        GHC2024
 
 test-suite dhscanner-ast-test
 
@@ -78,4 +78,4 @@
         random
 
     default-language:
-        Haskell2010
+        GHC2024
diff --git a/src/Ast.hs b/src/Ast.hs
--- a/src/Ast.hs
+++ b/src/Ast.hs
@@ -375,13 +375,19 @@
 -- |
 -- Names that do not exist as directories in the repo
 -- are classified by default as being "third party"
-newtype ImportThirdPartyContent = ImportThirdPartyContent String deriving ( Show, Eq, Ord, Generic, ToJSON, FromJSON )
+newtype ImportThirdPartyContent = ImportThirdPartyContent String
+    deriving stock ( Show, Eq, Ord, Generic )
+    deriving anyclass ( ToJSON, FromJSON )
 
 -- | See `StmtImportContent`
-newtype ImportSpecific = ImportSpecific String deriving ( Show, Eq, Ord, Generic, ToJSON, FromJSON )
+newtype ImportSpecific = ImportSpecific String
+    deriving stock ( Show, Eq, Ord, Generic )
+    deriving anyclass ( ToJSON, FromJSON )
 
 -- | See `StmtImportContent`
-newtype ImportAlias = ImportAlias String deriving ( Show, Eq, Ord, Generic, ToJSON, FromJSON )
+newtype ImportAlias = ImportAlias String
+    deriving stock ( Show, Eq, Ord, Generic )
+    deriving anyclass ( ToJSON, FromJSON )
 
 data StmtContinueContent
    = StmtContinueContent
