Bot releases are visible (Hide)
Published by github-actions[bot] over 3 years ago
Performance improvements for:
PropertyChangedAsObservable
CollectionChangedAsObservable
CanExecuteChangedAsObservable
ErrorsChangedAsObservable
This effects many methods that call those methods such as:
ObserveProperty
Observe(Add|Remove|Move|Replace|Reset)Changed
Observe(Add|Remove|Move|Replace)ChangedItems
ReadOnlyReactiveCollection
ObserveElementProperty
ObserveElementObservableProperty
ObserveErrorInfo
FilteredReadOnlyObservableCollection
In the previous behavior, the method used SynchronizationCotext
to automatically dispatch threads. This is due to the behavior of FromEvent
and FromEventPattern
in Reactive Extensions.
The new behavior does not automatically dispatch threads. It depends on which thread the event occurred in.
If you need to switch threads, please do so explicitly using the ObserveOn
method.
Published by github-actions[bot] over 3 years ago
Performance improvement for FilteredReadOnlyObservableCollection
.
Published by github-actions[bot] over 3 years ago
ReadOnlyReactiveProperty
/ReadOnlyReactivePropertySlim
to same as version 6
Select
, ReadOnlyReactiveProperty
ignore the exception.Select
, ReadOnlyReactiveProperty
throw the exception. This behavior is the same as version 6 or previous.If you would like to ignore exceptions, please set ReactivePropertyMode.IgnoreException
to mode
argument to constructor or factory methods such as ToReadOnlyReactiveProperty
method.
Published by github-actions[bot] almost 4 years ago
Update dependency packages to latest:
Published by github-actions[bot] almost 4 years ago
ExecuteAsync
method to AsyncReactiveCommand
class. The method is to call all processes are added to a command object and to be able to wait to finish all processes with await keyword.Published by github-actions[bot] about 4 years ago
ReactiveProperty.FromObject
Published by github-actions[bot] about 4 years ago
ObserveProperty
, ToReactivePropertyAsSynchronized
and ToReactivePropertySlimAsSynchronized
like following:
obj.ObserveProperty(x => x.Child.Name);
ObserveElementPropertyChanged
, ObserveElementProperty
and ObserveElementObservableProperty
to IFilteredReadOnlyObservableCollection<T>
.Published by github-actions[bot] about 4 years ago
ObserveProperty
, ToReactivePropertyAsSynchronized
and ToReactivePropertySlimAsSynchronized
like following:
obj.ObserveProperty(x => x.Child.Name);
Published by github-actions[bot] about 4 years ago
Published by runceel about 4 years ago
ReactivePropertyScheduler.SetDefaultSchedulerFactory
method to set custom logic to create an IScheduler
instance to dispatch events to UI thread.Published by runceel about 4 years ago
ToReactivePropertySlimAsSynchronized
extension method to INotifyPropertyChanged
.Published by runceel about 4 years ago
Published by runceel about 4 years ago
DisposePreviousValue
extension method to IObservable<T>
. Please see the issue #166 .Published by runceel over 4 years ago
Published by runceel over 4 years ago
This update is no feature changes.
Published by runceel over 4 years ago
This is a major version up. There is a breaking change.
Please check the release note before updating it.
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);
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"
ObserveValidationErrorMessage
extension method to ReactiveProperty
class. This is a shortcut for rp.ObserveErrorChanged.Select(x => x?.OfType<string>()?.FirstOrDefault())
.ReactiveProperty and ReadOnlyReactiveProperty become 40% faster than v6.
Published by runceel almost 5 years ago
Thank you for your feedback @onodera-sf and @soi013 !
Published by runceel almost 5 years ago
IReactiveProperty
interface became to inherit IReadOnlyReactiveProperty
. 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.Published by runceel about 5 years ago
This release is for fixing a binary breaking change at #109 and updating A value of AssemblyVersion is to correctly.
Published by runceel about 5 years ago
Thank you for your help @soi013, @s520 and @toras9000 .