Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

4.4.0

Compare
Choose a tag to compare
@LaunchDarklyCI LaunchDarklyCI released this 30 Oct 21:56
· 25 commits to v4 since this release

[4.4.0] - 2018-10-30

Added:

  • It is now possible to inject feature flags into the client from local JSON or YAML files, replacing the normal LaunchDarkly connection. This would typically be for testing purposes. See the ldfiledata and ldfilewatch subpackages.

  • The AllFlagsState method now accepts a new option, DetailsOnlyForTrackedFlags, which reduces the size of the JSON representation of the flag state by omitting some metadata. Specifically, it omits any data that is normally used for generating detailed evaluation events if a flag does not have event tracking or debugging turned on.

Fixed:

  • JSON data from AllFlagsState is now slightly smaller even if you do not use the new option described above, because it completely omits the flag property for event tracking unless that property is true.

  • Evaluating a prerequisite feature flag did not produce an analytics event if the prerequisite flag was off.