github PostHog/posthog-js posthog-node@5.65.0

5.65.0

Minor Changes

  • #5598 fb313fe Thanks @DanielVisca! - feat(node): stamp the configured serviceName (from traces or metrics) on events as service_name
    (2026-11-10)

  • #5599 fee9bee Thanks @DanielVisca! - feat(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)

  • #5599 fee9bee Thanks @DanielVisca! - feat(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)

Patch Changes

  • Updated dependencies [fee9bee]:
    • @posthog/core@1.66.0

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.