Releases · marrow16/valix

v1.13.4

Fix security vulnerabilities

v1.13.3

Fix security vulnerabilities

v1.13.2

Support for embedded structs in ValidatorFor

v1.13.1

Fix security vulnerabilities

v1.13.0

  • Upgrade go version (to 1.19)
  • Ignore non-exported fields (in v8nConstraints())
  • Added OptionIgnoreOasTags (for use with ValidatorFor())

v1.12.3

  • Fixed NetIsCP - should not allow trailing :
  • Added CheckExchange option to StringValidEmail constraint
  • Added CheckHost option to NetIsHostname constraint

v1.12.2

Tag parsing now uses go-andiamo/splitter - which allows for quote escaping

v1.12.1

Added IsNull and IsNotNull constraints
Also removed constraint reference from README - now maintained in wiki

v1.12.0

Constraints that wrap other constraint(s) now verify if the wrapped is conditional (and only check it if the conditions are met)
Affected constraints are ArrayOf, ArrayConditionalConstraint and ConstraintSet

v1.11.3

Improve ValidatorFor options - can now pass individual options to ValidatorFor and MustCompileValidatorFor functions. Also means that these functions no longer need a 2nd nil arg when not setting options. The ValidatorForOptions struct is retained to maintain backward compatibility.