Skip to content

posthog-v7.82.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 14:36
Immutable release. Only release title and notes can be modified.
b6f8eaf

Minor changes

  • b10c38a Add a per-read send_feature_flag_events option to FeatureFlagEvaluations.is_enabled() and get_flag(). Pass send_feature_flag_events=False to read a flag from an evaluate_flags() snapshot without sending $feature_flag_called. The read leaves the dedupe cache alone, so a later read that sends events still reports the flag, and the key still counts as accessed for only_accessed(). The option defaults to True, as on get_feature_flag(). — Thanks @andehen!

Patch changes

  • e24100b Add $feature_flag_id and $feature_flag_version to $feature_flag_called events for locally evaluated flags in get_feature_flag(), feature_enabled() and get_feature_flag_result(), and $feature_flag_version for locally evaluated flags in evaluate_flags(), taken from the flag definition. Remotely evaluated flags already sent both. — Thanks @andehen!