Packages

posthog-node

6.0.5 · 19 Nov 2026MIT23.9M / weekRepositorynpmAtom feed

Upgrading posthog-node From 5.40.0 to 5.41.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.40.0Newest 5.x5.74.0Latest6.0.5
  1. 5.40.0yours
  2. 5.41.0target
0
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 5.41.0

    11 Jul 20261 new
    • New

      Add opt-in Capture V1 support. Set the POSTHOG_CAPTURE_MODE=v1 environment variable to submit analytics events to the Capture V1 endpoint (/i/v1/analytics/events) instead of the legacy /batch/ endpoint, on both the batched and immediate send paths. The default remains v0, so existing behavior is unchanged unless you opt in. Opt-in is env-var-only during the transition (no public option), so nothing on the API surface has to be removed when v1 later becomes the default.

1 internal line (docs, tests, tooling) left out.

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.