SimpleInjector 3.1.1

Simple Injector

Simple Injector is an easy, flexible and fast dependency injection library that uses best practice to guide your solutions toward the pit of success.

There is a newer version of this package available.
See the version list below for details.
Install-Package SimpleInjector -Version 3.1.1
dotnet add package SimpleInjector --version 3.1.1
<PackageReference Include="SimpleInjector" Version="3.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleInjector --version 3.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Simple Injector v.3.1.1 is a patch release that fixes two bugs in the core library, one memory leak fix and one related to the diagnostic system.

Bug #135 caused a Container instance to keep rooted, and thus prevented the container and all its dependent object from being collected by the GC, in case decorators where applied. This causes a memory leak in applications that create an undefined number of container instances during the lifetime of the application. Do note that in case you are creating many container instances throughout the lifetime of the application, you should call Container.Dispose to prevent the memory leak.

Bug #140 prevented the container from detecting an Lifestyle Mismatch in an object graph when calling GetInstance. The problem only appeared in case Verify() was not called, or when objects were resolved that were not registered explicitly (or were registered as open-generic type, while not being referenced as closed-generic type by other registered types). Do note that this bug fix might cause an exception to be thrown in applications that seem to run correctly in v3.1.0, because the Lifestyle Mismatch was not detected before.

See: https://github.com/simpleinjector/SimpleInjector/releases/tag/v3.1.1

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
4.6.0 5,493 5/11/2019
4.6.0-beta2 96 5/8/2019
4.6.0-beta1 442 4/23/2019
4.5.2 5,677 5/6/2019
4.5.1 57,456 3/22/2019
4.5.0 1,374 3/21/2019
4.5.0-beta1 1,228 3/14/2019
4.4.3 243,361 1/1/2019
4.4.2 126,038 12/1/2018
4.4.0 112,992 11/2/2018
4.3.0 762,761 5/16/2018
4.3.0-beta1 636 5/11/2018
4.2.3 4,678 5/15/2018
4.2.2 72,868 4/26/2018
4.2.1 69,403 4/15/2018
4.2.0 915 4/14/2018
4.1.3 342 5/15/2018
4.1.2 601 4/26/2018
4.1.1 57,642 4/4/2018
4.1.0 65,522 3/23/2018
4.1.0-beta1 452 3/16/2018
4.1.0-alpha1 821 2/26/2018
4.0.12 792,862 10/21/2017
4.0.11 159,002 9/20/2017
4.0.8 460,225 6/3/2017
4.0.7 71,610 5/19/2017
4.0.6 58,609 5/4/2017
4.0.3 60,934 4/19/2017
4.0.2 3,087 4/19/2017
4.0.0 110,308 3/31/2017
4.0.0-beta2 20,973 3/14/2017
4.0.0-beta1 3,509 2/19/2017
4.0.0-alpha3 3,622 1/8/2017
4.0.0-alpha2 954 12/30/2016
4.0.0-alpha1 1,122 11/25/2016
3.3.2 425,666 12/2/2016
3.3.1 20,189 11/23/2016
3.3.0 23,412 11/21/2016
3.3.0-beta2 750 11/10/2016
3.3.0-beta1 335 11/9/2016
3.3.0-alpha1 327 11/11/2016
3.2.7 103,147 11/3/2016
3.2.5 6,143 11/1/2016
3.2.4 18,678 10/26/2016
3.2.3 38,551 10/16/2016
3.2.2 173,805 8/26/2016
3.2.0 135,109 6/28/2016
3.2.0-beta2 367 6/28/2016
3.2.0-beta1 308 6/27/2016
3.2.0-alpha2 2,511 5/2/2016
3.1.5 110,733 5/22/2016
3.1.5-alpha3 331 5/22/2016
3.1.5-alpha2 288 5/22/2016
3.1.5-alpha1 279 5/18/2016
3.1.4 42,688 5/1/2016
3.1.3 46,168 4/12/2016
3.1.2 229,782 12/14/2015
3.1.2-alpha2 632 12/8/2015
3.1.2-alpha1 368 12/6/2015
3.1.1 70,297 11/23/2015
3.1.0 59,164 10/12/2015
3.0.7 1,302 10/10/2015
3.0.6 6,527 10/4/2015
3.0.5 44,427 9/3/2015
3.0.4 2,928 8/31/2015
3.0.3 2,397 8/27/2015
3.0.1 11,118 8/20/2015
3.0.0 7,289 8/18/2015
3.0.0-beta4 1,509 8/11/2015
3.0.0-beta3 434 8/3/2015
3.0.0-beta2 528 7/17/2015
3.0.0-beta1 1,221 6/28/2015
3.0.0-alpha2 400 6/21/2015
3.0.0-alpha1 444 6/14/2015
2.8.3 45,165 7/17/2015
2.8.1 1,764 7/16/2015
2.8.0 132,597 5/2/2015
2.8.0-beta5 300 5/3/2015
2.8.0-beta4 464 4/27/2015
2.8.0-beta3 318 4/26/2015
2.8.0-beta2 397 4/17/2015
2.8.0-beta1 613 4/9/2015
2.8.0-alpha1 373 4/5/2015
2.7.3 75,261 3/9/2015
2.7.3-alpha1 441 3/1/2015
2.7.2 27,414 2/12/2015
2.7.2-beta2 350 2/11/2015
2.7.2-beta1 355 2/10/2015
2.7.2-alpha2 366 2/12/2015
2.7.2-alpha1 347 2/10/2015
2.7.1 8,565 2/1/2015
2.7.1-alpha3 1,053 1/16/2015
2.7.1-alpha2 331 1/16/2015
2.7.1-alpha1 333 1/15/2015
2.7.0 8,147 1/15/2015
2.7.0-beta2 348 1/13/2015
2.7.0-beta1 1,262 11/12/2014
2.6.1 72,869 10/26/2014
2.6.0 7,668 10/14/2014
2.6.0-beta2 530 9/20/2014
2.6.0-beta1 1,949 8/30/2014
2.6.0-alpha2 711 8/17/2014
2.6.0-alpha1 387 8/17/2014
2.5.2 52,303 7/13/2014
2.5.0 54,407 3/2/2014
2.5.0-beta2 402 2/26/2014
2.5.0-beta1 476 2/9/2014
2.4.1 13,917 1/14/2014
2.4.0 8,629 12/8/2013
2.4.0-beta3 466 11/24/2013
2.4.0-beta2 503 11/5/2013
2.4.0-beta1 600 10/15/2013
2.4.0-alpha3 571 8/23/2013
2.4.0-alpha1 474 7/15/2013
2.3.6 9,460 10/21/2013
2.3.5 8,506 9/2/2013
2.3.2 506 8/31/2013
2.3.0 23,717 6/30/2013
2.3.0-beta2 464 6/20/2013
2.3.0-beta1 401 6/18/2013
2.2.3 6,657 5/4/2013
2.2.1 2,230 4/19/2013
2.2.0 1,431 4/8/2013
2.1.0 2,234 3/19/2013
2.0.2 3,916 3/10/2013
2.0.1 2,082 2/28/2013
2.0.0 2,732 2/25/2013
2.0.0-beta5 410 2/22/2013
2.0.0-beta4 429 2/17/2013
2.0.0-beta3 394 2/10/2013
2.0.0-beta2 379 2/8/2013
2.0.0-beta1 462 1/29/2013
2.0.0-alpha1 417 1/19/2013
1.6.0.12319 5,753 11/15/2012
1.5.0.12199 4,120 7/17/2012
1.4.2.12140 2,577 5/19/2012
1.4.0.12049 896 2/17/2012
1.3.0.11343 689 12/10/2011
1.2.0.11273 1,709 10/3/2011
Show less