DryIoc v4.1.0 Release Notes
Release Date: 2020-01-20 // over 4 years ago-
๐ v4.1.0 Feature release
Highlights
- ๐ Better memory use and massively improved performance for the real-world applications - big object graphs and the unit-of-work scenarios. See the updated benchmark results in [readme.md].(https://github.com/dadhi/DryIoc/blob/master/README.md#creating-the-container-registering-the-services-then-opening-a-scope-and-resolving-the-scoped-service-eg-controller-for-the-first-time))
- ๐ Improve parallelism / reduce thread blocking #137
- ๐ Full and fast DryIoc own Interpretation support via
Rules.WithUseInterpretation()
- useful for iOS and other platforms without compilation support #90 - โ Add DryIocZero capabilities to the DryIoc source package #101
- Copied DryIoc sample project from the MediatR but with DryIoc.Messages #117
๐ Features
- Interpretation only option #90
- โ Add RegisterDelegate with the list of dependencies to Inject and not to Resolve #147
- Lift restrictions for Scope disposal when using ambient ScopeContext #168
- ๐ FactoryDelegate wrapper support #191
- โ Add Rules.UseDecorateeReuseForDecorators #201
๐ Fixes
- Resolving a component for the second time throws #130
- ๐ป Stackoverflow exception #139
- ๐ Xamarin Forms iOS: Operation is not supported on this platform. #156
- DryIoc 4.0.5 withoutFastExpressionCompiler deadlock issue #157
- Rules.WithDependencyDepthToSplitObjectGraph is not propagated through most of
Rules.With
methods #163 - Rules.WithDependencyDepthToSplitObjectGraph was not applied in some cases with Decorators in graph #164
- Made.Of() Parameters don't follow Reuse setting #179
- ThreadScopeContext not working in DryIoc.dll 4.1.0-preview-02? #183
- ReflectionTools methods unexpectedly return static constructors #184
- Container creates multiple instances if TryInterpret fails #188
- Open-generic implementation may be wrongly considered for service with many type args #190
- DryIOC new Transient Disposable #192
- Private and public Constructors in generic classes #196
- ๐ Fix documentation regarding implicitly injected scope as IDisposable #197
- Open generics resolve fails if there is a static constructor #198
- ๐ป 4.1.0 Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. #205
- Avoid wasteful compilation of the same cached expression by multiple threads #208