All Versions
Latest Version
Avg Release Cycle
Latest Release

Changelog History

  • v2.9

    • ➕ Added euvatin (European Union Value Added Tax Identification Number) validator.
  • v2.8

    • ➕ Added refresh method. Parsley automatically refreshes before validating, but refresh is there if one needs to insure that some fields are rebound/unbound, or triggers are updated, etc...

    • Parsley.hasValidator makes it easy to check if a validator exists or not [#1216]

    • 👍 classHandler now supports global functions, errorWrapper too. [#1101]

  • v2.7

    • 👌 Support for Date type (#1158)
  • v2.6.1

    • 👍 Avoid min/max/range validators for date type, until this is actually supported (#1158)
  • v2.6.0

    • 0️⃣ While input with type="number" must have a default step of 1, the default for data-parsley-type="number" has been changed to 'any' as an hopeless attempt to minimize the confusion around this validator. (#1129)
  • v2.5.1

    • An input with class 'required' will no longer be required; only having an attribute 'required' or 'data-parsley-required' makes an input being required (#1138)
  • v2.5.0

    • 🆕 New option debounce to minimize validation (#1103)
  • v2.4.2

    • $('...').parsley({someOption: 'value'}) will always set the option someOptions. Previously if the field/form was already initialized, options were ignored.
  • v2.3.1

    • Parsley now relies on input events instead of change and keyup events to revalidate after the first failure. This is now customizable with the triggerAfterFailure option. Triggers specified with the trigger option are unbound once a field has failed.
    • ⚡️ Parsley updates the UI before firing success/error/validated events
    • 🗄 Deprecated uses of ParsleyUI. Methods are now instance methods of ParsleyField, with modernized interfaces.
  • v2.2.0

    • type="number" now follows HTML5 spec. In particular, commas are no longer accepted. (#1037)
    • Calls to validate, isValid, whenValidate, whenValid use named arguments (e.g. validate({force: true, group: 'foo'})). Previous API is supported for isValid/validate but is deprecated.
    • ⬇️ Drop support for undocumented option eventValidate.