All Versions
37
Latest Version
Avg Release Cycle
155 days
Latest Release
1963 days ago
Changelog History
Page 3
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.
- Compatible with promises from the ground up. Previous API (e.g.
๐ Deprecated
data-parsley-trim-value
in favour of newwhitespace
APIโ Added
whitespace
API with two options:trim
andsquish
-
v2.1.2 Changes
- ๐ fix custom triggers after a
reset()
(#926) - ๐ fix documentation and generated dist files
- ๐ fix custom triggers after a
-
v2.1.1 Changes
- ๐ Bug fix for reentrant validations
-
v2.1.0 Changes
Event remodel
- New API
on
andoff
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 API
๐ 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
andminlength
(#731) - โก๏ธ various doc updates
- ๐ improved test suite
- various small code simplifications
- โก๏ธ updated TLD range for URL validator (#829)
- ๐ support of html5
-
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
- proper version number in