Releases: go-playground/validator
Releases · go-playground/validator
Release 10.0.0
What'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.
Release 9.30.0
What's new?
- Added Turkish translations, thanks @UgurAsaner for the PR!
- Cleaned up linting.
What was fixed?
Release v9.29.1
What was fixed?
- Corrected typo in docs, thanks @tobiassjosten for the PR!
- Fix
required_without
validation working with pointers, thanks @leafduo for the PR!
Release v9.29.0
What's new?
Some new and exciting validators have been added, thanks @mashmooli for the PR
- required_with
- required_with_all
- required_without
- required_without_all
please see the docs for usage instructions!
Release 9.28.0
What's new?
Huge shout out to the community for all the help!
- Added new section for non-standard validations here from PR, thanks @andreiavrammsd!
- these non standard validations will not be part of the beked in validations but rather a place for the community to put one-off validations that others may find useful and can register them as needed.
- Updsated the SSN regex to handle more use cases in PR, thanks @rucas!
- Added
startswith
sndendswith
validations in PR, thanks @thcipriani! - Fixed a typo in the struct level example in PR, thanks @masseelch!
- Updated the docs to include the
uuid_rfc4122
validations in PR, thanks @alexbilbie! - Updated the email validations regex to handle a couple of failing real-world cases in PR, thanks @benpaxton-hf!
Release 9.27.0
Release 9.26.0
Release 9.25.0
What's new?
Add baked in validators for containsfield and excludesfield, thanks @fharding1 for the PR
What was fixed
Release 9.24.0
Release 9.23.0
What's new?
- Added automatic pointer downgrade for
RegisterStructValidation
, thanks @suekto-andreas for the PR - Added Indonesian translations, thanks @sulthonzh for the PR