releases.shpreview

Tracing headers configuration promoted to public API

posthog-js@1.380.0

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

1.380.0

Minor Changes

  • #3715 2387084 Thanks @dustinbyrne! - Promote browser tracing header configuration to the public tracing_headers option while keeping addTracingHeaders and __add_tracing_headers as deprecated aliases. (2026-06-04)

Patch Changes

  • #3715 2387084 Thanks @dustinbyrne! - When using tracing headers, X-POSTHOG-DISTINCT-ID is read at request time instead of when fetch/XHR is patched, ensuring it reflects bootstrap, identify, reset, and other identity changes. (2026-06-04)
  • Updated dependencies [2387084]:
    • @posthog/types@1.380.0
    • @posthog/core@1.30.7

Fetched June 4, 2026