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 new1 fixed2 internal
Release note
Minor Changes
Add the experimental
metrics.flagsoption. When it is on, the browser SDK records the round trip of every/flagsHTTP attempt as the histogramposthog.flags.request.duration, with the server host, the response status or error type, and the browser's timezone as attributes. The option, the metric name, and its attributes may change or be removed in any release.
(2026-11-04)
Patch Changes
posthog.metricsdrops a counter, gauge, or histogram recorded afterposthog.shutdown(). A late sample no longer restarts the metrics flush timer.
(2026-11-04)
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.