Packages

@posthog/ai

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

Your version

8.5.0

30 Jul 2026Where it was published

8.22.0 is the newest release of 8.x.

In short

1 new

Release note

Minor Changes

  • Prompts.get() results now include config, the JSON object of model parameters or agent configuration stored with the prompt version in PostHog prompt management (null when the version has none). Config is carried through the client-side cache and the stale-cache fallback, and each result gets its own copy so mutating result.config cannot pollute later cache hits. The hardcoded fallback string has no config, so use defensive access like (result.config ?? {}).temperature.
    (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.