Packages

posthog-js

1.450.1 · 17 Nov 2026(Apache-2.0 AND MIT)28.2M / weekRepositoryHomepagenpmAtom feed

Upgrading posthog-js From 1.445.3 to 1.450.1

29 releases in betweenevery note read

Other targets from 1.445.3Newest 1.x1.454.2
  1. 1.445.3yours
  2. 28 releases
  3. 1.450.1target
0
changes to make
0
advisories fixed
6
new
29
fixes

Release by release

  1. 1.450.1

    17 Nov 20261 fix
    • Fixed

      Send base64 beacon bodies as bare text/plain so /i/v0/e/ accepts page-unload events when gzip compression is disabled or unavailable (2026-11-17)

  2. 1.450.0

    15 Nov 20261 new
    • New

      Treat failed flag evaluations as unavailable: Node getFeatureFlag()/isFeatureEnabled() return undefined, getAllFlags() omits failed keys, and no failed values or payloads are exposed. (2026-11-15)

  3. 1.449.2

    14 Nov 20261 fix
    • Fixed

      record: Throttle scroll events per element, so a resting scroll offset is no longer dropped when another element scrolls in the same 100ms window (e.g. Silk sheets on Safari before 26.2, which has no scrollend). (2026-11-14)

  4. 1.449.1nothing new or fixed in the note

  5. 1.449.0

    13 Nov 20261 new
    • New

      When the experimental metrics.flags option is on, the browser SDK splits each /flags attempt that gets a response into three histograms with the same attributes as posthog.flags.request.duration. posthog.flags.request.pre_send_duration runs from dispatch until the request starts, which includes body compression. posthog.flags.request.network_duration runs from the request start until the last byte of the response arrives, taken from the request's Resource Timing entry. posthog.flags.request.main_thread_duration runs from that last byte until the SDK's callback runs, which includes reading and parsing the response body. The three add up to the total. An attempt records them only when the browser reports its Resource Timing entry within 5 seconds of the callback and that entry can't belong to another /flags request that this copy of the SDK sends to the same URL, so it may record the total without them. posthog.flags.request.duration is unchanged. The option, the metric names, and their attributes may change or be removed in any release. (2026-11-13)

  6. 1.448.0

    13 Nov 20261 new
    • New

      Add trace_propagation_targets: an opt-in allowlist of hostnames or origins that receive a W3C traceparent header on fetch and XMLHttpRequest requests, so backend traces can continue from the browser. Unlisted hosts never get the header, and a traceparent set by the app or by OpenTelemetry instrumentation is never overwritten or duplicated. (2026-11-13)

  7. 1.447.15

    12 Nov 20261 fix
    • Fixed

      Fix dropdown selection masking without changing custom multiselect behavior. (2026-11-12)

  8. 1.447.14

    12 Nov 20261 fix
    • Fixed

      Fix dropdown replay updates and blocked-value leaks, and preserve custom mask passthrough. (2026-11-12)

18 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.