Skip to content

Release Notes 6.0.0

Brian Lagunas edited this page Sep 11, 2015 · 5 revisions

Prism

  • Moved MVVM, PubSubEvents, and Logging in core PCL (breaking)

Namespaces

  • Removed Microsoft.Practices from all namespaces (breaking)

MVVM

  • ViewModelLocator convention change to append "Model" for views that end in "View", and to append "ViewModel" otherwise. (breaking)

Commanding

  • Added ObservesProperty method which automatically listens for property change notifications and automatically calls RaiseCanExecuteChanged
  • Added ObservesCanExcute method which automatically listens for property change notifications and automatically calls RaiseCanExecuteChanged and uses the same bool property as the CanExecute delegate. (This is a boolean property only)

Prism.Wpf

Namespaces

  • Removed Microsoft.Practices from all namespaces (breaking)

Bootstrapper

  • Added ConfigureViewModelLocator virtual method

Interactivity

  • Interactivity is now part of Prism.Wpf
  • Added virtual CreateWindow method to PopupWindowAction
  • Added AutoEnable property to InvokeCommandAction to turn off the disabling of objects
  • Added WindowStyle property to PopupWindowAction
  • Fixed bug in which the InteractionRequestTrigger would not raise notifications when navigating away from and back to a view
  • Added RaiseAsync method to InteractionRequest

Events

  • Add – DelegateReference
  • Removes dependency on Prism.PubSubEvents
  • Remove - CompositionPresentationEvent (marked obsolete)
  • Remove - DispactherEventSubScription (marked obsolete)
  • Remove - IDispatcherFacade (marked obsolete)
  • Remove – DefaultDispatcher (marked obsolete)
  • Move – WeakDelegatesManager from Regions to Events (namespace matches events)

Modularity

  • Remove – ModuleAttribute.StartupLoaded property (marked obsolete)
  • Check for null on line 53 of ModuleInitializer; if null, don’t call initialize. This allows an override of CreateModule to return null.

ViewModel

  • Remove – NotifcationObject (marked obsolete)
  • Remove – PropertySupport (marked obsolete)

AssemblyInfo

ViewModelLocationProvider

  • Moved ViewModelLocator into Prism.Wpf
  • Change AutowireViewModelChanged to provide a call back to set DataContext (Removes need for IView)
  • Removed IView (breaking)

BindableBase

  • Add CallerMemberName to OnPropertyChanged

Regions

  • Removed RegionManagerExtentions.cs
  • Moved all RegionManagerExtensions into IRegionManager
  • Changed NavigationParameters to derive from Dictionary<string, object> (breaking)
  • Fixed bug which allowed duplicate parameters in NavigationContext (breaking)

##Prism.Wpf.Unity

  • Added RegisterTypeForNavigation extension method to make it easier to register types for Prism navigation
Clone this wiki locally