Skip to content

v5.2.0

Compare
Choose a tag to compare
@seesharper seesharper released this 28 Sep 10:41
· 266 commits to master since this release
0583af7

Change Log

v5.2.0 (9/28/2018)

Full Changelog

Merged Pull Requests

Lazy with named services (9/12/2018) #443 (seesharper)

Fixes #427 by using the service name when resolving the underlying value for Lazy<T>
Add convenience register extension methods (9/13/2018) #446 (seesharper)

Adds support for RegisterTransient, RegisterScoped and RegisterSingleton .

This means that we can do

container.RegisterScoped<IFoo, Foo>();

instead of

container.Register<IFoo, Foo>(new PerScopeLifetime());

Default to PerLogicalCallContextScopeManagerProvider (9/27/2018) #450 (0xced)

On target frameworks where it’s available, default to using PerLogicalCallContextScopeManagerProvider instead of PerThreadScopeManagerProvider.

See also #153.
Added non-generic object factory (9/28/2018) #453 (seesharper)

version 5.2.0 (9/28/2018) #454 (seesharper)

Closed Issues

  • Remove PCL build and simplify target frameworks (9/14/2018) #318 (seesharper)
  • Lazy is not working with named service (9/12/2018) #427 (VishmayS)
  • Recursive dependency testing (9/17/2018) #428 (kemsky)
  • How to provide one of several constructor dependencies from a factory method? (9/14/2018) #435 (vegar)
  • Add extension methods for lifetime registration (9/13/2018) #444 (seesharper)
  • After add fluentvalidation lightinject stops registering some types, for example BinderParameter (9/13/2018) #445 (Merdok94)
  • Add non-generic object factory (9/28/2018) #452 (seesharper)