Simple Injector v4.6 Release Notes

Release Date: 2019-05-11 // almost 5 years ago
  • ๐Ÿš€ Release Notes

    ๐Ÿš€ This release can be downloaded using NuGet.

    ๐Ÿš€ The most prominent improvements in this release are:

    • ๐Ÿ†• New fluent configuration model for ASP.NET Core that aims to simplify integration. Please read the documentation for more details.
    • ๐Ÿ†• New integration packages for non-ASP.NET Core environments that still require IServiceCollection, such as .NET Core Console Applications and .NET Core 2.1 Generic Host. Read the documentation here and here for more details.
    • Ability to visualize object graphs with fully qualified type names. Implemented by @kwlin.

    ๐Ÿ’ฅ Breaking changes

    Simple Injector core library

    • #699 ExpressionBuiltEventArgs ctor marked obsolete.
    • 0๏ธโƒฃ #701 SimpleInjector.Scope default ctor marked obsolete.

    ๐Ÿ”‹ Features and improvements

    Simple Injector core library

    • #685 VisualizeObjectGraph can now generate fully qualified type names. Thanks to @kwlin for implementing this.
    • ๐Ÿ’… #691 Added Container.Collection.Append(Type, Type, Lifestyle) overload.
    • #706 Added the ability to ignore disposing scoped and singleton components.
    • #681 Extra information added to obsolete messages.
    • #689 Common System.Object methods (ToString, GetHashCode, Equals, and GetType) are now hidden from common API classes when using IntelliSense.

    ๐Ÿ“ฆ ASP.NET Core Integration packages

    • ๐Ÿ“š #684 New fluent API introduced. See the documentation for more details.
    • #683 Prevented double disposing cross-wired dependencies.

    ๐Ÿ“ฆ [NEW] ServiceCollection Integration packages #639

    ๐Ÿ“š This is a new integration package that aims to simplify cross wiring on top of ServiceCollection. It contains the core functionality that is used by Generic Host and ASP.NET Core integration packages. See the documentation for more details.

    ๐Ÿ“ฆ [NEW] Generic Host Integration packages #639

    ๐Ÿ“š This is a new integration package that simplifies working with .NET Core 2.1 Generic Host applications. It can be use both as part of your ASP.NET Core application and as .NET Core Console application. See the documentation for more details.