github PostHog/posthog-js posthog-js@1.356.0

one hour ago

1.356.0

Minor Changes

  • #3142 ec54fd8 Thanks @dmarticus! - Add feature_flag_cache_ttl_ms config to prevent stale flag values
    (2026-02-26)

Patch Changes

  • #3154 a47179c Thanks @slshults! - fix: Improve tablet device type detection when Chrome sends desktop-like UA strings

    Chrome on Android tablets defaults to "request desktop site" mode, sending a UA string
    indistinguishable from desktop Linux. This uses the Client Hints API (navigator.userAgentData.platform)
    and touch capability (navigator.maxTouchPoints) to correctly classify these devices as Tablet or Mobile
    when UA-based detection falls through to the Desktop default. (2026-02-26)

  • #3145 d741668 Thanks @dmarticus! - Adds a remote_config_refresh_interval_ms config option to control how often feature flags are automatically refreshed in long-running sessions.
    (2026-02-26)

  • Updated dependencies [ec54fd8, d741668]:

    • @posthog/types@1.356.0

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.