packages feed

aeson-modern-tojson 0.1.0.0 → 0.1.1.0

raw patch · 3 files changed

+9/−6 lines, 3 filesdep ~aesonPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -2,5 +2,8 @@  ## Unreleased changes +## 0.1.1.0+ * Set aeson 2 compatibility+ ## 0.1.0.0  * Library creation
aeson-modern-tojson.cabal view
@@ -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
test/Data/Aeson/ToJSON/DerivingSpec.hs view
@@ -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