Skip to content

Commit 77562d9

Browse files
authored
command/jsonprovider: bump format version (hashicorp#28115)
Support for attributes with NestedTypes was added in hashicorp#28055, and should have included a format version bump: this is a backwards-compatible change, but consumers will need to be updated in order to properly decode attributes (with NestedTypes) going forward.
1 parent 2a49d90 commit 77562d9

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎command/jsonprovider/provider.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
// FormatVersion represents the version of the json format and will be
1010
// incremented for any change to this format that requires changes to a
1111
// consuming parser.
12-
const FormatVersion = "0.1"
12+
const FormatVersion = "0.2"
1313

1414
// providers is the top-level object returned when exporting provider schemas
1515
type providers struct {

‎command/testdata/providers-schema/basic/output.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"format_version": "0.1",
2+
"format_version": "0.2",
33
"provider_schemas": {
44
"registry.terraform.io/hashicorp/test": {
55
"provider": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"format_version": "0.1"
2+
"format_version": "0.2"
33
}

‎command/testdata/providers-schema/required/output.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"format_version": "0.1",
2+
"format_version": "0.2",
33
"provider_schemas": {
44
"registry.terraform.io/hashicorp/test": {
55
"provider": {

0 commit comments

Comments
 (0)