Skip to content

Releases: hashicorp/terraform-plugin-framework-jsontypes

v0.2.0

09 Sep 18:42
Compare
Choose a tag to compare

BREAKING CHANGES:

  • jsontypes: Removed Validate() method from ExactType following deprecation of xattr.TypeWithValidate (#54)
  • jsontypes: Removed Validate() method from NormalizedType following deprecation of xattr.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 to Exact type, which supports validating an attribute value (#54)
  • jsontypes: Added ValidateParameter() method to Exact type, which supports validating a provider-defined function parameter value (#54)
  • jsontypes: Added ValidateAttribute() method to Normalized type, which supports validating an attribute value (#54)
  • jsontypes: Added ValidateParameter() method to Normalized type, which supports validating a provider-defined function parameter value (#54)

v0.1.0

28 Jul 15:32
Compare
Choose a tag to compare

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)