Releases: jquery-validation/jquery-validation
1.21.0
1.20.1
1.20.0
1.20.0 / 2023-10-10
Additional
- Fixed vinUS validation failing on valid vin numbers #2460
Core
- Fixed race condition in remote validation rules #2435
- Removed pending class from fields with an aborted request #2436
- Fixed remote validation error tracking #2242
- Added escapeHtml option to avoid XSS attacks via showLabel method #2462
Demo
- Fixed minlength validation in ajaxSubmit-integration-demo.html #2454
Localisation
1.19.5
1.19.4
1.19.4 / 2022-05-19
Build
- Add License.md to zip tarball (#2386)
Chore
Core
- Fixed validation for input type="date" (#2360)
- Wait for pendingRequests to finish before submitting form (#2369)
- Fixed bug for Html Editors (#2154) (#2422)
- Fixed ReDoS vulnerability in URL2 validation (#2428)
Test
- Switch from Travis to GitHub workflows (#2423)
1.19.3 / 2021-01-09
1.19.3 / 2021-01-09
Core
- CVE-2021-21252: fixed Regular Expression Denial of Service vulnerability (#2371)
- Replaced deprecated jQuery functions (#2335)
Chore
- Add Accessibility section to Readme (#2149)
Localization
1.19.2 / 2020-05-23
1.19.2 / 2020-05-23
Core
- Core: Fixes deprecated calls to jQuery trim for compat with newer jQuery core versions (#2328)
Contributors
- Brighton Balfrey
- Markus Staab
- Brahim Arkni
1.19.1 / 2019-06-15
1.19.1 / 2019-06-15
Core
- Change focus() to trigger("focus") (#2243)
Build
- Set jQuery as a peer dependency (#2248)
Localization
- Add zh_TW translation for step message (#2245)
- Adding Serbian translation for step method message (#2251)
Contributors
- Ahmed Gaber
- Brahim Arkni
- Dusan Orlovic
- Markus Staab
- Ryan Chang
- Stephen Scott
1.19.0 / 2018-11-28
IMPORTANT NOTE
Subresource Integrity hashes
As of 1.18.0, we started to provide Subresource Integrity hashes of all distribution files.
The hashes for the 1.19.0 release can be found in the file jquery-validation-sri.json
under dist
folder.
Changelog:
Additional
- Don't fail when field is optional in CNPJBR & CPFBR rules (#2236)
- Add validation rule for mobile number of Russia Federation (#2207)
- Add Brazillian CNPJ validation rule (#2222)
- Add Brazillian CNH number (Carteira Nacional de Habilitacao) (#2234)
- Add ABA Routing Number Validation (#2216)
Core
Localization
- Add Swedish translation for pattern (#2227)
Thanks to all the Contributors
- Brahim Arkni
- Cory Silva
- jehadja
- João Issamu Francisco
- Julio Spader
- Markus Staab
- Saeed Prez
- Zhiliang Xu
1.18.0 / 2018-09-09
IMPORTANT NOTE
Subresource Integrity hashes
As of this release, we started to provide Subresource Integrity hashes of all distribution files. The hashes can be found in the file jquery-validation-sri.json
under dist
folder. Unfortunately for this release, we screwed up something and we got the hashes of two main files ( It's all well and good. It was just an error of mixing files from my part (@Arkni).dist/jquery.validate.js
and dist/additional-methods.js
) wrong, but the rest are fine. As a result, you have to download the sri file (direct link
) from the release page instead.
CDNJS
Due to a copy-past error, the file localization/messages_ar.js
(unminified version) now contains wrong content. We have already notified CDNJS maintainers and they confirmed to us that there is nothing we can do to change that file as they already have checksum and SRI calculated for every file once it has been added.
So as a result, please either use the minified version of the same file or extract it from jquery-validation-1.18.0.zip
attached in this release.
Changelog:
Core
- Don't call submitHandler when in debug mode (#2193)
- Cast empty data attributes to 'true' (#2182)
- Ignore elements that belong to other/nested forms (#2147)
- Use element.isContentEditable instead of hasAttribute (#2142)
- Add deprecation warning to 'date' method (#2138)
- Allow the normalizer to return any value (#2054)
- Guard against null & undefined values in required method (#2053)
Additional
- Add Brazillian PIS/NIS number validation method (#2204)
- Add validation method for Polish telephone number (#2136)
- Updated link to EAN docs in creditcard.js (#2120)
- Allow N11 exchange for non-geo US phone (#2098)
- Add new BIN range for MasterCard (#2088)
- Add maxfiles, maxsize and maxsizetotal methods (#2087)
- Add greaterThan and lessThan methods (#2061)
Build
- Test on node 6.x and drop node 0.12.x (#2133)
- Generate sub-resource integrity hashes of the distribution files (#2082)
- Include localization files in tagged releases (#2057)
- Include minified version of additional methods in npm package (#2057)
Demo
- Add sample code for Bootstrap 4 usage (#2173)
Localization
- Added Czech and Slovak translations for STEP method (#2197)
- Add localized methods for italian culture (it) (#2195)
- Add step validation string to message_zh (#2177)
- Fix typo in pt-BR localization file (#2139)
- Add message for phonePL method (#2136)
- Update Norwegian language file (#2132)
- Update Persian language file (#2122)
- Update German language file (#2115)
- Fix meaning in Bulgarian sentence (#2112)
- Add remote translation to no (#2097)
- Fixed wrong placeholder in vi translation (#2085)
- Add missing format method in message_{fr,tr}.js files (#2075)
- Fix typos in messages_pt_BR.js (#2073)
- Add new danish translations (#2067)
- Add Swedish validation message for remote (#2066)
Test
- Cast empty data attributes to 'true' (#2182)
- Ignore elements that belong to other/nested forms (#2147)
- Add tests for phonePL method (#2136)
- Add missing description to a test (#2055)
- Required method should return false for null & undefined values (#2053)
Thanks to all the Contributors
- Brahim Arkni
- Caro Caserio
- Cleiton da Silva Mendonça
- George Gooding
- George Henne
- Geraldo Ribeiro
- Hawkon
- Hookyns
- Javier Lopez Casanello
- Jonathan
- Keith Morrison
- Kevin Mian Kraiker
- Lukas Drgon
- Lukasz
- Marco Grossi
- Markus Staab
- Rob Johnston
- Samuel Lie
- Siamak Mokhtari
- Uwe
- Vencislav Atanasov
- William Desportes
- Yuan Xulei