releases.shpreview

Programmatic logs now retry, batch split, and resume online

posthog-js@1.389.0

1 enhancementThis release1 enhancementImprovements to existing featuresAI-tallied from the release notes

1.389.0

Minor Changes

  • #3865 b469830 Thanks @turnipdabeets! - The browser's programmatic logs API (posthog.captureLog() / posthog.logger.*) now runs through the shared @posthog/core logs pipeline that React Native already uses — no change to the public API or existing behavior. Log delivery is more resilient as a result: oversized batches are split automatically, failed sends retry with exponential backoff, and delivery resumes when the browser comes back online. (2026-06-17)

Patch Changes

  • Updated dependencies [b469830]:
    • @posthog/core@1.35.0
    • @posthog/types@1.389.0

Fetched June 17, 2026