Releases: FrangipaneTeam/terraform-plugin-framework-validators
Releases · FrangipaneTeam/terraform-plugin-framework-validators
v1.8.1
Dependencies
- deps: bumps github.com/hashicorp/terraform-plugin-framework from 1.3.4 to 1.3.5 (GH-97)
- deps: bumps github.com/hashicorp/terraform-plugin-framework from 1.3.5 to 1.4.0 (GH-101)
- deps: bumps github.com/hashicorp/terraform-plugin-framework from 1.4.0 to 1.4.1 (GH-102)
- deps: bumps github.com/hashicorp/terraform-plugin-framework-validators from 0.10.0 to 0.11.0 (GH-96)
- deps: bumps github.com/hashicorp/terraform-plugin-go from 0.18.0 to 0.19.0 (GH-100)
v1.8.0
🚨 Breaking Changes
- Remove OLD Name of validators
IsValidIP
, IsValidUUID
, IsValidNetmask
and IsValidUUID
(GH-81)
🚀 New Features
NullIfAttributeIsSet
- New validator that allows you to validate that an attribute is null if another attribute is set. This is available for all types of attributes. (GH-83)
RequireIfAttributeIsSet
- New validator that allows you to validate that an attribute is required if another attribute is set. This is available for all types of attributes. (GH-84)
stringvalidator/IsNetwork
- This is a new generic validator that checks if the value is a valid network format. Currently there is 4 formats that are supported: IPV4
, IPV4WithCIDR
, IPV4WithNetmask
and RFC1918
. (GH-85)
🎉 Improvements
null_if_attribute_is_one_of
- Improve documentation generation. (GH-72)
require_if_attribute_is_one_of
- Improve documentation generation. (GH-72)
ℹ️ Notes
stringvalidator/IsIP
- This validator is now deprecated and will be removed in the release v1.11. Please use stringvalidator/IsNetwork
instead. (GH-85)
Dependencies
- deps: bumps github.com/hashicorp/terraform-plugin-framework from 1.3.2 to 1.3.3 (GH-79)
- deps: bumps github.com/hashicorp/terraform-plugin-framework from 1.3.3 to 1.3.4 (GH-86)
v1.7.0
🚀 New Features
stringvalidator/PrefixContains
- Check if the string contains the prefix. (GH-76)
Dependencies
- deps: bumps github.com/hashicorp/terraform-plugin-framework from 1.3.1 to 1.3.2 (GH-74)
- deps: bumps github.com/hashicorp/terraform-plugin-go from 0.16.0 to 0.18.0 (GH-75)
v1.6.4
1.6.4 (2023-06-20)
Bug Fixes
- field possible unknown for RequireIfAttributeIsOneOf (6a4935f)
- missing path expression in NullIfAttributeIsOneOf (3b6668d)
Miscellaneous
- deps: bump github.com/hashicorp/terraform-plugin-framework (#62) (cc93eca)
- deps: bump github.com/hashicorp/terraform-plugin-framework (#68) (5d03e14)
- deps: bump github.com/hashicorp/terraform-plugin-go (#67) (6a30049)
- Force update changelog (25ea62d)
v1.6.3
1.6.3 (2023-06-13)
Bug Fixes
- field possible unknown for RequireIfAttributeIsOneOf (6a4935f)
- missing path expression in NullIfAttributeIsOneOf (3b6668d)
Miscellaneous
- deps: bump github.com/hashicorp/terraform-plugin-framework (#62) (cc93eca)
v1.6.2
1.6.2 (2023-06-09)
Bug Fixes
- bad func used for nullattributeisoneof and fix description (#60) (0411638)
v1.6.1
1.6.1 (2023-06-09)
Bug Fixes
- attributeIsDivisibleByAnInteger bad check if value IsNull and IsUnknown (#58) (7b8fd83)
v1.6.0
1.6.0 (2023-06-09)
Features
- add validator
null_if_attribute_is_one_of
(#52) (ada0563)
Bug Fixes
- pathExpression missing in attribute NullIfAttributeIsOneOf validator (#57) (6b0e629)
v1.5.2
1.5.2 (2023-06-08)
Bug Fixes
- pathExpression for RequireIfAttributeIsOneOf validator (#53) (2058e4c)
- pathExpression missing in attributeIsDivisibleByAnInteger validator (e99edac)
v1.5.1
1.5.1 (2023-04-25)
Bug Fixes
- RequireIfAttributeIsOneOf error message and tests (f857608)