All Versions
31
Latest Version
Avg Release Cycle
98 days
Latest Release
849 days ago

Changelog History
Page 2

  • 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.
  • v1.5.0 Changes

    April 11, 2018

    ➕ Added

    • ➕ Add fx.StartTimeout and fx.StopTimeout to make configuring application start and stop timeouts easier.
    • 0️⃣ Export the default start and stop timeout as fx.DefaultTimeout.

    🛠 Fixed

    • ✅ Make fxtest respect the application's start and stop timeouts.