Skip to content

Commit 53dc3ba

Browse files
committed
Merge branch 'main' of github.com:terramate-io/hcl into opentofu
2 parents 8048794 + b0ec608 commit 53dc3ba

File tree

142 files changed

+319
-214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+319
-214
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ updates:
88
- dependencies
99
- automated
1010
reviewers:
11-
- hashicorp/terraform-core
11+
- terramate-io/cli-tooling
1212
# only update HashiCorp actions, external actions managed by TSCCR
1313
allow:
1414
- dependency-name: hashicorp/*

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
go-version-file: go.mod
3838
- name: Go test
3939
run: |
40-
go test ./... -race
40+
go test -race ./...
4141
4242
copyright:
4343
name: "copyright headers"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# HCL Changelog
22

3+
## v2.22.0 (August 26, 2024)
4+
5+
### Enhancements
6+
7+
* feat: return an ExprSyntaxError for invalid references that end in a dot ([#692](https://github.com/hashicorp/hcl/pull/692))
8+
39
## v2.21.0 (June 19, 2024)
410

511
### Enhancements

cmd/hcldec/diags_json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"encoding/json"
88
"io"
99

10-
"github.com/hashicorp/hcl/v2"
10+
"github.com/terramate-io/hcl/v2"
1111
)
1212

1313
type jsonDiagWriter struct {

cmd/hcldec/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
"os"
1212
"strings"
1313

14-
"github.com/hashicorp/hcl/v2"
15-
"github.com/hashicorp/hcl/v2/hcldec"
16-
"github.com/hashicorp/hcl/v2/hclparse"
1714
flag "github.com/spf13/pflag"
15+
"github.com/terramate-io/hcl/v2"
16+
"github.com/terramate-io/hcl/v2/hcldec"
17+
"github.com/terramate-io/hcl/v2/hclparse"
1818
"github.com/zclconf/go-cty/cty"
1919
"github.com/zclconf/go-cty/cty/function"
2020
ctyjson "github.com/zclconf/go-cty/cty/json"

cmd/hcldec/spec.go

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

9-
"github.com/hashicorp/hcl/v2"
10-
"github.com/hashicorp/hcl/v2/ext/userfunc"
11-
"github.com/hashicorp/hcl/v2/gohcl"
12-
"github.com/hashicorp/hcl/v2/hcldec"
9+
"github.com/terramate-io/hcl/v2"
10+
"github.com/terramate-io/hcl/v2/ext/userfunc"
11+
"github.com/terramate-io/hcl/v2/gohcl"
12+
"github.com/terramate-io/hcl/v2/hcldec"
1313
"github.com/zclconf/go-cty/cty"
1414
"github.com/zclconf/go-cty/cty/function"
1515
)

cmd/hcldec/type_expr.go

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

10-
"github.com/hashicorp/hcl/v2"
10+
"github.com/terramate-io/hcl/v2"
1111
"github.com/zclconf/go-cty/cty"
1212
"github.com/zclconf/go-cty/cty/function"
1313
)

cmd/hcldec/vars.go

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

10-
"github.com/hashicorp/hcl/v2"
10+
"github.com/terramate-io/hcl/v2"
1111
"github.com/zclconf/go-cty/cty"
1212
)
1313

cmd/hclfmt/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212
"os"
1313
"strings"
1414

15-
"github.com/hashicorp/hcl/v2"
16-
"github.com/hashicorp/hcl/v2/hclparse"
17-
"github.com/hashicorp/hcl/v2/hclwrite"
15+
"github.com/terramate-io/hcl/v2"
16+
"github.com/terramate-io/hcl/v2/hclparse"
17+
"github.com/terramate-io/hcl/v2/hclwrite"
1818
"golang.org/x/crypto/ssh/terminal"
1919
)
2020

cmd/hclspecsuite/diagnostics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"encoding/json"
88
"fmt"
99

10-
"github.com/hashicorp/hcl/v2"
10+
"github.com/terramate-io/hcl/v2"
1111
)
1212

1313
func decodeJSONDiagnostics(src []byte) hcl.Diagnostics {

0 commit comments

Comments
 (0)