All Versions
22
Latest Version
Avg Release Cycle
61 days
Latest Release
402 days ago

Changelog History
Page 1

  • v1.13.1 Changes

    August 19, 2020

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix minimum version constraint for dig. fx.ValidateGraph requires at least
      dig 1.10.
  • v1.13.0 Changes

    June 16, 2020

    โž• Added

    • โž• Added fx.ValidateGraph which allows graph cycle validation and dependency correctness
      without running anything. This is useful if fx.Invoke has side effects, does I/O, etc.
  • v1.12.0 Changes

    April 09, 2020

    โž• Added

    • โž• Added fx.Supply to provide externally created values to Fx containers
      ๐Ÿ— without building anonymous constructors.

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Drop library dependency on development tools.
  • v1.11.0 Changes

    April 01, 2020

    โž• 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 Changes

    November 20, 2019

    โž• Added

    • All fx.Options now include readable string representations.
    • Report stack traces when fx.Provide and fx.Invoke calls fail. This
      should make these errors more debuggable.

    ๐Ÿ”„ Changed

    • Migrated to Go modules.
  • v1.9.0 Changes

    January 22, 2019

    โž• Added

    • โž• Add the ability to shutdown Fx applications from inside the container. See
      ๐Ÿ“š the Shutdowner documentation for details.
    • โž• Add fx.Annotated to allow users to provide named values without creating a
      ๐Ÿ†• new constructor.
  • v1.8.0 Changes

    November 06, 2018

    โž• Added

    • Provide DOT graph of dependencies in the container.
  • v1.7.1 Changes

    September 26, 2018

    ๐Ÿ›  Fixed

    • โœ… Make fxtest.New ensure that the app was created successfully. Previously,
      it would return the app (similar to fx.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 Changes

    August 16, 2018

    โž• Added

    • โž• Add fx.ErrorHook option to allow users to provide ErrorHandlers on invoke
      failures.
    • VisualizeError returns the visualization wrapped in the error if available.
  • v1.6.0 Changes

    June 12, 2018

    โž• Added

    • โž• Add fx.Error option to short-circuit application startup.