packages feed

gi-json 1.0.2 → 1.0.3

raw patch · 4 files changed

+9/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: text

API changes (from Hackage documentation)

- GI.Json.Callbacks: type ArrayForeach = Array " /@array@/: the iterated JSON array" -> Word32 " /@index_@/: the index of the element" -> Node " /@elementNode@/: the value of the element at the given /@index_@/" -> IO ()
+ GI.Json.Callbacks: type ArrayForeach = -- | /@array@/: the iterated JSON array Array -> -- | /@index_@/: the index of the element Word32 -> -- | /@elementNode@/: the value of the element at the given /@index_@/ Node -> IO ()
- GI.Json.Callbacks: type ArrayForeach_WithClosures = Array " /@array@/: the iterated JSON array" -> Word32 " /@index_@/: the index of the element" -> Node " /@elementNode@/: the value of the element at the given /@index_@/" -> Ptr () " /@userData@/: data passed to the function" -> IO ()
+ GI.Json.Callbacks: type ArrayForeach_WithClosures = -- | /@array@/: the iterated JSON array Array -> -- | /@index_@/: the index of the element Word32 -> -- | /@elementNode@/: the value of the element at the given /@index_@/ Node -> -- | /@userData@/: data passed to the function Ptr () -> IO ()
- GI.Json.Callbacks: type BoxedDeserializeFunc = Node " /@node@/: a node tree representing a boxed data" -> IO (Ptr ()) " __Returns:__ the newly created boxed structure"
+ GI.Json.Callbacks: type BoxedDeserializeFunc = -- | /@node@/: a node tree representing a boxed data Node -> -- | __Returns:__ the newly created boxed structure IO (Ptr ())
- GI.Json.Callbacks: type BoxedSerializeFunc = Ptr () " /@boxed@/: a boxed data structure" -> IO Node " __Returns:__ the newly created JSON node tree representing the boxed data"
+ GI.Json.Callbacks: type BoxedSerializeFunc = -- | /@boxed@/: a boxed data structure Ptr () -> -- | __Returns:__ the newly created JSON node tree representing the boxed data IO Node
- GI.Json.Callbacks: type ObjectForeach = Object " /@object@/: the iterated JSON object" -> Text " /@memberName@/: the name of the member" -> Node " /@memberNode@/: the value of the member" -> IO ()
+ GI.Json.Callbacks: type ObjectForeach = -- | /@object@/: the iterated JSON object Object -> -- | /@memberName@/: the name of the member Text -> -- | /@memberNode@/: the value of the member Node -> IO ()
- GI.Json.Callbacks: type ObjectForeach_WithClosures = Object " /@object@/: the iterated JSON object" -> Text " /@memberName@/: the name of the member" -> Node " /@memberNode@/: the value of the member" -> Ptr () " /@userData@/: data passed to the function" -> IO ()
+ GI.Json.Callbacks: type ObjectForeach_WithClosures = -- | /@object@/: the iterated JSON object Object -> -- | /@memberName@/: the name of the member Text -> -- | /@memberNode@/: the value of the member Node -> -- | /@userData@/: data passed to the function Ptr () -> IO ()
- GI.Json.Objects.Parser: type ParserArrayElementCallback = Array " /@array@/: a JSON array" -> Int32 " /@index_@/: the index of the newly parsed array element" -> IO ()
+ GI.Json.Objects.Parser: type ParserArrayElementCallback = -- | /@array@/: a JSON array Array -> -- | /@index_@/: the index of the newly parsed array element Int32 -> IO ()
- GI.Json.Objects.Parser: type ParserArrayEndCallback = Array " /@array@/: the parsed JSON array" -> IO ()
+ GI.Json.Objects.Parser: type ParserArrayEndCallback = -- | /@array@/: the parsed JSON array Array -> IO ()
- GI.Json.Objects.Parser: type ParserErrorCallback = Ptr () " /@error@/: the error" -> IO ()
+ GI.Json.Objects.Parser: type ParserErrorCallback = -- | /@error@/: the error Ptr () -> IO ()
- GI.Json.Objects.Parser: type ParserObjectEndCallback = Object " /@object@/: the parsed JSON object" -> IO ()
+ GI.Json.Objects.Parser: type ParserObjectEndCallback = -- | /@object@/: the parsed JSON object Object -> IO ()
- GI.Json.Objects.Parser: type ParserObjectMemberCallback = Object " /@object@/: the JSON object being parsed" -> Text " /@memberName@/: the name of the newly parsed member" -> IO ()
+ GI.Json.Objects.Parser: type ParserObjectMemberCallback = -- | /@object@/: the JSON object being parsed Object -> -- | /@memberName@/: the name of the newly parsed member Text -> IO ()

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+### 1.0.3+++ Relax constraint on text+ ### 1.0.2  + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-json-1.0.2/docs/GI-Json.html](https://hackage.haskell.org/package/gi-json-1.0.2/docs/GI-Json.html)+[https://hackage.haskell.org/package/gi-json-1.0.3/docs/GI-Json.html](https://hackage.haskell.org/package/gi-json-1.0.3/docs/GI-Json.html)  For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -12,7 +12,7 @@   where name = "Json"         version = "1.0"         pkgName = "gi-json"-        pkgVersion = "1.0.2"+        pkgVersion = "1.0.3"         overridesFile = Just "Json.overrides"         verbose = False         outputDir = Nothing
gi-json.cabal view
@@ -1,5 +1,5 @@ name:                 gi-json-version:              1.0.2+version:              1.0.3 synopsis:             JSON GObject bindings description:          Low-level bindings for json-glib, autogenerated by haskell-gi. homepage:             https://github.com/haskell-gi/haskell-gi@@ -23,7 +23,7 @@  library       default-language: Haskell2010-      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators       other-extensions: PatternSynonyms, ViewPatterns, TypeApplications       ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -37,7 +37,7 @@                      gi-gio == 2.0.*,                      bytestring >= 0.10 && < 1,                      containers >= 0.5 && < 1,-                     text >= 1.0 && < 2,+                     text >= 1.0 && < 3,                      transformers >= 0.4 && < 1        -- Disable overloading when compiling under GHC 8.2.x