Changelog History
Page 1
-
v10.4.1 Changes
October 17, 2020๐ What was fixed?
๐ Fixed an issue where if the param of a time.Durtion type is specified
as an integer, denoting nanosecond precision, instead of time duration
string the validation would panic introduced in #642The fix ensures it falls back to the previous expected behaviour.
-
v10.3.0 Changes
May 21, 2020๐ What's New/Fixed?
๐ New
- โ Run tests on more recent Go version, thanks @psampaz for the PR
- List validations in man README, thanks @psampaz for the PR
- โก๏ธ Updated godoc link, thanks @psampaz for the PR
- โ Added Spanish translations, thanks @alfonsoprado for the PR
- โ Add
startsnotwith
&endsnotwith
validations, thanks @metalinspired for the PR - ๐ Fix some gramatical errors, thanks @erikaleigh for the PR
- โ Add missing zh translations, thanks @cncal for the PR
- โก๏ธ Update zh datetime translation, thanks @fourcels for the PR
๐ Fixed
- ๐ Fixed rfc952 regex, thanks @amiraliucsc for the PR
- โ Add number validation to the docs, thanks @johnbailon for the PR
- ๐ Allow number on FQDN, thanks @Giulianos for the PR
-
v10.2.0 Changes
February 09, 2020What's new?
- โ Added DateTime validation, thanks @psampaz for the PR
- โ Added JSON validation, thanks @psampaz for the PR
- โ Added Hostname + Port validation, thanks @terala for the PR
- โ Added Russion Translations validation, thanks @Rustery for the PR
- ๐ Fixed typo in documentation, thanks @shenyiling for the PR
- โ Added lowercase and uppercase validations, thanks @psampaz for the PR
-
v10.1.0 Changes
December 25, 2019What's new?
๐ฑ ๐ Merry Christmas: ๐
๐ฑ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐
- โ Added
GetTag
functionality to the FieldLevel interface. Thanks @LRichi for the PR - Extended
Isunique
functionality to handle the uniqueness of struct fields in an array/slice. Thanks @shihanng for the PR - ๐ Improved documentation for custom functions. Thanks @skateinmars for the PR
- โ Added e.164 phone number validation. Thanks @taybart for the PR
- โก๏ธ Optimize
isurl
nill error check, Thanks @whatvn for the PR - โ Remove unecessary casting in example, Thanks @Streppel for the PR
- ๐ Improve accuracy of the
datauri
validation regex, Thanks @JonathanWThom for the PR - โ Add boolean type support for the
eq
validator, Thanks @ghost for the PR - Punctuation fix to the CONTRIBUTING.md, Thanks @sclaire-1 for the PR
- โ Added ability to validate
oneof
for space-separated strings, Thanks @JonathanWThom for the PR
- โ Added
-
v10.0.1 Changes
November 17, 2019๐ What was fixed?
Fixed the
required_with*
validation functions that were not properly handling pointers. -
v10.0.0 Changes
November 11, 2019What's new?
- โก๏ธ Updated to Go Modules
- โก๏ธ Updated deps to use their Go Modules versions.
I wanted v10 to have a bunch of new functionality for everyone but Go Modules has forced my hand a bit.
-
v9.31.0 Changes
December 25, 2019What's new?
๐ง As of 2019-12-24 v9 is entering maintenance mode. Please direct all PR's to master.
๐ฑ But before this happens, ๐ Merry Christmas: ๐
๐ฑ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐
- โ Added
GetTag
functionality to the FieldLevel interface. Thanks @LRichi for the PR - Extended
Isunique
functionality to handle the uniqueness of struct fields in an array/slice. Thanks @shihanng for the PR - ๐ Improved documentation for custom functions. Thanks @skateinmars for the PR
- โ Added e.164 phone number validation. Thanks @taybart for the PR
- โ Added
-
v9.30.2 Changes
November 25, 2019๐ What was fixed?
๐ Fixed previous release against wrong branch!
-
v9.30.1 Changes
November 17, 2019๐ What was fixed?
Backported some fixes from
v10
for therequired_with*
validation functions.P.S.
โก๏ธ I highly recommending updating tov10
which is justv9
updated to use Go Modules and std import paths rather thangopkg.in
. I will be puttingv9
into maintenance mode soon as I don't have the bandwidth to maintain bothv10
&v9
.