5.0.0-beta.5
Pre-release
Pre-release
[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) withflagstate.NewAllFlagsBuilder()
. - In
interfaces
,LDClientInterface
,LDClientEvaluations
, andLDClientEvents
are new interfaces describing the existing methods ofLDClient
. These may be useful for creating mocks in testing.
Changed:
- Types related to
LDClient.AllFlagsState()
are now in theinterfaces/flagstate
package, and their names have changed as follows:FeatureFlagsState
is nowflagstate.AllFlags
;ClientSideOnly
is nowflagstate.OptionClientSideOnly()
;DetailsOnlyForTrackedFlags is now
flagstate.OptionDetailsOnlyForTrackedFlags()`.