Releases: kolan72/ExpressValidator
Releases · kolan72/ExpressValidator
0.0.21
- Introduce the possibility to dynamically change the parameters of the 'FluentValidation' validators. (via
ExpressValidatorBuilder<TObj, TOptions>,ExpressValidator<TObj, TOptions>classes). - Do not compare a non-nullable value type to null during pre-validation.
- Refactor adding object member to validate by introducing
MemberInfoParser.ParseProperty,MemberInfoParser.ParseFieldmethods. - Slightly improve performance by using
PropertyInfo.GetGetMethodto get a property from an object. - Add benchmark to get the fastest way to get
FuncfromPropertyInfo. - Remove redundant overload of the
PropertyInfo.GetTypedValueextension method. - Remove redundant
MemberInfoParser.TryParsemethod overload. - Update to 'FluentValidation' 11.9.2.
- 'NUnit3TestAdapter' from 4.5.0 to 4.6.0.
- Move builder-related classes to the new 'ValidatorBuilders' folder.
- Update README.md and NuGet README.
0.0.16
- Support validation for nullable value types.
- Slightly improved performance by removing the restriction on the type of instance to validate in the
TypeValidatorBase<T>.Prevalidatemethod. - Make
_nullMessageProvider,_propNameand_ruleTypeValidatorBase<T>class fields private instead of protected. - Remove
IExpressPropertyValidatorBaseinterface. - Remove redundant
ExpressPropertyValidatorconstructor.
0.0.14
0.0.10
- Support for adding a field for validation - introduced
ExpressValidatorBuilder.AddFieldmethod. - Made
IExpressPropertyValidatorBaseinternal. - Get rid of the
ExpressAsyncPropertyValidator,ExpressPropertyValidatorclasses, renameExpressPropertyValidatorBasetoExpressPropertyValidatorand use it in sync and async scenarios. - Remove the
BuilderWithPropValidator.PropertyValidatorproperty, make theExpressValidatorBuilderproperty private. - Move
IsAsyncproperty fromExpressValidatorstoTypeValidators.