Skip to content

posthog-v7.59.2

Choose a tag to compare

@github-actions github-actions released this 23 Sep 15:17
Immutable release. Only release title and notes can be modified.
4bd7520

Patch changes

  • edd5997 Return None for malformed, empty, or whitespace-only serialized JSON feature flag payloads instead of returning the raw string or raising a JSONDecodeError. Legacy bulk getters (get_all_flags_and_payloads, get_feature_flags_and_payloads, and get_feature_payloads) validate payloads but preserve valid serialized JSON for compatibility with callers using json.loads(). Single-flag and evaluate_flags() snapshot payload getters continue returning decoded values, including JSON strings (such as ""), false, and zero. Reject non-JSON constants such as NaN and Infinity and isolate decoder-limit failures so flag values and healthy sibling payloads remain available. — Thanks @marandaneto!