All Versions
Latest Version
Avg Release Cycle
78 days
Latest Release
123 days ago

Changelog History
Page 1

  • v1.13.0 Changes

    September 21, 2021

    โž• Added

    • ๐Ÿ‘ Introduce As option which supports providing a type as interface(s) it implements to the container.
    • โž• Add LocationForPC option which overrides the function inspection for a program counter address to a provided function info.
  • v1.12.0 Changes

    July 29, 2021

    โž• Added

    • ๐Ÿ‘Œ Support for ProvideInfo and FillProvideInfo that allow the caller of Provide to get info about what dig understood from the constructor.
  • v1.11.0 Changes

    June 09, 2021

    โž• Added

    • ๐Ÿ‘Œ Support unexported fields on dig.In structs with the ignore-unexported:"true struct tag.
  • v1.10.0 Changes

    June 16, 2020

    โž• Added

    • Introduce DryRun Option which, when set to true, disables invocation
      of functions supplied to Provide and Invoke. This option will be
      ๐Ÿ— used to build no-op containers, for example for fx.ValidateApp method.
  • v1.9.0 Changes

    March 31, 2020

    โž• 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
    • ๐Ÿ‘Œ Support printing multi-line error messages with %+v.
  • v1.8.0 Changes

    November 14, 2019

    ๐Ÿ”„ Changed

    • Migrated to Go modules.
  • v1.7.0 Changes

    January 04, 2019

    โž• Added

    • โž• Added Group option for Provide to add value groups to the container without
      ๐Ÿ‘€ rewriting constructors. See package doucmentation for more information.
  • v1.6.0 Changes

    November 06, 2018

    ๐Ÿ”„ Changed

    • When an error graph is visualized, the graph is pruned so that the graph only
      contains failure nodes.
    • Container visualization is now oriented from right to left.
  • v1.5.1 Changes

    November 01, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a test that was causing Dig to be unusable with Go Modules.
  • v1.5.0 Changes

    September 19, 2018

    โž• Added

    • โž• Added a DeferAcyclicVerification container option that defers graph cycle
      detection until the next Invoke.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved cycle-detection performance by 50x in certain degenerative cases.