github go-playground/validator v9.5.0
Release 9.5.0

latest releases: v10.20.0, v10.19.0, v10.18.0...
6 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.