All Versions
24
Latest Version
Avg Release Cycle
79 days
Latest Release
192 days ago

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 on dig.In objects.
    • ➕ Add support for value types and many built-ins (maps, slices, channels).

    🔄 Changed

    • [Breaking] Restrict the API surface to only Provide and Invoke.
    • [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.
  • v0.3 Changes

    May 02, 2017

    ➕ Added

    • ➕ Add functionality to Provide to support constructor with n return objects to be resolved into the dig.Graph
    • ➕ Add Invoke function to invoke provided function and insert return objects into the dig.Graph

    🔄 Changed

    • 📇 Rename RegisterAll and MustRegisterAll to ProvideAll and MustProvideAll.
  • v0.2 Changes

    March 27, 2017

    🔄 Changed

    • 📇 Rename Register to Provide for clarity and to recude clash with other Register functions.
    • 📇 Rename dig.Graph to dig.Container.

    ✂ Removed

    • ✂ Remove the package-level functions and the DefaultGraph.
  • v0.1 Changes

    March 23, 2017

    🎉 Initial release.

    🚀 [Unreleased]: https://github.com/uber-go/dig/compare/v1.10.0...HEAD