Releases: go-playground/validator
Releases · go-playground/validator
v10.26.0
What's Changed
- Use correct pointer in errors.As(). Fix "panic: errors: *target must be interface or implement error" in examples. by @antonsoroko in #1378
- Create dependabot by @nodivbyzero in #1373
- Bump golangci/golangci-lint-action from 4 to 6 by @dependabot in #1381
- Bump golang.org/x/text from 0.21.0 to 0.22.0 by @dependabot in #1383
- Bump golang.org/x/crypto from 0.32.0 to 0.33.0 by @dependabot in #1382
- feat(translations): improve Indonesian translations and add tests by @fathiraz in #1376
- Fix time.Duration translation error by @nodivbyzero in #1154
- Update Project Status button by @nodivbyzero in #1380
- Remove gitter.im link from README.md by @nodivbyzero in #1366
- Docs: fix
Base64RawURL
usage by @196Ikuchil in #1336 - Fix length check on dns_rfc1035_label tag by @KimNorgaard in #1214
- Add Korean by @jkh0kr in #1338
- add german translations by @max-weis in #1322
- Update workflow to support the last three Go versions by @nodivbyzero in #1393
- Fix: Nil pointer dereference in Arabic translations by @BlackSud0 in #1391
- Translate to thai by @maetad in #1202
- Feat: add EIN validation by @henrriusdev in #1384
- Fix reference to parameter name in docs by @yegvla in #1400
- use mail.ParseAddress to cover missing email validations by @eladb2011 in #1395
- Update linter to v2.0.2 by @nodivbyzero in #1405
New Contributors
- @antonsoroko made their first contribution in #1378
- @dependabot made their first contribution in #1381
- @fathiraz made their first contribution in #1376
- @196Ikuchil made their first contribution in #1336
- @KimNorgaard made their first contribution in #1214
- @jkh0kr made their first contribution in #1338
- @max-weis made their first contribution in #1322
- @BlackSud0 made their first contribution in #1391
- @maetad made their first contribution in #1202
- @henrriusdev made their first contribution in #1384
- @yegvla made their first contribution in #1400
- @eladb2011 made their first contribution in #1395
Full Changelog: v10.25.0...v10.26.0
Release 10.25.0
What's Changed
- Fix postcode_iso3166_alpha2_field validation by @ddevcap in #1359
- Update README to replace the Travis CI badge with a GitHub Actions badge by @nodivbyzero in #1362
- chore: using errors.As instead of type assertion by @fatelei in #1346
- Fix/remove issue template md by @ganeshdipdumbare in #1375
- feat: Add support for omitting empty and zero values in validation (including nil pointer and empty content of pointer) by @zeewell in #1289
New Contributors
- @ddevcap made their first contribution in #1359
- @fatelei made their first contribution in #1346
- @zeewell made their first contribution in #1289
Full Changelog: v10.24.0...v10.25.0
Release 10.24.0
What's Changed
The MSGV(Minimum Supported Go Version) has been bumped to v1.20 to address a security issues in the gaoling net
package.
Full Changelog: v10.23.0...v10.24.0
Release 10.23.0
What's Changed
- fix: cron validation support for star step value by @cgetzen in #1302
- doc(oneof): mention 'enum' by @Crocmagnon in #1326
- Add oneofci validator (oneof case insensitive) by @connorcarnes in #1321
- feat: add validator for numeric ports by @nodivbyzero in #1294
New Contributors
- @cgetzen made their first contribution in #1302
- @Crocmagnon made their first contribution in #1326
- @connorcarnes made their first contribution in #1321
Full Changelog: v10.22.1...v10.23.0
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.