All Versions
21
Latest Version
Avg Release Cycle
79 days
Latest Release
52 days ago

Changelog History
Page 1

  • 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 golang.org/x/lint.
    • ๐Ÿ‘Œ 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.
  • v1.4.0 Changes

    August 16, 2018

    โž• 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 for Provide 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.