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
Last release 5 days ago
29 Sep 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
9 months old
261 releases · first in 2026
One column per month.
### 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
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #2953 `c8d3fbe` Thanks @pauldambra! - allows using web vitals with and without attribution (2026-01-23)
c8d3fbe Thanks @pauldambra! - allows using web vitals with and without attribution
(2026-01-23)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
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 →