Packages

posthog-node

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

Your version

5.10.0

14 Oct 2025Where it was published

5.74.0 is the newest release of 5.x.

In short

1 removed1 new1 internal

  • Removed

    Remove deprecated attribute $exception_personURL from exception events

Release note

Minor Changes

  • Add evaluation environments support for feature flags

    This PR implements support for evaluation environments in the posthog-node SDK, allowing users to specify which environment tags their SDK instance should use when evaluating feature flags.

    Users can now configure the SDK with an evaluationEnvironments option:

    const client = new PostHog('api-key', {
      host: 'https://app.posthog.com',
      evaluationEnvironments: ['production', 'backend', 'api'],
    })

    When set, only feature flags that have at least one matching evaluation tag will be evaluated for this SDK instance. Feature flags with no evaluation tags will always be evaluated.

Patch Changes

  • Removed

    Remove deprecated attribute $exception_personURL from exception events

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.