Simple Injector v5.1.0 Release Notes

Release Date: 2020-10-24 // over 3 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 and Collection.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.


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 a Func<object> delegate, C# overload resolution would cause the incorrect CreateRegistration overload to be called.