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.Threadingto 17.5.22 inMicrosoft.Extensions.Hosting.Threading. - Minor change to logging output.
3.2.0 - 2023-02-07
- More
GetInstanceoverloads inAbstractViewModelLocatorHost.
- Make
AbstractViewModelLocatorHost.GetInstancenon nullable and throw if locator is not found. - Use SourceGenerator for Logging (LoggerMessage).
- Remove
UseWindowsFormsfromMicrosoft.Extensions.Hosting.
3.1.0 - 2023-01-26
- Add net7.0 support.
- Update
Microsoft.Extensions.Hostingfrom 5.0.0 to 6.0.0 to avoid vulnerability warnings.
3.0.0 - 2022-06-24
- Remove
IViewModelContainer. - Remove
newconstraint fromTApplicationin a classes / methods. - Remove
ITrayIconfrom mainMicrosoft.Extensions.Hosting.Wpfpackage.
- Add Nuget Source Link support.
- Add new
Microsoft.Extensions.Hosting.Wpf.TrayIconpackage. - Add
IWpfContext<TApplication>→ non-genricIWpfContextinterfaces. - Add
IWpfThread<TApplication>→ non-genricIWpfThreadinterfaces. - Add
IWpfComponentinterface. - Add
IApplicationInitializeinterface. - Add
ApplicationExtensions.CheckForInvalidConstructorConfiguration(this Application application)public method. - Add
UseWpfInitializationextension.
- 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
Appconstructor 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.CheckForInvalidConstructorConfigurationin allAppconstructors to make sure everything is correct.
2.0.0 - 2022-06-08
- Remove Boostrap from
Microsoft.Extensions.Hosting.Wpf.
- Add
Microsoft.Extensions.Hosting.Wpf.Bootstraplibrary.
- Update
Microsoft.VisualStudio.Threadingto 17.2.32 inMicrosoft.Extensions.Hosting.Threading. - Add
skipMergedDictionariesparameter inAbstractViewModelLocatorHost.GetInstance.
1.0.0 - 2022-06-05
- First release.