pinboard 0.9.12.3 → 0.9.12.4
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +4/−0
- pinboard.cabal +1/−1
- src/Pinboard/ApiTypes.hs +2/−2
changelog.md view
@@ -1,3 +1,7 @@+__v0.9.12.4++fix for aeson [] instances in 1.0.0.0+ __v0.9.12.2 vector bounds
pinboard.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: pinboard-version: 0.9.12.3+version: 0.9.12.4 synopsis: Access to the Pinboard API description: . The Pinboard API is a way to interact programatically with
src/Pinboard/ApiTypes.hs view
@@ -24,7 +24,7 @@ import GHC.Generics (Generic) import qualified Data.HashMap.Strict as HM-#if !MIN_VERSION_aeson(1,1,0)+#if !MIN_VERSION_aeson(1,0,0) import qualified Data.Vector as V #endif import Data.Time.Format (formatTime, defaultTimeLocale)@@ -234,7 +234,7 @@ | otherwise = fail "bad parse" parseJSON _ = fail "bad parse" -#if !MIN_VERSION_aeson(1,1,0)+#if !MIN_VERSION_aeson(1,0,0) instance ToJSON [Suggested] where toJSON xs = Array $ toJSON <$> V.fromList xs #endif