jose-jwt 0.9.2 → 0.9.3
raw patch · 3 files changed
+10/−4 lines, 3 filesdep ~aesonPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- Jose/Types.hs +2/−2
- jose-jwt.cabal +2/−2
CHANGELOG.md view
@@ -1,3 +1,9 @@+0.9.3+-----++* Add upper bound < 1.6 for aeson dependency+* Add Num Instance for IntDate+ 0.9.2 -----
Jose/Types.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings, DeriveGeneric, FlexibleContexts #-}+{-# LANGUAGE OverloadedStrings, DeriveGeneric, FlexibleContexts, GeneralizedNewtypeDeriving #-} {-# OPTIONS_HADDOCK prune #-} module Jose.Types@@ -104,7 +104,7 @@ , jweKid :: Maybe KeyId } deriving (Eq, Show, Generic) -newtype IntDate = IntDate POSIXTime deriving (Show, Eq, Ord)+newtype IntDate = IntDate POSIXTime deriving (Show, Eq, Ord, Num) instance FromJSON IntDate where parseJSON = withScientific "IntDate" $ \n ->
jose-jwt.cabal view
@@ -1,5 +1,5 @@ Name: jose-jwt-Version: 0.9.2+Version: 0.9.3 Synopsis: JSON Object Signing and Encryption Library Homepage: http://github.com/tekul/jose-jwt Bug-Reports: http://github.com/tekul/jose-jwt/issues@@ -50,7 +50,7 @@ Buildable: False else Build-depends: base >= 4.9 && < 5- , aeson >= 0.8.0.2+ , aeson >= 1.5 && < 1.6 , attoparsec >= 0.12.0.0 , bytestring >= 0.9 , cereal >= 0.4