Releases: uber-go/fx
Releases · uber-go/fx
v1.12.0
v1.11.0
Added
- Value groups can use the
flatten
option to indicate values in a slice should
be provided individually rather than providing the slice itself. See package
documentation for details.
v1.10.0
v1.9.0
v1.8.0
v1.7.1
Fixed
- Make
fxtest.New
ensure that the app was created successfully. Previously,
it would return the app (similar tofx.New
, which expects the user to verify
the error). - Update dig container to defer acyclic validation until after Invoke. Application
startup time should improve proportional to the size of the dependency graph. - Fix a goroutine leak in
fxtest.Lifecycle
.
v1.7.0
v1.6.0
v1.5.0
v1.4.0
Add fx.Populate
to populate variables with values from the dependency injection container without requiring intermediate structs.