diff --git a/cabal-lenses.cabal b/cabal-lenses.cabal
--- a/cabal-lenses.cabal
+++ b/cabal-lenses.cabal
@@ -1,12 +1,13 @@
-cabal-version: >=1.9.2
+cabal-version: >=1.10.0
 name: cabal-lenses
-version: 0.9.0
+version: 0.10.0
 license: BSD3
 license-file: LICENSE
 maintainer: daniel.trstenjak@gmail.com
 author: Daniel Trstenjak
 tested-with: ghc ==7.6.2 ghc ==7.6.3 ghc ==7.8.3 ghc ==7.10.1
-             ghc ==8.0.1 ghc ==8.2.1 ghc ==8.4.2 ghc ==8.6.3
+             ghc ==8.0.1 ghc ==8.2.1 ghc ==8.4.2 ghc ==8.6.3 ghc ==8.8.3
+             ghc ==8.10.1
 synopsis: Lenses and traversals for the Cabal library.
 description:
     Lenses and traversals (compatible with the <https://hackage.haskell.org/package/lens lens> library) for
@@ -37,14 +38,15 @@
     other-modules:
         CabalLenses.Traversals.Internal
         Paths_cabal_lenses
+    default-language: Haskell2010
     ghc-options: -W
     build-depends:
-        base >=3 && <5,
-        lens >=4.0.1 && <4.18,
+        base >=4.8 && <5,
+        lens >=4.0.1 && <4.20,
         unordered-containers >=0.2.3.3 && <0.3,
-        Cabal >=2.1.0.0 && <2.5,
+        Cabal >=3.0.0.0 && <4.0,
         system-filepath >=0.4.9 && <0.5,
         system-fileio >=0.3.12 && <0.4,
         strict >=0.3.2 && <0.4,
         text >=1.1.0.1 && <1.3,
-        transformers >=0.3.0.0 && <0.6
+        transformers >=0.4.1.0 && <0.6
diff --git a/lib/CabalLenses/Package.hs b/lib/CabalLenses/Package.hs
--- a/lib/CabalLenses/Package.hs
+++ b/lib/CabalLenses/Package.hs
@@ -29,12 +29,12 @@
 packageName :: Lens' Dependency PackageName
 packageName = lens getPkgName setPkgName
    where
-      getPkgName (Dependency pkgName _)          = pkgName
-      setPkgName (Dependency _ range) newPkgName = Dependency newPkgName range
+      getPkgName (Dependency pkgName _ _)                 = pkgName
+      setPkgName (Dependency _ range libNames) newPkgName = Dependency newPkgName range libNames
 
 
 versionRange :: Lens' Dependency VersionRange
 versionRange = lens getRange setRange
    where
-      getRange (Dependency _ range)   = range
-      setRange (Dependency pkgName _) = Dependency pkgName
+      getRange (Dependency _ range _)                   = range
+      setRange (Dependency pkgName _ libNames) newRange = Dependency pkgName newRange libNames
