You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add getFeatureFlagResult method to client (#455)
⚠️Warning: This version contains a crash when using setPersonProperties with non-JSON-serializable types like Date in properties. Please upgrade to the next version.
chore: support new surveys color options for ios+flutter (#440)
feat: support thumbs up/down surveys for ios (#437)
fix: Retain cached flags when quota limited (#438)
Renamed evaluationEnvironments to evaluationContexts for clearer semantics (#434). The term "contexts" better reflects that this feature is for specifying evaluation contexts (e.g., "web", "mobile", "checkout") rather than deployment environments (e.g., "staging", "production").
The API now sends evaluation_contexts instead of evaluation_environments to the server.
Deprecated
PostHogConfig.evaluationEnvironments is now deprecated in favor of PostHogConfig.evaluationContexts. The old property will continue to work and will print a deprecation warning. It will be removed in a future major version.
Migration Guide
// Before
config.evaluationEnvironments =["production","web","checkout"]
// After
config.evaluationContexts =["production","web","checkout"]
No immediate action required - existing code using evaluationEnvironments will continue to work with a deprecation warning.