Skip to content

posthog-react-native@4.59.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 18:17
Immutable release. Only release title and notes can be modified.
434a06d

4.59.0

Minor Changes

  • #4222 0f2407b Thanks @turnipdabeets! - feat: add a default-value option to isFeatureEnabled

    isFeatureEnabled(key, { defaultValue: false }) now returns the given default when the flag has no value — flags not loaded yet, or no flag with that key — and the return type narrows to boolean. The option name is the same in posthog-js, posthog-js-lite, and posthog-react-native. Without defaultValue, behavior is unchanged: boolean | undefined. (2026-07-22)

Patch Changes

  • Updated dependencies [0f2407b]:
    • @posthog/core@1.45.0
    • @posthog/types@1.398.0