All Versions
20
Latest Version
Avg Release Cycle
71 days
Latest Release
579 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.