Skip to content

Commit 84b867b

Browse files
authored
Release v4.0.0 (#47)
1 parent 780fbaa commit 84b867b

38 files changed

+96
-69
lines changed

CHANGELOG.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
11
# Changelog
22

33
## [Unreleased]
4-
[Unreleased]: https://github.com/philandstuff/dhall-golang/compare/v3.0.0...HEAD
4+
[Unreleased]: https://github.com/philandstuff/dhall-golang/compare/v4.0.0...HEAD
5+
6+
## [4.0.0] - 2020-06-16
7+
[4.0.0]: https://github.com/philandstuff/dhall-golang/compare/v3.0.0...v4.0.0
8+
9+
This brings dhall-golang up to version 17.0.0 of the Dhall standard.
10+
Again the standard had breaking changes, so this release is a major
11+
version bump.
12+
13+
Thanks to @lisael for their contributions to this release.
14+
15+
### Breaking changes
16+
17+
* Language changes:
18+
* [Remove Optional/build and Optional/fold](https://github.com/dhall-lang/dhall-lang/pull/1014)
19+
20+
### Added
21+
22+
* Language changes:
23+
* [Allow quoted labels to be empty](https://github.com/dhall-lang/dhall-lang/pull/980)
24+
25+
### Fixed
26+
27+
* Fix potential stack overflow in typechecker (#40)
28+
* When typechecking certain pathological expressions, the
29+
typechecker would get into an infinite loop until it exhausted
30+
the stack.
31+
* Fix error messages when `x === y` fails to typecheck (#39)
532

633
## [3.0.0] - 2020-05-11
734
[3.0.0]: https://github.com/philandstuff/dhall-golang/compare/v2.0.0...v3.0.0

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/v3"
21+
"github.com/philandstuff/dhall-golang/v4"
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/v3/term"
11+
. "github.com/philandstuff/dhall-golang/v4/term"
1212
)
1313

1414
var nameToBuiltin = map[string]Term{

binary/performance_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"path"
88
"testing"
99

10-
"github.com/philandstuff/dhall-golang/v3/binary"
11-
"github.com/philandstuff/dhall-golang/v3/core"
12-
"github.com/philandstuff/dhall-golang/v3/imports"
13-
"github.com/philandstuff/dhall-golang/v3/internal"
14-
"github.com/philandstuff/dhall-golang/v3/term"
10+
"github.com/philandstuff/dhall-golang/v4/binary"
11+
"github.com/philandstuff/dhall-golang/v4/core"
12+
"github.com/philandstuff/dhall-golang/v4/imports"
13+
"github.com/philandstuff/dhall-golang/v4/internal"
14+
"github.com/philandstuff/dhall-golang/v4/term"
1515
)
1616

1717
func BenchmarkDecodeLargeExpression(b *testing.B) {

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/v3/core"
7+
"github.com/philandstuff/dhall-golang/v4/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/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"
9+
"github.com/philandstuff/dhall-golang/v4/binary"
10+
"github.com/philandstuff/dhall-golang/v4/core"
11+
"github.com/philandstuff/dhall-golang/v4/imports"
12+
"github.com/philandstuff/dhall-golang/v4/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/v3/term"
7+
"github.com/philandstuff/dhall-golang/v4/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/v3/term"
7+
"github.com/philandstuff/dhall-golang/v4/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/v3/core"
7-
"github.com/philandstuff/dhall-golang/v3/parser"
6+
"github.com/philandstuff/dhall-golang/v4/core"
7+
"github.com/philandstuff/dhall-golang/v4/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/v3/term"
8+
"github.com/philandstuff/dhall-golang/v4/term"
99
)
1010

1111
// Ensure that alphaMatcher is a valid GomegaMatcher

0 commit comments

Comments
 (0)