Skip to content


Subversion checkout URL

You can clone with
Download ZIP
100644 255 lines (232 sloc) 19.879 kB
b360f98 @jzaefferer Added Thai (TH) localization, fixes #85
jzaefferer authored
1 1.9.0
2 ---
3 * Added Thai (TH) localization, fixes #85
125e124 @jzaefferer Extract version into version.txt and add header two additional-method…
jzaefferer authored
5 1.8.0
380b5b1 @jzaefferer CRLF conversions
jzaefferer authored
6 ---
7 * Improved NL localization (
8 * Added Georgian (GE) localization, thanks Avtandil Kikabidze
044a627 @jzaefferer Added Serbian (SR) localization, thanks Aleksandar Milovac
jzaefferer authored
9 * Added Serbian (SR) localization, thanks Aleksandar Milovac
7d0d7f6 @jzaefferer Added ipv4 and ipv6 to additional methods, thanks Natal Ngetal (hobbe…
jzaefferer authored
10 * Added ipv4 and ipv6 to additional methods, thanks Natal Ngétal
b5cda4e @jzaefferer Added Japanese (JA) localization, thanks Bryan Meyerovich
jzaefferer authored
11 * Added Japanese (JA) localization, thanks Bryan Meyerovich
e9e212e @jzaefferer Added Catalan (CA) localization, thanks Xavier de Pedro
jzaefferer authored
12 * Added Catalan (CA) localization, thanks Xavier de Pedro
4ae4d52 @jzaefferer Fixed missing var statements within for-in loops
jzaefferer authored
13 * Fixed missing var statements within for-in loops
f6c2d48 @jzaefferer Changelog update for #11 bugfix
jzaefferer authored
14 * Fix for remote validation, where a formatted message got messed up (
125e124 @jzaefferer Extract version into version.txt and add header two additional-method…
jzaefferer authored
15 * Bugfixes for compability with jQuery 1.5.1, while maintaining backwards-compability
380b5b1 @jzaefferer CRLF conversions
jzaefferer authored
17 1.7
18 ---
19 * Added Lithuanian (LT) localization
20 * Added Greek (EL) localization (
21 * Added Latvian (LV) localization (
22 * Added Hebrew (HE) localization (
23 * Fixed Spanish (ES) localization (
24 * Added jQuery UI themerolled demo
25 * Removed cmxform.js
26 * Fixed four missing semicolons (
27 * Renamed phone-method in additional-methods.js to phoneUS
28 * Added phoneUK and mobileUK methods to additional-methods.js (
29 * Deep extend options to avoid modifying multiple forms when using the rules-method on a single element (
30 * Bugfixes for compability with jQuery 1.4.2, while maintaining backwards-compability
32 1.6
33 ---
34 * Added Arabic (AR), Portuguese (PTPT), Persian (FA), Finnish (FI) and Bulgarian (BR) localization
35 * Updated Swedish (SE) localization (some missing html iso characters)
36 * Fixed $.validator.addMethod to properly handle empty string vs. undefined for the message argument
37 * Fixed two accidental global variables
38 * Enhanced min/max/rangeWords (in additional-methods.js) to strip html before counting; good when counting words in a richtext editor
39 * Added localized methods for DE, NL and PT, removing the dateDE and numberDE methods (use messages_de.js and methods_de.js with date and number methods instead)
40 * Fixed remote form submit synchronization, kudos to Matas Petrikas
41 * Improved interactive select validation, now validating also on click (via option or select, inconsistent across browsers); doesn't work in Safari, which doesn't trigger a click event at all on select elements; fixes
42 * Updated to latest form plugin (2.36), fixing
43 * Bind to blur event for equalTo target to revalidate when that target changes, fixes
44 * Simplified select validation, delegating to jQuery's val() method to get the select value; should fix
45 * Fixed default message for digits (
46 * Fixed issue with cached remote message ( and
47 * Fixed a missing semicolon in additional-methods.js (
48 * Added automatic detection of substitution parameters in messages, removing the need to provide format functions (
49 * Fixed an issue with :filled/:blank somewhat caused by Sizzle (
50 * Added an integer method to additional-methods.js (
51 * Fixed errorsFor method where the for-attribute contains characters that need escaping to be valid inside a selector (
53 1.5.5
54 ---
55 * Fix for
56 * Fixed trailing comma in messages_cs.js
58 1.5.4
59 ---
60 * Fixed remote method bug (
62 1.5.3
63 ---
64 * Fixed a bug related to the wrapper-option, where all ancestor-elements that matched the wrapper-option where selected (
65 * Updated multipart demo to use latest jQuery UI accordion
66 * Added dateNL and time methods to additionalMethods.js
67 * Added Traditional Chinese (Taiwan, tw) and Kazakhstan (KK) localization
68 * Moved jQuery.format (fomerly String.format) to jQuery.validator.format, jQuery.format is deprecated and will be removed in 1.6 (see for details)
69 * Cleaned up messages_pl.js and messages_ptbr.js (still defined messages for max/min/rangeValue, which were removed in 1.4)
70 * Fixed flawed boolean logic in valid-plugin-method for multiple elements; now all elements need to be valid for a boolean-true result (
71 * Enhancement $.validator.addMethod: An undefined third message-argument won't overwrite an existing message (
72 * Enhancement to submitHandler option: When used, click events on submit buttons are captured and the submitting button is inserted into the form before calling submitHandler, and removed afterwards; keeps submit buttons intact (
73 * Added option validClass, default "valid", which adds that class to all valid elements, after validation (
74 * Added creditcardtypes method to additionalMethods.js, including tests (via
75 * Improved remote method to allow serverside message as a string, or true for valid, or false for invalid using the clientside defined message (
76 * Improved accept method to also accept a Drupal-style comma-seperated list of values (
78 1.5.2
79 ---
80 * Fixed messages in additional-methods.js for maxWords, minWords, and rangeWords to include call to $.format
81 * Fixed value passed to methods to exclude carriage return (\r), same as jQuery's val() does
82 * Added slovak (sk) localization
83 * Added demo for intergration with jQuery UI tabs
84 * Added selects-grouping example to tabs demo (see second tab, birthdate field)
86 1.5.1
87 ---
88 * Updated marketo demo to use invalidHandler option instead of binding invalid-form event
89 * Added TinyMCE integration example
90 * Added ukrainian (ua) localization
91 * Fixed length validation to work with trimmed value (regression from 1.5 where general trimming before validation was removed)
92 * Various small fixes for compability with both 1.2.6 and 1.3
94 1.5
95 ---
96 * Improved basic demo, validating confirm-password field after password changed
97 * Fixed basic validation to pass the untrimmed input value as the first parameter to validation methods, changed required accordingly; breaks existing custom method that rely on the trimming
98 * Added norwegian (no), italian (it), hungarian (hu) and romanian (ro) localization
99 * Fixed #3195: Two flaws in swedish localization
100 * Fixed #3503: Extended rules("add") to accept messages propery: use to specify add custom messages to an element via rules("add", { messages: { required: "Required! " } });
101 * Fixed #3356: Regression from #2908 when using meta-option
102 * Fixed #3370: Added ignoreTitle option, set to skip reading messages from the title attribute, helps to avoid issues with Google Toolbar; default is false for compability
103 * Fixed #3516: Trigger invalid-form event even when remote validation is involved
104 * Added invalidHandler option as a shortcut to bind("invalid-form", function() {})
105 * Fixed Safari issue for loading indicator in ajaxSubmit-integration-demo (append to body first, then hide)
106 * Added test for creditcard validation and improved default message
107 * Enhanced remote validation, accepting options to passthrough to $.ajax as paramter (either url string or options, including url property plus everything else that $.ajax supports)
109 1.4
110 ---
111 * Fixed #2931, validate elements in document order and ignore type=image inputs
112 * Fixed usage of $ and jQuery variables, now fully comptible with all variations of noConflict usage
113 * Implemented #2908, enabling custom messages via metadata ala class="{required:true,messages:{required:'required field'}}", added demo/custom-messages-metadata-demo.html
114 * Removed deprecated methods minValue (min), maxValue (max), rangeValue (rangevalue), minLength (minlength), maxLength (maxlength), rangeLength (rangelength)
115 * Fixed #2215 regression: Call unhighlight only for current elements, not everything
116 * Implemented #2989, enabling image button to cancel validation
117 * Fixed issue where IE incorrectly validates against maxlength=0
118 * Added czech (cs) localization
119 * Reset validator.submitted on validator.resetForm(), enabling a full reset when necessary
120 * Fixed #3035, skipping all falsy attributes when reading rules (0, undefined, empty string), removed part of the maxlength workaround (for 0)
121 * Added dutch (nl) localization (#3201)
123 1.3
124 ---
125 * Fixed invalid-form event, now only triggered when form is invalid
126 * Added spanish (es), russian (ru), portuguese brazilian (ptbr), turkish (tr), and polish (pl) localization
127 * Added removeAttrs plugin to facilate adding and removing multiple attributes
128 * Added groups option to display a single message for multiple elements, via groups: { arbitraryGroupName: "fieldName1 fieldName2[, fieldNameN" }
129 * Enhanced rules() for adding and removing (static) rules: rules("add", "method1[, methodN]"/{method1:param[, method_n:param]}) and rules("remove"[, "method1[, method_n]")
130 * Enhanced rules-option, accepts space-seperated string-list of methods, eg. {birthdate: "required date"}
131 * Fixed checkbox group validation with inline rules: As long as the rules are specified on the first element, the group is now properly validated on click
132 * Fixed #2473, ignoring all rules with an explicit parameter of boolean-false, eg. required:false is the same as not specifying required at all (it was handled as required:true so far)
133 * Fixed #2424, with a modified patch from #2473: Methods returning a dependency-mismatch don't stop other rules from being evaluated anymore; still, success isn't applied for optional fields
134 * Fixed url and email validation to not use trimmed values
135 * Fixed creditcard validation to accept only digits and dashes ("asdf" is not a valid creditcard number)
136 * Allow both button and input elements for cancel buttons (via class="cancel")
137 * Fixed #2215: Fixed message display to call unhighlight as part of showing and hiding messages, no more visual side-effects while checking an element and extracted validator.checkForm to validate a form without UI sideeffects
138 * Rewrote custom selectors (:blank, :filled, :unchecked) with functions for compability with AIR
140 1.2.1
141 -----
143 * Bundled delegeate plugin with validate plugin - its always required anyway
144 * Improved remote validation to include parts from the ajaxQueue plugin for proper synchronization (no additional plugin necessary)
145 * Fixed stopRequest to prevent pendingRequest < 0
146 * Added jQuery.validator.autoCreateRanges property, defaults to false, enable to convert min/max to range and minlength/maxlength to rangelength; this basically fixes the issue introduced by automatically creating ranges in 1.2
147 * Fixed optional-methods to not highlight anything at all if the field is blank, that is, don't trigger success
148 * Allow false/null for highlight/unhighlight options instead of forcing a do-nothing-callback even when nothing needs to be highlighted
149 * Fixed validate() call with no elements selected, returning undefined instead of throwing an error
150 * Improved demo, replacing metadata with classes/attributes for specifying rules
151 * Fixed error when no custom message is used for remote validation
152 * Modified email and url validation to require domain label and top label
153 * Fixed url and email validation to require TLD (actually to require domain label); 1.2 version (TLD is optional) is moved to additionals as url2 and email2
154 * Fixed dynamic-totals demo in IE6/7 and improved templating, using textarea to store multiline template and string interpolation
155 * Added login form example with "Email password" link that makes the password field optional
156 * Enhanced dynamic-totals demo with an example of a single message for two fields
158 1.2
159 ---
161 * Added AJAX-captcha validation example (based on
162 * Added remember-the-milk-demo (thanks RTM team for the permission!)
163 * Added marketo-demo (thanks Glen Lipka!)
164 * Added support for ajax-validation, see method "remote"; serverside returns JSON, true for valid elements, false or a String for invalid, String is used as message
165 * Added highlight and unhighlight options, by default toggles errorClass on element, allows custom highlighting
166 * Added valid() plugin method for easy programmatic checking of forms and fields without the need to use the validator API
167 * Added rules() plguin method to read and write rules for an element (currently read only)
168 * Replaced regex for email method, thanks to the contribution by Scott Gonzalez, see
169 * Restructured event architecture to rely solely on delegation, both improving performance, and ease-of-use for the developer (requires jquery.delegate.js)
170 * Moved documentation from inline to - including interactive examples for all methods
171 * Removed validator.refresh(), validation is now completey dynamic
172 * Renamed minValue to min, maxValue to max and rangeValue to range, deprecating the previous names (to be removed in 1.3)
173 * Renamed minLength to minlength, maxLength to maxlength and rangeLength to rangelength, deprecating the previous names (to be removed in 1.3)
174 * Added feature to merge min + max into and range and minlength + maxlength into rangelength
175 * Added support for dynamic rule parameters, allowing to specify a function as a parameter eg. for minlength, called when validating the element
176 * Allow to specify null or an empty string as a message to display nothing (see marketo demo)
177 * Rules overhaul: Now supports combination of rules-option, metadata, classes (new) and attributes (new), see rules() for details
179 1.1.2
180 ---
182 * Replaced regex for URL method, thanks to the contribution by Scott Gonzalez, see
183 * Improved email method to better handle unicode characters
184 * Fixed error container to hide when all elements are valid, not only on form submit
185 * Fixed String.format to jQuery.format (moving into jQuery namespace)
186 * Fixed accept method to accept both upper and lowercase extensions
187 * Fixed validate() plugin method to create only one validator instance for a given form and always return that one instance (avoids binding events multiple times)
188 * Changed debug-mode console log from "error" to "warn" level
190 1.1.1
191 -----
193 * Fixed invalid XHTML, preventing error label creation in IE since jQuery 1.1.4
194 * Fixed and improved String.format: Global search & replace, better handling of array arguments
195 * Fixed cancel-button handling to use validator-object for storing state instead of form element
196 * Fixed name selectors to handle "complex" names, eg. containing brackets ("list[]")
197 * Added button and disabled elements to exclude from validation
198 * Moved element event handlers to refresh to be able to add handlers to new elements
199 * Fixed email validation to allow long top level domains (eg. ".travel")
200 * Moved showErrors() from valid() to form()
201 * Added validator.size(): returns the number of current errors
202 * Call submitHandler with validator as scope for easier access of it's methods, eg. to find error labels using errorsFor(Element)
203 * Compatible with jQuery 1.1.x and 1.2.x
205 1.1
206 ---
208 * Added validation on blur, keyup and click (for checkboxes and radiobutton). Replaces event-option.
209 * Fixed resetForm
210 * Fixed custom-methods-demo
212 1.0
213 ---
215 * Improved number and numberDE methods to check for correct decimal numbers with delimiters
216 * Only elements that have rules are checked (otherwise success-option is applied to all elements)
217 * Added creditcard number method (thanks to Brian Klug)
218 * Added ignore-option, eg. ignore: "[@type=hidden]", using that expression to exclude elements to validate. Default: none, though submit and reset buttons are always ignored
219 * Heavily enhanced Functions-as-messages by providing a flexible String.format helper
220 * Accept Functions as messages, providing runtime-custom-messages
221 * Fixed exclusion of elements without rules from successList
222 * Fixed custom-method-demo, replaced the alert with message displaying the number of errors
223 * Fixed form-submit-prevention when using submitHandler
224 * Completely removed dependency on element IDs, though they are still used (when present) to link error labels to inputs. Achieved by using
225 an array with {name, message, element} instead of an object with id:message pairs for the internal errorList.
226 * Added support for specifying simple rules as simple strings, eg. "required" is equivalent to {required: true}
227 * Added feature: Add errorClass to invalid field�s parent element, making it easy to style the label/field container or the label for the field.
228 * Added feature: focusCleanup - If enabled, removes the errorClass from the invalid elements and hides all errors messages whenever the element is focused.
229 * Added success option to show the a field was validated successfully
230 * Fixed Opera select-issue (avoiding a attribute-collision)
231 * Fixed problems with focussing hidden elements in IE
232 * Added feature to skip validation for submit buttons with class "cancel"
233 * Fixed potential issues with Google Toolbar by prefering plugin option messages over title attribute
234 * submitHandler is only called when an actual submit event was handled, validator.form() returns false only for invalid forms
235 * Invalid elements are now focused only on submit or via validator.focusInvalid(), avoiding all trouble with focus-on-blur
236 * IE6 error container layout issue is solved
237 * Customize error element via errorElement option
238 * Added validator.refresh() to find new inputs in the form
239 * Added accept validation method, checks file extensions
240 * Improved dependecy feature by adding two custom expressions: ":blank" to select elements with an empty value and �:filled� to select elements with a value, both excluding whitespace
241 * Added a resetForm() method to the validator: Resets each form element (using the form plugin, if available), removes classes on invalid elements and hides all error messages
242 * Fixed docs for validator.showErrors()
243 * Fixed error label creation to always use html() instead of text(), allowing arbitrary HTML passed in as messages
244 * Fixed error label creation to use specified error class
245 * Added dependency feature: The requires method accepts both String (jQuery expressions) and Functions as the argument
246 * Heavily improved customizing of error message display: Use normal messages and show/hide an additional container; Completely replace message display with own mechanism (while being able to delegate to the default handler; Customize placing of generated labels (instead of default below-element)
247 * Fixed two major bugs in IE (error containers) and Opera (metadata)
248 * Modified validation methods to accept empty fields as valid (exception: of course �required� and also �equalTo� methods)
249 * Renamed "min" to "minLength", "max" to "maxLength", "length" to "rangeLength"
250 * Added "minValue", "maxValue" and "rangeValue"
251 * Streamlined API for support of different events. The default, submit, can be disabled. If any event is specified, that is applied to each element (instead of the entire form). Combining keyup-validation with submit-validation is now extremely easy to setup
252 * Added support for one-message-per-rule when defining messages via plugin settings
253 * Added support to wrap metadata in some parent element. Useful when metadata is used for other plugins, too.
254 * Refactored tests and demos: Less files, better demos
ce7c5ba @jzaefferer
jzaefferer authored
255 * Improved documentation: More examples for methods, more reference texts explaining some basics
Something went wrong with that request. Please try again.