Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 697 Bytes

CHANGELOG.md

File metadata and controls

9 lines (7 loc) · 697 Bytes

2.0.0 - 2022-08-15

Breaking changes:

  1. Minimum PostHog version requirement: 1.38
  2. 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.
  3. Feature flag functions take a payload called FeatureFlagPayload when a key is require and FeatureFlagPayloadNoKey when a key is not required. The payload will handle defaults for all unspecified arguments automatically.
  4. Feature Flag defaults have been removed. If the flag fails for any reason, nil will be returned.
  5. GetAllFlags argument added. This function returns all flags related to the id.