github simpleinjector/SimpleInjector v3.2
Simple Injector v3.2

latest releases: v5.4.5, v5.4.4, v5.4.3...
7 years ago

Release Notes

If you're upgrading from v2.x, please make sure you upgrade your application to the latest 2.8.x version of Simple Injector first. please read the v3.0 release notes before upgrading to v3.x.

Simple Injector v3.2 contains two main features and several smaller improvements.

  1. The most prominent feature is the compatibility with .NET Core v1 RTM. We are glad that the moving target has stopped moving :)
  2. Besides that, Simple Injector now has a simplified model for developers that work with platforms that lack proper ambient contexts (like Windows RT). Historically, Simple Injector always depended on ambient contexts such as HttpContext, WCF scoping, and things like AsyncLocal and ThreadLocal to do its scoping. Platforms like RT are truly asynchronous, but currently lack a proper async ambient context. Simple Injector v3.2 now allows resolving directly from the Scope object, and allows injecting Scope instances into constructors of components. This prevents going through hoops to get Simple Injector working in those types of applications. We will add a new page to our documentation that explains how to use this. Of course we still support our normal model, and for most application types, our advice is to keep using this model.

New features and improvements for the SimpleInjector.dll

  • Compatibility with .NET Core RTM.
  • Simplified working with Simple Injector on platforms without ambient context. (fixes #226)
  • Added configuration switch that makes Simple Injector output fully qualified type information in exception messages. (fixes #182)
  • Changes Lifestyle.CreateProducer<TService>(Func<TService>, Container) to return InstanceProducer<T> instead of InstanceProducer. (fixes #244)
  • Add Container.GetOrSetItem extension method to make it easier to atomically get and set items from the items dictionary. (fixes #231)
  • Prevented first change exceptions in several occasions. (#230 and #242)

New features and improvements for the SimpleInjector.Integration.Web.Mvc.dll

  • NuGet package noww references Microsoft.Web.Mvc NuGet package instead of GAC version. (fixes #218)

New features and improvements for the SimpleInjector.Integration.Wcf.dll

  • Allowed WCF services to be resolved as interfaces. (fixes #220)

Don't miss a new SimpleInjector release

NewReleases is sending notifications on new releases.