Releases: golodash/galidator
Releases · golodash/galidator
v2.1.2
v2.1.1
Galidator v2.1.0 🎉
Patch Changes:
- Password validation supports more scenarios than before.
Galidator is a general use case validator for golang.
v2.1.0
Galidator v2.1.0 🎉
Minor Changes:
- Feat: Added some new functions to be able to modify Validator and its rules after the creation of it. Added function:
GetValidator
andGetChildrenValidator
for ruleSet interfaceGetStructRule
andGetRule
for Validator interface
Galidator is a general use case validator for golang.
v2.0.1
Galidator v2.0.1 🎉
Minor Changes:
- Style: Just a simple extra print line which was left, removed.
Galidator is a general use case validator for golang.
v2.0.0
Galidator v2.0.0 🎉
Major Changes:
- Feat: A context now goes through the custom validators to be able to pass data to the isolated validator.
Galidator is a general use case validator for golang.
v1.4.4
v1.4.3
Galidator v1.4.3 🎉
Patch Changes:
- Bug Fix: Add custom messages for rules with params is now possible for binding tags.
Galidator is a general use case validator for golang.
v1.4.2
Galidator v1.4.2 🎉
Patch Changes:
- Unexported fields for structs will get ignored to prevent unwanted behaviors
Galidator is a general use case validator for golang.
v1.4.1
Galidator v1.4.1 🎉
Patch Changes:
- WhenNotExistAll and WhenNotExistOne were not usable in tags
- Validator method does not add a type check rule anymore in creating validator from struct instance
- Bug fixed after passing
AlwaysCheckRules
Galidator is a general use case validator for golang.
v1.4.0
Galidator v1.4.0 🎉
Minor Changes:
- WhenNotExistOne method added to ruleSet which will make the parameter to be required if at least one of the items passed is
- WhenNotExistAll method added to ruleSet which will make the parameter to be required in
- AlwaysCheckRules method added to ruleSet which causes the rules to always get checked regardless of the value itself
$field
name in error messages will get translated- Custom validators will get passed from generators to ruleSet
- RegisteredCustom method added to rulseSet which make custom validators defined in generator possible
Galidator is a general use case validator for golang.