diff --git a/hls-plugin-api.cabal b/hls-plugin-api.cabal
--- a/hls-plugin-api.cabal
+++ b/hls-plugin-api.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.4
 name:          hls-plugin-api
-version:       2.2.0.0
+version:       2.3.0.0
 synopsis:      Haskell Language Server API for plugin communication
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -59,7 +59,7 @@
     , filepath
     , ghc
     , hashable
-    , hls-graph             == 2.2.0.0
+    , hls-graph             == 2.3.0.0
     , lens
     , lens-aeson
     , lsp                   ^>=2.2
@@ -86,11 +86,10 @@
   ghc-options:
     -Wall -Wredundant-constraints -Wno-name-shadowing
     -Wno-unticked-promoted-constructors
+    -Wunused-packages
 
   if flag(pedantic)
     ghc-options: -Werror
-  if impl(ghc >= 9)
-    ghc-options: -Wunused-packages
 
   if flag(use-fingertree)
     cpp-options: -DUSE_FINGERTREE
