vuelidate v2.0.0-alpha.1 Release Notes
Release Date: 2020-08-08 // over 3 years ago-
Vuelidate Core
๐ Bug Fixes
- core: allow for no validation rules when using useVuelidate (5119f05)
- core: ensure registerAs is always valid (b01de4b)
- core: fallback $params to empty object. Properly propagate $pending up to the root (0b0d0d3)
- core: fix $model on state (37b65d4)
- core: make $errors a reactive object (3848e7b)
- core: move validations into $v computed for correct this (55017c5)
- โ remove unnecessary watch options (b8c5181)
- core: normalize validator output (af116cc)
- core: unwrap $params in $message function (e8e9074)
- core: unwrap child results (fe2c6f4)
- core: unwrap state when creating validation results (99f9029)
- core: use cached setValidations state (99d4728)
- vuelidate: remove double nested result injection (33aff45)
๐ Features
- core: ๐ Add context-aware validation support (771828e)
- core: $anyDirty should fallback on $dirty (6b10bb4)
- core: add mixin support for old options API (682bf74)
- replace vue-cli with vite (#664) (c155404)
- core: improve docs and add $propertyPath property to validators (9ec284c)
- core: lazy validations (8b95a0b)
- core: make message an empty string by default (cb7dc1d)
- core: make RegisterAs optional; use comp name & uid as key (2fa7976)
- core: rename variables after review (3bb7341)
- core: update to Vue 3 (35a49c3)
- โ add $dirty cache WIP (5725a38)
- โ Add $touch and $reset to root. (#626) (a80c164)
- โ add support for $model with reactive (75c821d)
- โ add validate function and other improvements (#663) (0d1ca73)
Validators
๐ Bug Fixes
- validators: add unwrap calls to the core helpers like "req", "len", "regex", along with some validators (b6ec948)
๐ Features