Packages

posthog-node

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

Your version

5.73.0

13 Nov 2026Where it was published

5.74.0 is the newest release of 5.x.

In short

2 new1 internal

Release note

Minor Changes

  • Send $experiment_exposure for config version 2 experiment splits, and send the reason code and rule attribution on $feature_flag_called for config version 2 flags in place of $feature_flag_reason.
    (2026-11-13)

  • Request /flags/?v=4 instead of /flags/?v=2 and read its typed flag records. For a well-formed response, flag getters and $feature_flag_called events return the same values as before. A PostHog server that does not serve v=4 answers as it does for v=2, and that response is read as before.

    A flag record with a field of the wrong JSON type, such as a string metadata.version, now reads as disabled: flag getters return false and it has no payload. Other flags in the same response are not affected. This applies to both response versions, so tests that mock /flags may need to match the new URL and send correctly typed fields. (2026-11-13)

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.