Skip to content

3.0.0

Compare
Choose a tag to compare
@logaretm logaretm released this 23 Aug 15:51

VeeValidate 3.0

VeeValidate 3.0 has been released, this release is a complete re-write and offers tons of improvements and features, it also introduces breaking changes discussed in #2191

The release notes are announced here

The documentation for v3 can be located here

What's new 🔥

  • New global function-based tree-shakeable API.
  • Rewritten in TypeScript.
  • Smaller bundle size.
  • JSON based localization files whose format are compatible with vue-i18n.
  • New rule extension API.
  • New localization and library-agnostic API.
  • New Stateless Validation API.

Breaking Changes 💣

  • The v-validate directive has been removed.
  • The global Validator, Dictionary, ErrorBag APIs have been removed.
  • ValidationProvider flags are now exposed directly on the slot-props object.
  • Those rules have been removed: after, before, credit_card, date_format, date_between, digits, ip, ip_or_fqdn, url.
  • Those rules have been behaviorally altered to be simpler: email, length.
  • The included rule has been renamed to oneOf.