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.26.1

    2 Mar 2026
    • Improve local feature flag evaluation debugging by adding timestamp tracking. Locally evaluated flags now include timing information in $feature_flag_called events to help debug cache TTL and timing issues, matching what's available for remote evaluation.
      (2026-03-02)

  2. 5.26.0

    25 Feb 2026
    • getFeatureFlagResult, getAllFlags, getAllFlagsAndPayloads now have context-sensitive overrides which do not require distinctId as a parameter, instead reading it from the current context.
      (2026-02-25)

    • Add enterContext() to attach a context to the current async execution context
      (2026-02-25)

  3. 5.25.0

    23 Feb 2026
    • Officially adds support for super properties added with .register (it was available as a function but did not actually work previously)
      (2026-02-23)

  4. 5.24.17

    18 Feb 2026
    • Warning on manual capture('$exception')
      (2026-02-18)

  5. 5.24.14 – 5.24.163 releases that only update dependencies@posthog/core 1.23.0Show each
  6. 5.24.13

    9 Feb 2026
    • Add /edge subpath export for non-standard edge runtimes
      (2026-02-09)

  7. 5.24.6 – 5.24.127 releases that only update dependencies@posthog/core 1.20.2Show each
  8. 5.24.5

    29 Jan 2026
    • before_send in node inferred the type as any instead of EventMessage or null
      (2026-01-29)

  9. 5.24.1 – 5.24.44 releases that only update dependencies@posthog/core 1.15.0Show each
  10. 5.24.0

    20 Jan 2026
    • Add $feature_flag_error to $feature_flag_called events to track flag evaluation failures
      (2026-01-20)

  11. 5.23.0

    19 Jan 2026
    • Deprecated

      posthog.init option evaluationEnvironments is now deprecated in favor of evaluationContexts. The old property will continue to work and will log a deprecation warning. It will be removed in a future major version.

    • Renamed evaluationEnvironments to evaluationContexts for clearer semantics. The term "contexts" better reflects that this feature is for specifying evaluation contexts (e.g., "web", "mobile", "checkout") rather than deployment environments (e.g., "staging", "production").

  12. 5.22.0

    19 Jan 2026

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  13. 5.21.2

    19 Jan 2026
    • Add getFeatureFlagResult method to retrieve flag value and payload in a single API call.
      (2026-01-19)

  14. 5.21.1

    16 Jan 2026

    Only updates a dependency:@posthog/core 1.10.0

  15. 5.21.0

    14 Jan 2026
    • Add warning when experience continuity flags are detected during local evaluation, and new strictLocalEvaluation option.

      Warning: When using local evaluation with flags that have experience continuity enabled, a warning is now emitted explaining that these flags will cause server requests on every evaluation, negating local evaluation cost savings.

      New option: strictLocalEvaluation: true can be set at client init to prevent all server fallback for flag evaluations. Flags that cannot be evaluated locally will return undefined instead of making a server request. This is useful in high-volume environments where you want to guarantee no unexpected server costs. (2026-01-14)

  16. 5.20.0

    8 Jan 2026
    • Track LLMA trace_id on exceptions and exception_id on traces
      (2026-01-08)

  17. 5.19.0

    6 Jan 2026
    • Add overrideFeatureFlags() method for local testing and development
      (2026-01-06)

  18. 5.18.1

    30 Dec 2025
    • getFeatureFlag() respects exponential backoff for HTTP 401, 403, and 429 responses.
      (2025-12-30)

  19. 5.18.0

    22 Dec 2025
    • Add $feature_flag_error to $feature_flag_called events when an error occurred while trying evaluate a flag
      (2025-12-22)

  20. 5.17.3 – 5.17.42 releases that only update dependencies@posthog/core 1.8.1Show each
  21. 5.17.2

    4 Dec 2025
    • Local evaluation polling sends If-None-Match header with latest etag to reduce bandwidth when no flags have changed.
      (2025-12-04)

  22. 5.17.1

    4 Dec 2025
    • Security

      Related to wiz.io/blog/critical-vulnerability-in-react-cve…

      We didn't include any of the vulnerable deps in any of our packages, however we did have them as dev / test / example project dependencies.

      There was no way that any of these vulnerable packages were included in any of our published packages.

      We've now patched out those dependencies.

      Out of an abundance of caution, let's create a new release of all of our packages. (2025-12-04)

  23. 5.17.0

    3 Dec 2025
    • Make contexts inherit by default
      (2025-12-03)

  24. 5.16.0

    3 Dec 2025
    • Add $feature_flag_evaluated_at properties to $feature_flag_called events
      (2025-12-03)

  25. 5.15.0

    1 Dec 2025
    • Improve cache initialization performance
      (2025-12-01)

    • Add context support
      (2025-12-01)

  26. 5.14.1

    28 Nov 2025
    • Forward session and distinct id in express error handler
      (2025-11-28)

  27. 5.14.0

    24 Nov 2025
    • Package deprecation
      (2025-11-24)

  28. 5.13.2 – 5.13.43 releases with no change for you1 dependency update, 2 without a note@posthog/core 1.5.5Show each
  29. 5.13.1

    20 Nov 2025

    Reading the note…

  30. 5.13.0

    19 Nov 2025
    • fetch is called without a bound context

      This prevents issues in edge runtimes such as Cloudflare (2025-11-19)

    • Fix frame platform property for $exception events
      (2025-11-19)

  31. 5.12.0

    19 Nov 2025
    • Add FlagDefinitionCacheProvider interface and client configuration option

  32. 5.11.3

    24 Nov 2025

    Reading the note…

  33. 5.11.2

    6 Nov 2025

    Reading the note…

  34. 5.11.1

    5 Nov 2025

    Reading the note…

  35. 5.11.0

    31 Oct 2025
    • Add bot pageview collection behind preview flag. Enables tracking bot traffic as $bot_pageview events when the __preview_capture_bot_pageviews flag is enabled.

  36. 5.10.4

    27 Oct 2025

    Reading the note…

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.