Packages

posthog-node

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

Your version

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

  1. 5.39.0

    30 Jun 2026
    • Add groupIdentifyImmediate() to await the network request when identifying a group, mirroring captureImmediate/identifyImmediate/aliasImmediate. Useful in edge/serverless environments where the background queue may not flush. The Convex integration now uses it directly instead of routing $groupidentify through captureImmediate.
      (2026-06-30)

  2. 5.38.8

    29 Jun 2026
    • Fix local evaluation ignoring the in/not_in operator on cohort-based flag conditions. "Not in
      cohort" was evaluated as "in cohort", inverting cohort-exclusion flags. Now applies the operator to
      the cohort membership result. (2026-06-29)

  3. 5.38.7

    29 Jun 2026
    • Retry feature flag requests after transient network errors only. The feature flag request retry count defaults to 1 and can be set to 0 to disable retries.
      (2026-06-29)

  4. 5.38.6

    26 Jun 2026
    • Only stamp $groups from the top-level groups when present
      (2026-06-26)

  5. 5.38.5

    24 Jun 2026
    • Dedupe feature flag called events per returned flag value.
      (2026-06-24)

  6. 5.38.4

    23 Jun 2026
    • Respect disable_capture_url_hashes when capturing Express and NestJS request URLs.
      (2026-06-23)

  7. 5.38.3

    23 Jun 2026
    • Deprecated

      Deprecate the Node SDK Sentry integration and point users to PostHog Error Tracking for Node.
      (2026-06-23)

  8. 5.38.2

    19 Jun 2026
    • Validate custom event UUID overrides and generate new UUIDs when invalid.
      (2026-06-19)

  9. 5.38.1

    18 Jun 2026
    • Stop sending deprecated no-op top-level type, library, and library_version fields in event batch payloads. Use properties.$lib and properties.$lib_version for SDK metadata; legacy queued library and library_version values are used as fallbacks when the official $ properties are missing.
      (2026-06-18)

  10. 5.38.0

    16 Jun 2026
    • Add setPersonProperties() and unsetPersonProperties() helpers to manage person properties from the Node.js SDK.
      (2026-06-16)

  11. 5.37.1

    15 Jun 2026
    • Add missing bugs metadata to package manifests.
      (2026-06-15)

  12. 5.37.0

    12 Jun 2026
    • feature-flags: Support the early_exit condition option in local evaluation. When a flag enables early exit, evaluation now stops and returns false as soon as a condition group's property filters match but the rollout percentage excludes the user, instead of falling through to later groups — matching the server-side evaluation behavior.
      (2026-06-12)

  13. 5.36.8 – 5.36.1710 releases that only update dependencies@posthog/core 1.32.3Show each
  14. 5.36.7

    9 Jun 2026
    • Reduce duplicate internal code found by dry4ts.
      (2026-06-09)

  15. 5.36.1 – 5.36.66 releases that only update dependencies@posthog/core 1.30.12Show each
  16. 5.36.0

    4 Jun 2026
    • Add a configurable $is_server event property (default true) so PostHog can identify server-side events. Set isServer: false when using the SDK as a client/CLI so the device OS is attributed normally.
      (2026-06-04)

  17. 5.35.10 – 5.35.156 releases that only update dependencies@posthog/core 1.30.6Show each
  18. 5.35.9

    1 Jun 2026
    • Disable/no-op initialization paths instead of throwing or sending requests when PostHog project tokens are missing or blank.
      (2026-06-01)

  19. 5.35.7 – 5.35.82 releases that only update dependencies@posthog/core 1.29.15Show each
  20. 5.35.6

    28 May 2026
    • Unify captureException in posthog core
      (2026-05-28)

  21. 5.35.3 – 5.35.53 releases that only update dependencies@posthog/core 1.29.12Show each
  22. 5.35.2

    25 May 2026
    • Include group context in the $feature_flag_called deduplication key in _captureFlagCalledEventIfNeeded, so events fire independently per group combination.
      (2026-05-25)

  23. 5.35.1

    22 May 2026

    Only updates a dependency:@posthog/core 1.29.9

  24. 5.35.0

    21 May 2026
    • Deprecated

      Promote feature flag definition cache provider types to the main posthog-node export and deprecate posthog-node/experimental imports.
      (2026-05-21)

  25. 5.34.10

    21 May 2026
    • Reject semver values with leading zeros in local flag evaluation. Per semver 2.0.0 §2, numeric identifiers must not include leading zeros — values like 1.07.3 are not valid semver and should not match targeting conditions. Both override values and flag values are now validated; invalid inputs surface as InconclusiveMatchError so the condition does not match.
      (2026-05-21)

  26. 5.34.9

    21 May 2026

    Only updates a dependency:@posthog/core 1.29.7

  27. 5.34.8

    21 May 2026
    • Fix identifyImmediate to await the underlying network request. Previously the returned promise resolved before the $identify event was sent, causing events to be dropped when called from short-lived runtimes (Vercel/Cloudflare Workers, Convex actions) that exit immediately after await.
      (2026-05-21)

  28. 5.34.7

    20 May 2026

    Only updates a dependency:@posthog/core 1.29.6

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.