Skip to content

1.1.0

Compare
Choose a tag to compare
@JasonTheAdams JasonTheAdams released this 07 Feb 20:03
· 27 commits to master since this release

What's Changed

New Optional and Nullable rules

  • optional — if the value is an empty string or null, then skip all remaining rules
  • nullable — 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

Full Changelog: 1.0.0...1.1.0