Packages

@posthog/ai

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

Upgrading @posthog/ai From 8.0.1 to 8.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.0.1Newest 8.x, Latest8.22.0
  1. 8.0.1yours
  2. 8.1.0target
0
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 8.1.0

    9 Jun 20261 new
    • New

      Populate $ai_base_url on the Vercel and OpenAI Agents instrumentation paths so gateway-routed $ai_generation events can be deduped on ingestion. The Vercel middleware recovers the base URL from the provider's internal config (config.baseURL, or the config.url({ path }) closure used by @ai-sdk/openai / openai-compatible) instead of hardcoding an empty string. The OpenAI Agents processor emits it from model_config.base_url when the SDK exposes it (best-effort; the SDK omits it for Responses calls and for chat calls with model settings). (2026-06-09)

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.