diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -2,5 +2,8 @@
 
 ## Unreleased changes
 
+## 0.1.1.0
+ * Set aeson 2 compatibility
+
 ## 0.1.0.0
  * Library creation
diff --git a/aeson-modern-tojson.cabal b/aeson-modern-tojson.cabal
--- a/aeson-modern-tojson.cabal
+++ b/aeson-modern-tojson.cabal
@@ -1,11 +1,11 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.34.4.
+-- This file has been generated from package.yaml by hpack version 0.34.7.
 --
 -- see: https://github.com/sol/hpack
 
 name:           aeson-modern-tojson
-version:        0.1.0.0
+version:        0.1.1.0
 synopsis:       Provide a handy way for derving ToJSON proprely.
 description:    Provide a newtype to be used with DerivingVia to correctly derive <https://hackage.haskell.org/package/aeson-1.5.6.0/docs/Data-Aeson.html#g:7 ToJSON>.
                 .
@@ -43,7 +43,7 @@
   hs-source-dirs:
       src
   build-depends:
-      aeson >=1.0.0.0 && <2
+      aeson >=1.0.0.0 && <3
     , base >=4.7 && <5
   default-language: Haskell2010
 
@@ -56,7 +56,7 @@
       test
   ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
   build-depends:
-      aeson >=1.0.0.0 && <2
+      aeson >=1.0.0.0 && <3
     , aeson-modern-tojson
     , base >=4.7 && <5
     , inspection-testing >=0.4.4.0 && <1.0
diff --git a/test/Data/Aeson/ToJSON/DerivingSpec.hs b/test/Data/Aeson/ToJSON/DerivingSpec.hs
--- a/test/Data/Aeson/ToJSON/DerivingSpec.hs
+++ b/test/Data/Aeson/ToJSON/DerivingSpec.hs
@@ -10,7 +10,7 @@
 import Data.Aeson
 import Data.Aeson.ToJSON.Deriving
 import GHC.Generics
-import Test.Inspection (inspect, (===))
+import Test.Inspection (inspect, (==-))
 
 data W = W Int Int
   deriving stock (Generic)
@@ -25,4 +25,4 @@
 main :: IO ()
 main = pure ()
 
-inspect $ 'toEncodingDerived === 'toEncodingTarget
+inspect $ 'toEncodingDerived ==- 'toEncodingTarget
