Changelog History
Page 7
-
v4.0.3 Changes
December 05, 2020 -
v4.0.2
November 27, 2020 -
v4.0.1 Changes
November 25, 2020 -
v4.0.0 Changes
November 16, 2020vee-validate v4
๐ This marks the first stable release of vee-validate v4 ๐ ๐ ๐
๐ This release is only for Vue 3.0 as the API is completely new and while loosely follows the same footsteps of the changes added in v3, it takes heavy inspiration from Formik's validation API while keeping it Vuey! ๐
If I have to describe vee-validate now, it's a progressive form validation tool now with the sole aim to make building faster forms, much faster for developers. โก๏ธ
This means the API is now stable and it's unlikely that any breaking changes will be introduced, however since Vue 3 adoption is still slow I didn't get to cover a lot of use cases but I'm fairly confident in the API at the moment.
So if you have been on the fence about using vee-validate because it was in beta, now it's the time to try it out and let me know how the new API makes your forms easier/harder! โ
Migration Guide
โฌ๏ธ As for a migration guide, I recommend reading the docs as the API is completely new and needs a fresh look. Still, I will provide a short migration guide highlighting the major changes and the simplest path to upgrade, but it's not going to be straightforward.
Not a lot of changes since the last beta
๐ฑ ๐ New Features
- โ added
validate
method to theForm
component's templateref
instance #3030
- โ added
-
v4.0.0-beta.3 Changes
October 06, 2020๐ New Features ๐
- feat(breaking): Renamed
immediate
prop on theField
component anduseField
function tovalidateOnMount
to better communicate its purpose (#2938) - feat: Added
validateOnMount
prop on theForm
component anduseForm
function to trigger initial validation without having to provide initial values (#2938)
๐ Fixes ๐
- feat(breaking): Renamed
-
v4.0.0-beta.2 Changes
October 05, 2020๐ New Features ๐
-
v4.0.0-beta.19 Changes
November 07, 2020๐ฑ ๐ Bug Fixes
- ๐ fixed an issue where globally registered component won't render with
as
prop #3014
๐ฑ ๐ฅ Breaking But Cool Changes
๐ Deprecated the
reset
methods onField
,Form
components, anduseField
anduseForm
functions, instead added a new:resetField
on<Field />
anduseField
resetForm
on<Form />
anduseForm
The new methods offer new DX improvements over the old
reset
API, including an automatic reset of values and the ability to change the initial values.This is probably the last of the breaking changes and hopefully I will be releasing
4.0
very soon. - ๐ fixed an issue where globally registered component won't render with
-
v4.0.0-beta.18 Changes
November 05, 2020๐ฑ ๐ Bug Fixes
- ๐ Fixed an issue when rendering fields with
v-for
or loops and the order of these fields change due tosplice
or swap positions, the fields would not preserve their own values and will behave incorrectly. - ๐
Avoid watching
rules
of typefunction
in<Field />
anduseField
to allow for more flexible higher-order functions style
- ๐ Fixed an issue when rendering fields with
-
v4.0.0-beta.1 Changes
October 02, 2020๐ Bug Fixes ๐
- ๐ fix: avoid binding the
value
prop toinput[type="file"]
(02a2745)
- ๐ fix: avoid binding the
-
v4.0.0-beta.0 Changes
October 01, 2020๐ New Features ๐
- โ Added validation trigger options
validateOnXXX
for controlling validation on these events:input
,change
,blur
,update:modelValue
(#2927) - ๐ฅ Breaking ๐: Now vee-validate will no longer validate on
input
now, this is to prevent the default experience from being too aggressive and you can customize it with thevalidateOnInput
option
You can view the section documenting this behavior here
๐ Bug Fixes ๐
- โ Added validation trigger options