All Versions
20
Latest Version
Avg Release Cycle
71 days
Latest Release
1613 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v4.3.0 Changes
October 19, 2020- #128 Added the capability of validating a dynamic map whose structure is specified via validation rules
- ๐ #130 Added the support for context-aware validation for
When
andEach
rules
Thanks to @NathanBaulch for the great contribution!
-
v4.2.2 Changes
August 13, 2020- #114 Fallback to field name for ignored JSON fields (thanks to @seriousben!)
- ๐ #123 Added
Skip.When()
to support conditional skipping validation rules (thanks to @maratori!)
-
v4.2.1
April 28, 2020 -
v4.2.0 Changes
April 26, 2020- โฌ๏ธ Upgraded govalidator to v10 and added the
EmailFormat
validation rule to validate an email address without checking the existence of MX record - ๐ Fixes #103: Modified the reDomain regex to support upper/lowercase for the
is.Domain
rule. (thanks to @TheSecEng) - ๐ Fixes #105: fixed typo of ErrCurrencyCode (thanks to @maratori)
- ๐ Fixes #106: Added the
Nil
andEmpty
rules (thanks to @samber) - ๐ Fixes #107: Added the
Else
clause to theWhen
conditional validation construct (thanks to @samber) - ๐ Fixes #109: Fixed the bug in the
Length
rule when requiring zero length (thanks to @0perl) - ๐ Fixes #110:
RequiredRule
struct is made public (thanks to @erdaltsksn)
- โฌ๏ธ Upgraded govalidator to v10 and added the
-
v4.1.0 Changes
February 07, 2020- ๐ #95, #96: Added
validation.When()
andvalidation.Required.When()
to support conditional validation. Thanks to @mehran-prs for the great contribution to this new feature!
- ๐ #95, #96: Added
-
v4.0.0 Changes
January 31, 2020- โก๏ธ #91: Updated all built-in validation rules to use
validation.Error
as the validation error type. It supports error code and parameter placeholders in error messages, which allows checking validation errors programmatically and translating error messages based on error codes. Thanks to @mehran-prs for the great contribution to this new feature! - ๐ Improved the performance of
Errors.Error()
. Thanks to @geekflyer for the profiling work and code contribution!
- โก๏ธ #91: Updated all built-in validation rules to use
-
v3.8.1 Changes
December 05, 2019 -
v3.8.0 Changes
December 04, 2019โ Added support for context-aware validation.
-
v3.7.0 Changes
December 03, 2019โ Added support for
go mod
-
v3.6.0 Changes
August 07, 2019