BootstrapValidator v0.5.3 Release Notes
Release Date: 2014-11-05 // over 10 years ago-
🆕 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 hexColor 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
- #807, #821: Add
Previous changes from v0.5.2
-
🆕 New Features
- #480: Add
verbose
option, thanks to @mbezhanov - #542, #666: Add blank validator, thanks to @bermo
- #617: Add
init
anddestroy
methods to validator - #724: Add Venezuelan VAT number (RIF) validator, thanks to @paquitodev
- #739: Add China phone number validator, thanks to @caijh
- #743: Add Venezuela phone number validator, thanks to @paquitodev
- #760: Add Romania phone number validator, thanks to @adrian-dks
- #761: Add Romania postal code validator, thanks to @adrian-dks
- #785: Add Denmark phone number validator, thanks to @emilchristensen
- #787: Add Thailand phone number and ID validator, thanks to @figgaro
- #793, #798: Add Chinese citizen ID validator, thanks to @shamiao
- #802: Add Russia phone number validator, thanks to @cylon-v. #816: Improved by @stepin
- #816: Add Russian postal code validator, thanks to @stepin
- #867: Add Czech and Slovakia phone number and postal code validators, thanks to @cuchac
🔄 Changes
👌 Improvements
- #249, #574, #669: Add
delay
option to the remote validator, thanks to @q-state - #345, #454: The different validator allows more than a 2-way comparison, thanks to @AlaskanShade
- #557, #569: The container option can be defined by a callback, thanks to @mattrick
- #570: Use CSS classes instead of inline styling to fix icons with
input-group
, thanks to @dlcrush - 👍 #578, #813: The stringLength validator supports HTML 5
minlength
attribute, thanks to @emilchristensen - #675: The emailAddress validator accepts multiple email addresses, thanks to @kenny-evitt
- #716, #765: Reuse data returned by callback, remote, custom validators
- 👍 #734: The uri validator adds support for custom protocol, thanks to @bcamarneiro
- 👍 #737: Support VAT number without prefixing by country code
- ✅ #754: Support latest Bootstrap when using tooltip/popover to show the message
- #783: Improve behaviour of the different validator
- ⚠ #792: Add "BootstrapValidator's JavaScript requires jQuery" warning, thanks to @Arkni
- #803: Add
minSize
option for the file validator, thanks to @Arkni - ✅ #824: Add phone number validator test suite
🐛 Bug Fixes
- #611, #703: Tabs get red even form is valid
- #612, #740, #741: Fix the emailAddress issue which email@server is not valid email address, thanks to @kromit
- #687, #711: Keep disabled validators VALID, thanks to @talberti
- #725: Fix the issue when adding field which does not exist but is already set in "fields" option
- #732: Fix the issue when removing the radio or checkbox field
- #746: The form is still submitted when clicking on submit button which is set
onclick="return false;"
- #758: Using notEmpty validator with
type="number"
- #759, #764: The tooltip/popover isn't shown if there is disabled validator. The tooltip/popover is shown automatically when the field gets the focus, thanks to @leedorian
- ✅ #797, #799: Can't validate ipv4 and ipv6 at the same time. Add ip validator test suite, thanks to @Arkni
- #816: Fix Russian VAT number validator, thanks to @stepin
- #832: The form won't be validated if the submit button contains a HTML tag
Document
- #709, #715: Add Bootstrap Select and Select2 examples, thanks to @Arkni
- #855, #858: Add TinyMCE example, thanks to @Arkni
- #859, #862, #865: Add Changing tooltip/popover position example, thanks to @Arkni
📦 Language Packages
- 📦 #706: Japanese language package, thanks to @tsuyoshifujii
- 📦 #712: Swedish language package, thanks to @ulsa
- 📦 #727: Belgium (French) language package, thanks to @neilime
- 📦 #729: Persian (Farsi) language package, thanks to @i0
- 📦 #779: Romanian language package, thanks to @filipac
- 📦 #787: Thai language package, thanks to @figgaro
- 📦 #788: Fully re-translated Simplified Chinese language package, thanks to @shamiao
- 📦 #795: Re-translated traditional Chinese language package, thanks to @tureki
- 📦 #802: Russian language package, thanks to @cylon-v. #816: Improved by @stepin
- 📦 #806: Ukrainian language package, thanks to @oleg-voloshyn
- 📦 #840: Serbian language package, thanks to @markocrni
- 📦 #856: Norwegian language package, thanks to @trondulseth
- 📦 #868: Indonesian language package, thanks to @egig
- #480: Add