Skip to content

Releases: runceel/ReactiveProperty

v6.1.2

31 Aug 05:30
a747762
Compare
Choose a tag to compare

Changes

NuGet package

  • Add a package dependency System.ComponentModel.Annotations to net461 and netcoreapp3.0. #125

New features

  • Add BindTo extension methods to ReactivePropertySlim, ReadOnlyReactivePropertySlim and ReadOnlyReactiveProperty. #122 .
  • Add Awaiter of ReactiveProperty and ReactivePropertySlim. #124

Thank you for your help @soi013, @s520 and @toras9000 .

v6.0.2

26 Jul 11:40
29c242e
Compare
Choose a tag to compare

Add to support WPF on .NET Core 3.0.

Changes

  • Before this release, EventToReactiveCommand and EventToReactiveProperty couldn't be used on WPF on .NET Core 3.0. This release is supported those classes on WPF on .NET Core 3.0.

If you would like to use EventToReactiveCommand and EventToReactiveProperty, then please add Microsoft.Xaml.Behaviors.Wpf package to your project expricitlly.

v6.0.0

26 Jul 04:50
762c7eb
Compare
Choose a tag to compare

There is a breaking change on WPF platform.

Breaking changes

  • Dropped Blend SDK. Please use Microsoft.Xaml.Behaviors.Wpf package to use EventToReactiveCommand and EventToReactiveProperty.
    • Migration steps
      • Remove System.Windows.Interactivity and Microsoft.Expression.Interactions references.
      • If you are using System.Windows.Interactivity or Microsoft.Expression.Interactions namespace in your C# code, then change the namespaces to Microsoft.Xaml.Behaviors.
      • Replace Blend SDK's xml namespace(xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" and xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions") in your XAML files to xmlns:i="http://schemas.microsoft.com/xaml/behaviors".

New features

  • Add override using Func<IObservable<T>, IObservable<U>> to ToReactivePropertyAsSynchronized extension method.
// Usual method
var reactivePropertyInstance = source.ToReactivePropertyAsSynchronized(x => x.SomeProperty,
  x => convertLogic(x),
  x => convertBackLogic(x));

// New method
var reactivePropertyInstance = source.ToReactivePropertyAsSynchronized(x => x.SomeProperty,
  ox => ox.Select(x => convertLogic(x)),
  ox => ox.Select(x => convertBackLogic(x)));

It means you can filter value using Where method, like below:

var reactivePropertyInstance = source.ToReactivePropertyAsSynchronized(x => x.SomeProperty,
  ox => ox.Select(x => convertLogic(x)),
  ox => ox.Where(x => filterLogic(x)).Select(x => convertBackLogic(x)));

v5.6.0

20 Jun 05:43
cc9d402
Compare
Choose a tag to compare

This version is for improvement of AsyncReactiveCommand.

Changes

  • Add sharedCanExecute argument on the ToAsyncReactiveCommand for IObservable<bool>.

v5.5.1

22 May 03:18
Compare
Choose a tag to compare

This update is only bug fix and updating dependency libraries.

Bug fix

  • Fix the issue #105

Update libraries

  • System.Reactive from v4.1.3 to v4.1.5

The nuget package

https://www.nuget.org/packages/ReactiveProperty/5.5.1

v5.4.0

03 Apr 04:12
d6edd8a
Compare
Choose a tag to compare

Changes

  • Remove unnecessary dependencies from the nuspec file. #101
  • Improve SetValidateAttribute logic. #103 Thanks, @mimtari .
  • Update System.Reactive to v4.1.3

v5.3.1

13 Dec 02:18
Compare
Choose a tag to compare

Changes

  • Update System.Reactive package to 4.1.2
  • Remove unnecessary dependencies #96 (@soi013)

Other

Known issue

  • When use on Xamarin.Android project, compile error is occurred. Please check the issue: #87

Thank you for all contributes.

v5.3.0

28 Sep 07:50
Compare
Choose a tag to compare

Changed

  • Update dependency library
    • System.Reactive 4.0.0 -> 4.1.0
  • Improve await support of ReactiveProperty, ReactiveCommand #86

Removed

  • Remove await support of AsyncReactiveCommand #86

v5.2.0

02 Aug 05:45
0af3d53
Compare
Choose a tag to compare

Update summary

Breaking change

  • awaitable ReactiveProperty/ReactiveCommand #80
    You can use await to ReactiveProperty(includes Slim classes) and ReactiveCommand, then you can wait until value changed, and get the updated value.
    The default behavior of await of IObservable return a last value. After this update, ReactiveProperty and ReactiveCommand return a first value.

v5.1.0

21 Jun 10:18
Compare
Choose a tag to compare

Update summary

Add

  • Added IgnoreInitialValidationError in ReactivePropertyMode. When the flag was on then an initial validation error would be ignored.
  • Added Default in ReactivePropertyMode. It is same as DistinctUntilChanged | RaiseLatestValueOnSubscribe.