Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

v1.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Aug 12:25
· 27 commits to main since this release
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)

:dependabot: 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)