Skip to content

Releases: hashicorp/terraform-plugin-framework-nettypes

v0.2.0

09 Sep 18:43
Compare
Choose a tag to compare

BREAKING CHANGES:

  • cidrtypes: Removed Validate() method from IPv4PrefixType following deprecation of xattr.TypeWithValidate (#55)
  • cidrtypes: Removed Validate() method from IPv6PrefixType following deprecation of xattr.TypeWithValidate (#55)
  • iptypes: Removed Validate() method from IPv4AddressType following deprecation of xattr.TypeWithValidate (#55)
  • iptypes: Removed Validate() method from IPv6AddressType following deprecation of xattr.TypeWithValidate (#55)

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. (#77)

ENHANCEMENTS:

  • cidrtypes: Added ValidateAttribute() method to IPv4Prefix type, which supports validating an attribute value (#55)
  • cidrtypes: Added ValidateAttribute() method to IPv6Prefix type, which supports validating an attribute value (#55)
  • iptypes: Added ValidateAttribute() method to IPv4Address type, which supports validating an attribute value (#55)
  • iptypes: Added ValidateAttribute() method to IPv6Address type, which supports validating an attribute value (#55)
  • cidrtypes: Added ValidateParameter() method to IPv4Prefix type, which supports validating a provider-defined function parameter value (#55)
  • cidrtypes: Added ValidateParameter() method to IPv6Prefix type, which supports validating a provider-defined function parameter value (#55)
  • iptypes: Added ValidateParameter() method to IPv4Address type, which supports validating a provider-defined function parameter value (#55)
  • iptypes: Added ValidateParameter() method to IPv6Address type, which supports validating a provider-defined function parameter value (#55)

v0.1.0

28 Jul 15:25
Compare
Choose a tag to compare

FEATURES:

  • nettypes/iptypes: Add new IPv4Address custom type implementation, representing an IPv4 address string (#2)
  • nettypes/iptypes: Add new IPv6Address custom type implementation, representing an IPv6 address string (#2)
  • nettypes/cidrtypes: Add new IPv4Prefix custom type implementation, representing an IPv4 CIDR string (#2)
  • nettypes/cidrtypes: Add new IPv6Prefix custom type implementation, representing an IPv6 CIDR string (#2)