1.67.0
Minor Changes
-
#5596
9ffdaf6Thanks @DanielVisca! - feat(node): addinstrumentRequestandposthogHonoMiddlewarefor fetch-API servers (Hono, Bun, Deno, Next route handlers). They readx-posthog-session-id, wrap the request inwithContext, open a server span that continuestraceparentand is named by route, mark 5xx as errors, and recordhttp.server.request.durationandhttp.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)