Packages

@posthog/ai

8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @posthog/ai From 8.5.0 to 8.6.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.5.0Newest 8.x, Latest8.22.0
  1. 8.5.0yours
  2. 8.6.0target
0
changes to make
0
advisories fixed
1
new
1
fix

Release by release

  1. 8.6.0

    30 Jul 20261 new · 1 fix
    • New

      The OpenAI Agents SDK groupId now also maps to $ai_session_id on $ai_trace and span events, so grouped runs show up as sessions in PostHog AI observability. $ai_group_id is still emitted alongside it. (2026-07-30)

    • Fixed

      Fix LangChain spans being named after their class instead of the runnable. LangChain passes runName as a bare string, which the name resolver skipped because it only inspected object arguments, so every tool span was captured as DynamicStructuredTool rather than the tool's own name. (2026-07-30)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.