yaml 0.11.11.0 → 0.11.11.1
raw patch · 4 files changed
+10/−6 lines, 4 filesdep ~optparse-applicative
Dependency ranges changed: optparse-applicative
Files
- ChangeLog.md +4/−0
- exe/json2yaml.hs +3/−3
- exe/yaml2json.hs +2/−2
- yaml.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for yaml +## 0.11.11.1++* For optparse-applicative-0.18: use `pretty` instead of `text` [#216](https://github.com/snoyberg/yaml/pull/216)+ ## 0.11.11.0 * Fix ambiguous occurrence `AesonException`
exe/json2yaml.hs view
@@ -15,7 +15,7 @@ , long, metavar, short, strArgument, strOption, value ) import Options.Applicative.Help.Pretty- ( vcat, text )+ ( vcat, pretty ) import System.Exit ( die ) @@ -43,11 +43,11 @@ <> footerDoc fdoc where- hdoc = Just $ vcat $ map text+ hdoc = Just $ vcat $ map pretty [ versionText self , "Convert JSON to YAML." ]- fdoc = Just $ text $ concat+ fdoc = Just $ pretty $ concat [ "The old call pattern '" , self , " IN OUT' is also accepted, but deprecated."
exe/yaml2json.hs view
@@ -17,7 +17,7 @@ , long, metavar, short, strArgument, strOption, value ) import Options.Applicative.Help.Pretty- ( vcat, text )+ ( vcat, pretty ) import Common ( versionText, versionOption, numericVersionOption, dashToNothing )@@ -43,7 +43,7 @@ (headerDoc hdoc) where- hdoc = Just $ vcat $ map text+ hdoc = Just $ vcat $ map pretty [ versionText self , "Convert YAML to JSON." ]
yaml.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: yaml-version: 0.11.11.0+version: 0.11.11.1 synopsis: Support for parsing and rendering YAML documents. description: README and API documentation are available at <https://www.stackage.org/package/yaml> category: Data