File tree Expand file tree Collapse file tree 1 file changed +45
-2
lines changed
Expand file tree Collapse file tree 1 file changed +45
-2
lines changed Original file line number Diff line number Diff line change 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
952This brings dhall-golang up to version 18.0.0 of the Dhall standard.
1053
You can’t perform that action at this time.
0 commit comments