jquery-validation v1.18.0 Release Notes

Release Date: 2018-09-09 // over 5 years ago
  • 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 (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. It's all well and good. It was just an error of mixing files from my part (@Arkni).

    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