Releases: stellarwp/validation
Releases · stellarwp/validation
1.4.1
What's Changed
- Fix: boolean rule to check if value is a boolean by @jonwaldstein in #17
New Contributors
- @jonwaldstein made their first contribution in #17
Full Changelog: 1.4.0...1.4.1
1.4.0
1.3.2
Fix: use list syntax for PHP 7.0 compatibility (22eb387)
Full Changelog: 1.3.1...1.3.2
1.3.1
Feature: add the new validation rule set methods to the HasValidationRules
trait (ca809e0)
Full Changelog: 1.3.0...1.3.1
1.3.0
What's Changed
- Feature: add methods for replacing and prepending rules by @JasonTheAdams in #11
Full Changelog: 1.2.2...1.3.0
1.2.2
Fix: correct the OptionalUnless
id (e79e2f9)
Full Changelog: 1.2.1...1.2.2
1.2.1
Fix: corrected a broken namespace (c68427d)
Full Changelog: 1.2.0...1.2.1
1.2.0
What's Changed
- Feature: Exclude and Conditional Rules by @JasonTheAdams in #8
- Feature: Add In, InStrict, and DateTime validation rules by @JasonTheAdams in #10
- Fix: Suppress PHP8.1+ notice for jsonSerialize by @flack in #9
New Contributors
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- Feature: add optional and nullable rules by @joshcummingsdesign in #5
- Fix: readme typo by @joshcummingsdesign in #2
New Optional and Nullable rules
optional
— if the value is an empty string or null, then skip all remaining rulesnullable
— if the value is null, then skip all remaining rules
This is useful when data should be returned as validated, but should bypass the validation rules when "empty".
New Contributors
- @joshcummingsdesign made their first contribution in #2
Full Changelog: 1.0.0...1.1.0
1.0.0
The initial release! 🎉