github go-playground/validator v9.5.0
Release 9.5.0

latest releases: v10.23.0, v10.22.1, v10.22.0...
7 years ago

What new?

Added contextual validation support via context.Context: thanks to @thaonx @nuxier and PR #292

  • RegisterValidationCtx(...)
  • RegisterStructValidationCtx(...)
  • StructCtx(...)
  • StructFilteredCtx(...)
  • StructPartialCtx(...)
  • StructExceptCtx(...)
  • VarCtx(...)
  • VarWithValueCtx(...)

NOTE: in v10 release all old methods will be removed and only new Context methods will remain.

Don't miss a new validator release

NewReleases is sending notifications on new releases.