NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #4153 most downloaded on npm
Type definitions for the PostHog JavaScript SDK
Latest stable
1.425.1
Last release 9 days ago
13 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 months old
280 releases · first in 2026
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
### Minor Changes - #3169 `4f885c0` Thanks @marandaneto! - feat: add local sampleRate config for session recording (2026-03-02)
4f885c0 Thanks @marandaneto! - feat: add local sampleRate config for session recording
(2026-03-02)Nothing published for this version
Nothing published for this version
### Minor Changes - #3142 `ec54fd8` Thanks @dmarticus! - Add feature_flag_cache_ttl_ms config to prevent stale flag values (2026-02-26) ### Patch Chan
ec54fd8 Thanks @dmarticus! - Add feature_flag_cache_ttl_ms config to prevent stale flag values
(2026-02-26)d741668 Thanks @dmarticus! - Adds a remote_config_refresh_interval_ms config option to control how often feature flags are automatically refreshed in long-running sessions.
(2026-02-26)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - #3119 `2649a9a` Thanks @dmarticus! - Adds a fresh option to getFeatureFlag(), getFeatureFlagResult(), and isFeatureEnabled() that
2649a9a Thanks @dmarticus! - Adds a fresh option to getFeatureFlag(), getFeatureFlagResult(), and isFeatureEnabled() that only returns values loaded from the server, not cached localStorage values.
(2026-02-19)Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - #3107 `9dbc05e` Thanks @ablaszkiewicz! - warning on manual capture('$exception') (2026-02-18)
9dbc05e Thanks @ablaszkiewicz! - warning on manual capture('$exception')
(2026-02-18)### Minor Changes - #2895 `1b47203` Thanks @benjackwhite! - RemoteConfig (config.js) has been loaded for ages and is in use by us in production. This
1b47203 Thanks @benjackwhite! - RemoteConfig (config.js) has been loaded for ages and is in use by us in production. This PR makes it the sole config loading mechanism for posthog-js, removing the legacy /flags/?v=2&config=true path and the __preview_remote_config gate.
(2026-02-17)### Minor Changes - #3105 `f707ec9` Thanks @adboio! - add support for product tours localization (2026-02-17)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - #3060 `7437982` Thanks @pauldambra! - Add missing featureFlags property and OverrideFeatureFlagsOptions type to PostHog interface,
7437982 Thanks @pauldambra! - Add missing featureFlags property and OverrideFeatureFlagsOptions type to PostHog interface, restore set_config to the loaded callback type, and add featureFlagsReloading to on() event types
(2026-02-11)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #2919 `fe8090c` Thanks @dustinbyrne! - Add error property to RequestResponse (2026-02-09)
fe8090c Thanks @dustinbyrne! - Add error property to RequestResponse
(2026-02-09)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #3006 `b3ec434` Thanks @robbie-c! - Add a function isTestUser() and config option test_user_hostname (2026-02-03)
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #2996 `7768010` Thanks @matheus-vb! - Filter out flags marked as failed before merging with cached values, preventing transient ba
7768010 Thanks @matheus-vb! - Filter out flags marked as failed before merging with cached values, preventing transient backend errors from overwriting previously evaluated flag states
(2026-02-03)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #2954 `228930a` Thanks @dustinbyrne! - feat: Add FeatureFlagResult type (2026-01-28)
228930a Thanks @dustinbyrne! - feat: Add FeatureFlagResult type
(2026-01-28)Nothing published for this version
Nothing published for this version
One column per month.