Skip to content

Releases: jquery-validation/jquery-validation

1.20.0

09 Oct 23:26
Compare
Choose a tag to compare

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

  • Improved required translation in pt_BR #2445
  • Added Hindi translation #2453
  • Added French currency translation #2471

1.19.5

01 Jul 15:31
Compare
Choose a tag to compare

1.19.5 / 2022-07-01

Chore

Core

  • Fixed jQuery .submit() event shorthand deprecation notice #2430
  • Fixed ReDos vulnerability in url, and url2 validation 5bbd80d

Localisation

  • Added periods to messages #2266

1.19.4

19 May 15:46
Compare
Choose a tag to compare

1.19.4 / 2022-05-19

Build

  • Add License.md to zip tarball (#2386)

Chore

  • Updated build status badges (#2424)
  • Enabled stable bot (#2425)

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

09 Jan 15:55
Compare
Choose a tag to compare

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

  • Add "pattern" translation for French (#2363)
  • add phone validate translate for Turkish translation (#2343)

1.19.2 / 2020-05-23

23 May 08:33
Compare
Choose a tag to compare

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

15 Jun 06:26
Compare
Choose a tag to compare

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

28 Nov 18:33
Compare
Choose a tag to compare

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

  • Fix contenteditable detection's regression introduced in #2142 (#2235)

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

27 Nov 21:58
Compare
Choose a tag to compare

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

1.17.0 / 2017-07-20

29 Jul 07:24
Compare
Choose a tag to compare

Core

  • Pass on the value of the used submit button for scripted submits (#2019)
  • Removed aria-required attribute (#2012)
  • Assign rules to contenteditable via .validate() and .rules() (#1947)
  • Count invalid fields with empty message in numberOfInvalids() (#1942)
  • Added support for button elements with descendants (#1901)
  • Add support for defining a global normalizer (#1905)

Additional

  • Add localized number validation to methods_nl.js (#2014)
  • Remove unreachable return from cifES.js (#1994)
  • Add optional support to cifES, nifES and nieES (#1966)
  • Add netmask validation method (#1955)
  • Add Polish tax id validation method (#1850)
  • Fixed validation for specific case for Spanish NIFs (#1914)

Localization

  • Added Step Range Validation to messages_ja (#1936)
  • Add hungarian step message (#1888)
  • Add Sindhi locale (#1900)
  • Added norsk step translation (#1918)
  • Add missing french step translation (#1928)
  • Added nl- translation for "step" property (#1902)
  • Add French translation for notEqualTo method (#2033)

Readme

  • Add note about trimming whitespaces inside required method (#2028)

Tests

  • Pass on the value of the used submit button for scripted submits (#2019)
  • Use assert#pushResult instead of assert#push (#2018)

All

  • Fix links after move to organization
  • Use https

Build

  • Upgrade QUnit to 2.3.3 (#2018)

Thanks to the contributors of this release

Alex Bokii
Armindo Maurits
Bas van Marwijk
Brahim Arkni
cbrianso
Dominik Krzywiecki
GitHub
Huzoor Bux
jarey
Jonathan
manospasj
Markus Staab
Peter Philipp
PhistucK
Rob Johnston
Rácz Tibor Zoltán
tchiotludo
Wang Sen
Worthy7

1.16.0

02 Dec 11:57
Compare
Choose a tag to compare

1.16.0 / 2016-12-01

Additional

  • Refine cifES and nieES algorithms (#1826)

Build

  • Include Minified Version in NPM Package
  • Bump dev-dependencies to latest versions

Core

  • Add binding for input with button type. Closes #1891
  • Support jquery3. Closes #1866
  • Change jQuery alias 'expr[":"]' to 'expr.pseudos'

Localization

  • Add Urdu translation. Closes #1873.
  • Fixed wrong file-extension for az translation. Closes #1890.
  • Added missing translation in pt-BR (Closes #1897)
  • Fixed typo in arabien language file.

Tests

  • Upgrade QUnit to 2.0.

UMD

  • Better support for CommonJS.