Skip to content

Releases: pglazkov/MvvmValidation

MVVM Validation Helpers 3.1.2

12 Mar 20:01
5fd8991
Compare
Choose a tag to compare

What's New

Bug Fixes:

  • Implement IDisposable in NotifyDataErrorInfoAdapter (Fixes #29)

MVVM Validation Helpers 3.1.1

03 Apr 15:07
Compare
Choose a tag to compare

What's New

Bug Fixes:

  • Using this library with the JetBrains.Annotations nuget package causes namespace conflicts #25

MVVM Validation Helpers 3.1

19 Oct 07:05
Compare
Choose a tag to compare

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

15 Sep 06:28
Compare
Choose a tag to compare

What's New

  • Added new API methods that take string arguments instead of Expression<Func<object>>, so that they can be invoked using nameof(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

09 Nov 07:19
Compare
Choose a tag to compare

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.