All Versions
23
Latest Version
Avg Release Cycle
20 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v1.4.0 Changes
November 01, 2020โ Added
Iterate
method for lazy loaded iteration by all instances.
-
v1.3.1 Changes
November 01, 2020๐ Fixed
- ๐ Bug: Resolve type as interface causes type reinitialization.
-
v1.3.0 Changes
November 01, 2020๐ฅ 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 aname:"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
- ๐ฉ A bit of bad code
-
v1.2.1 Changes
May 29, 2020 -
v1.2.0 Changes
April 20, 2020โ Added
- Any type can be automatically resolved as a group.
- 0๏ธโฃ 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).
-
v1.1.0 Changes
April 15, 2020๐ฅ BREAKING CHANGES
- ๐ Changed
di.Parameter
todi.Inject
. - โ Remove
optional
support fromdi
tag. - โ Add
optional
tag. See this.
โ Added
- ๐ Support injection into constructor result struct via
di.Inject
.
- ๐ Changed
-
v1.0.2 Changes
March 22, 2020โ Added
- Location of
di.Provide()
,di.Invoke()
,di.Resolve()
in error.
๐ Fixed
- ๐ Fix:
di.As()
with nil causes panic
- Location of
-
v1.0.1 Changes
March 21, 2020๐ Fixed
container.Provide
could not be called after container compilation now.- ๐ Improve error messages.
-
v1.0.0 Changes
March 17, 2020๐ Initial v1.0.0.
-
v0.1.3 Changes
February 18, 2020๐ Improve docs, small fixes