Packages

@posthog/ai

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

Your version

7.16.0

15 Apr 2026Where it was published

7.21.0 is the newest release of 7.x.

In short

1 deprecated

  • Deprecated

    Prompts.get() now accepts { withMetadata: true } and returns a PromptResult object containing source (api, cache, stale_cache, or code_fallback), name, and version alongside the prompt text. The previous plain-string return is deprecated and will be removed in a future major version. (2026-04-15)

Release note

Minor Changes

  • Deprecated

    Prompts.get() now accepts { withMetadata: true } and returns a PromptResult object containing source (api, cache, stale_cache, or code_fallback), name, and version alongside the prompt text. The previous plain-string return is deprecated and will be removed in a future major version.
    (2026-04-15)

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.