All Versions
10
Latest Version
Avg Release Cycle
30 days
Latest Release
2667 days ago
Changelog History
Changelog History
-
v5.4.0 Changes
June 15, 20160๏ธโฃ Exposing Validation mixin using CommonJS
module.exports
instead of ES6 Modulesexport default
-
v5.3.4
January 07, 2016 -
v5.3.3
December 24, 2015 -
v5.3.2
November 22, 2015 -
v5.3.1 Changes
October 24, 2015๐ This release fixes the inconsistency of the
getValidationMessages
between 4.x and 5.x. Now calls to this method always returns an array.โก๏ธ Ensure you update the joi-validation-strategy to v0.3.0 to pick up the dependent changes.
-
v5.3.0
October 24, 2015 -
v5.2.2
October 07, 2015 -
v5.2.1
October 05, 2015 -
v5.2.0 Changes
September 24, 2015๐ With this release there was a major overhaul to the underlying validation framework to support nested object validation.
๐ This release is dependent on joi-validation-strategy v0.2.1
๐ Nested object validation support
validatorTypes: { auth: { firstName: Joi.string().required().label('First Name'), }, }...render: function() { return ( \<section className='row'\>\<h3\>Signup\</h3\>\<form onSubmit={this.handleSubmit} className='form-horizontal'\>\<fieldset\>\<div className={this.getClasses('auth.firstName')}\>\<label htmlFor='firstName'\>First Name\</label\>\<input type='text' id='firstName' ref='firstName' value={this.state.auth.firstName} onChange={this.onChange('auth.firstName')} onBlur={this.props.handleValidation('auth.firstName')} className='form-control' placeholder='First Name' /\> {this.renderHelpText(this.props.getValidationMessages('auth.firstName'))} \</div\>...
๐ฅ Breaking Changes
A breaking change has been introduced with the
this.props.getValidationMessages()
api. It now no longer always returns an array, but instead depends on the datatype you are validating and the strategy implementation. Documentation is currently being updated to reflect these changes. -
v5.1.1
September 17, 2015