posthog-js
1.450.1 · 17 Nov 2026(Apache-2.0 AND MIT)28.2M / weekRepositoryHomepagenpmAtom feed
1.454.2 is the newest release of 1.x.
In short
1 new3 internal
Release note
Minor Changes
metrics.histogram()accepts aboundsoption that sets the histogram's bucket boundaries, andbeforeSendsees 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 experimentalposthog.flags.request.durationhistogram 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.