NOTES:
- datasource/schema: The
Schema
typeValidate()
method has been deprecated in preference ofValidateImplementation()
(#699) - provider/metaschema: The
Schema
typeValidate()
method has been deprecated in preference ofValidateImplementation()
(#699) - provider/schema: The
Schema
typeValidate()
method has been deprecated in preference ofValidateImplementation()
(#699) - resource/schema: The
Schema
typeValidate()
method has been deprecated in preference ofValidateImplementation()
(#699)
ENHANCEMENTS:
- datasource/schema: Added
Schema
typeValidateImplementation()
method, which performs framework-defined schema validation and can be used in unit testing (#699) - provider/metaschema: Added
Schema
typeValidateImplementation()
method, which performs framework-defined schema validation and can be used in unit testing (#699) - provider/schema: Added
Schema
typeValidateImplementation()
method, which performs framework-defined schema validation and can be used in unit testing (#699) - resource/schema: Added
Schema
typeValidateImplementation()
method, which performs framework-defined schema validation and can be used in unit testing (#699) - datasource/schema: Raise validation errors if attempting to use top-level
for_each
attribute name, which requires special Terraform configuration syntax to be usable by the data source (#704) - resource/schema: Raise validation errors if attempting to use top-level
for_each
attribute name, which requires special Terraform configuration syntax to be usable by the resource (#704) - datasource/schema: Raise validation errors if attempting to use attribute names with leading numerics (0-9), which are invalid in the Terraform configuration language (#705)
- provider/schema: Raise validation errors if attempting to use attribute names with leading numerics (0-9), which are invalid in the Terraform configuration language (#705)
- resource/schema: Raise validation errors if attempting to use attribute names with leading numerics (0-9), which are invalid in the Terraform configuration language (#705)
- all: Improved SDK logging performance when messages would be skipped due to configured logging level (#744)
BUG FIXES:
- datasource/schema: Raise errors with
ListAttribute
,MapAttribute
,ObjectAttribute
, andSetAttribute
implementations instead of panics when missing requiredAttributeTypes
orElementTypes
fields (#699) - provider/metaschema: Raise errors with
ListAttribute
,MapAttribute
,ObjectAttribute
, andSetAttribute
implementations instead of panics when missing requiredAttributeTypes
orElementTypes
fields (#699) - provider/schema: Raise errors with
ListAttribute
,MapAttribute
,ObjectAttribute
, andSetAttribute
implementations instead of panics when missing requiredAttributeTypes
orElementTypes
fields (#699) - resource/schema: Raise errors with
ListAttribute
,MapAttribute
,ObjectAttribute
, andSetAttribute
implementations instead of panics when missing requiredAttributeTypes
orElementTypes
fields (#699) - tfsdk: Raise framework errors instead of generic upstream errors or panics when encountering unexpected values with
Set()
methods (#715)