github PostHog/posthog-js posthog-node@5.67.0

latest release: @posthog/core@1.67.0
one hour ago

5.67.0

Minor Changes

  • #5596 9ffdaf6 Thanks @DanielVisca! - feat(node): add instrumentRequest and posthogHonoMiddleware for fetch-API servers (Hono, Bun, Deno, Next route handlers). They read x-posthog-session-id, wrap the request in withContext, open a server span that continues traceparent and is named by route, mark 5xx as errors, and record http.server.request.duration and http.server.request.count.

    feat(core): add PostHogMetrics.flushCoalesced(), a flush that callers can request once per unit of work: concurrent calls share one queued send, and it waits out a metrics backoff. (2026-11-10)

Patch Changes

  • Updated dependencies [9ffdaf6]:
    • @posthog/core@1.67.0

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.