Packages

@posthog/ai

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

Your version

8.6.2

4 Aug 2026Where it was published

8.22.0 is the newest release of 8.x.

In short

1 new5 fixed2 internal

Release note

Patch Changes

  • Capture Chat Completions usage from OpenAI Agents spans.
    (2026-08-04)

  • Remove the undeclared OpenTelemetry core runtime dependency.
    (2026-08-04)

  • Resolve OpenAI Agents APIs through the declared peer dependency.
    (2026-08-04)

  • Support current LangChain message usage and response metadata.
    (2026-08-04)

  • Safely capture circular and otherwise unknown telemetry values with a shared JSON-safe value converter.
    (2026-08-04)

  • Handle Vercel AI stream errors and cancellation exactly once.
    (2026-08-04)

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.