Simple Injector v5.0.4 is available through Nuget.
When upgrading from v4.x, 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.2.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.