Skip to content

v1.22.0

Latest
Compare
Choose a tag to compare
@JacobOaks JacobOaks released this 30 May 14:39
· 1 commit to master since this release
e6a361e

Added

  • Add fx.Self which can be passed to the fx.As annotation to signify
    that a type should be provided as itself.
  • Add fxtest.EnforceTimeout that can be passed to fxtest.NewLifecycle
    to force Start and Stop to return context errors when hook context expires.

Changed

  • fx.Private can now be used with fx.Supply.

Fixed

  • Fx apps will no longer listen to OS signals when they are stopped,
    solving blocking issues in programs that depended on OS signals
    after an Fx app stops.

Thank you @MarcoPolo for your contribution to the release.