Releases: go-playground/validator
Releases · go-playground/validator
Release 10.22.1
What's Changed
- fix(#1310): fix excluded_if for pointers by @ganeshdipdumbare in #1313
New Contributors
- @ganeshdipdumbare made their first contribution in #1313
Full Changelog: v10.22.0...v10.22.1
Release 10.22.0
v10.22.0 Update README.md
Release 10.21.0
What's Changed
- MongoDB validator improved by @pixel365 in #1196
- change codes bool value to struct{} by @nar10z in #1270
- Fix grammar issues in comments, tests, field names by @alexandear in #1262
- Make docs for required more explicit regarding boolean values by @alexongh in #1261
- Fix Japanese translation of max-items, lt-items and lte-items error by @Tomoki108 in #1250
- chore: fix some comments by @pavedroad in #1242
- Polish language support by @thinkofher in #1217
New Contributors
- @pixel365 made their first contribution in #1196
- @nar10z made their first contribution in #1270
- @alexongh made their first contribution in #1261
- @Tomoki108 made their first contribution in #1250
- @pavedroad made their first contribution in #1242
- @thinkofher made their first contribution in #1217
Full Changelog: v10.20.0...v10.21.0
Release 10.20.0
What's Changed
- Fix ULID should case-insensitive by @akayj in #1258
- feat: add base32 validator tag by @jamesatkin-myndup in #1253
- Add EU countries validator by @masv3971 in #1252
New Contributors
- @akayj made their first contribution in #1258
- @jamesatkin-myndup made their first contribution in #1253
- @masv3971 made their first contribution in #1252
Full Changelog: v10.19.0...v10.20.0
Release 10.19.0
What was added?
Added opt-in ability to validate private fields in PR, thanks @nikolaianohyn via the new WithPrivateFieldValidation
option when initializing validator.
Release 10.18.0
Release 10.17.0
What's new
- Add translation of requiredXXX and excludedXXX in English/Chinese/Chinese Taiwan.
What's fixed
- Fix errors translation to work properly for aliases.
Release 10.16.0
What's new or fixed?
- Added new
issn
validator. TY @mrcook for the PR - Added improvement/fix to the file url validation. TY @nodivbyzero for the PR
- Fix onof tag in examples. TY @gren236 for the PR
- Add
fmt.Stringer
interface support touuid
validations allowing most UUID validation libraries which implement it to work transparently now. TY @JoshGlazebrook for the PR - Added new
omitnil
similar toomitempty
but for pointers. this is mainly for code generation ease. TY @tarampampam for the PR
Release 10.15.5
What was fixed?
Fixed CIDRIPv4
validation, ty @martinlehoux for the PR
Release 10.15.4
What was fixed?
Corrected a regression of skipping required
for time.Time
accidentally introduced in v10.15.2