Skip to content

Releases: FrangipaneTeam/terraform-plugin-framework-validators

v1.8.1

12 Oct 07:31
v1.8.1
Compare
Choose a tag to compare

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

21 Aug 12:25
v1.8.0
Compare
Choose a tag to compare

🚨 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)

v1.7.0

10 Jul 09:55
v1.7.0
Compare
Choose a tag to compare

🚀 New Features

  • stringvalidator/PrefixContains - Check if the string contains the prefix. (GH-76)

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

20 Jun 08:41
5e65718
Compare
Choose a tag to compare

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

13 Jun 09:15
ccad669
Compare
Choose a tag to compare

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

09 Jun 14:10
0e449bd
Compare
Choose a tag to compare

1.6.2 (2023-06-09)

Bug Fixes

  • bad func used for nullattributeisoneof and fix description (#60) (0411638)

v1.6.1

09 Jun 13:56
ebda76a
Compare
Choose a tag to compare

1.6.1 (2023-06-09)

Bug Fixes

  • attributeIsDivisibleByAnInteger bad check if value IsNull and IsUnknown (#58) (7b8fd83)

v1.6.0

09 Jun 08:14
cc90119
Compare
Choose a tag to compare

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

08 Jun 14:32
Compare
Choose a tag to compare

1.5.2 (2023-06-08)

Bug Fixes

  • pathExpression for RequireIfAttributeIsOneOf validator (#53) (2058e4c)
  • pathExpression missing in attributeIsDivisibleByAnInteger validator (e99edac)

v1.5.1

25 Apr 15:41
Compare
Choose a tag to compare

1.5.1 (2023-04-25)

Bug Fixes

  • RequireIfAttributeIsOneOf error message and tests (f857608)