posthog-js
1.450.1 · 17 Nov 2026(Apache-2.0 AND MIT)28.2M / weekRepositoryHomepagenpmAtom feed
1.454.2 is the newest release of 1.x.
In short
1 new
Release note
Minor Changes
Load remote config as JSON with
fetchinstead of executableconfig.jswhen site apps are disabled (the default). The SDK no longer falls back toconfig.jswhen the JSON request fails.Action may be required if you use a Content Security Policy without a reverse proxy: remote config is now fetched from the assets host, so
connect-srcmust allow it, not onlyscript-src. Addhttps://us-assets.i.posthog.com(US),https://eu-assets.i.posthog.com(EU), orhttps://*.posthog.comtoconnect-src. Otherwise remote config fails to load, so features such as session recording, surveys, and autocapture use their default or saved settings. Feature flags are unaffected. Sites using a reverse proxy, no CSP, oropt_in_site_apps: trueneed no change. (2026-11-18)
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.