Skip to content

Releases: Crowd9/vuelidate

v1.0.0-gleam-20260713

Choose a tag to compare

@renatodeleao renatodeleao released this 13 Jul 10:53
53518ae

Security updates on underlying packages

Security updates on underlying packages

Choose a tag to compare

@renatodeleao renatodeleao released this 01 Jun 17:18
ec0f8e2

Upgrade packages

Choose a tag to compare

@nskazki nskazki released this 27 Apr 08:28
v1.0.0-gleam-20260427

Upgrade underlying packages

Upgrade packages

Choose a tag to compare

@nskazki nskazki released this 31 Mar 09:24

Forward $active rule prop to validator results

Choose a tag to compare

New features

Forwards an $active ref property from conditional validation rule definitions (When helper in upstream main app project). Allows it to be forward from the rule to returned validation results and thus accessible via validationState (v$) for consumer implementations like:

  • counting current active rules
  • conditional call validators based on active truthyness

Before this patch, our conditional helpers relied on an active flag using

  1. $params.active which revealed a bad solution as it triggered infinite loops as $params are watched by recomputing rules trigger infinite watching cb.
  2. We workaround the infinite loop with a non-reactive moduleScoped active property, bound to a lodash _.uniqueId which solved the infinite but loop but break results cache, as it still triggered the watcher although not infinitely, recreating the validation result with an outdated and unwanted value.

Notes

  • This is an "add only" feature, it doesn't break or tweak any existent behaviour, if you don't add an $active prop to your validators everything works business as usual
  • Also note that with this current implementation, active is not computed internally which means that by itself it does not prevent validator functions from running. Currently it is only used for our main app When helper which does that implementation upstream. I have a plan for doing it internally, but out of scope of this release as it touches a few core parts.

Only Necessities

Choose a tag to compare

v1.0.0-gleam-v1-only-necessities

Complete NPM migration

Testing no vue-demi

Choose a tag to compare

v1.0.0-gleam-v1-no-vue-demi-v2

Lose vue-demi

Testing terser deletion

Choose a tag to compare

@nskazki nskazki released this 30 Apr 12:33
v1.0.0-gleam-v1-no-terser

Loose terser

Testing no learn

Choose a tag to compare

@nskazki nskazki released this 30 Apr 14:08
v1.0.0-gleam-v1-no-learn

Lose lerna

Testing babel deletion

Choose a tag to compare

@nskazki nskazki released this 30 Apr 12:24
v1.0.0-gleam-v1-no-babel

Rebuild the project