Releases: pglazkov/MvvmValidation
Releases · pglazkov/MvvmValidation
MVVM Validation Helpers 3.1.2
MVVM Validation Helpers 3.1.1
What's New
Bug Fixes:
- Using this library with the JetBrains.Annotations nuget package causes namespace conflicts #25
MVVM Validation Helpers 3.1
What's New
Features:
- Possibility to configure rules to be executed even if the target is already invalid (#9)
Bug Fixes:
- Validation gets stuck (doesn't return any results) if one of the synchronous rules throws an exception after other successful rules (#10)
- ResultChanged event is called on a wrong thread (non-UI) when synchronous validation is executed (ValidationHelper.Validate(...)) (#11)
- Nested SuppressValidation suppression is enabled before the outer Dispose is called (#17)
MVVM Validation Helpers 3.0
What's New
- Added new API methods that take
string
arguments instead ofExpression<Func<object>>
, so that they can be invoked usingnameof(MyProperty)
instead of() => MyProperty
; - Migrated to NetStandard 1.0 (one portable assembly for most platforms) - this fixes the problem that NuGet would pick .NET 4.0 assembly for .NET 4.5+ projects instead of the portable library;
- Introduced the ValidateCaller/ValidateCallerAsync methods that can be used inside property setters without specifying the name of the property (the name will be provided by the c# compiler). Fixes #7.
Breaking Changes
- Dropped Silverlight and .NET 4.0 support;
- Removed obsolete callback-based API.
- Removed
DataErrorInfoAdapter
. See this comment for details.
MVVM Validation Helpers 2.0
What's New
- Portable Library (targeting .NET 4.5, Silverlight 5, Windows 8 and Windows Phone 8); .NET 4 is still supported with a separate assembly; Silverlight 4 is not supported anymore;
- Async validation with Tasks (async/await support);
- Ability to delete validation rules;
- Ability to reset the validations state to the initial state (valid) by calling the new Reset method;
- Bug fixes.
Breaking Changes
- The signature of the Validate method of the IValidatable interface has changed: instead of taking a callback function as a parameter, it now returns Task;
- Silverlight 4 is not supported anymore.