All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- TBD, see #65
Security and Documentation Updates
2.2.5 - 2021-12-28
Security and Documentation Updates
2.2.4 - 2021-09-10
Security Updates
- Bump dependencies
2.2.3 - 2021-08-09
Security Updates, CI improvements, a Bug Fix and Documentation sunsetting.
You can find Documentation for previous Releases under https://bootstrap-validate.js.org/v1 and https://bootstrap-validate.js.org/v2 respectively.
- Fixed a case were inArray would return false positives
- Reduced Bundle Size
- Added package.module Entry point
- Switched to Hugo for Documentation Rendering
- Added old documentations to public documentation
2.2.1 - 2020-04-05
Security Updates
2.2.0 - 2019-02-26
- Added new
inArray
Rule, allowing to validate an input against an array of strings. - Updated Dependencies
2.1.3 - 2018-05-23
- Enable the use of the colon symbol
:
in the regex rule.
2.1.2 - 2018-05-05
- Use arbitrary-precision decimal arithmetic
2.1.1 - 2018-05-04
- Fixed floating numbers divisions
2.1.0 - 2018-05-04
- Rule: divisible
- Rule: regex
- Rule: ISO8601 (date format yyyy-mm-dd)
2.0.2 - 2018-04-24
- Fixed Hexadecimal values passing integer validation. (#22)
2.0.1 - 2018-04-11
- Fixed UMD Bundle for Webpack / ES6 Usage
2.0.0 - 2018-01-31
This is a big one! Dropping Bootstrap v3 for that bright'n'shiny Bootstrap 4!
- Feature: You can now use HTML in your error messages. You do need to escape it yourself for the moment.
bootstrapValidate('#prename', 'min:20:Enter at least <strong>20</strong> characters.');
- Feature: You can now pass an Array of Elements or Selectors as first Argument, for example:
bootstrapValidate(['#prename', '#lastname'], 'min:20:Enter at least 20 characters!');
This can come in handy when you are applying identical sets of rules and options to multiple input elements.
- Polyfills for element.closest() and element.classList().
- Documentation cleaning
- Housekeeping: Removed most handmade helpers and replaced them with the battle-proven lodash helpers. This drastically improves maintainability and stability.
1.0.11 - 2017-08-07
- Rule: contains
1.0.10 - 2017-07-27
- Rule: alphanum
- Rule: numeric
- Rule: url
- Rule: integer
1.0.9 - 2017-07-20
- Unit Tests
- Fix adding .has-error class to parent element (#8)
1.0.8 - 2017-07-19
- Support QuerySelector Notation for Reference Element, enabling you to write
bootstrapValidate('#email', ...)
instead of
bootstrapValidate(document.querySelector('#email'), ...)
This is a non-breaking change - the old notation is still possible.
1.0.7 - 2017-06-16
1.0.6 - 2017-06-14
1.0.5 - 2017-06-07
1.0.4 - 2017-06-07
1.0.3 - 2017-06-06
1.0.2 - 2017-06-06
1.0.1 - 2017-06-06
1.0.0 - 2017-06-06
Initial Release