Repository navigation
4.19.0
Immutable
release. Only release title and notes can be modified.
4.19.0
Minor Changes
-
Report the flags local evaluation could not resolve on
evaluateFlags()snapshots.FeatureFlagEvaluations::getUnresolvedFlags()maps each such flag key to anUnresolvedFlagReasonvalue:experience_continuity,unsupported_definition,unresolved_dependencyormissing_context.Behavior changes:
- A condition with a filter that local evaluation cannot check and a filter that does not match now resolves locally as no match. An inconclusive flag dependency in one condition no longer stops a later condition from resolving the flag. So a flag that went to the server before can now resolve locally. A dependency that needs server data, such as a static cohort, still sends the flag to the server.
- An inactive flag with experience continuity enabled now resolves to
falselocally instead of going to the server. - A flag that depends on a flag with experience continuity enabled no longer resolves locally. It goes to the server, or stays unresolved with
onlyEvaluateLocally. - A malformed date in a flag filter or a person property now makes its condition inconclusive, like other malformed values, instead of failing local evaluation of the whole flag.
$feature_flag_calledevents from snapshot reads of unresolved flags reportlocal_evaluation_inconclusiveinstead offlag_missing.- When a fresh flag definitions response (HTTP 200) loads, the SDK logs a warning, also with
debugoff, that names the flags local evaluation can never resolve: flags with experience continuity, and flags that use a static cohort, an unknown operator, a malformed value, or a missing or circular dependency. Each flag is warned about once per client until its definition changes. Definitions from a cache provider or a 304 response do not log the warning. Without aflag_definition_cache_provider, each new client fetches fresh definitions, so under PHP-FPM the warning is logged on every request. Configure a cache provider to log it only when definitions are fetched.