Skip to content

Commit 7054919

Browse files
committed
Update CHANGELOG
1 parent 06e98fe commit 7054919

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

CHANGELOG.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,53 @@
11
# Changelog
22

33
## [Unreleased]
4-
[Unreleased]: https://github.com/philandstuff/dhall-golang/compare/v5.0.0...HEAD
4+
[Unreleased]: https://github.com/philandstuff/dhall-golang/compare/v6.0.0...HEAD
5+
6+
## [6.0.0] - 2020-10-04
7+
[6.0.0]: https://github.com/philandstuff/dhall-golang/compare/v5.0.0...v6.0.0
8+
9+
This brings dhall-golang up to version 19.0.0 of the Dhall standard.
10+
11+
### Added
12+
13+
* From Dhall 19.0.0: add `Text/replace` builtin
14+
* Add `dhall-golang json` command
15+
16+
The new `dhall-golang json` command takes some Dhall and outputs it as
17+
JSON, similar to dhall-haskell's `dhall json`. One key difference is
18+
that it also supports Prelude.JSON types. For example, the following
19+
command:
20+
21+
dhall-golang json <<EOF
22+
let JSON = https://prelude.dhall-lang.org/JSON/package.dhall
23+
24+
in { x = JSON.natural 4
25+
, y =
26+
JSON.array
27+
[ JSON.string "foo", JSON.natural 4, JSON.null, JSON.bool True ]
28+
}
29+
EOF
30+
31+
will output:
32+
33+
{
34+
"x": 4,
35+
"y": [
36+
"foo",
37+
4,
38+
null,
39+
true
40+
]
41+
}
42+
43+
### Changed
44+
45+
* From Dhall 19.0.0: implement `with` as first-class expression
46+
* Allow unmarshalling Dhall values into `interface{}`; dhall-golang
47+
will select appropriate Go types for Dhall values when doing this.
548

649
## [5.0.0] - 2020-09-20
7-
[5.0.0]: https://github.com/philandstuff/dhall-golang/compare/v4.1.0...v5.1.0
50+
[5.0.0]: https://github.com/philandstuff/dhall-golang/compare/v4.1.0...v5.0.0
851

952
This brings dhall-golang up to version 18.0.0 of the Dhall standard.
1053

0 commit comments

Comments
 (0)