Add fmt.Stringer interface support to uuid validations allowing most UUID validation libraries which implement it to work transparently now. TY @JoshGlazebrook for the PR
Added new omitnil similar to omitempty but for pointers. this is mainly for code generation ease. TY @tarampampam for the PR
Corrected a regression of skipping required for time.Time accidentally introduced in v10.15.2
Release 10.15.3
What was fixed?
Fix regression for invalid type check before calling reflect values type. Thank you @MysteriousPotato for the PR
Release 10.15.2
What was fixed?
Refactored #1122 to support or's in tags + updated to required behaving the same as before v10.50.0 to support the community as there was a lot of code relying on the before behaviour, correct or not.
Added a way to opt-in to the new functionality, which is recommended, using WithRequiredStructEnabled
Release 10.15.1
What was fixed?
Corrected a few validations including gt, lt, ... when using floating point values, specifically float32, in this PR
Release 10.15.0
What's new?
Applying tag validations on structs is now a reality thank to @MysteriousPotato in this PR
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/go-playground/validator/v10 from 10.14.1 to 10.18.0.
Release notes
Sourced from github.com/go-playground/validator/v10's releases.
... (truncated)
Commits
b328f72
Update README.md01120ee
Update all library dependencies (#1222)55313db
Update README.md37a1071
Add translation of requiredXXX and excludedXXX in English/Chinese/Chinese Tai...add493f
Update errors.go (#975)84254ae
update README1246622
add ISSN validator + tests + documentation (#1166)c856961
fix file URL validator (#1171)aa96909
Addomitnil
modifier (#1187)b0c7337
update fieldMatchesRegexByStringerValOrString for backward compatibilityDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show