New features
- #807, #821: Add
min
,max
options for the date validator, thanks to @Arkni - #822: Add color validator, thanks to @emilchristensen
- #844, #874: The stringLength validator adds option to evaluate length in UTF-8 bytes, thanks to @thx2001r
- #960, #1052: Add
trim
option for the stringLength validator - #1001: Add
minFiles
,maxFiles
,minTotalSize
,maxTotalSize
options for the file validator, thanks to @morrizon - #1008: Add France postal code validator, thanks to @jazzzz
- #1010: Add Ireland postal code validator, thanks to @zmira
- #1018: Add German phone number and postal code validators, thanks to @jhadenfeldt
- #1022: Add Portugal postal code validator, thanks to @zmira
- #1033, #1043, #1068: Add autoFocus option
- #1072: Add Austria and Switzerland postal code validators, thanks to @thomaslhotta
Improvements
- #823: The color validator only accepts 6 hex character values when using HTML 5
type='color'
attribute - #864: Comma separator handling in greaterThan, lessThan validators, thanks to @mgibas
- #999, #1048: Replace ',' with '.' to validate decimal numbers correct, thanks to @johanronn77
- #1002: Put tooltip/popover on bottom if there is not enough space on top, thanks to @jazzzz
- #1015: The remote validator allows to set
data
options via HTML attributes, thanks to @jazzzz - #1017: Enable validator when setting
data-bv-validatorname="data-bv-validatorname"
, thanks to @jazzzz - #1026: Requires jQuery 1.9.1 or higher
Bug fixes
- #343, #481, #1045: Fix double submit with defered validators, thanks to @jazzzz
- #933, #959, #1047: Tooltip/popover isn't destroyed when the field is valid
- #991: The field is validated only one time when setting
trigger: 'blur'
,container: 'tooltip'
- #1014: Fix isValidField() and validateField() methods for fields without validators, thanks to @jazzzz
- #1050: Fix the issue when using multiple fields with same name, the tooltip of the last element is always shown
- #1055, #1063: The error.field.bv event isn't triggered if verbose is set to false, thanks to @shineability
- #1057, #1063: The verbose option for field doesn't override the form level, thanks to @shineability
Document
- #848: Update the stringLength document, thanks to @Relequestual
- #885: Add a notification about setting identical validator for both fields
- #912: Add Using language package example
- #920, #929, #936: Update the Changing the tooltip, popover's position example, thanks to @Arkni
- #938: Add time validator example
- #979: Add Rails usage for stringLength validator
- #1006: Fix the order of parameters for enableFieldValidators() method, thanks to @mchrapka
- #1009: Fix mixed data/delay in remote doc, thanks to @jazzzz
- #1019: Updated docs for added German postal code and phone number validators, thanks to @jhadenfeldt
- #1038: Fix Changing tooltip, popover's position example link, thanks to @Arkni
Language packages
- #827: Update Dutch language package, thanks to @JvanderHeide
- #829: Update Swedish language package, thanks to @ulsa
- #834: Update Ukrainian and Russian language packages, thanks to @oleg-voloshyn
- #835: Update Belgium (French) language package, thanks to @neilime
- #836: Update French language package, thanks to @neilime
- #837: Update Bulgarian language package, thanks to @mraiur
- #846: Update simplified Chinese language package, thanks to @shamiao
- #849: Update Serbian language package, thanks to @markocrni
- #850, #851: Update Danish language package, thanks to @Djarnis
- #869: Update Polish language package, thanks to @grzesiek
- #870: Update Traditional Chinese language package, thanks to @tureki
- #871: Update Czech language package, thanks to @cuchac
- #872: Update Indonesian language package, thanks to @egig
- #879: Update Romanian language package, thanks to @filipac
- #880: Update Belgium (Dutch) language package, thanks to @dokterpasta
- #881: Update Italian language package, thanks to @maramazza
- #882: Update Spanish language package, thanks to @vadail
- #891: Update Portuguese (Brazil) language package, thanks to @dgmike
- #893: Fix country name of Dominican Republic, thanks to @sventech
- #900: Update Persian (Farsi) language package, thanks to @i0
- #903: Update Hungarian language package, thanks to @blackfyre
- #910: Update Greek language package, thanks to @pRieStaKos
- #913: Update Thai language package, thanks to @figgaro
- #915: Update Turkish language package, thanks to @CeRBeR666
- #961: Update Chilean Spanish language package, thanks to @marceloampuerop6
- #967: Add Hebrew language package, thanks to @yakidahan
- #974: Add Albanian language package, thanks to @desaretiuss
- #1025: Fix French emailAddress message, thanks to @jazzzz
- #1051: Add Portuguese language package, thanks to @rtbfreitas
Contributors
Thanks to 40 contributors:
- @Arkni
- @blackfyre
- @CeRBeR666
- @cuchac
- @desaretiuss
- @dgmike
- @Djarnis
- @dokterpasta
- @egig
- @emilchristensen
- @figgaro
- @filipac
- @grzesiek
- @i0
- @jazzzz
- @jhadenfeldt
- @johanronn77
- @JvanderHeide
- @marceloampuerop6
- @maramazza
- @markocrni
- @mchrapka
- @mgibas
- @morrizon
- @mraiur
- @neilime
- @oleg-voloshyn
- @pRieStaKos
- @Relequestual
- @rtbfreitas
- @shamiao
- @shineability
- @sventech
- @thomaslhotta
- @thx2001r
- @tureki
- @ulsa
- @vadail
- @yakidahan
- @zmira