Repository navigation
posthog-v7.83.0
Immutable
release. Only release title and notes can be modified.
Minor changes
- e094dc5 Request
/flags?v=4and read each flag's typed value, reason and metadata. They stay internal for now: this release adds no public methods, fields or types for them, andrepr, equality anddataclasses.asdictof a flag show only its existing fields. Servers that still send the older response keep working, and a flag record with a field of the wrong JSON type fails only that flag. For valid flag records, existing getters, callbacks and$feature_flag_calledproperties return the same values as before: a number or object value reads asTrue, with the value as its payload. Two things can differ: the human-readable reason text of a config version 2 flag is the one the server sends at v4, and a record with a known field of the wrong JSON type (for example a stringreason) now reads as a failed flag instead of being read anyway or failing the whole response. The SDK logs once per client when a server sends a response without typed values.FlagMetadata.idandFlagMetadata.versionareNonewhen a record has none, instead of0, so their type is nowOptional[int]. — Thanks @andehen!