packages feed

highjson-th 0.4.0.0 → 0.5.0.0

raw patch · 1 files changed

+2/−2 lines, 1 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Data.HighJson.TH: declareNamedSchema :: ToSchema a => proxy a -> Declare (Definitions Schema) NamedSchema
+ Data.HighJson.TH: declareNamedSchema :: ToSchema a => Proxy a -> Declare (Definitions Schema) NamedSchema
- Data.HighJson.TH: jsonEncoder :: AllHave ToJSON as => HighSpec a ty as -> a -> Encoding
+ Data.HighJson.TH: jsonEncoder :: forall (as :: [Type]) a (ty :: SpecType). AllHave ToJSON as => HighSpec a ty as -> a -> Encoding
- Data.HighJson.TH: jsonParser :: AllHave FromJSON as => HighSpec a ty as -> Value -> Parser a
+ Data.HighJson.TH: jsonParser :: forall (as :: [Type]) a (ty :: SpecType). AllHave FromJSON as => HighSpec a ty as -> Value -> Parser a
- Data.HighJson.TH: jsonSerializer :: AllHave ToJSON as => HighSpec a ty as -> a -> Value
+ Data.HighJson.TH: jsonSerializer :: forall (as :: [Type]) a (ty :: SpecType). AllHave ToJSON as => HighSpec a ty as -> a -> Value
- Data.HighJson.TH: makeDeclareNamedSchema :: (AllHave ToSchema ts, AllHave ToJSON ts, IsValidSwaggerType ty ts) => HighSpec k ty ts -> f k -> DeclM NamedSchema
+ Data.HighJson.TH: makeDeclareNamedSchema :: forall (ts :: [Type]) (ty :: SpecType) k f. (AllHave ToSchema ts, AllHave ToJSON ts, IsValidSwaggerType ty ts) => HighSpec k ty ts -> f k -> DeclM NamedSchema

Files

highjson-th.cabal view
@@ -1,5 +1,5 @@ name:                highjson-th-version:             0.4.0.0+version:             0.5.0.0 synopsis:            Template Haskell helpers for highjson specs description:         Template Haskell helpers for highjson specs homepage:            https://github.com/agrafix/highjson@@ -8,7 +8,7 @@ license-file:        LICENSE author:              Alexander Thiemann <mail@athiemann.net> maintainer:          Alexander Thiemann <mail@athiemann.net>-copyright:           (c) 2017 Alexander Thiemann+copyright:           (c) 2017 - 2021 Alexander Thiemann category:            Text, Web, JSON build-type:          Simple stability:           experimental