- Added support for .NET 7.
- Updated Uno.WinUI to 5.0.19.
- Updated Windows SDK version from 18362 to 19041.
- Removed support for Xamarin.
- Removed support for .NET 6.
- Removed support for NetStandard2.0 in DynamicMvvm.Uno.WinUI.
- Dynamic properties no longer throw an
ObjectDisposedException
when we set theirValue
while they're disposed.- We've discovered that this safeguard is not needed and was causing unjustified issues when using dynamic properties in a multi-threaded environment. This is especially true with the DynamicPropertyFromObservable variant, which can easily be disposed from a different thread than the one the observable source uses.
- This change renders obsolete the
throwOnDisposed
parameter used in several constructors ofIDynamicProperty
andIDynamicPropertyFactory
implementations. Those overloads are still present in the library, but they are marked as obsolete and will be removed in a future version. - You can still observe the events where a dynamic property is set while it's disposed by using logs. The event id is 32, the log level is
Debug
, and the message template is"Skipped value setter on the property '{PropertyName}' because it's disposed."
This breaking changes doesn't change the API definition.
- The NuGet reference to
Microsoft.Extensions.Logging.Abstractions
now requires version 6.0.0 and up.
This breaking change doesn't change the API definition.
DecoratorCommandStrategy
not longer exists. UseDelegatingCommandStrategy
instead.
- Replaced
IViewModelView
withIDispatcher
. - Replaced
IViewModel.View
withIViewModel.Dispatcher