Skip to content

Releases: harp-orm/validate

Refactor

28 Aug 08:40

Choose a tag to compare

  • Simpler assertion code
  • Don’t support arrays (should use “(object) [ … ]” instead)
  • Error objects now have access to the assert object
  • InvalidException now has access to the subject (and errors)

Updates

26 Aug 12:19

Choose a tag to compare

  • InvalidException now has access to the subject

Callbacks as closures

21 Aug 13:55

Choose a tag to compare

0.3.0

Refactor Callback assert to use only callbacks

Added assertValid

21 Aug 09:12

Choose a tag to compare

assertValid will throw InvalidException if validation fails.

ValidateTrait

09 Jul 15:07

Choose a tag to compare

  • Added ValidateTrait
  • Removed support for php 5.3 (Since we've introduced Traits)
  • Add some support methods to Errors

New Assertions, extensive docs

23 Jun 06:59

Choose a tag to compare

0.2.0

Add Scrutinizer suggestions

0.1.1

26 Mar 15:24

Choose a tag to compare

fix scrutiniser's suggestions