github PostHog/posthog-js posthog-js@1.374.4

latest releases: @posthog/next@0.4.60, @posthog/convex@1.0.4, @posthog/nuxt@1.7.39...
5 hours ago

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

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.