As of 2019-12-24 v9 is entering maintenance mode. Please direct all PR's to master.
But before this happens, 🎄 Merry Christmas: 🎄
🎁 🎁 🎁 🎁 🎁 🎁 🎁 🎁
Added GetTag functionality to the FieldLevel interface. Thanks @LRichi for the PR
Extended Isunique functionality to handle the uniqueness of struct fields in an array/slice. Thanks @shihanng for the PR
Improved documentation for custom functions. Thanks @skateinmars for the PR
Added e.164 phone number validation. Thanks @taybart for the PR
Release 9.30.2
What was fixed?
Fixed previous release against wrong branch!
Release 9.30.1
What was fixed?
Backported some fixes from v10 for the required_with* validation functions.
P.S.
I highly recommending updating to v10 which is just v9 updated to use Go Modules and std import paths rather than gopkg.in. I will be putting v9 into maintenance mode soon as I don't have the bandwidth to maintain both v10 & v9.
Release 9.30.0
What's new?
Added Turkish translations, thanks @UgurAsaner for the PR!
Cleaned up linting.
What was fixed?
Fixed bad import path, thanks @teejays for the PR!
Fixed all required_with* behaviour, there were some issues with pointers.
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 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 gopkg.in/go-playground/validator.v9 from 9.27.0 to 9.31.0.
Release notes
Sourced from gopkg.in/go-playground/validator.v9's releases.
Commits
21c910f
update README9815049
Add test + docs for FieldLevel.GetTagf1d0204
Merge pull request #535 from LRichi/v96720e73
Merge pull request #496 from shihanng/unique_struct_field5bbca66
Merge pull request #530 from skateinmars/chore/improve-doc17c1fa8
Merge pull request #529 from taybart/v9bde478f
Update README.mda060cd9
Update README.md6963d3c
Merge pull request #544 from go-playground/backport-required-with-fixes38bfb46
fix required_*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 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)