Massimo Costa
090afeb8ac
enhancement: add italian translation ( #914 )
2022-05-01 08:44:10 -07:00
XIE Long
af72f63d39
Result is wrong while there are multiple group of OR operators #910 ( #911 )
2022-05-01 08:40:00 -07:00
Stefan Dillenburg
f2d3ff7f98
fix: Remove underscore from RFC-1123 based regex ( #912 )
...
RFC-1123 is based on RFC-952, which doesn't allow underscores. RFC-1123
must be therefore implemented with the same constraint to disallow
underscores in host names.
2022-05-01 08:32:50 -07:00
hehe.bu
aea8782168
fix ja typos ( #898 )
2022-05-01 08:27:37 -07:00
Sol
24b5175a34
Fix typo ( #891 )
2022-05-01 08:26:35 -07:00
NgeKaworu
bc9f9dd2eb
Update zh.go ( #856 )
2022-05-01 08:23:51 -07:00
alessmar
dd2857a4cb
Credit card validation ( #924 )
2022-05-01 08:17:59 -07:00
Dean Karn
bb30072b48
update ci config
2022-05-01 08:09:26 -07:00
Jacob Hochstetler
c0195b2b40
added excluded_if/excluded_unless tags + tests ( #847 )
2022-05-01 07:59:09 -07:00
Dean Karn
58d5778b18
Update README.md
2022-03-07 17:32:10 -08:00
Johannes
3e49fe4eb8
bump golang.org/x/text to fix CVE-2021-38561 ( #881 )
...
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2022-03-07 17:29:01 -08:00
Anmar85
dd2de9c1f7
update /x/crypto to resolve CVE-2021-43565 ( #904 )
...
Co-authored-by: Anmar85 <anmar@anmars-mbp.mynetworksettings.com>
2022-03-07 17:26:06 -08:00
Dean Karn
88976f39f6
Update README.md
2022-01-01 17:40:00 -08:00
jtseng-godaddy
06ec79d987
Including regex version validation ( #831 )
2022-01-01 17:38:59 -08:00
Markus Tenghamn
8fe074c546
Added ulid validation ( #826 )
2022-01-01 17:30:17 -08:00
Kazuki Onishi
ec2071b383
Add DNS RFC 1035 label format validator ( #833 )
2022-01-01 17:27:23 -08:00
nesty92
c67d01d610
Add support for all hex color notations ( #866 ) ( #867 )
2022-01-01 17:23:23 -08:00
Markus Tenghamn
19f8e61dba
Fixed country_code validation to properly handle strings ( #873 )
2022-01-01 17:18:13 -08:00
Dean Karn
ce34f361cc
update ut dep ( #816 )
2021-08-08 15:56:07 -07:00
Metin Oğurlu
d4271985b4
Feature/currency codes ( #811 )
2021-08-08 15:48:27 -07:00
András Czigány
42525d89ab
document thread safety and recommended singleton usage ( #809 )
2021-08-08 15:46:25 -07:00
Xavier Vello
a67baa74f1
feature/boolean ( #804 )
2021-08-08 15:44:23 -07:00
Dmitriy
14221d02a5
fix: Fixed panic when use ru lang for translation, added and fixed tests ( #814 )
2021-08-08 15:41:39 -07:00
Dean Karn
6dbf61e046
update deps ( #815 )
2021-08-08 15:33:28 -07:00
Dean Karn
9a5bce3253
Update README.md
2021-07-25 21:34:52 -07:00
Dean Karn
b03f1f453e
update all deps to latest versions ( #801 )
2021-07-25 21:33:52 -07:00
cokezhang
61a982014e
enhancement: add zh translations for tag alphaunicode,alphanumunicode,containsrune,startswith,endswith ( #799 )
2021-07-25 21:23:06 -07:00
Oleg Nikachev
44c2696cbd
Minor fixes. ( #798 )
...
Fixed README.md. Added missing tags.
Fixed function names in comments in baked_in.go.
Fixed error strings in validator_instance.go (should not be
capitalized).
Fixed twice imported assert package in validator_test.go.
2021-07-25 21:17:49 -07:00
steveorourke
e40bece342
Add support for jwt validation ( #783 )
2021-07-25 21:10:57 -07:00
Brian Leishman
8cfa1e93b6
Update README.md ( #765 )
...
fix https://github.com/go-playground/validator/issues/756
Undoes this pr? https://github.com/go-playground/validator/pull/710
Running `go get github.com/go-playground/validator/v10` definitely seems to be the right command. Go getting without the version pulls 9 or just the master. Also importing without the version does not use the current version (v10 at the time of this pr)
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2021-07-25 21:08:41 -07:00
Saed SayedAhmed
f1befad848
Addressing security vulnerabilities ( #774 )
...
* Update yaml and x/crypto to fix security vulnerabilities
* run go mod tidy to add missing go.sum entries
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2021-07-25 21:04:48 -07:00
Dean Karn
65bb123677
Update README.md
2021-07-07 22:40:03 -07:00
amir
e3e38634b1
Add persian translations ( #771 )
2021-07-07 22:39:30 -07:00
N/A
af8b8d1c88
Add iso-3166-2 ( #788 )
2021-07-07 22:33:40 -07:00
Levani
8bfa88a462
Update README.md ( #786 )
2021-07-07 22:26:48 -07:00
Dean Karn
9104fe2461
Update README.md
2021-07-07 22:21:36 -07:00
masafumi-i
90ab42ba67
fix ja translation ( #792 )
2021-07-07 22:21:04 -07:00
Alonso Villegas
b1b32b2064
Fix map diving validation ( #793 )
2021-07-07 22:11:21 -07:00
Dean Karn
76b917f432
Update README.md
2021-05-11 17:37:45 -07:00
Dean Karn
95ac68b6d7
fix url_encoded regex ( #769 )
2021-05-11 17:37:28 -07:00
Dean Karn
d07eb88fb0
Pr cleanup ( #767 )
...
* cleanup after merging PRs
* Add maintainer info +
2021-05-06 07:52:12 -07:00
ѵµσɳɠ
a53d64fc35
Postcode validator for value and field ( #759 )
...
* Postcode validator for value and field
* Add translation for postcode rules
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2021-05-06 06:52:47 -07:00
Oleksii Kulikov
c2066206fe
Add BIC ISO format validator ( #758 )
2021-05-06 06:38:34 -07:00
zytell3301
b95d43b789
Add ability to validate map data ( #752 )
...
* Implement ValidateMapCtx func for validating map data
* Add ValidateMap func for validating map data with an empty context
* Implement a basic example of ValidateMap method
* Update ValidateMapCtx method, so it can validate nested maps
* Due to changes in ValidateMapCtx, make some updates on ValidateMap method
* Update tests due to changes in ValidateMap method
* Create a basic test for validating nested maps
* Handle error when invalid data is supplied for diving
2021-05-06 06:36:41 -07:00
Zane DeGraffenried
31dd62f1c9
Fix boolean support for required_if, required_unless and eqfield ( #754 )
...
* Fix boolean support in requireCheckFieldValue, isEqField and isNeField
* Added tests
Co-authored-by: Zane DeGraffenried <zane.degraffenried@gettyimages.com>
2021-05-06 06:30:06 -07:00
Dean Karn
b926bf0df9
Update README.md
2021-04-06 21:02:04 -07:00
Josh Slate
add373fff7
feat: add bcp 47 language tag validator ( #730 )
2021-04-06 21:01:39 -07:00
Dean Karn
68248183b4
Update README.md
2021-04-05 18:24:36 -07:00
Deri Herdianto
526b0968b3
Update errors.go ( #671 )
2021-04-05 18:14:24 -07:00
Sergei Isaev
2b75c46052
version removed from installation and import ( #710 )
2021-04-05 18:13:46 -07:00