chore: Bump Pure.DI from 2.4.3 to 2.5.0#104
Conversation
--- updated-dependencies: - dependency-name: Pure.DI dependency-version: 2.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
🚀 Benchmark ResultsDetails
Details
Details
|
…#104) by dependabot[bot]
…#104) by dependabot[bot]
Updated Pure.DI from 2.4.3 to 2.5.0.
Release notes
Sourced from Pure.DI's releases.
2.5.0
❗ Breaking Changes
[Bind]Member Exports Renamed to[Export]— The attribute used to expose fields, properties, and methods as bindings is nowExportAttribute.[Bind]usage with[Export].BindAttributenow represents implementation-level bindings.RootKinds.Exportedinstead ofRootKinds.Exposed.🚀 New Features
Implementation-Level Binding Attributes — Pure.DI can now discover bindings declared directly on implementation types.
[Bind(typeof(IContract), Lifetime.Singleton, "tag")]to declare contract, lifetime, and tags on a class or struct.Type,Tag, and newLifetimeattributes can now participate in implementation binding metadata.Bindattribute groups on the same implementation create separate bindings.typeof(IBox<TT>)are supported for generic implementations.readme/bind-attribute.md.Custom Binding Attributes
TypeAttribute<T>(),TagAttribute<T>(), and the newLifetimeAttribute<T>()allow Pure.DI to read contract, tag, and lifetime metadata from custom attribute constructor arguments.readme/custom-bind-attribute.md.Export Attribute for Member-Based Bindings
ExportAttributereplaces member-levelBindAttributefor fields, properties, and methods.readme/export-attribute.md.🛠 Improvements
Binding Metadata Validation
Documentation and Usage Scenarios
Full Changelog: DevTeam/Pure.DI@2.4.3...2.5.0
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)