Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Adding support for refs and other improvements

Choose a tag to compare

@thetutlage thetutlage released this 14 Jun 10:37
· 205 commits to develop since this release

Refs

Refs allows referencing runtime values in the cached schema. Read the official docs to learn how it works.

https://preview.adonisjs.com/guides/validator/schema-caching#option-3-using-refs

  • docs: update benchmark image ac4cd3e
  • fix: types 2120229
  • improvement: turn off string trimming by default e503450
  • improvement: export isRef in helpers 4e3f0a2
  • improvement(requiredWhen): add support for refs 65af941
  • feat: export helpers required for adding custom rules 86a7120
  • feat: add distinct rule 3d9422a
  • improvement: scope min and max validations to their node subtype 5794257
  • feat(alpha): add support for allowing "space", "dash" and "underscore" 207c4f1
  • refactor: depereciate "addType" and "addRule" in favor of "type" and "rule" c2f1486
  • feat: add support for wildcard messages handler ed5a673
  • improvement: pass validation options to the error reporter da76275
  • refactor: ip rule accept version as a number 620d38f
  • refactor: cleanup validation rules compile functions c764e67
  • test: fix breaking tests 54acbdc
  • chore: update dependencies bd4c554
  • feat: add support for refs 88df5b5
  • improvement(boolean): handle "on" and "off" string. cd0a401
  • feat: add support for micro templating 9d08a27
  • chore: update dependencies 4524097
  • fix: requiredWhen - for values: false and 0 (#83) 29bf541

v7.2.1...v7.3.0