npm vee-validate 2.1.0-beta.3

latest releases: 4.12.6, 4.12.5, 4.12.4...
5 years ago

This release merges in the #1392 PR which includes several breaking changes and huge improvements to vee-validate.

☠ Breaking Changes

  • validator.validate signature was changed to be validator.validate(fieldDescriptor: string, value ?: string, opts: ValidationOptions).
  • Rename .initial modifier to .immediate which should make its functionality clearer. .initial modifier will still work at the time being.

⚡ Enhancements

  • Single validator instance: Your app now will only create one validator instance, reducing the memory footprint of vee-validate especially in SSR apps.
  • Custom rules: can be configured to be skipped on initial validation, and able to request date_format to be executed before them, via extend() options.
  • Use the internal Vue instance to create reactive data #332

Issues ✔

  • VueI18n integration removing attributes and custom from the dictionary #1385
  • Use custom parser instead of regex for errorbag selectors closes #1422
  • Force the change event only if the input event was configured for radio and checkboxes closes #1418
  • Avoid deleting field flags if two fields share the same name while being toggled by v-if closes #1410
  • Fix String.startsWith usage closes #1406

Don't miss a new vee-validate release

NewReleases is sending notifications on new releases.