Releases: hashicorp/terraform-plugin-framework-nettypes
Releases · hashicorp/terraform-plugin-framework-nettypes
v0.2.0
BREAKING CHANGES:
- cidrtypes: Removed
Validate()
method fromIPv4PrefixType
following deprecation ofxattr.TypeWithValidate
(#55) - cidrtypes: Removed
Validate()
method fromIPv6PrefixType
following deprecation ofxattr.TypeWithValidate
(#55) - iptypes: Removed
Validate()
method fromIPv4AddressType
following deprecation ofxattr.TypeWithValidate
(#55) - iptypes: Removed
Validate()
method fromIPv6AddressType
following deprecation ofxattr.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 toIPv4Prefix
type, which supports validating an attribute value (#55) - cidrtypes: Added
ValidateAttribute()
method toIPv6Prefix
type, which supports validating an attribute value (#55) - iptypes: Added
ValidateAttribute()
method toIPv4Address
type, which supports validating an attribute value (#55) - iptypes: Added
ValidateAttribute()
method toIPv6Address
type, which supports validating an attribute value (#55) - cidrtypes: Added
ValidateParameter()
method toIPv4Prefix
type, which supports validating a provider-defined function parameter value (#55) - cidrtypes: Added
ValidateParameter()
method toIPv6Prefix
type, which supports validating a provider-defined function parameter value (#55) - iptypes: Added
ValidateParameter()
method toIPv4Address
type, which supports validating a provider-defined function parameter value (#55) - iptypes: Added
ValidateParameter()
method toIPv6Address
type, which supports validating a provider-defined function parameter value (#55)
v0.1.0
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)