@posthog/ai
8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed
7.21.0 is the newest release of 7.x.
In short
1 deprecated
- Deprecated
Prompts.get()now accepts{ withMetadata: true }and returns aPromptResultobject containingsource(api,cache,stale_cache, orcode_fallback),name, andversionalongside 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 aPromptResultobject containingsource(api,cache,stale_cache, orcode_fallback),name, andversionalongside 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.