All Versions
10
Latest Version
Avg Release Cycle
30 days
Latest Release
1557 days ago

Changelog History

  • v5.4.0

    June 15, 2016

    0๏ธโƒฃ Exposing Validation mixin using CommonJS module.exports instead of ES6 Modules export default

  • v5.3.4

    January 07, 2016
  • v5.3.3

    December 24, 2015
  • v5.3.2

    November 22, 2015
  • v5.3.1

    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

    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