Skip to content

v1.1 No More XAML Registrations

Compare
Choose a tag to compare
@mysteryx93 mysteryx93 released this 27 May 17:39
· 107 commits to master since this release

Version 1.1 is ready!

BREAKING CHANGES

  • XAML registration is no longer required and must be removed

If your convention is different than simply replacing 'ViewModel' with 'View':

  • You must add a ViewLocator to your project (see doc)
  • You must pass this ViewLocator to the DialogService constructor

Adopting Avalonia's ViewLocator design greatly simplifies the code and avoids duplicating the design.

  • Internally, the following classes have been removed:
    DialogTypeLocatorBase, DialogTypeLocatorCache, IDialogFactory, NamingConventionDialogTypeLocator, ReflectionDialogFactoryBase, ViewRegistration, DialogServiceViews, ReflectionDialogFactory
  • Renamed IDialogTypeLocator to IViewLocator
  • Removed namespace HanumanInstitute.MvvmDialogs.DialogTypeLocators

MvvmDialogs.Avalonia is no longer signed because dependency ReactiveUI is not signed.