Packages

@posthog/types

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

Upgrading @posthog/types From 1.377.0 to 1.378.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 1.378.0

    1 Jun 20261 new
    • New

      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)

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.