Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 834 Bytes

CHANGELOG.md

File metadata and controls

35 lines (21 loc) · 834 Bytes

Changelog

2.0.8

  • toJson returns Map

2.0.6

  • Integer validation rules isNeative, isPositive, isEven and isOdd

2.0.5

  • Integer validation functions isLessThan, isGreaterThan and isInRange

2.0.1

  • ObjectErrors.splitKey static method to split key into segments
  • ObjectError methods now recursively split key into segments
  • ObjectErrors.hasErrors method to check if there are any errors
  • ObjectErrors.clear to clear all errors

Breaking changes

  • ObjectErrors.asMap not returns null if there are no errors

2.0.0

  • Total rewrite
  • validateValue to validate individual field with validators
  • ObjectErrors for object and array validation
  • ValidationError to support client side translation of error messages

1.0.0

  • Basic String, int, double and num validators