This repository was archived by the owner on Dec 27, 2024. It is now read-only.
v1.8.0
🚨 Breaking Changes
- Remove OLD Name of validators
IsValidIP,IsValidUUID,IsValidNetmaskandIsValidUUID(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,IPV4WithNetmaskandRFC1918. (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 usestringvalidator/IsNetworkinstead. (GH-85)