All Versions
20
Latest Version
Avg Release Cycle
71 days
Latest Release
1284 days ago

Changelog History
Page 2

  • v3.5.0 Changes

    September 29, 2018
    • โž• Added MultipleOf rule (see #49)
    • ๐Ÿ‘ Better error message for Length rule when Min and Max are the same
    • โฌ†๏ธ Bumped up Go version requirement to 1.8 and above
  • v3.4.0 Changes

    June 22, 2018
    • โž• Added Not-in rule (#40)
    • โž• Added Sub-domain rule (#42)
    • โž• Added domain rule (#43)
    • โž• Added empty check support for time.Time (#48)
    • โž• Added E164 phone rule (#46)
  • v3.3 Changes

    September 13, 2017
    • ๐Ÿ‘ #33: Added RuneLength validation rule to support validating the rune length of a string
  • v3.2 Changes

    July 03, 2017

    ๐Ÿ›  Fixes #29: Added support for differentiating internal errors from validation errors.

  • v3.1 Changes

    March 23, 2017
    • ๐Ÿ›  Fixes #24: Better support for validating struct with embedded structs.
  • v3.0.2 Changes

    March 16, 2017
    • ๐Ÿ›  Fixes #22: incorrect struct field name in errors if struct json tag includes omitempty
  • v3.0.1 Changes

    February 14, 2017
    • ๐Ÿ›  Fixes #15: validating a nil pointer struct field will cause panic
  • v3.0 Changes

    February 12, 2017

    ๐Ÿš€ This release revamps the way of declaring struct validation rules, based on the discussion in #12.
    โฌ†๏ธ It introduces BC-breaking changes. Please refer to the upgrade instructions for more details.

    ๐Ÿš€ The following changes are introduced in this major release:

    • ๐Ÿ‘€ A new way of declaring struct field validation rules. See #12 for more information.
    • โž• Added Errors.Filter() to support composing arbitrary validation errors.
    • Replaced Range rule with two new rules: Min and Max.
    • โž• Added validation.By() to support wrapping a function into a validation rule.
  • v2.2 Changes

    February 08, 2017
    • Replaced import path of govalidator with github.com/asaskevich/govalidator
  • v2.1 Changes

    February 08, 2017
    • โž• Added Date validator.