releases.shpreview
PostHog/PostHog JS/posthog-js@1.374.4

posthog-js@1.374.4

May 21, 2026PostHog JSView original ↗3 fixes

1.374.4

Patch Changes

  • #3638 87e2145 Thanks @marandaneto! - Apply tracing headers to matching XMLHttpRequest requests (2026-05-21)

  • #3646 4f87827 Thanks @marandaneto! - Avoid throwing or initializing PostHogProvider when no API key or client is provided (2026-05-21)

  • #3645 280832b Thanks @TueHaulund! - Capture <link rel="stylesheet"> URLs from link.sheet.href and try link.sheet directly for inlining, so recordings survive SPA history.pushState navigations between routes of different path depths (where link.href re-resolves against a new baseURI but link.sheet.href preserves the URL the browser actually fetched).

    Ships the fix landed in #3635, which only bumped the internal @posthog/rrweb-snapshot package — that package is bundled into posthog-js at build time but is not published to npm on its own, so a posthog-js bump is needed to actually deliver the change. (2026-05-21)

  • Updated dependencies []:

    • @posthog/types@1.374.4
    • @posthog/core@1.29.7

Fetched May 21, 2026