Simple Injector v5.1.0 Release Notes
Release Date: 2020-10-24 // over 4 years ago-
🚀 This release is available through Nuget.
🚀 When upgrading to v5, please make sure you upgrade your application to the latest v4.x version of Simple Injector first. After that, upgrade to the latest v5.0.x release before upgrading to v5.1.x.
🚀 This minor release adds two new features to the core library:
- 💅 #857
Collection.Append
andCollection.Register
can now be called while supplying both a lifestyle and open generic implementations. - 📇 #861
DependencyMetadata<T>
can now be used in conjunction with Flowing scopes.
Thanks to @henriblMSFT for providing high-quality feature requests that made this possible.
- 💅 #857
Previous changes from v5.0.4
-
📦 Simple Injector v5.0.4 is available through Nuget.
🚀 When upgrading to v5.0, please make sure you upgrade your application to the latest v4.x version of Simple Injector first. After that upgrade directly to the latest v5.0.x release.
🚀 This patch release fixes three bugs:
- #850 Conditional registrations can now be made when
AllowOverridingRegistrations
is set to true - #836 Conditionally register instances of the same type can now be registered (thanks to @kwlin)
- 💅 #859 When calling
Lifestyle.Singleton.CreateRegistration
using aFunc<object>
delegate, C# overload resolution would cause the incorrectCreateRegistration
overload to be called.
- #850 Conditional registrations can now be made when