Releases: z4kn4fein/stashbox
Releases · z4kn4fein/stashbox
Stashbox v5.5.3
Fixed
IsRegistered()
produced falsy results on requests with dynamically constructed string service names.
Stashbox v5.5.2
Fixed
Stashbox v5.5.1
Fixed
- During the resolution of an open generic service, the actual closed generic registration didn't inherit the registration options from the open generic registration.
Stashbox v5.5.0
Fixed
- Minor registration improvements.
Stashbox v5.4.3
Fixed
- Named resolution using
ResolveAll()
returns all named and unnamed instances disregarding theWithNamedDependencyResolutionForUnNamedRequests()
flag. #118
Stashbox v5.4.2
Fixed
- Name conflict on the service resolution delegates.
Changed
- Make the
name
parameter of theResolve()
functions nullable.
Stashbox v5.4.1
Fixed
- Type load exception when the library is being trimmed.
Stashbox v5.4.0
Changed
Resolve<IEnumerable<>>(name)
now returns each service that has the same name.
Added
ResolveAll(name)
that returns each service that has the same name.
Removed
- Obsolete
Resolve()
method with thenullResultAllowed
parameter, it was replaced byResolveOrDefault()
. - Each obsolete
ResolveFactory<>()
method as their functionality is equivalent toResolve<Func<>>()
. - Obsolete
.WithRuntimeCircularDependencyTracking()
container configuration option in favor of parameterized factory delegates.
Stashbox v5.3.0
Added
WithDynamicResolution()
registration option to indicate that the service's resolution should be handled by a dynamicResolve()
call on the currentIDependencyResolver
instead of a pre-built instantiation expression.- Support for resolving custom Delegate types alongside
Func<>
.
Stashbox v5.2.1
Fixed
- Consolidate
Resolve()
API, using method overloads instead of optional parameters.