Packages

posthog-node

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

Your version

5.65.0

10 Nov 2026Where it was published

5.74.0 is the newest release of 5.x.

In short

3 new1 internal

Release note

Minor Changes

  • node: Stamp the configured serviceName (from traces or metrics) on events as service_name
    (2026-11-10)

  • node: Add a logs API, posthog.logger.info(...) and posthog.captureLog(...), configured with the logs option. Records attach the active span's trace and span ids and the withContext distinctId and sessionId, and serviceName defaults to the traces or metrics one.
    (2026-11-10)

  • node: Expose traceId and spanId getters on the Span handle, for correlating logs from other loggers with a trace without parsing traceparent()
    (2026-11-10)

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.