This is probably the last beta before the 2.1.0
release.
Breaking 💀
The installation method for vee-validate has been updated to be more future-proof and as such it introduces a new caveat, you now need to install the plugin before attempting to use its features like Validator.extend
. This is usually trivial and shouldn't affect most setups.
tldr; Make sure you are calling Vue.use(VeeValidate);
before interacting with vee-validate.
Fixes ✔
- fixed v-model.lazy with confirmed not validating correctly due to the other field having different events than the original field #1622
- fixed number HTML input type was not recognized correctly as a textual input, causing it to have validation on
change
instead ofinput
by default. #1614 - fixed errors.any not working correctly with scopes. #1603
Enhancements 🌟
- Use Vuei18n fallback mechanism for generating messages. #1129
- manual installation to allow configuring and managing vee-validate features without installing it with the
Vue.use
API. #1645 docs. - Validator.verify now accepts a third parameter to specify validation options. #1634
- decimal rule now allows the number to be prefixed with
+
sign since it is parsable byparseFloat
. #1627 - empty arrays have been added to the empty values list, previously this caused an unexpected interaction between
required
andlength
rule whererequired
had no effect on the validation behavior. aed1c5e - regex rule now can handle arrays. #1577 thanks to @vibhash
As always various wonderful contributors added more enhancements to the localization files and TS typings, thanks guys! You are awesome 💯