@posthog/core
1.69.0 · 17 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.69.2 is the newest release of 1.x.
In short
1 new
Release note
Minor Changes
Opt-in WebView bot heuristic for #2921.
posthog-js/customizationsexports a newisLikelyWebViewBot(ua)helper that flags the UA pattern described in #2921 (aChrome/...token without the usualAppleWebKit/*+Safari/*co-markers that real Chrome always sends). Wire it intobefore_sendto tag or drop the matching events — seeisLikelyWebViewBotJSDoc for a usage example. Default SDK behaviour is unchanged; the helper is tree-shaken out unless you import it.@posthog/corekeepsisBlockedUAandDEFAULT_BLOCKED_UA_STRSbyte-for-byte compatible, and gains session-level memoisation ofisBlockedUAresults keyed on(ua, customBlockedUserAgents), so repeat calls within the same session are O(1). (2026-10-05)
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.