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