diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Revision history for hpc-codecov
 
+## 0.6.1.0 -- 2024-05-29
+
+- Suppress warning messages when compiling with ghc 9.10.
+
+- Modify version range of filepath to support 1.5.x.
+
 ## 0.6.0.0 -- 2024-04-26
 
 - Add "--expr-only" option. This option will ignore other constructor
diff --git a/hpc-codecov.cabal b/hpc-codecov.cabal
--- a/hpc-codecov.cabal
+++ b/hpc-codecov.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.0
 name:                hpc-codecov
-version:             0.6.0.0
+version:             0.6.1.0
 synopsis:            Generate reports from hpc data
 license:             BSD3
 license-file:        LICENSE
@@ -86,7 +86,7 @@
                      , bytestring  >= 0.10  && < 0.13
                      , containers  >= 0.6   && < 0.8
                      , directory   >= 1.3.0 && < 1.4.0
-                     , filepath    >= 1.4.1 && < 1.5
+                     , filepath    >= 1.4.1 && < 1.6
                      , hpc         >= 0.6   && < 0.8
                      , time        >= 1.9   && < 1.13
   default-language:    Haskell2010
diff --git a/src/Trace/Hpc/Codecov/Report/Emit.hs b/src/Trace/Hpc/Codecov/Report/Emit.hs
--- a/src/Trace/Hpc/Codecov/Report/Emit.hs
+++ b/src/Trace/Hpc/Codecov/Report/Emit.hs
@@ -17,9 +17,13 @@
 
 -- base
 import           Data.Char                         (isUpper)
-import           Data.List                         (foldl', intercalate,
+import           Data.List                         (intercalate,
                                                     intersperse)
 import           System.IO.Unsafe                  (unsafePerformIO)
+
+#if !MIN_VERSION_base(4,20,0)
+import           Data.List                         (foldl')
+#endif
 
 #if !MIN_VERSION_bytestring(0,11,0)
 import           Text.Printf                       (printf)
diff --git a/src/Trace/Hpc/Codecov/Report/Entry.hs b/src/Trace/Hpc/Codecov/Report/Entry.hs
--- a/src/Trace/Hpc/Codecov/Report/Entry.hs
+++ b/src/Trace/Hpc/Codecov/Report/Entry.hs
@@ -1,4 +1,5 @@
 -- |
+{-# LANGUAGE CPP #-}
 -- Module:     Trace.Hpc.Codecov.Report.Entry
 -- Copyright:  (c) 2023 8c6794b6
 -- License:    BSD3
@@ -25,8 +26,12 @@
 import           Control.Monad               (when)
 import           Control.Monad.ST            (ST)
 import           Data.Function               (on)
-import           Data.List                   (foldl', intercalate)
+import           Data.List                   (intercalate)
 import           System.IO                   (hPutStrLn, stderr)
+
+#if !MIN_VERSION_base(4,20,0)
+import           Data.List                   (foldl')
+#endif
 
 -- array
 import           Data.Array.Base             (unsafeAt)
diff --git a/test/data/project1/stack.yaml b/test/data/project1/stack.yaml
--- a/test/data/project1/stack.yaml
+++ b/test/data/project1/stack.yaml
@@ -17,7 +17,7 @@
 #
 # resolver: ./custom-snapshot.yaml
 # resolver: https://example.com/snapshots/2018-01-01.yaml
-resolver: lts-22.18
+resolver: lts-22.23
 
 # User packages to be built.
 # Various formats can be used as shown in the example below.
