1.8.0
Minor Changes
- #5842
8ec7e4aThanks @srednoff888-art! - Addanalytics.flush(), which waits until every event the server has captured so far, auto-captured ones included, is handed toposthog-node, then flushes theposthog-nodequeue. Await it before a per-request runtime (serverless or edge functions) freezes or exits, instead of waiting a macrotask beforeposthog.shutdown()
(2026-11-25)