commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / bower_components / jquery-validation / changelog.md
1 1.13.1 / 2014-10-14
2 ==================
3
4 ## Core
5 * Allow 0 as value for autoCreateRanges
6 * Apply ignore setting to all validationTargetFor elements
7 * Don't trim value in min/max/rangelength methods
8 * Escape id/name before using it as a selector in errorsFor
9 * Explicit default for focusCleanup option
10 * Fix incorrect regexp for describedby matcher
11 * Ignore readonly as well as disabled fields
12 * Improve id escaping, store escaped id in describedby
13 * Use return value of submitHandler to allow or prevent form submit
14
15 ## Additionals
16 * Add postalcodeBR method
17 * Fix pattern method when parameter is a string
18
19
20 1.13.0 / 2014-07-01
21 ==================
22
23 ## All
24 * Add plugin UMD wrapper
25
26 ## Core
27 * Respect non-error aria-describedby and empty hidden errors
28 * Improve dateISO RegExp
29 * Added radio/checkbox to delegate click-event
30 * Use aria-describedby for non-label elements
31 * Register focusin, focusout and keyup also on radio/checkbox
32 * Fix normalization for rangelength attribute value
33 * Update elementValue method to deal with type="number" fields
34 * Use charAt instead of array notation on strings, to support IE8(?)
35
36 ## Localization
37 * Fix sk translation of rangelength method
38 * Add Finnish methods
39 * Fixed GL number validation message
40 * Fixed ES number method validation message
41 * Added galician (GL)
42 * Fixed French messages for min and max methods
43
44 ## Additionals
45 * Add statesUS method
46 * Fix dateITA method to deal with DST bug
47 * Add persian date method
48 * Add postalCodeCA method
49 * Add postalcodeIT method
50
51 1.12.0 / 2014-04-01
52 ==================
53
54 * Add ARIA testing ([3d5658e](https://github.com/jzaefferer/jquery-validation/commit/3d5658e9e4825fab27198c256beed86f0bd12577))
55 * Add es-AR localization messages. ([7b30beb](https://github.com/jzaefferer/jquery-validation/commit/7b30beb8ebd218c38a55d26a63d529e16035c7a2))
56 * Add missing dots to 'es' and 'es_AR' messages. ([a2a653c](https://github.com/jzaefferer/jquery-validation/commit/a2a653cb68926ca034b4b09d742d275db934d040))
57 * Added Indonesian (ID) localization ([1d348bd](https://github.com/jzaefferer/jquery-validation/commit/1d348bdcb65807c71da8d0bfc13a97663631cd3a))
58 * Added NIF, NIE and CIF Spanish documents numbers validation ([#830](https://github.com/jzaefferer/jquery-validation/issues/830), [317c20f](https://github.com/jzaefferer/jquery-validation/commit/317c20fa9bb772770bb9b70d46c7081d7cfc6545))
59 * Added the current form to the context of the remote ajax request ([0a18ae6](https://github.com/jzaefferer/jquery-validation/commit/0a18ae65b9b6d877e3d15650a5c2617a9d2b11d5))
60 * Additionals: Update IBAN method, trim trailing whitespaces ([#970](https://github.com/jzaefferer/jquery-validation/issues/970), [347b04a](https://github.com/jzaefferer/jquery-validation/commit/347b04a7d4e798227405246a5de3fc57451d52e1))
61 * BIC method: Improve RegEx, {1} is always redundant. Closes gh-744 ([5cad6b4](https://github.com/jzaefferer/jquery-validation/commit/5cad6b493575e8a9a82470d17e0900c881130873))
62 * Bower: Add Bower.json for package registration ([e86ccb0](https://github.com/jzaefferer/jquery-validation/commit/e86ccb06e301613172d472cf15dd4011ff71b398))
63 * Changes dollar references to 'jQuery', for compability with jQuery.noConflict. Closes gh-754 ([2049afe](https://github.com/jzaefferer/jquery-validation/commit/2049afe46c1be7b3b89b1d9f0690f5bebf4fbf68))
64 * Core: Add "method" field to error list entry ([89a15c7](https://github.com/jzaefferer/jquery-validation/commit/89a15c7a4b17fa2caaf4ff817f09b04c094c3884))
65 * Core: Added support for generic messages via data-msg attribute ([5bebaa5](https://github.com/jzaefferer/jquery-validation/commit/5bebaa5c55c73f457c0e0181ec4e3b0c409e2a9d))
66 * Core: Allow attributes to have a value of zero (eg min='0') ([#854](https://github.com/jzaefferer/jquery-validation/issues/854), [9dc0d1d](https://github.com/jzaefferer/jquery-validation/commit/9dc0d1dd946b2c6178991fb16df0223c76162579))
67 * Core: Disable deprecated $.format ([#755](https://github.com/jzaefferer/jquery-validation/issues/755), [bf3b350](https://github.com/jzaefferer/jquery-validation/commit/bf3b3509140ea8ab5d83d3ec58fd9f1d7822efc5))
68 * Core: Fix support for multiple error classes ([c1f0baf](https://github.com/jzaefferer/jquery-validation/commit/c1f0baf36c21ca175bbc05fb9345e5b44b094821))
69 * Core: Ignore events on ignored elements ([#700](https://github.com/jzaefferer/jquery-validation/issues/700), [a864211](https://github.com/jzaefferer/jquery-validation/commit/a86421131ea69786ee9e0d23a68a54a7658ccdbf))
70 * Core: Improve elementValue method ([6c041ed](https://github.com/jzaefferer/jquery-validation/commit/6c041edd21af1425d12d06cdd1e6e32a78263e82))
71 * Core: Make element() handle ignored elements properly. ([3f464a8](https://github.com/jzaefferer/jquery-validation/commit/3f464a8da49dbb0e4881ada04165668e4a63cecb))
72 * Core: Switch dataRules parsing to W3C HTML5 spec style ([460fd22](https://github.com/jzaefferer/jquery-validation/commit/460fd22b6c84a74c825ce1fa860c0a9da20b56bb))
73 * Core: Trigger success on optional but have other successful validators ([#851](https://github.com/jzaefferer/jquery-validation/issues/851), [f93e1de](https://github.com/jzaefferer/jquery-validation/commit/f93e1deb48ec8b3a8a54e946a37db2de42d3aa2a))
74 * Core: Use plain element instead of un-wrapping the element again ([03cd4c9](https://github.com/jzaefferer/jquery-validation/commit/03cd4c93069674db5415a0bf174a5870da47e5d2))
75 * Core: make sure remote is executed last ([#711](https://github.com/jzaefferer/jquery-validation/issues/711), [ad91b6f](https://github.com/jzaefferer/jquery-validation/commit/ad91b6f388b7fdfb03b74e78554cbab9fd8fca6f))
76 * Demo: Use correct option in multipart demo. ([#1025](https://github.com/jzaefferer/jquery-validation/issues/1025), [070edc7](https://github.com/jzaefferer/jquery-validation/commit/070edc7be4de564cb74cfa9ee4e3f40b6b70b76f))
77 * Fix $/jQuery usage in additional methods. Fixes #839 ([#839](https://github.com/jzaefferer/jquery-validation/issues/839), [59bc899](https://github.com/jzaefferer/jquery-validation/commit/59bc899e4586255a4251903712e813c21d25b3e1))
78 * Improve Chinese translations ([1a0bfe3](https://github.com/jzaefferer/jquery-validation/commit/1a0bfe32b16f8912ddb57388882aa880fab04ffe))
79 * Initial ARIA-Required implementation ([bf3cfb2](https://github.com/jzaefferer/jquery-validation/commit/bf3cfb234ede2891d3f7e19df02894797dd7ba5e))
80 * Localization: change accept values to extension. Fixes #771, closes gh-793. ([#771](https://github.com/jzaefferer/jquery-validation/issues/771), [12edec6](https://github.com/jzaefferer/jquery-validation/commit/12edec66eb30dc7e86756222d455d49b34016f65))
81 * Messages: Add icelandic localization ([dc88575](https://github.com/jzaefferer/jquery-validation/commit/dc885753c8872044b0eaa1713cecd94c19d4c73d))
82 * Messages: Add missing dots to 'bg', 'fr' and 'sr' messages. ([adbc636](https://github.com/jzaefferer/jquery-validation/commit/adbc6361c377bf6b74c35df9782479b1115fbad7))
83 * Messages: Create messages_sr_lat.js ([f2f9007](https://github.com/jzaefferer/jquery-validation/commit/f2f90076518014d98495c2a9afb9a35d45d184e6))
84 * Messages: Create messages_tj.js ([de830b3](https://github.com/jzaefferer/jquery-validation/commit/de830b3fd8689a7384656c17565ee92c2878d8a5))
85 * Messages: Fix sr_lat translation, add missing space ([880ba1c](https://github.com/jzaefferer/jquery-validation/commit/880ba1ca545903a41d8c5332fc4038a7e9a580bd))
86 * Messages: Update messages_sr.js, fix missing space ([10313f4](https://github.com/jzaefferer/jquery-validation/commit/10313f418c18ea75f385248468c2d3600f136cfb))
87 * Methods: Add additional method for currency ([1a981b4](https://github.com/jzaefferer/jquery-validation/commit/1a981b440346620964c87ebdd0fa03246348390e))
88 * Methods: Adding Smart Quotes to stripHTML's punctuation removal ([aa0d624](https://github.com/jzaefferer/jquery-validation/commit/aa0d6241c3ea04663edc1e45ed6e6134630bdd2f))
89 * Methods: Fix dateITA method, avoiding summertime errors ([279b932](https://github.com/jzaefferer/jquery-validation/commit/279b932c1267b7238e6652880b7846ba3bbd2084))
90 * Methods: Localized methods for chilean culture (es-CL) ([cf36b93](https://github.com/jzaefferer/jquery-validation/commit/cf36b933499e435196d951401221d533a4811810))
91 * Methods: Update email to use HTML5 regex, remove email2 method ([#828](https://github.com/jzaefferer/jquery-validation/issues/828), [dd162ae](https://github.com/jzaefferer/jquery-validation/commit/dd162ae360639f73edd2dcf7a256710b2f5a4e64))
92 * Pattern method: Remove delimiters, since HTML5 implementations don't include those either. ([37992c1](https://github.com/jzaefferer/jquery-validation/commit/37992c1c9e2e0be8b315ccccc2acb74863439d3e))
93 * Restricting credit card validator to include length check. Closes gh-772 ([f5f47c5](https://github.com/jzaefferer/jquery-validation/commit/f5f47c5c661da5b0c0c6d59d169e82230928a804))
94 * Update messages_ko.js - closes gh-715 ([5da3085](https://github.com/jzaefferer/jquery-validation/commit/5da3085ff02e0e6ecc955a8bfc3bb9a8d220581b))
95 * Update messages_pt_BR.js. Closes gh-782 ([4bf813b](https://github.com/jzaefferer/jquery-validation/commit/4bf813b751ce34fac3c04eaa2e80f75da3461124))
96 * Update phonesUK and mobileUK to accept new prefixes. Closes gh-750 ([d447b41](https://github.com/jzaefferer/jquery-validation/commit/d447b41b830dee984be21d8281ec7b87a852001d))
97 * Verify nine-digit zip codes. Closes gh-726 ([165005d](https://github.com/jzaefferer/jquery-validation/commit/165005d4b5780e22d13d13189d107940c622a76f))
98 * phoneUS: Add N11 exclusions. Closes gh-861 ([519bbc6](https://github.com/jzaefferer/jquery-validation/commit/519bbc656bcb26e8aae5166d7b2e000014e0d12a))
99 * resetForm should clear any aria-invalid values ([4f8a631](https://github.com/jzaefferer/jquery-validation/commit/4f8a631cbe84f496ec66260ada52db2aa0bb3733))
100 * valid(): Check all elements. Fixes #791 - valid() validates only the first (invalid) element ([#791](https://github.com/jzaefferer/jquery-validation/issues/791), [6f26803](https://github.com/jzaefferer/jquery-validation/commit/6f268031afaf4e155424ee74dd11f6c47fbb8553))
101
102 1.11.1 / 2013-03-22
103 ==================
104
105 * Revert to also converting parameters of range method to numbers. Closes gh-702
106 * Replace most usage of PHP with mockjax handlers. Do some demo cleanup as well, update to newer masked-input plugin. Keep captcha demo in PHP. Fixes #662
107 * Remove inline code highlighting from milk demo. View source works fine.
108 * Fix dynamic-totals demo by trimming whitespace from template content before passing to jQuery constructor
109 * Fix min/max validation. Closes gh-666. Fixes #648
110 * Fixed 'messages' coming up as a rule and causing an exception after being updated through rules("add"). Closes gh-670, fixes #624
111 * Add Korean (ko) localization. Closes gh-671
112 * Improved the UK postcode method to filter out more invalid postcodes. Closes #682
113 * Update messages_sv.js. Closes #683
114 * Change grunt link to the project website. Closes #684
115 * Move remote method down the list to run last, after all other methods applied to a field. Fixes #679
116 * Update plugin.json description, should include the word 'validate'
117 * Fix typos
118 * Fix jQuery loader to use path of itself. Fixes nested demos.
119 * Update grunt-contrib-qunit to make use of PhantomJS 1.8, when installed through node module 'phantomjs'
120 * Make valid() return a boolean instead of 0 or 1. Fixes #109 - valid() does not return boolean value
121
122 1.11.0 / 2013-02-04
123 ==================
124
125 * Remove clearing as numbers of `min`, `max` and `range` rules. Fixes #455. Closes gh-528.
126 * Update pre-existing labels - fixes #430 closes gh-436
127 * Fix $.validator.format to avoid group interpolation, where at least IE8/9 replaces -bash with the match. Fixes #614
128 * Fix mimetype regex
129 * Add plugin manifest and update headers to just MIT license, drop unnecessary dual-licensing (like jQuery).
130 * Hebrew messages: Removed dots at end of sentences - Fixes gh-568
131 * French translation for require_from_group validation. Fixes gh-573.
132 * Allow groups to be an array or a string - Fixes #479
133 * Removed spaces with multiple MIME types
134 * Fix some date validations, JS syntax errors.
135 * Remove support for metadata plugin, replace with data-rule- and data-msg- (added in 907467e8) properties.
136 * Added sftp as a valid url-pattern
137 * Add Malay (my) localization
138 * Update localization/messages_hu.js
139 * Remove focusin/focusout polyfill. Fixes #542 - Inclusion of jquery.validate interfers with focusin and focusout events in IE9
140 * Localization: Fixed typo in finnish translation
141 * Fix RTM demo to show invalid icon when going from valid back to invalid
142 * Fixed premature return in remote function which prevented ajax call from being made in case an input was entered too quickly. Ensures remote validation always validates the newest value.
143 * Undo fix for #244. Fixes #521 - E-mail validation fires immediately when text is in the field.
144
145 1.10.0 / 2012-09-07
146 ===================
147
148 * Corrected French strings for nowhitespace, phoneUS, phoneUK and mobileUK based upon community feedback.
149 * rename files for language_REGION according to the standard ISO_3166-1 (http://en.wikipedia.org/wiki/ISO_3166-1), for Taiwan tha language is Chinese (zh) and the region is Taiwan (TW)
150 * Optimise RegEx patterns, especially for UK phone numbers.
151 * Add Language Name for each file, rename the language code according to the standard ISO 639 for Estonian, Georgian, Ukrainian and Chinese (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
152 * Added croatian (HR) localization
153 * Existing French translations were edited and French translations for the additional methods were added.
154 * Merged in changes for specifying custom error messages in data attributes
155 * Updated UK Mobile phone number regex for new numbers. Fixes #154
156 * Add element to success call with test. Fixes #60
157 * Fixed regex for time additional method. Fixes #131
158 * resetForm now clears old previousValue on form elements. Fixes #312
159 * Added checkbox test to require_from_group and changed require_from_group to use elementValue. Fixes #359
160 * Fixed dataFilter response issues in jQuery 1.5.2+. Fixes #405
161 * Added jQuery Mobile demo. Fixes #249
162 * Deoptimize findByName for correctness. Fixes #82 - $.validator.prototype.findByName breaks in IE7
163 * Added US zip code support and test. Fixes #90
164 * Changed lastElement to lastActive in keyup, skip validation on tab or empty element. Fixes #244
165 * Removed number stripping from stripHtml. Fixes #2
166 * Fixed invalid count on invalid to valid remote validation. Fixes #286
167 * Add link to file_input to demo index
168 * Moved old accept method to extension additional-method, added new accept method to handle standard browser mimetype filtering. Fixes #287 and supersedes #369
169 * Disables blur event when onfocusout is set to false. Test added.
170 * Fixed value issue for radio buttons and checkboxes. Fixes #363
171 * Added test for rangeWords and fixed regex and bounds in method. Fixes #308
172 * Fixed TinyMCE Demo and added link on demo page. Fixes #382
173 * Changed localization message for min/max. Fixes #273
174 * Added pseudo selector for text input types to fix issue with default empty type attribute. Added tests and some test markup. Fixes #217
175 * Fixed delegate bug for dynamic-totals demo. Fixes #51
176 * Fix incorrect message for alphanumeric validator
177 * Removed incorrect false check on required attribute
178 * required attribute fix for non-html5 browsers. Fixes #301
179 * Added methods "require_from_group" and "skip_or_fill_minimum"
180 * Use correct iso code for swedish
181 * Updated demo HTML files to use HTML5 doctype
182 * Fixed regex issue for decimals without leading zeroes. Added new methods test. Fixes #41
183 * Introduce a elementValue method that normalizes only string values (don't touch array value of multi-select). Fixes #116
184 * Support for dynamically added submit buttons, and updated test case. Uses validateDelegate. Code from PR #9
185 * Fix bad double quote in test fixtures
186 * Fix maxWords method to include the upper bound, not exclude it. Fixes #284
187 * Fixed grammar error in german range validator message. Fixes #315
188 * Fixed handling of multiple class names for errorClass option. Test by Max Lynch. Fixes #280
189 * Fix jQuery.format usage, should be $.validator.format. Fixes #329
190 * Methods for 'all' UK phone numbers + UK postcodes
191 * Pattern method: Convert string param to RegExp. Fixes issue #223
192 * grammar error in german localization file
193 * Added Estonian localization for messages
194 * Improve tooltip handling on themerollered demo
195 * Add type="text" to input fields without type attribute to please qSA
196 * Update themerollered demo to use tooltip to show errors as overlay.
197 * Update themerollered demo to use latest jQuery UI (along with newer jQuery version). Move code around to speed up page load.
198 * Fixed min error message broken in Japanese.
199 * Update form plugin to latest version. Enhance the ajaxSubmit demo.
200 * Drop dateDE and numberDE methods from classRuleSettings, leftover from moving those to localized methods
201 * Passing submit event to submitHandler callback
202 * Fixed #219 - Fix valid() on elements with dependency-callback or dependency-expression.
203 * Improve build to remove dist dir to ensure only the current release gets zipped up
204
205 1.9.0
206 ---
207 * Added Basque (EU) localization
208 * Added Slovenian (SL) localization
209 * Fixed issue #127 - Finnish translations has one : instead of ;
210 * Fixed Russian localization, minor syntax issue
211 * Added in support for HTML5 input types, fixes #97
212 * Improved HTML5 support by setting novalidate attribute on the form, and reading the type attribute.
213 * Fixed showLabel() removing all classes from error element. Remove only settings.validClass. Fixes #151.
214 * Added 'pattern' to additional-methods to validate against arbitrary regular expressions.
215 * Improved email method to not allow the dot at the end (valid by RFC, but unwanted here). Fixes #143
216 * Fixed swedish and norwegian translations, min/max messages got switched. Fixes #181
217 * Fixed #184 - resetForm: should unset lastElement
218 * Fixed #71 - improve existing time method and add time12h method for 12h am/pm time format
219 * Fixed #177 - Fix validation of a single radio or checkbox input
220 * Fixed #189 - :hidden elements are now ignored by default
221 * Fixed #194 - Required as attribute fails if jQuery>=1.6 - Use .prop instead of .attr
222 * Fixed #47, #39, #32 - Allowed credit card numbers to contain spaces as well as dashes (spaces are commonly input by users).
223
224 1.8.1
225 ---
226 * Added Thai (TH) localization, fixes #85
227 * Added Vietnamese (VI) localization, thanks Ngoc
228 * Fixed issue #78. Error/Valid styling applies to all radio buttons of same group for required validation.
229 * Don't use form.elements as that isn't supported in jQuery 1.6 anymore. Its buggy as hell anyway (IE6-8: form.elements === form).
230
231 1.8.0
232 ---
233 * Improved NL localization (http://plugins.jquery.com/node/14120)
234 * Added Georgian (GE) localization, thanks Avtandil Kikabidze
235 * Added Serbian (SR) localization, thanks Aleksandar Milovac
236 * Added ipv4 and ipv6 to additional methods, thanks Natal Ngétal
237 * Added Japanese (JA) localization, thanks Bryan Meyerovich
238 * Added Catalan (CA) localization, thanks Xavier de Pedro
239 * Fixed missing var statements within for-in loops
240 * Fix for remote validation, where a formatted message got messed up (https://github.com/jzaefferer/jquery-validation/issues/11)
241 * Bugfixes for compatibility with jQuery 1.5.1, while maintaining backwards-compatibility
242
243 1.7
244 ---
245 * Added Lithuanian (LT) localization
246 * Added Greek (EL) localization (http://plugins.jquery.com/node/12319)
247 * Added Latvian (LV) localization (http://plugins.jquery.com/node/12349)
248 * Added Hebrew (HE) localization (http://plugins.jquery.com/node/12039)
249 * Fixed Spanish (ES) localization (http://plugins.jquery.com/node/12696)
250 * Added jQuery UI themerolled demo
251 * Removed cmxform.js
252 * Fixed four missing semicolons (http://plugins.jquery.com/node/12639)
253 * Renamed phone-method in additional-methods.js to phoneUS
254 * Added phoneUK and mobileUK methods to additional-methods.js (http://plugins.jquery.com/node/12359)
255 * Deep extend options to avoid modifying multiple forms when using the rules-method on a single element (http://plugins.jquery.com/node/12411)
256 * Bugfixes for compatibility with jQuery 1.4.2, while maintaining backwards-compatibility
257
258 1.6
259 ---
260 * Added Arabic (AR), Portuguese (PTPT), Persian (FA), Finnish (FI) and Bulgarian (BR) localization
261 * Updated Swedish (SE) localization (some missing html iso characters)
262 * Fixed $.validator.addMethod to properly handle empty string vs. undefined for the message argument
263 * Fixed two accidental global variables
264 * Enhanced min/max/rangeWords (in additional-methods.js) to strip html before counting; good when counting words in a richtext editor
265 * 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)
266 * Fixed remote form submit synchronization, kudos to Matas Petrikas
267 * 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 http://plugins.jquery.com/node/11520
268 * Updated to latest form plugin (2.36), fixing http://plugins.jquery.com/node/11487
269 * Bind to blur event for equalTo target to revalidate when that target changes, fixes http://plugins.jquery.com/node/11450
270 * Simplified select validation, delegating to jQuery's val() method to get the select value; should fix http://plugins.jquery.com/node/11239
271 * Fixed default message for digits (http://plugins.jquery.com/node/9853)
272 * Fixed issue with cached remote message (http://plugins.jquery.com/node/11029 and http://plugins.jquery.com/node/9351)
273 * Fixed a missing semicolon in additional-methods.js (http://plugins.jquery.com/node/9233)
274 * Added automatic detection of substitution parameters in messages, removing the need to provide format functions (http://plugins.jquery.com/node/11195)
275 * Fixed an issue with :filled/:blank somewhat caused by Sizzle (http://plugins.jquery.com/node/11144)
276 * Added an integer method to additional-methods.js (http://plugins.jquery.com/node/9612)
277 * Fixed errorsFor method where the for-attribute contains characters that need escaping to be valid inside a selector (http://plugins.jquery.com/node/9611)
278
279 1.5.5
280 ---
281 * Fix for http://plugins.jquery.com/node/8659
282 * Fixed trailing comma in messages_cs.js
283
284 1.5.4
285 ---
286 * Fixed remote method bug (http://plugins.jquery.com/node/8658)
287
288 1.5.3
289 ---
290 * Fixed a bug related to the wrapper-option, where all ancestor-elements that matched the wrapper-option where selected (http://plugins.jquery.com/node/7624)
291 * Updated multipart demo to use latest jQuery UI accordion
292 * Added dateNL and time methods to additionalMethods.js
293 * Added Traditional Chinese (Taiwan, tw) and Kazakhstan (KK) localization
294 * Moved jQuery.format (formerly String.format) to jQuery.validator.format, jQuery.format is deprecated and will be removed in 1.6 (see http://code.google.com/p/jquery-utils/issues/detail?id=15 for details)
295 * Cleaned up messages_pl.js and messages_ptbr.js (still defined messages for max/min/rangeValue, which were removed in 1.4)
296 * Fixed flawed boolean logic in valid-plugin-method for multiple elements; now all elements need to be valid for a boolean-true result (http://plugins.jquery.com/node/8481)
297 * Enhancement $.validator.addMethod: An undefined third message-argument won't overwrite an existing message (http://plugins.jquery.com/node/8443)
298 * 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 (http://plugins.jquery.com/node/7183#comment-3585)
299 * Added option validClass, default "valid", which adds that class to all valid elements, after validation (http://dev.jquery.com/ticket/2205)
300 * Added creditcardtypes method to additionalMethods.js, including tests (via http://dev.jquery.com/ticket/3635)
301 * Improved remote method to allow serverside message as a string, or true for valid, or false for invalid using the clientside defined message (http://dev.jquery.com/ticket/3807)
302 * Improved accept method to also accept a Drupal-style comma-separated list of values (http://plugins.jquery.com/node/8580)
303
304 1.5.2
305 ---
306 * Fixed messages in additional-methods.js for maxWords, minWords, and rangeWords to include call to $.format
307 * Fixed value passed to methods to exclude carriage return (\r), same as jQuery's val() does
308 * Added slovak (sk) localization
309 * Added demo for integration with jQuery UI tabs
310 * Added selects-grouping example to tabs demo (see second tab, birthdate field)
311
312 1.5.1
313 ---
314 * Updated marketo demo to use invalidHandler option instead of binding invalid-form event
315 * Added TinyMCE integration example
316 * Added ukrainian (ua) localization
317 * Fixed length validation to work with trimmed value (regression from 1.5 where general trimming before validation was removed)
318 * Various small fixes for compatibility with both 1.2.6 and 1.3
319
320 1.5
321 ---
322 * Improved basic demo, validating confirm-password field after password changed
323 * 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
324 * Added norwegian (no), italian (it), hungarian (hu) and romanian (ro) localization
325 * Fixed #3195: Two flaws in swedish localization
326 * Fixed #3503: Extended rules("add") to accept messages property: use to specify add custom messages to an element via rules("add", { messages: { required: "Required! " } });
327 * Fixed #3356: Regression from #2908 when using meta-option
328 * 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 compatibility
329 * Fixed #3516: Trigger invalid-form event even when remote validation is involved
330 * Added invalidHandler option as a shortcut to bind("invalid-form", function() {})
331 * Fixed Safari issue for loading indicator in ajaxSubmit-integration-demo (append to body first, then hide)
332 * Added test for creditcard validation and improved default message
333 * Enhanced remote validation, accepting options to passthrough to $.ajax as parameter (either url string or options, including url property plus everything else that $.ajax supports)
334
335 1.4
336 ---
337 * Fixed #2931, validate elements in document order and ignore type=image inputs
338 * Fixed usage of $ and jQuery variables, now fully compatible with all variations of noConflict usage
339 * Implemented #2908, enabling custom messages via metadata ala class="{required:true,messages:{required:'required field'}}", added demo/custom-messages-metadata-demo.html
340 * Removed deprecated methods minValue (min), maxValue (max), rangeValue (rangevalue), minLength (minlength), maxLength (maxlength), rangeLength (rangelength)
341 * Fixed #2215 regression: Call unhighlight only for current elements, not everything
342 * Implemented #2989, enabling image button to cancel validation
343 * Fixed issue where IE incorrectly validates against maxlength=0
344 * Added czech (cs) localization
345 * Reset validator.submitted on validator.resetForm(), enabling a full reset when necessary
346 * Fixed #3035, skipping all falsy attributes when reading rules (0, undefined, empty string), removed part of the maxlength workaround (for 0)
347 * Added dutch (nl) localization (#3201)
348
349 1.3
350 ---
351 * Fixed invalid-form event, now only triggered when form is invalid
352 * Added spanish (es), russian (ru), portuguese brazilian (ptbr), turkish (tr), and polish (pl) localization
353 * Added removeAttrs plugin to facilitate adding and removing multiple attributes
354 * Added groups option to display a single message for multiple elements, via groups: { arbitraryGroupName: "fieldName1 fieldName2[, fieldNameN" }
355 * Enhanced rules() for adding and removing (static) rules: rules("add", "method1[, methodN]"/{method1:param[, method_n:param]}) and rules("remove"[, "method1[, method_n]")
356 * Enhanced rules-option, accepts space-separated string-list of methods, eg. {birthdate: "required date"}
357 * 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
358 * 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)
359 * 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
360 * Fixed url and email validation to not use trimmed values
361 * Fixed creditcard validation to accept only digits and dashes ("asdf" is not a valid creditcard number)
362 * Allow both button and input elements for cancel buttons (via class="cancel")
363 * 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
364 * Rewrote custom selectors (:blank, :filled, :unchecked) with functions for compatibility with AIR
365
366 1.2.1
367 -----
368
369 * Bundled delegate plugin with validate plugin - its always required anyway
370 * Improved remote validation to include parts from the ajaxQueue plugin for proper synchronization (no additional plugin necessary)
371 * Fixed stopRequest to prevent pendingRequest < 0
372 * 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
373 * Fixed optional-methods to not highlight anything at all if the field is blank, that is, don't trigger success
374 * Allow false/null for highlight/unhighlight options instead of forcing a do-nothing-callback even when nothing needs to be highlighted
375 * Fixed validate() call with no elements selected, returning undefined instead of throwing an error
376 * Improved demo, replacing metadata with classes/attributes for specifying rules
377 * Fixed error when no custom message is used for remote validation
378 * Modified email and url validation to require domain label and top label
379 * Fixed url and email validation to require TLD (actually to require domain label); 1.2 version (TLD is optional) is moved to additions as url2 and email2
380 * Fixed dynamic-totals demo in IE6/7 and improved templating, using textarea to store multiline template and string interpolation
381 * Added login form example with "Email password" link that makes the password field optional
382 * Enhanced dynamic-totals demo with an example of a single message for two fields
383
384 1.2
385 ---
386
387 * Added AJAX-captcha validation example (based on http://psyrens.com/captcha/)
388 * Added remember-the-milk-demo (thanks RTM team for the permission!)
389 * Added marketo-demo (thanks Glen Lipka!)
390 * 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
391 * Added highlight and unhighlight options, by default toggles errorClass on element, allows custom highlighting
392 * Added valid() plugin method for easy programmatic checking of forms and fields without the need to use the validator API
393 * Added rules() plugin method to read and write rules for an element (currently read only)
394 * Replaced regex for email method, thanks to the contribution by Scott Gonzalez, see http://projects.scottsplayground.com/email_address_validation/
395 * Restructured event architecture to rely solely on delegation, both improving performance, and ease-of-use for the developer (requires jquery.delegate.js)
396 * Moved documentation from inline to http://docs.jquery.com/Plugins/Validation - including interactive examples for all methods
397 * Removed validator.refresh(), validation is now completely dynamic
398 * Renamed minValue to min, maxValue to max and rangeValue to range, deprecating the previous names (to be removed in 1.3)
399 * Renamed minLength to minlength, maxLength to maxlength and rangeLength to rangelength, deprecating the previous names (to be removed in 1.3)
400 * Added feature to merge min + max into and range and minlength + maxlength into rangelength
401 * Added support for dynamic rule parameters, allowing to specify a function as a parameter eg. for minlength, called when validating the element
402 * Allow to specify null or an empty string as a message to display nothing (see marketo demo)
403 * Rules overhaul: Now supports combination of rules-option, metadata, classes (new) and attributes (new), see rules() for details
404
405 1.1.2
406 ---
407
408 * Replaced regex for URL method, thanks to the contribution by Scott Gonzalez, see http://projects.scottsplayground.com/iri/
409 * Improved email method to better handle unicode characters
410 * Fixed error container to hide when all elements are valid, not only on form submit
411 * Fixed String.format to jQuery.format (moving into jQuery namespace)
412 * Fixed accept method to accept both upper and lowercase extensions
413 * 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)
414 * Changed debug-mode console log from "error" to "warn" level
415
416 1.1.1
417 -----
418
419 * Fixed invalid XHTML, preventing error label creation in IE since jQuery 1.1.4
420 * Fixed and improved String.format: Global search & replace, better handling of array arguments
421 * Fixed cancel-button handling to use validator-object for storing state instead of form element
422 * Fixed name selectors to handle "complex" names, eg. containing brackets ("list[]")
423 * Added button and disabled elements to exclude from validation
424 * Moved element event handlers to refresh to be able to add handlers to new elements
425 * Fixed email validation to allow long top level domains (eg. ".travel")
426 * Moved showErrors() from valid() to form()
427 * Added validator.size(): returns the number of current errors
428 * Call submitHandler with validator as scope for easier access of it's methods, eg. to find error labels using errorsFor(Element)
429 * Compatible with jQuery 1.1.x and 1.2.x
430
431 1.1
432 ---
433
434 * Added validation on blur, keyup and click (for checkboxes and radiobutton). Replaces event-option.
435 * Fixed resetForm
436 * Fixed custom-methods-demo
437
438 1.0
439 ---
440
441 * Improved number and numberDE methods to check for correct decimal numbers with delimiters
442 * Only elements that have rules are checked (otherwise success-option is applied to all elements)
443 * Added creditcard number method (thanks to Brian Klug)
444 * 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
445 * Heavily enhanced Functions-as-messages by providing a flexible String.format helper
446 * Accept Functions as messages, providing runtime-custom-messages
447 * Fixed exclusion of elements without rules from successList
448 * Fixed custom-method-demo, replaced the alert with message displaying the number of errors
449 * Fixed form-submit-prevention when using submitHandler
450 * Completely removed dependency on element IDs, though they are still used (when present) to link error labels to inputs. Achieved by using
451 an array with {name, message, element} instead of an object with id:message pairs for the internal errorList.
452 * Added support for specifying simple rules as simple strings, eg. "required" is equivalent to {required: true}
453 * 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.
454 * Added feature: focusCleanup - If enabled, removes the errorClass from the invalid elements and hides all errors messages whenever the element is focused.
455 * Added success option to show the a field was validated successfully
456 * Fixed Opera select-issue (avoiding a attribute-collision)
457 * Fixed problems with focussing hidden elements in IE
458 * Added feature to skip validation for submit buttons with class "cancel"
459 * Fixed potential issues with Google Toolbar by preferring plugin option messages over title attribute
460 * submitHandler is only called when an actual submit event was handled, validator.form() returns false only for invalid forms
461 * Invalid elements are now focused only on submit or via validator.focusInvalid(), avoiding all trouble with focus-on-blur
462 * IE6 error container layout issue is solved
463 * Customize error element via errorElement option
464 * Added validator.refresh() to find new inputs in the form
465 * Added accept validation method, checks file extensions
466 * Improved dependency 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
467 * 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
468 * Fixed docs for validator.showErrors()
469 * Fixed error label creation to always use html() instead of text(), allowing arbitrary HTML passed in as messages
470 * Fixed error label creation to use specified error class
471 * Added dependency feature: The requires method accepts both String (jQuery expressions) and Functions as the argument
472 * 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)
473 * Fixed two major bugs in IE (error containers) and Opera (metadata)
474 * Modified validation methods to accept empty fields as valid (exception: of course �required� and also �equalTo� methods)
475 * Renamed "min" to "minLength", "max" to "maxLength", "length" to "rangeLength"
476 * Added "minValue", "maxValue" and "rangeValue"
477 * 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
478 * Added support for one-message-per-rule when defining messages via plugin settings
479 * Added support to wrap metadata in some parent element. Useful when metadata is used for other plugins, too.
480 * Refactored tests and demos: Less files, better demos
481 * Improved documentation: More examples for methods, more reference texts explaining some basics