on master help sign in
Version bump, minor tweaks for aeson 2
commitc4392f3855002ab0bbf9bc16e1e32034254234a7 authorMichael Snoyman <michael@snoyman.com> dateMon 11 Oct 2021, 09:20 (5 years ago) parent9d32ba1
6 files changed+10−2
yaml/ChangeLog.md+4 yaml/package.yaml+1−1 yaml/src/Data/Yaml/Internal.hs+1 yaml/src/Data/Yaml/Pretty.hs+2 yaml/test/Data/YamlSpec.hs+1 yaml/yaml.cabal+1−1
yaml/ChangeLog.md+4
@@ -1,5 +1,9 @@
11# ChangeLog for yaml
22
3+## 0.11.7.0
4+
5+* Support `aeson` 2 [#202](https://github.com/snoyberg/yaml/pull/202)
6+
37## 0.11.6.0
48
59* `yaml2json`: add `--help` and `--version` options [#197](https://github.com/snoyberg/yaml/pull/197)
yaml/package.yaml+1−1
@@ -1,5 +1,5 @@
11name: yaml
2−version: 0.11.6.0
2+version: 0.11.7.0
33synopsis: Support for parsing and rendering YAML documents.
44description: README and API documentation are available at <https://www.stackage.org/package/yaml>
55category: Data
yaml/src/Data/Yaml/Internal.hs+1
@@ -83,6 +83,7 @@ toText :: Key -> T.Text
8383toText = id
8484
8585type KeyMap a = M.HashMap Text a
86+type Key = Text
8687#endif
8788
8889data ParseException = NonScalarKey
yaml/src/Data/Yaml/Pretty.hs+2
@@ -43,6 +43,8 @@ toText = K.toText
4343#else
4444toText :: Key -> Text
4545toText = id
46+
47+type Key = Text
4648#endif
4749
4850-- |
yaml/test/Data/YamlSpec.hs+1
@@ -67,6 +67,7 @@ toText :: Key -> T.Text
6767toText = id
6868
6969type KeyMap a = M.HashMap Text a
70+type Key = Text
7071#endif
7172
7273data TestJSON = TestJSON
yaml/yaml.cabal+1−1
@@ -5,7 +5,7 @@ cabal-version: 1.12
55-- see: https://github.com/sol/hpack
66
77name: yaml
8−version: 0.11.6.0
8+version: 0.11.7.0
99synopsis: Support for parsing and rendering YAML documents.
1010description: README and API documentation are available at <https://www.stackage.org/package/yaml>
1111category: Data