Releases: uber-go/dig
Releases · uber-go/dig
v1.11.0
v1.10.0
v1.9.0
Added
- GraphViz visualization of the graph now includes names of packages next to
constructors. - Added a
flatten
modifier to group tags for slices to allow providing
individual elements instead of the slice for a group value. See package
doucmentation for more information.
Changed
- Drop library dependency on
golang.org/x/lint
. - Support printing multi-line error messages with
%+v
.
v1.8.0
v1.7.0
v1.6.0
v1.5.1
v1.5.0
v1.4.0
Added
- Added
Visualize
function to visualize the state of the container in the
GraphViz DOT format. This allows visualization of error types and the
dependency relationships of types in the container. - Added
CanVisualizeError
function to determine if an error can be visualized
in the graph. - Added
Name
option forProvide
to add named values to the container
without rewriting constructors. See package documentation for more
information.
Changed
name:"..."
tags on nested Result Objects will now cause errors instead of
being ignored.