ReactiveProperty

ReactiveProperty provides MVVM and asynchronous support features under Reactive Extensions. Target frameworks are .NET 6+, .NET Framework 4.7.2 and .NET Standard 2.0.

MIT License

Stars
870
Committers
29

Bot releases are visible (Hide)

ReactiveProperty - v6.0.2

Published by runceel about 5 years ago

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.

ReactiveProperty - v6.0.0

Published by runceel about 5 years ago

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)));
ReactiveProperty - v5.6.0

Published by runceel over 5 years ago

This version is for improvement of AsyncReactiveCommand.

Changes

  • Add sharedCanExecute argument on the ToAsyncReactiveCommand for IObservable<bool>.
ReactiveProperty - v5.5.1

Published by runceel over 5 years ago

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

ReactiveProperty - v5.4.0

Published by runceel over 5 years ago

Changes

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

Published by runceel almost 6 years ago

Changes

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

Other

  • Added document comments all public members #88 #89 #90 #91 #92 #93 #94 #95 (@ChrisPulman)

Known issue

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

Thank you for all contributes.

ReactiveProperty - v5.3.0

Published by runceel about 6 years ago

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
ReactiveProperty - v5.2.0

Published by runceel about 6 years ago

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.
ReactiveProperty - v5.1.0

Published by runceel over 6 years ago

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.
ReactiveProperty - v5.0.0

Published by runceel over 6 years ago

Updated System.Reactive to 4.0.0.

Breaking change

Target platform is changed to .NET Standard 2.0.

ReactiveProperty - v4.2.2

Published by runceel over 6 years ago

This release is an updating for serialization.

  • Change the accessibility to public of ReactivePropertySlim's Mode property.

@reniris Thank you PR! #78

ReactiveProperty - v4.2.1

Published by runceel over 6 years ago

It is a minor update for Xamarin.Android. #73

Xamarin.Android

  • Added SetBinding extension method support ReactivePropertySlim/ReadOnlyReactiveSlim.
  • Added SetCommand extension method support AsyncReactiveCommand.

Special thanks

@MeilCli Thank you for your pull request.

ReactiveProperty - v4.2.0

Published by runceel over 6 years ago

Compatibility update between ReactivePropertySlim and ReactiveProperty.

Change

  • Add IEqualityComparer<T> argument to constructor and factory methods of ReactiveProperty and ReadOnlyReactiveProperty.

Special thanks

@soi013 , thank you for your pull request #69 !

ReactiveProperty - v4.1.1

Published by runceel almost 7 years ago

Fixed the bug #68 .

ReactiveProperty - v4.1.0

Published by runceel almost 7 years ago

Change

  • Signed assemblies.

Add

  • Add ReactivePropertySlim class.
  • Add ReadOnlyReactivePropertySlim class.
ReactiveProperty - v4.0.1-pre1

Published by runceel almost 7 years ago

Signed assemblies

ReactiveProperty - v4.0.0

Published by runceel almost 7 years ago

Breaking changes

.NET Standard version

  • Change the .NET Standard version to 1.3 from 1.1.
    • .NET Framework 4.5 and Windows store app aren't supported.

Removed features

  • Remove a SerializeHelper class.
    • Please use other serializer packages. For example, JSON.NET and MessagePack.ReactiveProperty.

Changes

  • ReactiveTimer class

    • Add an IsEnabled property.
    • Add the PropertyChanged event to Interval property and IsEnabled property.
  • ReactiveCommand class

    • Add WithSbscribe extension methods. #58
  • AsyncReactiveCommand class

    • Add WithSbscribe extension methods. #58
ReactiveProperty - v4.0.0-pre5

Published by runceel almost 7 years ago

This is major update's preview release.
We updated the System.Reactive package to v4.x. This package is pre-release version yet.

Breaking changes

.NET Standard version

  • Change the .NET Standard version to 1.3 from 1.1.
    • .NET Framework 4.5 and Windows store app aren't supported.

Removed features

  • Remove a SerializeHelper class.
    • Please use other serializer packages. For example, JSON.NET and MessagePack.ReactiveProperty.

Changes

  • ReactiveTimer class

    • Add an IsEnabled property.
    • Add the PropertyChanged event to Interval property and IsEnabled property.
  • ReactiveCommand class

    • Add WithSbscribe extension methods. #58
  • AsyncReactiveCommand class

    • Add WithSbscribe extension methods. #58