packages feed

aeson-commit 1.4 → 1.5

raw patch · 3 files changed

+12/−6 lines, 3 filesdep +transformersdep −mtlPVP ok

version bump matches the API change (PVP)

Dependencies added: transformers

Dependencies removed: mtl

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +## [1.5]+### [Changed]+- [#15] Depend on transformers instead of mtl, to sidestep current export issues in mtl 2.3+ ## [1.4] ### [Added] - Nix support
aeson-commit.cabal view
@@ -1,6 +1,6 @@ cabal-version:      >=1.10 name:               aeson-commit-version:            1.4+version:            1.5 license:            BSD3 copyright:          2020 Cross Compass Ltd. maintainer:         Jonas Carpay <jonascarpay@gmail.com>@@ -30,10 +30,10 @@   default-language: Haskell2010   ghc-options:      -Wall -Wno-name-shadowing   build-depends:-      aeson  >=1.4  && <2.1-    , base   >=4.10 && <5-    , mtl    >=2.2  && <3-    , text   >=1.2  && <2+      aeson         >=1.4  && <2.1+    , base          >=4.10 && <5+    , text          >=1.2  && <2+    , transformers  >=0.5  && <0.7  test-suite tasty   type:             exitcode-stdio-1.0
src/Data/Aeson/Commit.hs view
@@ -41,9 +41,11 @@ where  import Control.Applicative (Alternative (..))-import Control.Monad.Except+import Control.Monad.Trans.Class (lift)+import Control.Monad.Trans.Except import Data.Aeson.Types import Data.Void (Void, absurd)+ #if MIN_VERSION_aeson(2,0,0) import qualified Data.Aeson.Key as Key #else