Releases: runceel/ReactiveProperty
Releases · runceel/ReactiveProperty
Release 7.4.1
Add
- Fixing a bug that is issue #188 ReactiveProperty doesn't raise PropertyChanged when HasErrors changes.
v7.4.0
v7.3.0
v7.2.1
v7.2.0
v7.1.0
v7.0.1
v7.0.0
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 toReactiveProperty
class. This is a shortcut forrp.ObserveErrorChanged.Select(x => x?.OfType<string>()?.FirstOrDefault())
.
Perfomance improvement
ReactiveProperty and ReadOnlyReactiveProperty become 40% faster than v6.
v6.2.0
v6.1.4
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 inheritIReadOnlyReactiveProperty
. Thank you @shanon-hs #131ReactiveProperty
is officially support to WPF on .NET Core 3.0, because Microsoft.Xaml.Behaviors.Wpf became to support .NET Core.