Skip to content

Releases: seesharper/LightInject

v7.0.0

06 Nov 23:27
818b50b
Compare
Choose a tag to compare

Change Log

v7.0.0 (11/06/2024)

Full Changelog

Merged Pull Requests

Master (08/12/2023) #591 (oliverscode)

Fix test code errors
Fix typo in readme.md (08/15/2023) #592 (tompazourek)

Added compatibility with Microsoft.Extensions.DependencyInjection for keyed services. (11/06/2024) #599 (seesharper)

This PR adds the EnableMicrosoftCompatibility option which makes LightInject compatible with Microsoft.Extensions.DependencyInjection.

This includes support for keyed services which is now part of Microsoft.Extensions.DependencyInjection
Use Net8 and bumped all deps (11/06/2024) #601 (seesharper)

Closed Issues

  • CanGetInstance throws System.ArgumentNullException when called with an unregistered serviceType and null serviceName (04/09/2024) #578 (mesakomarevich)

v6.6.4

08 May 21:37
db65698
Compare
Choose a tag to compare

Change Log

v6.6.4 (05/08/2023)

Full Changelog

Merged Pull Requests

Update LightInject.cs (01/01/2023) #584 (haavamoa)

Bugfix in GenericTypeMapper (05/08/2023) #588 (seesharper)

This PR fixes a bug that caused the GenericTypeMapper to return multiple candidates even if only one of the candidates actually implemented the requested service
Bump version number and dependencies (05/08/2023) #589 (seesharper)

Closed Issues

  • MissingMethodException - ASP.NET Core 2.1 Application Running Under .NET Full Framework (01/05/2023) #585 (bt-Knodel)

v6.6.3

31 Dec 19:48
3bde539
Compare
Choose a tag to compare

Change Log

v6.6.3 (12/31/2022)

Full Changelog

Merged Pull Requests

Call Completed handler on Dispose and DisposeAsync (12/31/2022) #583 (seesharper)

v6.6.2

29 Dec 23:58
13624c8
Compare
Choose a tag to compare

Change Log

v6.6.2 (12/29/2022)

Full Changelog

Merged Pull Requests

Added decorator test to prove that we can return without recorating (10/03/2022) #576 (seesharper)

Fixed issue #578 by setting serviceName to string.Empty if no registrations for the specified serviceType are found. (10/23/2022) #579 (mesakomarevich)

Fixed issue #578 and updated the unit tests that call CanGetInstance to cover null, empty, and whitespace values for the serviceName argument.
Bugfix dispose decorators as singleton (12/29/2022) #582 (seesharper)

Closed Issues

v6.6.1

19 Sep 22:47
78ac7b1
Compare
Choose a tag to compare

Change Log

v6.6.1 (09/19/2022)

Full Changelog

Merged Pull Requests

Only compile with asyncdisposable for netcoreapp3.1 and above (09/19/2022) #574 (seesharper)

This PR enables support for IAsyncDisposable ONLY for netcoreapp3.1 and above
Bumped to 6.6.1 (09/19/2022) #575 (seesharper)

Closed Issues

v6.6.0

19 Sep 13:04
373ccce
Compare
Choose a tag to compare

Change Log

v6.6.0 (09/12/2022)

Full Changelog

Merged Pull Requests

Disable nullable explicitly (09/12/2022) #572 (Pliner)

Hey,

We use LightInject(a source code package) as a built-in container for EasyNetQ.

We started a migration to Nullable Reference Types recently and observed build warnings because LightInject doesn't support them(and this is fine).

image

Could you consider adding #nullable disable pragma? It looks like the simplest way how these warnings could be suppressed.

Anyway, thanks for LightInject 🚀
Asyncdisposable (09/12/2022) #573 (seesharper)

This PR adds support for IAsyncDisposable

v6.5.2

09 Sep 15:07
26aac32
Compare
Choose a tag to compare

Change Log

v6.5.2 (09/09/2022)

Full Changelog

Merged Pull Requests

Use UnderlyingSystemType for MakeGenericMethod (09/09/2022) #571 (seesharper)

khellang/Scrutor#175

v6.5.1

24 Aug 20:13
58f3060
Compare
Choose a tag to compare

Change Log

v6.5.1 (08/24/2022)

Full Changelog

Merged Pull Requests

Updated a ServiceContainer constructor to include the OptimizeForLarg… (08/24/2022) #570 (sirphilliptubell)

Updated a ServiceContainer constructor to include the OptimizeForLargeObjectGraphs setting + version bump

#561

Closed Issues

v6.5.0

16 Aug 12:51
a71b2a6
Compare
Choose a tag to compare

Change Log

v6.5.0 (08/16/2022)

Full Changelog

Merged Pull Requests

Move til ILVerifier and set NETSTANDARD2.0 as the minimum requirement (08/11/2022) #564 (seesharper)

Use value tuples for the key instead of Tuple to safe allocations (07/24/2022) #566 (danielmarbach)

Feature/optimize for large object graphs (transients) (08/16/2022) #567 (seesharper)

This PR adds a new option called OptimizeForLargeObjectGraphs that favors objects graphs with a large number of transient services.
Bumped version to 6.5.0 (08/16/2022) #568 (seesharper)

v6.4.1

08 Feb 11:08
05396e3
Compare
Choose a tag to compare

Change Log

v6.4.1 (2/8/2022)

Full Changelog

Merged Pull Requests

Bugfix - Dispose singletons in the correct order (2/7/2022) #557 (seesharper)

This PR fixes #556
Update appveyor image (2/7/2022) #562 (seesharper)

Fixed NuGet API Key (2/8/2022) #563 (seesharper)

Closed Issues

  • High memory usage for unit tests (11/17/2020) #548 (ArnaudB88)
  • Retrieve instance from scope (11/6/2020) #549 (ArnaudB88)
  • No parameterless constructor exception when using annotations? (1/14/2021) #550 (aggiehorns)
  • RegisterAssembly duplicates services registrations (3/10/2021) #554 (DmitriyPahovskiy)
  • Dispose order with function factories (2/7/2022) #556 (toserk)