Releases: hashicorp/terraform-plugin-framework-validators
Releases · hashicorp/terraform-plugin-framework-validators
v0.6.0
NOTES:
- all: This Go module has been updated for deprecations in terraform-plugin-framework version 0.15.0 (#72)
- all: This Go module has been updated to make it compatible with the breaking changes in terraform-plugin-framework version 0.16.0 (#77)
BUG FIXES:
- mapvalidator: Updated
KeysAre()
to return all errors instead of just the first (#74)
v0.5.0
NOTES:
- This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#55)
FEATURES:
- Introduced
datasourcevalidator
package withAtLeastOneOf()
,Conflicting()
,ExactlyOneOf()
, andRequiredTogether()
validation functions (#60) - Introduced
providervalidator
package withAtLeastOneOf()
,Conflicting()
,ExactlyOneOf()
, andRequiredTogether()
validation functions (#60) - Introduced
resourcevalidator
package withAtLeastOneOf()
,Conflicting()
,ExactlyOneOf()
, andRequiredTogether()
validation functions (#60)
BUG FIXES:
- all: Included missing attribute path details in error diagnostics since they are currently not output by Terraform (#61)
v0.4.0
FEATURES:
- Introduced
metavalidator
package withAny()
,AnyWithAllWarnings()
, andAll()
validation functions (#43) - Introduced
schemavalidator
package with 4 new validation functions:RequiredWith()
,ConflictsWith()
,AtLeastOneOf()
,ExactlyOneOf()
(#32)
ENHANCEMENTS:
- int64validator: Added
AtLeastSumOf()
,AtMostSumOf()
andEqualToSumOf()
validation functions (#29)
v0.3.0
FEATURES:
- Introduced
listvalidator
package withValuesAre()
validation functions (#37) - Introduced
mapvalidator
package withKeysAre()
andValuesAre()
validation functions (#38) - Introduced
numbervalidator
package withOneOf()
andNoneOf()
validation functions (#42) - Introduced
setvalidator
package withValuesAre()
validation function (#36)
ENHANCEMENTS:
- float64validator: Added
OneOf()
andNoneOf()
validation functions (#42) - int64validator: Added
OneOf()
andNoneOf()
validation functions (#42) - listvalidator: Added
SizeAtLeast()
,SizeAtMost()
andSizeBetween
validation functions (#41) - mapvalidator: Added
SizeAtLeast()
,SizeAtMost()
andSizeBetween
validation functions (#39) - setvalidator: Added
SizeAtLeast()
,SizeAtMost()
andSizeBetween
validation functions (#40) - stringvalidator: Added
OneOf()
andNoneOf()
(case sensitive), andOneOfCaseInsensitive()
andNoneOfCaseInsensitive()
(case insensitive) validation functions (#45)
v0.2.0
v0.1.0
FEATURES:
- Introduced
float64validator
package withAtLeast()
,AtMost()
, andBetween()
validation functions (#18) - Introduced
int64validator
package withAtLeast()
,AtMost()
, andBetween()
validation functions (#21) - Introduced
stringvalidator.RegexMatches()
validation function (#23) - Introduced
stringvalidator
package withLengthAtLeast()
,LengthAtMost()
, andLengthBetween()
validation functions (#22)