github PostHog/posthog-js posthog-js@1.334.0

latest releases: posthog-js@1.334.1, @posthog/types@1.334.1, @posthog/nuxt@1.5.8...
11 hours ago

1.334.0

Minor Changes

  • #2802 f8c17bc Thanks @pauldambra! - feat: add external_scripts_inject_target config to control script injection location
    (2026-01-22)

Patch Changes

  • #2950 8543f0f Thanks @fuziontech! - fix(web-vitals): reduce memory leak in SPAs

    • Upgrade web-vitals from v4.2.4 to v5.1.0 (includes internal memory fixes from v5.0.3)
    • Remove duplicate observer creation on URL change

    Note: web-vitals has inherent memory accumulation in SPAs due to internal state.
    The v5 upgrade reduces this but doesn't fully eliminate it since web-vitals
    doesn't provide cleanup functions (Issue #629 was closed as "not planned"). (2026-01-22)

  • Updated dependencies []:

    • @posthog/types@1.334.0

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.