@posthog/types
1.427.1 · 23 Nov 2026MIT38.9M / weekRepositorynpmAtom feed
283 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
1.378.0
1 Jun 2026persistence: Add
persistence_save_debounce_msconfig option to coalesce rapid storage saves into a single write. Setting a positive value debounces writes to localStorage/cookie by that window; the in-memorypropsobject still updates synchronously so within-tab reads see the latest values immediately, and pending writes flush onbeforeunloadandpagehideso no state is lost on tab close. Cross-tabstorageevents are reduced proportionally to the debounce window. Defaults to0(no debouncing) for backwards compatibility. On pages that capture many events per second,250is a reasonable starting point. The new2026-05-30config default opts intopersistence_save_debounce_ms: 250automatically.
(2026-06-01)
1.375.0
21 May 2026Add
flag_keysconfig to restrict browser feature flag remote evaluation to specific flag keys.
(2026-05-21)
1.374.4
21 May 20261.374.3
20 May 2026Enable $web_vitals reporting when cookieless mode is enabled
(2026-05-20)
1.374.0
18 May 2026Dead clicks: add a
.ph-no-deadclickCSS class (andcapture_dead_clicks.css_selector_ignorelistconfig option) to exclude specific elements from dead-click detection without affecting autocapture, session replay, or heatmaps. Mirrors the existing.ph-no-rageclickpattern.
(2026-05-18)
1.373.0
11 May 2026capture()now accepts an optionaluuidonCaptureOptions.
(2026-05-11)Skip remote config background refreshes when no document is available.
(2026-05-11)
1.371.3 – 1.372.1013 releases without a noteShow each
- 1.372.107 May 2026no note
- 1.372.95 May 2026no note
- 1.372.84 May 2026no note
- 1.372.74 May 2026no note
- 1.372.61 May 2026no note
- 1.372.529 Apr 2026no note
- 1.372.429 Apr 2026no note
- 1.372.327 Apr 2026no note
- 1.372.227 Apr 2026no note
- 1.372.124 Apr 2026no note
- 1.372.024 Apr 2026no note
- 1.371.424 Apr 2026no note
- 1.371.324 Apr 2026no note
1.371.2
23 Apr 2026Lift OTLP log serialization helpers from posthog-js into @posthog/core so the
upcoming React Native logs feature consumes the same builders. Browser gains
two fixes as a side effect: NaN and ±Infinity attribute values no longer get
silently dropped during JSON encoding, and the scope.version OTLP field is
now populated with the SDK version (changes the server's instrumentation_scope
column from "posthog-js@" to "posthog-js@<semver>"). (2026-04-23)
1.370.0
22 Apr 2026Add exception steps to error tracking (aka breadcrumbs)
(2026-04-22)
1.369.2
16 Apr 2026Add a preview flag for versioned browser lazy bundle asset paths.
(2026-04-16)
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.