Skip to content

posthog-node@5.47.5

Choose a tag to compare

@github-actions github-actions released this 03 Aug 09:00
Immutable release. Only release title and notes can be modified.
3e2e446

5.47.5

Patch Changes

  • #4155 eb0a793 Thanks @ATKasem! - fix: personProperties and groupProperties on the feature flag methods are no longer typed as Record<string, string>, so numeric and boolean values type-check without a cast. Local evaluation already handled them — matchProperty takes Record<string, any> and compares numerically for gt/gte/lt/lte — only the public types disagreed. These now use the shared Properties type (personProperties?: Properties, groupProperties?: Record<string, Properties>), matching setPersonPropertiesForFlags/setGroupPropertiesForFlags so the any can be narrowed later. Types only, no runtime change.
    (2026-08-03)
  • Updated dependencies [eb0a793]:
    • @posthog/core@1.46.3