4.4.0
[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
andldfilewatch
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.