Packages

@posthog/ai

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

Your version

8.11.0

10 Sep 2026Where it was published

8.22.0 is the newest release of 8.x.

In short

1 new

Release note

Minor Changes

  • prompts.getAll({ label: 'production' }) fetches every prompt that carries a label in one request and stores them in the prompt cache, so later get(name, { label }) calls are cache hits. Apps with many prompts no longer need one request per prompt per cache cycle. Against a PostHog server that does not support labels on the prompt list endpoint yet, the call fails with a clear error instead of caching wrong versions.
    (2026-09-10)

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.