Skip to content

Releases: runceel/ReactiveProperty

Release 7.4.1

24 Sep 05:14
c0912fc
Compare
Choose a tag to compare

Add

  • Fixing a bug that is issue #188 ReactiveProperty doesn't raise PropertyChanged when HasErrors changes.

v7.4.0

18 Sep 04:10
c20032b
Compare
Choose a tag to compare

Add

  • Add ReactivePropertyScheduler.SetDefaultSchedulerFactory method to set custom logic to create an IScheduler instance to dispatch events to UI thread.

v7.3.0

17 Sep 07:57
Compare
Choose a tag to compare

Add

  • Add ToReactivePropertySlimAsSynchronized extension method to INotifyPropertyChanged.

v7.2.1

11 Sep 09:07
b32360f
Compare
Choose a tag to compare

Fixes

  • Issue #177, PR #178 The issue that the CollectionChanged event raised from ObservableCollection changes with ReadOnlyReactiveCollection

v7.2.0

04 Aug 04:35
6a897e6
Compare
Choose a tag to compare

Add

  • DisposePreviousValue extension method to IObservable<T>. Please see the issue #166 .

v7.1.0

27 May 01:17
8275368
Compare
Choose a tag to compare

Changes

  • ObserveProperty's behavior changed calling OnNext when PropertyChanged with an empty property name

v7.0.1

15 May 13:03
291b87b
Compare
Choose a tag to compare

This update is no feature changes.

  • Fix #155 Some properties of Assembly file deleted in Ver 7.0.0

v7.0.0

05 May 11:20
7515715
Compare
Choose a tag to compare

This is a major version up. There is a breaking change.
Please check the release note before updating it.

Breaking changes

  • A ReadOnlyReactiveProperty created from a completed IObservable never call OnNext callback, just call OnCompleted callback. In version 6, it had called OnNext callback even if the source IObservable was finished.
    If you would like to subscribe a value completed ReadOnlyReactiveProperty, then please use OnCompleted callback like below:
    var completedReadOnlyReactiveProperty = Observable.Return("1").ToReadOnlyReactiveProperty();
    completedReadOnlyReactiveProperty.Subscribe(
      // OnNext callback. Because it was created from completed IObservable, the OnNext callback is never called in this case.
      x => DoSomething(x), 
      // OnCompleted callback, it will be called.
      () => DoSomething(completedReadOnlyReactiveProperty.Value);
  • Separate the NuGet package to each platforms. The new packages are following:
    • ReactiveProperty
    • ReactiveProperty.Core
    • ReactiveProperty.WPF
    • ReactiveProperty.UWP
    • ReactiveProperty.XamarinAndroid
    • ReactiveProperty.XamariniOS

If you didn't use platform-specific features such as EventToReactiveCommand and EventToReactiveProperty on your code, then please use continuously ReactiveProperty package on v7.
If you used those features(It occurs as compile errors when updating the package), please add a package for the platform you are using.

And also, you have to change xmlns like below:

<!-- for WPF on .NET Framework on ReactiveProperty v6.2.0 or earlier -->
xmlns:rp="clr-namespace:Reactive.Bindings.Interactivity;assembly=ReactiveProperty.NET46"
<!-- for WPF on .NET Core on ReactiveProperty v6.2.0 or earlier -->
xmlns:rp="clr-namespace:Reactive.Bindings.Interactivity;assembly=ReactiveProperty.NETCore"

<!-- for WPF on .NET Core and Framework on ReactiveProperty v7.0.0 or lator -->
xmlns:rp="clr-namespace:Reactive.Bindings.Interactivity;assembly=ReactiveProperty.WPF"

Add

  • Add ObserveValidationErrorMessage extension method to ReactiveProperty class. This is a shortcut for rp.ObserveErrorChanged.Select(x => x?.OfType<string>()?.FirstOrDefault()).

Perfomance improvement

ReactiveProperty and ReadOnlyReactiveProperty become 40% faster than v6.

v6.2.0

17 Jan 01:22
e3640f6
Compare
Choose a tag to compare

Added

  • Localization support and placeholder support for DataAnnotations. #137

Thank you for your feedback @onodera-sf and @soi013 !

v6.1.4

16 Nov 11:42
Compare
Choose a tag to compare

Changes

  • Update System.Reactive to 4.2.0 from 4.1.5
  • Update Microsoft.Xaml.Behaviors.Wpf to 1.1.3 from 1.0.1
  • IReactiveProperty interface became to inherit IReadOnlyReactiveProperty. Thank you @shanon-hs #131
  • ReactiveProperty is officially support to WPF on .NET Core 3.0, because Microsoft.Xaml.Behaviors.Wpf became to support .NET Core.