releases.shpreview
LaunchDarkly/Go SDK/v5.0.0-beta.5

v5.0.0-beta.5

$npx -y @buildinternet/releases show rel_0R5-bfQgybO_sqYscXCaN

[5.0.0-beta.5] - 2020-08-10

A version was skipped because the 5.0.0-beta.4 tag had been applied to the wrong commit.

Added:

  • LDClient.WithEventsDisabled() is a decorator that allows you to temporarily turn off analytics events even if events are enabled in your configuration.
  • The object returned by AllFlagsState() can now be constructed (such as for testing purposes) with flagstate.NewAllFlagsBuilder().
  • In interfaces, LDClientInterface, LDClientEvaluations, and LDClientEvents are new interfaces describing the existing methods of LDClient. These may be useful for creating mocks in testing.

Changed:

  • Types related to LDClient.AllFlagsState() are now in the interfaces/flagstate package, and their names have changed as follows: FeatureFlagsState is now flagstate.AllFlags; ClientSideOnly is now flagstate.OptionClientSideOnly(); DetailsOnlyForTrackedFlags is now flagstate.OptionDetailsOnlyForTrackedFlags()`.

Fetched April 11, 2026