Releases: seesharper/LightInject
v7.0.0
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
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
v6.6.3
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
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
- Encountering IAsyncDisposable Error (10/11/2022) #577 (Mike-E-angelo)
v6.6.1
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
IAsyncDisposable
Support? (09/19/2022) #560 (Mike-E-angelo)- Stack overflow on v6.3.5+ (09/19/2022) #561 (sirphilliptubell)
v6.6.0
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).
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
Change Log
v6.5.2 (09/09/2022)
Full Changelog
Merged Pull Requests
Use UnderlyingSystemType for MakeGenericMethod (09/09/2022) #571 (seesharper)
v6.5.1
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
Closed Issues
- Unable to resolve type IServer (08/24/2022) #569 (mateuszanatta)
v6.5.0
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
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)