Releases: hashicorp/terraform-plugin-framework-jsontypes
Releases · hashicorp/terraform-plugin-framework-jsontypes
v0.2.0
BREAKING CHANGES:
- jsontypes: Removed
Validate()
method fromExactType
following deprecation ofxattr.TypeWithValidate
(#54) - jsontypes: Removed
Validate()
method fromNormalizedType
following deprecation ofxattr.TypeWithValidate
(#54)
NOTES:
- all: This Go module has been updated to Go 1.22 per the Go support policy. It is recommended to review the Go 1.22 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#73)
ENHANCEMENTS:
- jsontypes: Added
ValidateAttribute()
method toExact
type, which supports validating an attribute value (#54) - jsontypes: Added
ValidateParameter()
method toExact
type, which supports validating a provider-defined function parameter value (#54) - jsontypes: Added
ValidateAttribute()
method toNormalized
type, which supports validating an attribute value (#54) - jsontypes: Added
ValidateParameter()
method toNormalized
type, which supports validating a provider-defined function parameter value (#54)
v0.1.0
FEATURES:
- jsontypes: Add new Exact custom type implementation, representing a JSON string that must match byte-for-byte (#2)
- jsontypes: Add new Normalized custom type implementation, representing a JSON string that considers differing whitespace and property ordering between values to be semantically equal (#2)