All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
3.4.0 - 2023-11-24
- Add net8-windows explicitly.
3.3.0 - 2023-03-08
- Support for .NET Framework 4.6.2 and .NET Framework 4.8.
- Update
Microsoft.VisualStudio.Threading
to 17.5.22 inMicrosoft.Extensions.Hosting.Threading
. - Minor change to logging output.
3.2.0 - 2023-02-07
- More
GetInstance
overloads inAbstractViewModelLocatorHost
.
- Make
AbstractViewModelLocatorHost.GetInstance
non nullable and throw if locator is not found. - Use SourceGenerator for Logging (LoggerMessage).
- Remove
UseWindowsForms
fromMicrosoft.Extensions.Hosting
.
3.1.0 - 2023-01-26
- Add net7.0 support.
- Update
Microsoft.Extensions.Hosting
from 5.0.0 to 6.0.0 to avoid vulnerability warnings.
3.0.0 - 2022-06-24
- Remove
IViewModelContainer
. - Remove
new
constraint fromTApplication
in a classes / methods. - Remove
ITrayIcon
from mainMicrosoft.Extensions.Hosting.Wpf
package.
- Add Nuget Source Link support.
- Add new
Microsoft.Extensions.Hosting.Wpf.TrayIcon
package. - Add
IWpfContext<TApplication>
→ non-genricIWpfContext
interfaces. - Add
IWpfThread<TApplication>
→ non-genricIWpfThread
interfaces. - Add
IWpfComponent
interface. - Add
IApplicationInitialize
interface. - Add
ApplicationExtensions.CheckForInvalidConstructorConfiguration(this Application application)
public method. - Add
UseWpfInitialization
extension.
- Change
WpfThread<TApplication>
to internal class. - Change
WpfContext<TApplication>
to internal class. - Change
UseWpfLifetime<TApplication>()
toUseWpfLifetime()
. - Change
services.AddWpfTrayIcon<TrayIcon, TApplication>()
toservices.AddWpfTrayIcon<TrayIcon>()
- Now
App
constructor can be resolved automatically. If you will have multiple constructors there and want to inject any service, please make sure you have a private parametless constructor. For diagnostic purposes you can useApplicationExtensions.CheckForInvalidConstructorConfiguration
in allApp
constructors to make sure everything is correct.
2.0.0 - 2022-06-08
- Remove Boostrap from
Microsoft.Extensions.Hosting.Wpf
.
- Add
Microsoft.Extensions.Hosting.Wpf.Bootstrap
library.
- Update
Microsoft.VisualStudio.Threading
to 17.2.32 inMicrosoft.Extensions.Hosting.Threading
. - Add
skipMergedDictionaries
parameter inAbstractViewModelLocatorHost.GetInstance
.
1.0.0 - 2022-06-05
- First release.