packages feed

json-sop 0.2.3 → 0.2.4

raw patch · 1 files changed

+12/−11 lines, 1 filesdep −unordered-containersdep ~basedep ~timePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies removed: unordered-containers

Dependency ranges changed: base, time

API changes (from Hackage documentation)

+ Generics.SOP.JSON: ($dmparseJSON) :: (FromJSON a, Generic a, GFromJSON Zero (Rep a)) => Value -> Parser a
+ Generics.SOP.JSON: ($dmtoJSON) :: (ToJSON a, Generic a, GToJSON' Value Zero (Rep a)) => a -> Value
- Generics.SOP.JSON: [JsonMultiple] :: SListI xs => Tag -> JsonInfo xs
+ Generics.SOP.JSON: [JsonMultiple] :: forall (a :: [Type]). SListI a => Tag -> JsonInfo a
- Generics.SOP.JSON: [JsonOne] :: Tag -> JsonInfo '[a]
+ Generics.SOP.JSON: [JsonOne] :: forall a1. Tag -> JsonInfo '[a1]
- Generics.SOP.JSON: [JsonRecord] :: SListI xs => Tag -> NP (K String) xs -> JsonInfo xs
+ Generics.SOP.JSON: [JsonRecord] :: forall (a :: [Type]). SListI a => Tag -> NP (K String :: Type -> Type) a -> JsonInfo a
- Generics.SOP.JSON: [JsonZero] :: ConstructorName -> JsonInfo '[]
+ Generics.SOP.JSON: [JsonZero] :: ConstructorName -> JsonInfo ('[] :: [Type])
- Generics.SOP.JSON: class () => FromJSON a
+ Generics.SOP.JSON: class FromJSON a
- Generics.SOP.JSON: class () => ToJSON a
+ Generics.SOP.JSON: class ToJSON a
- Generics.SOP.JSON: data JsonInfo :: [Type] -> Type
+ Generics.SOP.JSON: data JsonInfo (a :: [Type])
- Generics.SOP.JSON: data () => Proxy (t :: k)
+ Generics.SOP.JSON: data Proxy (t :: k)
- Generics.SOP.JSON: gparseJSON :: forall a. (Generic a, HasDatatypeInfo a, All2 FromJSON (Code a)) => JsonOptions -> Value -> Parser a
+ Generics.SOP.JSON: gparseJSON :: (Generic a, HasDatatypeInfo a, All2 FromJSON (Code a)) => JsonOptions -> Value -> Parser a
- Generics.SOP.JSON: gtoJSON :: forall a. (Generic a, HasDatatypeInfo a, All2 ToJSON (Code a)) => JsonOptions -> a -> Value
+ Generics.SOP.JSON: gtoJSON :: (Generic a, HasDatatypeInfo a, All2 ToJSON (Code a)) => JsonOptions -> a -> Value
- Generics.SOP.JSON: gupdateFromJSON :: forall a xs. (Generic a, HasDatatypeInfo a, All UpdateFromJSON xs, Code a ~ '[xs]) => JsonOptions -> Value -> Parser (a -> a)
+ Generics.SOP.JSON: gupdateFromJSON :: forall a (xs :: [Type]). (Generic a, HasDatatypeInfo a, All UpdateFromJSON xs, Code a ~ '[xs]) => JsonOptions -> Value -> Parser (a -> a)
- Generics.SOP.JSON: jsonInfo :: forall a. (HasDatatypeInfo a, SListI (Code a)) => Proxy a -> JsonOptions -> NP JsonInfo (Code a)
+ Generics.SOP.JSON: jsonInfo :: (HasDatatypeInfo a, SListI (Code a)) => Proxy a -> JsonOptions -> NP JsonInfo (Code a)
- Generics.SOP.JSON.Model: class JsonModel (a :: Type)
+ Generics.SOP.JSON.Model: class JsonModel a
- Generics.SOP.JSON.Model: gjsonModel :: forall a. (HasDatatypeInfo a, All2 JsonModel (Code a)) => JsonOptions -> Tagged a Value
+ Generics.SOP.JSON.Model: gjsonModel :: (HasDatatypeInfo a, All2 JsonModel (Code a)) => JsonOptions -> Tagged a Value
- Generics.SOP.JSON.Model: newtype () => Tagged (s :: k) b
+ Generics.SOP.JSON.Model: newtype Tagged (s :: k) b

Files

json-sop.cabal view
@@ -1,5 +1,5 @@ name:                json-sop-version:             0.2.3+version:             0.2.4 synopsis:            Generics JSON (de)serialization using generics-sop description:   This library contains generic serialization and deserialization functions@@ -19,6 +19,8 @@                    , GHC==9.6.6                    , GHC==9.8.2                    , GHC==9.10.1+                   , GHC==9.12.1+                   , GHC==9.14.1  source-repository head   type:                git@@ -28,18 +30,17 @@   exposed-modules:     Generics.SOP.JSON                        Generics.SOP.JSON.Model   other-modules:       Generics.SOP.Util.PartialResult-  build-depends:       base                 >= 4.11  && < 4.21,-                       generics-sop         >= 0.2.3 && < 0.6,+  build-depends:       base         >= 4.11  && < 4.23,+                       generics-sop >= 0.2.3 && < 0.6,                         -- lens-sop changed API in 0.3-                       lens-sop             >= 0.3   && < 0.4,-                       tagged               >= 0.7   && < 0.9,-                       aeson                >= 1.4   && < 2.3,-                       vector               >= 0.10  && < 0.14,-                       text                 >= 1.1   && < 2.2,-                       unordered-containers >= 0.2   && < 0.3,-                       time                 >= 1.4   && < 1.15,-                       transformers         >= 0.3   && < 0.7+                       lens-sop     >= 0.3   && < 0.4,+                       tagged       >= 0.7   && < 0.9,+                       aeson        >= 1.4   && < 2.3,+                       vector       >= 0.10  && < 0.14,+                       text         >= 1.1   && < 2.2,+                       time         >= 1.4   && < 1.16,+                       transformers >= 0.3   && < 0.7   hs-source-dirs:      src   default-language:    Haskell2010   ghc-options:         -Wall