Packages

@posthog/types

1.427.1 · 23 Nov 2026MIT38.9M / weekRepositorynpmAtom feed

Upgrading @posthog/types From 1.425.0 to 1.425.1

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.425.0Newest 1.x, Latest1.427.1
  1. 1.425.0yours
  2. 1.425.1target
0
changes to make
0
advisories fixed
0
new
1
fix

Release by release

  1. 1.425.1

    13 Nov 20261 fix
    • Fixed

      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)

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.