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
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.4.0 5,791 11/2/2018
4.3.0 335,038 5/16/2018
4.3.0-beta1 397 5/11/2018
4.2.3 3,374 5/15/2018
4.2.2 48,416 4/26/2018
4.2.1 50,091 4/15/2018
4.2.0 570 4/14/2018
4.1.3 132 5/15/2018
4.1.2 331 4/26/2018
4.1.1 40,308 4/4/2018
4.1.0 41,057 3/23/2018
4.1.0-beta1 350 3/16/2018
4.1.0-alpha1 682 2/26/2018
4.0.12 570,343 10/21/2017
4.0.11 116,587 9/20/2017
4.0.8 371,164 6/3/2017
4.0.7 52,359 5/19/2017
4.0.6 45,813 5/4/2017
4.0.3 51,198 4/19/2017
4.0.2 2,699 4/19/2017
4.0.0 81,538 3/31/2017
4.0.0-beta2 20,764 3/14/2017
4.0.0-beta1 3,266 2/19/2017
4.0.0-alpha3 3,359 1/8/2017
4.0.0-alpha2 772 12/30/2016
4.0.0-alpha1 960 11/25/2016
3.3.2 355,582 12/2/2016
3.3.1 18,752 11/23/2016
3.3.0 21,379 11/21/2016
3.3.0-beta2 630 11/10/2016
3.3.0-beta1 213 11/9/2016
3.3.0-alpha1 195 11/11/2016
3.2.7 79,372 11/3/2016
3.2.5 5,681 11/1/2016
3.2.4 16,722 10/26/2016
3.2.3 31,473 10/16/2016
3.2.2 142,110 8/26/2016
3.2.0 117,622 6/28/2016
3.2.0-beta2 239 6/28/2016
3.2.0-beta1 196 6/27/2016
3.2.0-alpha2 2,356 5/2/2016
3.1.5 86,820 5/22/2016
3.1.5-alpha3 180 5/22/2016
3.1.5-alpha2 172 5/22/2016
3.1.5-alpha1 174 5/18/2016
3.1.4 36,656 5/1/2016
3.1.3 40,978 4/12/2016
3.1.2 190,586 12/14/2015
3.1.2-alpha2 496 12/8/2015
3.1.2-alpha1 250 12/6/2015
3.1.1 62,745 11/23/2015
3.1.0 51,977 10/12/2015
3.0.7 1,150 10/10/2015
3.0.6 6,024 10/4/2015
3.0.5 36,979 9/3/2015
3.0.4 2,749 8/31/2015
3.0.3 2,242 8/27/2015
3.0.1 10,910 8/20/2015
3.0.0 6,135 8/18/2015
3.0.0-beta4 1,397 8/11/2015
3.0.0-beta3 298 8/3/2015
3.0.0-beta2 418 7/17/2015
3.0.0-beta1 1,107 6/28/2015
3.0.0-alpha2 298 6/21/2015
3.0.0-alpha1 332 6/14/2015
2.8.3 36,523 7/17/2015
2.8.1 1,577 7/16/2015
2.8.0 118,720 5/2/2015
2.8.0-beta5 205 5/3/2015
2.8.0-beta4 372 4/27/2015
2.8.0-beta3 213 4/26/2015
2.8.0-beta2 293 4/17/2015
2.8.0-beta1 508 4/9/2015
2.8.0-alpha1 263 4/5/2015
2.7.3 60,972 3/9/2015
2.7.3-alpha1 332 3/1/2015
2.7.2 23,863 2/12/2015
2.7.2-beta2 212 2/11/2015
2.7.2-beta1 236 2/10/2015
2.7.2-alpha2 210 2/12/2015
2.7.2-alpha1 204 2/10/2015
2.7.1 7,729 2/1/2015
2.7.1-alpha3 945 1/16/2015
2.7.1-alpha2 224 1/16/2015
2.7.1-alpha1 214 1/15/2015
2.7.0 7,162 1/15/2015
2.7.0-beta2 221 1/13/2015
2.7.0-beta1 1,158 11/12/2014
2.6.1 68,872 10/26/2014
2.6.0 6,391 10/14/2014
2.6.0-beta2 349 9/20/2014
2.6.0-beta1 1,792 8/30/2014
2.6.0-alpha2 602 8/17/2014
2.6.0-alpha1 227 8/17/2014
2.5.2 47,586 7/13/2014
2.5.0 50,623 3/2/2014
2.5.0-beta2 289 2/26/2014
2.5.0-beta1 296 2/9/2014
2.4.1 13,300 1/14/2014
2.4.0 8,314 12/8/2013
2.4.0-beta3 311 11/24/2013
2.4.0-beta2 357 11/5/2013
2.4.0-beta1 459 10/15/2013
2.4.0-alpha3 408 8/23/2013
2.4.0-alpha1 363 7/15/2013
2.3.6 8,573 10/21/2013
2.3.5 8,205 9/2/2013
2.3.2 381 8/31/2013
2.3.0 22,993 6/30/2013
2.3.0-beta2 274 6/20/2013
2.3.0-beta1 244 6/18/2013
2.2.3 6,278 5/4/2013
2.2.1 2,074 4/19/2013
2.2.0 1,077 4/8/2013
2.1.0 1,679 3/19/2013
2.0.2 3,744 3/10/2013
2.0.1 1,927 2/28/2013
2.0.0 2,356 2/25/2013
2.0.0-beta5 297 2/22/2013
2.0.0-beta4 285 2/17/2013
2.0.0-beta3 277 2/10/2013
2.0.0-beta2 267 2/8/2013
2.0.0-beta1 277 1/29/2013
2.0.0-alpha1 300 1/19/2013
1.6.0.12319 4,761 11/15/2012
1.5.0.12199 3,148 7/17/2012
1.4.2.12140 2,355 5/19/2012
1.4.0.12049 747 2/17/2012
1.3.0.11343 530 12/10/2011
1.2.0.11273 1,210 10/3/2011
Show less