New
Release 10.27.0
What's Changed
- Fix Release version badge on README page by @nodivbyzero in https://github.com/go-playground/validator/pull/1406
- fix russian E.164 error message by @prigornitskiy in https://github.com/go-playground/validator/pull/1349
- chore: remove unnecessary statement by @qshuai in https://github.com/go-playground/validator/pull/1200
- Re-enable several linters by @nodivbyzero in https://github.com/go-playground/validator/pull/1412
- add support to tag validateFn by @peczenyj in https://github.com/go-playground/validator/pull/1363
- Bump golang.org/x/crypto from 0.33.0 to 0.35.0 in /_examples/validate_fn by @dependabot in https://github.com/go-playground/validator/pull/1418
- Bump golang.org/x/net from 0.34.0 to 0.38.0 in /_examples/validate_fn by @dependabot in https://github.com/go-playground/validator/pull/1419
- Align required_without with the contract stated in the documentation by @jmfrees in https://github.com/go-playground/validator/pull/1422
- Add translation example by @cxlblm in https://github.com/go-playground/validator/pull/1394
- doc(errors): mention RegisterTagNameFunc for FieldError.Field by @khan-ajamal in https://github.com/go-playground/validator/pull/1358
- Bump golangci/golangci-lint-action from 7 to 8 by @dependabot in https://github.com/go-playground/validator/pull/1425
- feat(translation): add en translation for urn_rfc2141 by @ryanmalesic in https://github.com/go-playground/validator/pull/1431
- fix: panics when private field is validated by @ykalchevskiy in https://github.com/go-playground/validator/pull/1423
- Fix: support validation for map values with struct types by @JunaidIslam2105 in https://github.com/go-playground/validator/pull/1433
- Omitzero does not work with slice and map bug by @JunaidIslam2105 in https://github.com/go-playground/validator/pull/1436
- Fix: Validator panics when 'nil' is used along with required if for slices and maps by @JunaidIslam2105 in https://github.com/go-playground/validator/pull/1442
- docs: typos by @eqsdxr in https://github.com/go-playground/validator/pull/1440
- fix: make "file://" fail
urlvalidation by @bfabio in https://github.com/go-playground/validator/pull/1444 - disable way too aggressive and disagreeable linters by @deankarn in https://github.com/go-playground/validator/pull/1445
- use golangci lint file for disables by @deankarn in https://github.com/go-playground/validator/pull/1447
New Contributors
- @prigornitskiy made their first contribution in https://github.com/go-playground/validator/pull/1349
- @qshuai made their first contribution in https://github.com/go-playground/validator/pull/1200
- @peczenyj made their first contribution in https://github.com/go-playground/validator/pull/1363
- @jmfrees made their first contribution in https://github.com/go-playground/validator/pull/1422
- @cxlblm made their first contribution in https://github.com/go-playground/validator/pull/1394
- @khan-ajamal made their first contribution in https://github.com/go-playground/validator/pull/1358
- @ryanmalesic made their first contribution in https://github.com/go-playground/validator/pull/1431
- @ykalchevskiy made their first contribution in https://github.com/go-playground/validator/pull/1423
- @JunaidIslam2105 made their first contribution in https://github.com/go-playground/validator/pull/1433
- @eqsdxr made their first contribution in https://github.com/go-playground/validator/pull/1440
- @bfabio made their first contribution in https://github.com/go-playground/validator/pull/1444
Full Changelog: https://github.com/go-playground/validator/compare/v10.26.0...v10.27.0