types: The Bool type Null, Unknown, and Value fields have been removed. Use the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods instead. (#523)
types: The Float64 type Null, Unknown, and Value fields have been removed. Use the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods instead. (#523)
types: The Int64 type Null, Unknown, and Value fields have been removed. Use the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods instead. (#523)
types: The List type Elems, ElemType, Null, and Unknown fields have been removed. Use the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
types: The Map type Elems, ElemType, Null, and Unknown fields have been removed. Use the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
types: The Number type Null, Unknown, and Value fields have been removed. Use the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods instead. (#523)
types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been removed. Use the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods instead. (#523)
types: The Set type Elems, ElemType, Null, and Unknown fields have been removed. Use the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
types: The String type Null, Unknown, and Value fields have been removed. Use the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods instead. (#523)
ENHANCEMENTS:
attr: Added ValueState type, which custom types can use to consistently represent the three possible value states (known, null, and unknown) (#523)
types: Added BoolTypable and BoolValuable interface types, which enable embedding existing boolean types for custom types (#536)
types: Added Float64Typable and Float64Valuable interface types, which enable embedding existing float64 types for custom types (#536)
types: Added Int64Typable and Int64Valuable interface types, which enable embedding existing int64 types for custom types (#536)
types: Added ListTypable and ListValuable interface types, which enable embedding existing list types for custom types (#536)
types: Added MapTypable and MapValuable interface types, which enable embedding existing map types for custom types (#536)
types: Added NumberTypable and NumberValuable interface types, which enable embedding existing number types for custom types (#536)
types: Added ObjectTypable and ObjectValuable interface types, which enable embedding existing object types for custom types (#536)
types: Added SetTypable and SetValuable interface types, which enable embedding existing set types for custom types (#536)
types: Added StringTypable and StringValuable interface types, which enable embedding existing string types for custom types (#536)
BUG FIXES:
types: Prevented Terraform errors where the zero-value for any attr.Value types such as String would be a known value instead of null (#523)
types: Prevented indeterminate behavior for any attr.Value types where they could be any combination of null, unknown, and/or known (#523)
types: The Bool type Null, Unknown, and Value fields have been removed. Use the BoolNull(), BoolUnknown(), and BoolValue() creation functions and IsNull(), IsUnknown(), and ValueBool() methods instead. (#523)
types: The Float64 type Null, Unknown, and Value fields have been removed. Use the Float64Null(), Float64Unknown(), and Float64Value() creation functions and IsNull(), IsUnknown(), and ValueFloat64() methods instead. (#523)
types: The Int64 type Null, Unknown, and Value fields have been removed. Use the Int64Null(), Int64Unknown(), and Int64Value() creation functions and IsNull(), IsUnknown(), and ValueInt64() methods instead. (#523)
types: The List type Elems, ElemType, Null, and Unknown fields have been removed. Use the ListNull(), ListUnknown(), ListValue(), and ListValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
types: The Map type Elems, ElemType, Null, and Unknown fields have been removed. Use the MapNull(), MapUnknown(), MapValue(), and MapValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
types: The Number type Null, Unknown, and Value fields have been removed. Use the NumberNull(), NumberUnknown(), and NumberValue() creation functions and IsNull(), IsUnknown(), and ValueBigFloat() methods instead. (#523)
types: The Object type Attrs, AttrTypes, Null, and Unknown fields have been removed. Use the ObjectNull(), ObjectUnknown(), ObjectValue(), and ObjectValueMust() creation functions and As(), Attributes(), AttributeTypes(), IsNull(), and IsUnknown() methods instead. (#523)
types: The Set type Elems, ElemType, Null, and Unknown fields have been removed. Use the SetNull(), SetUnknown(), SetValue(), and SetValueMust() creation functions and Elements(), ElementsAs(), ElementType(), IsNull(), and IsUnknown() methods instead. (#523)
types: The String type Null, Unknown, and Value fields have been removed. Use the StringNull(), StringUnknown(), and StringValue() creation functions and IsNull(), IsUnknown(), and ValueString() methods instead. (#523)
ENHANCEMENTS:
attr: Added ValueState type, which custom types can use to consistently represent the three possible value states (known, null, and unknown) (#523)
types: Added BoolTypable and BoolValuable interface types, which enable embedding existing boolean types for custom types (#536)
types: Added Float64Typable and Float64Valuable interface types, which enable embedding existing float64 types for custom types (#536)
types: Added Int64Typable and Int64Valuable interface types, which enable embedding existing int64 types for custom types (#536)
types: Added ListTypable and ListValuable interface types, which enable embedding existing list types for custom types (#536)
types: Added MapTypable and MapValuable interface types, which enable embedding existing map types for custom types (#536)
types: Added NumberTypable and NumberValuable interface types, which enable embedding existing number types for custom types (#536)
types: Added ObjectTypable and ObjectValuable interface types, which enable embedding existing object types for custom types (#536)
types: Added SetTypable and SetValuable interface types, which enable embedding existing set types for custom types (#536)
types: Added StringTypable and StringValuable interface types, which enable embedding existing string types for custom types (#536)
BUG FIXES:
types: Prevented Terraform errors where the zero-value for any attr.Value types such as String would be a known value instead of null (#523)
types: Prevented indeterminate behavior for any attr.Value types where they could be any combination of null, unknown, and/or known (#523)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/hashicorp/terraform-plugin-framework from 0.15.0 to 0.16.0.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-framework's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.
Commits
85c0b3f
Update CHANGELOG for 0.16.000e6cb1
Update migration guide to indicate Set field and SchemaSetFunc equivalents ar...bf1ce9b
types: Add Typable and Valuable Interfaces (#536)6fea713
website: Split resource lifecycle management into separate pages (#537)8a46db4
build(deps): Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#538)0eb939e
tfsdk: Document and clarify GetAttribute and SetAttribute further (#534)f427696
build(deps): Bump github.com/hashicorp/terraform-plugin-go (#531)a3872da
website: Fix overview page typo (#530)667c126
website: Fix broken links (#525)66a4d2c
types: Remove Attrs, AttrTypes, Elems, ElemTypes, Null, Unknown, and Value fi...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)