Skip to content

Commit e5ae7c9

Browse files
authored
Merge pull request #36 from philandstuff/release-v3.0.0
Release v3.0.0
2 parents 61a7ec5 + efa9511 commit e5ae7c9

37 files changed

+3308
-3285
lines changed

CHANGELOG.md

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

33
## [Unreleased]
4-
[Unreleased]: https://github.com/philandstuff/dhall-golang/compare/v2.0.0...HEAD
4+
[Unreleased]: https://github.com/philandstuff/dhall-golang/compare/v3.0.0...HEAD
5+
6+
## [3.0.0] - 2020-05-11
7+
[3.0.0]: https://github.com/philandstuff/dhall-golang/compare/v2.0.0...v3.0.0
8+
9+
This brings dhall-golang up to version 16.0.0 of the Dhall standard.
10+
As the standard had breaking changes, this release is a major version
11+
bump.
12+
13+
### Breaking changes
14+
15+
* Language changes:
16+
* [Adjust precedence of `===` and `with`](https://github.com/dhall-lang/dhall-lang/pull/954)
17+
* [Update encoding of floating point values to RFC7049bis](https://github.com/dhall-lang/dhall-lang/pull/958)
18+
19+
### New features
20+
21+
* Language features:
22+
* [Allow unions with mixed kinds](https://github.com/dhall-lang/dhall-lang/pull/957)
23+
24+
### Bug fixes
25+
26+
* We now save fully-alpha-normalized expressions to the cache (#31)
27+
* We now check the hash of expressions fetched from the cache (#32)
528

629
## [2.0.0] - 2020-04-17
7-
[1.0.0]: https://github.com/philandstuff/dhall-golang/compare/v1.0.0...v2.0.0
30+
[2.0.0]: https://github.com/philandstuff/dhall-golang/compare/v1.0.0...v2.0.0
831

932
This brings dhall-golang up to version 15.0.0 of the Dhall standard.
1033
As the standard had breaking changes, this release is a major version

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"io/ioutil"
2020

21-
"github.com/philandstuff/dhall-golang"
21+
"github.com/philandstuff/dhall-golang/v3"
2222
)
2323

2424
// Config can be a fairly arbitrary Go datatype. You would put your

binary/cbor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"path"
99

1010
"github.com/fxamacker/cbor/v2"
11-
. "github.com/philandstuff/dhall-golang/term"
11+
. "github.com/philandstuff/dhall-golang/v3/term"
1212
)
1313

1414
var nameToBuiltin = map[string]Term{

binary/semantic_hash.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"crypto/sha256"
66

7-
"github.com/philandstuff/dhall-golang/core"
7+
"github.com/philandstuff/dhall-golang/v3/core"
88
)
99

1010
// SemanticHash returns the semantic hash of an evaluated expression.

cmd/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"log"
77
"os"
88

9-
"github.com/philandstuff/dhall-golang/binary"
10-
"github.com/philandstuff/dhall-golang/core"
11-
"github.com/philandstuff/dhall-golang/imports"
12-
"github.com/philandstuff/dhall-golang/parser"
9+
"github.com/philandstuff/dhall-golang/v3/binary"
10+
"github.com/philandstuff/dhall-golang/v3/core"
11+
"github.com/philandstuff/dhall-golang/v3/imports"
12+
"github.com/philandstuff/dhall-golang/v3/parser"
1313
)
1414

1515
func main() {

core/ast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"math"
66

7-
"github.com/philandstuff/dhall-golang/term"
7+
"github.com/philandstuff/dhall-golang/v3/term"
88
)
99

1010
// A Value is a Dhall value in beta-normal form. You can think of

core/builtins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"strings"
66

7-
"github.com/philandstuff/dhall-golang/term"
7+
"github.com/philandstuff/dhall-golang/v3/term"
88
)
99

1010
func (naturalBuild) Call(x Value) Value {

core/builtins_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package core_test
33
import (
44
. "github.com/onsi/ginkgo/extensions/table"
55
. "github.com/onsi/gomega"
6-
"github.com/philandstuff/dhall-golang/core"
7-
"github.com/philandstuff/dhall-golang/parser"
6+
"github.com/philandstuff/dhall-golang/v3/core"
7+
"github.com/philandstuff/dhall-golang/v3/parser"
88
)
99

1010
var _ = DescribeTable("ArgType of builtins", func(src, typ string) {

core/equivalence_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
. "github.com/onsi/ginkgo/extensions/table"
66
. "github.com/onsi/gomega"
77
"github.com/onsi/gomega/types"
8-
"github.com/philandstuff/dhall-golang/term"
8+
"github.com/philandstuff/dhall-golang/v3/term"
99
)
1010

1111
// Ensure that alphaMatcher is a valid GomegaMatcher

core/eval.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sort"
77
"strings"
88

9-
"github.com/philandstuff/dhall-golang/term"
9+
"github.com/philandstuff/dhall-golang/v3/term"
1010
)
1111

1212
type env map[string][]Value

0 commit comments

Comments
 (0)