Releases: d3fvxl/di
Releases · d3fvxl/di
v1.6.2
Fixed
Fix di.As()
with several interfaces.
v1.6.1
Fixed
Removed debug print.
Documentation fixes.
v1.6.0
Changed
Changed logging interface. See di.SetTracer()
.
Fixed
Some documentation and test updates.
v1.5.0
Added
Fixed
Has()
returns false if container could not build instance.
Changed
The supported version of go >1.13.
v1.4.1
Fixed
Fix field injection into interface implementations.
v1.4.0
Added
Iterate
method for lazy loaded iteration by all instances.
v1.3.1
Fixed
Bug: Resolve type as interface causes type reinitialization.
v1.3.0: The release that doesn't deserve to be called `v2`
BREAKING CHANGES
Provide duplications allowed.
Removed tag di
. Now all public fields in injectable type will be injected.
Resolving node without tags, now returns all nodes of this type.
Now, di:"type_name"
is a name:"type_name"
.
Removed di.Prototype()
: bad practice.
Added
Tagging that allows specifying key value identity for types.
skip:"true"
field tag option, that skips field providing.
Fixed
v1.2.0
Added
Any type can be automatically resolved as a group.
The container exposes itself by default.
The only named type in the group will be resolved without a name.
Dependency graph can be edited in the runtime (but you need to be careful with this).
You can’t perform that action at this time.