All Versions
37
Latest Version
Avg Release Cycle
155 days
Latest Release
1150 days ago

Changelog History
Page 3

  • v2.2.0-rc1 Changes

    • ๐Ÿ”จ Major validators refactor:

      • Compatible with promises from the ground up. Previous API (e.g. isValid) remains, but promise-aware API is now recommended (e.g. whenValid).
      • New API to define custom validators (old API is still there but deprecated).
      • Shorter code, removed dependency on validators lib.
      • The remote validator is much smaller now, will probably be merged in the future.
    • ๐Ÿ—„ Deprecated data-parsley-trim-value in favour of new whitespace API

    • โž• Added whitespace API with two options: trim and squish

  • v2.1.2 Changes

    • ๐Ÿ›  fix custom triggers after a reset() (#926)
    • ๐Ÿ›  fix documentation and generated dist files
  • v2.1.1 Changes

    • ๐Ÿ› Bug fix for reentrant validations
  • v2.1.0 Changes

    • Event remodel

      • New API on and off to register for events
      • Global listeners added with Parsley.on
      • Using the new API, event names no longer have their ".parsley" ending
      • Compatibility with previous API is maintained, but $.emit, $.listen, etc. are now deprecated (#899)
    • ๐Ÿ†• New features

      • New event 'form:submit' fired before a form is submitted.
      • The value option can now be a function
      • Parsley.version is now the best way to get the current version
      • Additional translations
    • ๐Ÿ”„ Changes

      • Error containers are created only the first time they are needed.
      • [BC Break] isValid() field method now returns just a boolean, [] is no more returned when field is optional and empty. needsValidation() appears now to indicate if a valid field needed a validation.
    • ๐Ÿ› Bug fixes

      • Speed optimization (#855)
      • Eemote cache now cleared after form submission (#813)
      • Event 'field:reset' now fired if a field is no longer validated (because it is excluded, or removed) (#841)
      • Support for validators with compound names by restoring full case sensitivity to error messages. (#805)
      • Fix conflict between different forms on the same page (#888)
      • Handles checkbox names containing spaces (#881)
      • Detects name conflicts between validators and regular options
      • Compatible with jQuery.noConflict() (#859)
  • v2.0.7 Changes

    • ๐Ÿ‘Œ support of html5 maxlength and minlength (#731)
    • โšก๏ธ various doc updates
    • ๐Ÿ‘Œ improved test suite
    • various small code simplifications
    • โšก๏ธ updated TLD range for URL validator (#829)
  • v2.0.6 Changes

    • โœ‚ removed buggy special char in remote.js plugin (#755)
    • ๐Ÿ›  fixed bug where isValid returned old errors on field with no constraints anymore (#776)
    • ๐Ÿ›  fix a lot of tests
  • v2.0.5 Changes

    • fixed AMD
  • v2.0.4 Changes

    • added ParsleyField context to asyncValidator callback functions (#702)
    • fixed AMD loading of Validator.js (#691, #693)
    • added extra/words.js validators (#700)
    • added support of multiple groups (#706)
  • v2.0.3 Changes

    • fix not AMD loading for Wordpress case (#685)
  • v2.0.2 Changes

    • proper version number in dist/ files