Releases: go-playground/validator
Releases · go-playground/validator
Release 10.9.0
What's new?
- Fixed panic when use ru lang for translation, thanks @anisov for the PR
- Add boolean baked-in validator to check a string value is a valid boolean representation, thanks @xvello for the PR
- Document thread safety and recommended singleton usage, thanks @andrascz for the PR
- Add validations for ISO 4217 currency codes, thanks @metinogurlu for the PR
- Update
universal-translator
andlocales
dependencies to their latest versions.
Release 10.8.0
What's new?
- Updated deps to address security vulnerabilities discovered in them, thanks @saedx1 for the PR
- Fix import and go get commands, thanks @BrianLeishman for the PR
- Added new JWT validation, thanks @steveorourke for the PR
- Documentation fixes/updates, thanks @Nikachev for the PR
- Add
zh
missing translations for some tags, thanks @SkyingzZ for the PR - Updated all deps to their latest versions.
Release 10.7.0
Release 10.6.2
Release 10.6.1
What was fixed
- Fixed
url_encoded
validation regex not handling totally unescaped data.
Release 10.6.0
What's new?
- Added boolean support for
required_if
,required_unless
andeqfield
. Thanks @zane-deg for the PR - Added ability to validate map data. Thanks @zytell3301 for the PR
- Added BIC ISO format validator. Thanks @yeexel for the PR
Maintainers
A section has been added to the README regarding a "request for maintainers". I am so happy that the community has embraced this project! and I think that now is a good time to bring on more maintainers to help support the growing user base for timely help, PR reviews and general support.
Release 10.5.0
What's new?
- Added bcp 47 language tag validation. Thanks @joshuaslate for the PR
Release 10.4.2
What was Fixed?
- Add support for excluded_with on pointer fields Thanks @Jake-Convictional for the PR
- Fix excludedWithoutAll comment. Thanks @jfrancisco0 for the PR
- Fix accessing fields in composed structs. Thanks @Adimus11 for the PR
- Error in spelling. Thanks @Qalifah for the PR
- Fix StructLevel Parent(). Thanks @Torwang1 for the PR
- Add missing corresponds to boolean value in
nefield
. Thanks @Doarakko for the PR - New official Documentation URL is README. Thanks @frederikhors for the PR
- Remove version from installation and import in the README. Thanks @Serj1c for the PR
- Fix extra text in error.go comment. Thanks @deikatsuo for the PR
Release 10.4.1
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 #642
The fix ensures it falls back to the previous expected behaviour.