All Versions
24
Latest Version
Avg Release Cycle
79 days
Latest Release
737 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.4.0 Changes
June 12, 2017➕ Added
- ➕ Add
dig.In
embeddable type for advanced use-cases of specifying dependencies. - ➕ Add
dig.Out
embeddable type for advanced use-cases of constructors inserting types in the container. - ➕ Add support for optional parameters through
optional:"true"
tag ondig.In
objects. - ➕ Add support for value types and many built-ins (maps, slices, channels).
🔄 Changed
- [Breaking] Restrict the API surface to only
Provide
andInvoke
. - [Breaking] Update
Provide
method to accept variadic arguments.
✂ Removed
- [Breaking] Remove
Must*
funcs to greatly reduce API surface area. - Providing constructors with common returned types results in an error.
- ➕ Add
-
v0.3 Changes
May 02, 2017➕ Added
- ➕ Add functionality to
Provide
to support constructor withn
return objects to be resolved into thedig.Graph
- ➕ Add
Invoke
function to invoke provided function and insert return objects into thedig.Graph
🔄 Changed
- 📇 Rename
RegisterAll
andMustRegisterAll
toProvideAll
andMustProvideAll
.
- ➕ Add functionality to
-
v0.2 Changes
March 27, 2017🔄 Changed
- 📇 Rename
Register
toProvide
for clarity and to recude clash with other Register functions. - 📇 Rename
dig.Graph
todig.Container
.
✂ Removed
- ✂ Remove the package-level functions and the
DefaultGraph
.
- 📇 Rename
-
v0.1 Changes
March 23, 2017🎉 Initial release.
🚀 [Unreleased]: https://github.com/uber-go/dig/compare/v1.10.0...HEAD