Packages

@posthog/types

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

Upgrading @posthog/types From 1.420.0 to 1.421.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.420.0Newest 1.x, Latest1.427.1
  1. 1.420.0yours
  2. 1.421.0target
0
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 1.421.0

    5 Nov 20261 new
    • New

      metrics.histogram() accepts a bounds option that sets the histogram's bucket boundaries, and beforeSend sees and can change them. The first sample of a histogram (name and unit) fixes its bounds until the client resets. A later sample with different bounds is recorded in the fixed buckets and logs a warning, and a sample with invalid bounds is dropped. The experimental posthog.flags.request.duration histogram now uses the bounds [50, 75, 100, 150, 200, 300, 400, 500, 750, 1000, 1500, 2000, 3000, 5000, 10000] ms, so its p50 and p95 resolve between 50ms and 5s. This changes the metric's buckets, which its experimental status allows. (2026-11-05)

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.