v1.0.0-beta3
Pre-release
Pre-release
- [Breaking] Environment config provider was removed. If you were using
environment variables to override YAML values, see
config documentation for more information. - [Breaking] Simplify Provider interface: remove
Scopemethod from the
config.Providerinterface, one can use either ScopedProvider and Value.Get()
to access sub fields. - Add
task.MustRegisterconvenience function which fails fast by panicking
Note that this should only be used during app initialization, and is provided
to avoid repetetive error checking for services which register many tasks. - Expose options on task module to disable execution. This will allow users to
enqueue and consume tasks on different clusters. - [Breaking] Rename Backend interface
PublishtoEnqueue. Created a new
ExecuteAsyncmethod that will kick off workers to consume tasks and this is
subsumed by module Start. - [Breaking] Rename package
uhttp/clienttouhttp/uhttpclientfor clarity. - [Breaking] Rename
PopulateStructmethod in value toPopulate.
The method can now populate not only structs, but anything: slices,
maps, builtin types and maps. - [Breaking]
package dighas moved fromgo.uber.org/fx/digto a new home
atgo.uber.org/dig. - [Breaking] Pass a tracer the
uhttp/uhttpclientconstructor explicitly, instead
of using a global tracer. This will allow to use http client in parallel tests.