Skip to content

Releases: Nicolab/crystal-validator

v1.11.0

19 Jun 09:52
39b3e04
Compare
Choose a tag to compare

Release v1.11.0

Check::ValidationError extends Validator::Error (< Exception) instead of directly Exception.

v1.10.1

18 Jun 18:21
3042af7
Compare
Choose a tag to compare

Release v1.10.1

  • Add h_from_json! usable with a checkable struct or class.

v1.10.0

24 Apr 14:41
b6ca5d0
Compare
Choose a tag to compare

Release v1.10.0

  • Minor fix

v1.9.0

21 Apr 06:10
335d89c
Compare
Choose a tag to compare

Release v1.9.0

  • Improve rules inline

v1.8.0

18 Apr 06:46
738e227
Compare
Choose a tag to compare

Release v1.8.0

  • feat(checkable): rules inline

v1.7.0

17 Apr 19:35
c4f83e6
Compare
Choose a tag to compare

Release v1.7.0

  • feat(validation): be able to define the rules inline (with property or getter or define)

v1.6.0

26 Mar 18:42
560ebb3
Compare
Choose a tag to compare

Release v1.6.0

  • Follow Crystal v1 and Ameba linter
  • Use Github Actions instead of Travis

v1.5.0

12 Mar 10:25
8690965
Compare
Choose a tag to compare

Release v1.5.0

Checkable:

  • Add methods: check!, check_{{field}}!, clean_{{field}}!
  • Spec: split tests

v1.4.0

28 Feb 18:59
d8cc2d2
Compare
Choose a tag to compare

Release v1.4.0

Checkable:

  • Adds lifecycle hooks for field validations (example: before_check_email and after_check_email).
  • format: (key of clean rule) accepts Proc or Symbol

v1.3.0

22 Feb 18:39
489956e
Compare
Choose a tag to compare

Release v1.3.0

  • Be able to use an Exception (Check::ValidationError).
  • Be able to convert Check::Errors to a Check::ValidationError.