Breaking changes:
- Minimum PostHog version requirement: 1.38
- Local Evaluation added to IsFeatureEnabled and GetFeatureFlag. These functions now accept person and group properties arguments. The arguments will be used to locally evaluate relevant feature flags.
- Feature flag functions take a payload called
FeatureFlagPayload
when a key is require andFeatureFlagPayloadNoKey
when a key is not required. The payload will handle defaults for all unspecified arguments automatically. - Feature Flag defaults have been removed. If the flag fails for any reason, nil will be returned.
- GetAllFlags argument added. This function returns all flags related to the id.