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.

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.0.11 1,657 9/20/2017
4.0.8 106,508 6/3/2017
4.0.7 24,919 5/19/2017
4.0.6 23,845 5/4/2017
4.0.3 19,075 4/19/2017
4.0.2 1,981 4/19/2017
4.0.0 33,907 3/31/2017
4.0.0-beta2 9,771 3/14/2017
4.0.0-beta1 2,468 2/19/2017
4.0.0-alpha3 2,672 1/8/2017
4.0.0-alpha2 578 12/30/2016
4.0.0-alpha1 686 11/25/2016
3.3.2 181,164 12/2/2016
3.3.1 14,631 11/23/2016
3.3.0 14,965 11/21/2016
3.3.0-beta2 527 11/10/2016
3.3.0-beta1 120 11/9/2016
3.3.0-alpha1 101 11/11/2016
3.2.7 45,077 11/3/2016
3.2.5 4,913 11/1/2016
3.2.4 11,491 10/26/2016
3.2.3 22,264 10/16/2016
3.2.2 88,854 8/26/2016
3.2.0 79,731 6/28/2016
3.2.0-beta2 142 6/28/2016
3.2.0-beta1 121 6/27/2016
3.2.0-alpha2 1,762 5/2/2016
3.1.5 62,609 5/22/2016
3.1.5-alpha3 114 5/22/2016
3.1.5-alpha2 107 5/22/2016
3.1.5-alpha1 106 5/18/2016
3.1.4 26,228 5/1/2016
3.1.3 34,766 4/12/2016
3.1.2 121,833 12/14/2015
3.1.2-alpha2 403 12/8/2015
3.1.2-alpha1 161 12/6/2015
3.1.1 (current version) 46,721 11/23/2015
3.1.0 41,713 10/12/2015
3.0.7 1,034 10/10/2015
3.0.6 4,738 10/4/2015
3.0.5 24,674 9/3/2015
3.0.4 2,549 8/31/2015
3.0.3 2,042 8/27/2015
3.0.1 9,998 8/20/2015
3.0.0 3,795 8/18/2015
3.0.0-beta4 1,316 8/11/2015
3.0.0-beta3 224 8/3/2015
3.0.0-beta2 344 7/17/2015
3.0.0-beta1 1,028 6/28/2015
3.0.0-alpha2 224 6/21/2015
3.0.0-alpha1 238 6/14/2015
2.8.3 24,437 7/17/2015
2.8.1 1,310 7/16/2015
2.8.0 84,988 5/2/2015
2.8.0-beta5 132 5/3/2015
2.8.0-beta4 299 4/27/2015
2.8.0-beta3 142 4/26/2015
2.8.0-beta2 218 4/17/2015
2.8.0-beta1 402 4/9/2015
2.8.0-alpha1 188 4/5/2015
2.7.3 50,614 3/9/2015
2.7.3-alpha1 252 3/1/2015
2.7.2 20,160 2/12/2015
2.7.2-beta2 136 2/11/2015
2.7.2-beta1 160 2/10/2015
2.7.2-alpha2 131 2/12/2015
2.7.2-alpha1 129 2/10/2015
2.7.1 6,370 2/1/2015
2.7.1-alpha3 838 1/16/2015
2.7.1-alpha2 150 1/16/2015
2.7.1-alpha1 139 1/15/2015
2.7.0 6,196 1/15/2015
2.7.0-beta2 148 1/13/2015
2.7.0-beta1 1,078 11/12/2014
2.6.1 54,593 10/26/2014
2.6.0 5,540 10/14/2014
2.6.0-beta2 271 9/20/2014
2.6.0-beta1 1,681 8/30/2014
2.6.0-alpha2 518 8/17/2014
2.6.0-alpha1 149 8/17/2014
2.5.2 41,928 7/13/2014
2.5.0 42,831 3/2/2014
2.5.0-beta2 200 2/26/2014
2.5.0-beta1 215 2/9/2014
2.4.1 12,305 1/14/2014
2.4.0 7,759 12/8/2013
2.4.0-beta3 221 11/24/2013
2.4.0-beta2 272 11/5/2013
2.4.0-beta1 371 10/15/2013
2.4.0-alpha3 317 8/23/2013
2.4.0-alpha1 273 7/15/2013
2.3.6 7,785 10/21/2013
2.3.5 7,863 9/2/2013
2.3.2 285 8/31/2013
2.3.0 20,505 6/30/2013
2.3.0-beta2 184 6/20/2013
2.3.0-beta1 152 6/18/2013
2.2.3 5,525 5/4/2013
2.2.1 1,922 4/19/2013
2.2.0 943 4/8/2013
2.1.0 1,441 3/19/2013
2.0.2 2,060 3/10/2013
2.0.1 1,776 2/28/2013
2.0.0 1,962 2/25/2013
2.0.0-beta5 203 2/22/2013
2.0.0-beta4 190 2/17/2013
2.0.0-beta3 185 2/10/2013
2.0.0-beta2 173 2/8/2013
2.0.0-beta1 182 1/29/2013
2.0.0-alpha1 205 1/19/2013
1.6.0.12319 4,345 11/15/2012
1.5.0.12199 1,859 7/17/2012
1.4.2.12140 1,951 5/19/2012
1.4.0.12049 601 2/17/2012
1.3.0.11343 363 12/10/2011
1.2.0.11273 983 10/3/2011
Show less