Skip to content

Release v5.4.0

Compare
Choose a tag to compare
@System-Glitch System-Glitch released this 07 Oct 08:10
· 12 commits to master since this release
db452bd
  • Added a context.Context field to the validation.Options and validation.Context structures. If not provided, it defaults to context.Background().
  • The built-in validation middleware now uses the request context in the validation options.
    • The DB instance used in the validation options by the built-in validation middleware was already injected with the request context. You don't need to update your custom validators.
    • You may want to update places where you are using manual validation. However, those will continue to work exactly like they used to if you don't change anything.

Full Changelog: v5.3.0...v5.4.0