Skip to content

Releases: golodash/galidator

v2.1.2

13 Jul 16:58
Compare
Choose a tag to compare

Galidator v2.1.2 🎉

Patch Changes:

  • required rule doesn't assume 0 value is empty no more

Galidator is a general use case validator for golang.

v2.1.1

11 Jul 10:57
Compare
Choose a tag to compare

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

07 Jun 12:48
Compare
Choose a tag to compare

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:
    1. GetValidator and GetChildrenValidator for ruleSet interface
    2. GetStructRule and GetRule for Validator interface

Galidator is a general use case validator for golang.

v2.0.1

16 May 06:05
Compare
Choose a tag to compare

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

07 May 16:01
Compare
Choose a tag to compare

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

07 May 14:51
Compare
Choose a tag to compare

Galidator v1.4.4 🎉

Patch Changes:

  • Bug Fix: #11 issue is fixed.

Galidator is a general use case validator for golang.

v1.4.3

10 Oct 08:55
Compare
Choose a tag to compare

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

21 Aug 07:36
Compare
Choose a tag to compare

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

20 Aug 11:07
Compare
Choose a tag to compare

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

20 Aug 09:04
Compare
Choose a tag to compare

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.