github PostHog/posthog-js posthog-js@1.376.2

latest releases: @posthog/ai@7.19.4, posthog-node@5.35.4, posthog-react-native@4.45.16...
4 hours ago

1.376.2

Patch Changes

  • #3667 cafa9cc Thanks @pauldambra! - fix(replay): stop polling preload-as-style <link> elements forever. Session recorder treated <link rel="preload" as="style" href="*.css"> as if it were a stylesheet and waited for link.sheet to populate. Per spec preload links never instantiate a CSSStyleSheet, so the wait timed out, re-serialized the link, scheduled another wait, and leaked a load listener on every cycle — multiplying further on every real load event. Pages with Next.js-style CSS preloads accumulated thousands of active polling chains, saturating the main thread and freezing the tab on refocus
    (2026-05-26)
  • Updated dependencies []:
    • @posthog/types@1.376.2
    • @posthog/core@1.29.11

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.