Skip to content

Releases: Nicolab/crystal-validator

v1.2.0

08 Jan 11:43
3276763
Compare
Choose a tag to compare

Release v1.2.0

  • Improve required constraint when field is nillable.

v1.1.1

11 Sep 13:22
e499ab4
Compare
Choose a tag to compare

Release v1.1.1

  • Add size comparisons.

v1.1.0

08 Jul 23:58
91f76e3
Compare
Choose a tag to compare

Release v1.1.0

Major changes:

  • [checkable] Added rules: required, nilable.
  • [checkable] Added utilities (about JSON / Crystal Hash): #h_from_json, #to_json_h, #to_crystal_h.
  • [checkable] added utilities (about rules): #validation_rules, #validation_required?, #validation_nilable?
  • [checkable] Improved code and logic.
  • [checkable] Added many unit tests.
  • Updated docs and examples.

Break changes:

  • [checkable] Added required parameter before the format parameter (in all methods check_*).

v1.0.2

06 Jul 23:07
ee56486
Compare
Choose a tag to compare

Release v1.0.2

  • [checkable] Add unless value.nil? except for not_null and not_empty.

v1.0.1

27 Jun 09:50
9d0b2d2
Compare
Choose a tag to compare

Release v1.0.1

  • New validators: null? and not_null?

v1.0.0

24 Jun 15:17
b8cb446
Compare
Choose a tag to compare

Release v1.0.0

No break changes for existing code.

  • Add checkable features: validation rules, data cleaning, ... (Thanks to ilourt for the help)
  • Add new validators: ip, ipv4, ipv6, mac_addr, magnet_uri
  • More documentations
  • Optimize the API docs workflow (clean docs history, reducing the repo size)

v1.0.0-rc5

12 Mar 15:57
75067a1
Compare
Choose a tag to compare

Release v1.0.0-rc5

  • Add Travis CI

v1.0.0-rc4

09 Mar 19:40
376edaf
Compare
Choose a tag to compare

Release v1.0.0-rc4.

  • Add #json? validator.

v1.0.0-rc3

09 Mar 18:09
96851b3
Compare
Choose a tag to compare

Release v1.0.0-rc3.

  • Add validators: #lat? and #lng?

v1.0.0-rc2

06 Feb 22:08
cb363e4
Compare
Choose a tag to compare

Release v1.0.0-rc2.

  • Check: adds support for string keys