Packages

@posthog/types

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

Your version

283 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.378.1 – 1.379.13 releases without a noteShow each
  2. 1.378.0

    1 Jun 2026
    • persistence: Add persistence_save_debounce_ms config option to coalesce rapid storage saves into a single write. Setting a positive value debounces writes to localStorage/cookie by that window; the in-memory props object still updates synchronously so within-tab reads see the latest values immediately, and pending writes flush on beforeunload and pagehide so no state is lost on tab close. Cross-tab storage events are reduced proportionally to the debounce window. Defaults to 0 (no debouncing) for backwards compatibility. On pages that capture many events per second, 250 is a reasonable starting point. The new 2026-05-30 config default opts into persistence_save_debounce_ms: 250 automatically.
      (2026-06-01)

  3. 1.376.0 – 1.377.08 releases without a noteShow each
  4. 1.375.0

    21 May 2026
    • Add flag_keys config to restrict browser feature flag remote evaluation to specific flag keys.
      (2026-05-21)

  5. 1.374.4

    21 May 2026
  6. 1.374.3

    20 May 2026
    • Enable $web_vitals reporting when cookieless mode is enabled
      (2026-05-20)

  7. 1.374.1 – 1.374.22 releases without a noteShow each
  8. 1.374.0

    18 May 2026
    • Dead clicks: add a .ph-no-deadclick CSS class (and capture_dead_clicks.css_selector_ignorelist config option) to exclude specific elements from dead-click detection without affecting autocapture, session replay, or heatmaps. Mirrors the existing .ph-no-rageclick pattern.
      (2026-05-18)

  9. 1.373.1 – 1.373.55 releases without a noteShow each
  10. 1.373.0

    11 May 2026
    • capture() now accepts an optional uuid on CaptureOptions.
      (2026-05-11)

    • Skip remote config background refreshes when no document is available.
      (2026-05-11)

  11. 1.371.3 – 1.372.1013 releases without a noteShow each
  12. 1.371.2

    23 Apr 2026
    • Lift 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)

  13. 1.370.1 – 1.371.13 releases with no change for you1 maintenance, 2 without a noteShow each
  14. 1.370.0

    22 Apr 2026
    • Add exception steps to error tracking (aka breadcrumbs)
      (2026-04-22)

  15. 1.369.3 – 1.369.53 releases without a noteShow each
  16. 1.369.2

    16 Apr 2026
    • Add a preview flag for versioned browser lazy bundle asset paths.
      (2026-04-16)

  17. 1.368.1 – 1.369.14 releases without a noteShow each

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.