NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #4167 most downloaded on npm
PostHog Node.js integration
Latest stable
5.68.2
Last release 12 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Most releases are documented
notes for 48 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
367 releases · first in 2020
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 →
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
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
2.5.1 Patch Changes #4677 c984623 Thanks @turnipdabeets ! - Update the native SDKs to posthog-ios 3.70.1 and posthog-android 3.61.0, fixing session re
c984623 Thanks @turnipdabeets! - Update the native SDKs to posthog-ios 3.70.1 and posthog-android 3.61.0, fixing session replay masks drifting off their content during scroll, a crash when replay console-log capture tears down on iOS, and web-scoped surveys showing on native Android.Nothing published for this version
## 2.4.0 ### Minor Changes - #4505 `ace454d` Thanks @marandaneto! - Add native Swift Package Manager support for React Native 0.87's experimental Coco
ace454d Thanks @marandaneto! - Add native Swift Package Manager support for React Native 0.87's experimental CocoaPods-free iOS integration.
(2026-08-13)## 2.3.1 ### Patch Changes - #4457 `bfdab20` Thanks @dustinbyrne! - Fix Android compilation with React Native 0.86. (2026-08-07)
bfdab20 Thanks @dustinbyrne! - Fix Android compilation with React Native 0.86.
(2026-08-07)Forwards the push config (capturePushNotificationSubscriptions, capturePushNotificationOpened) to posthog-ios and posthog-android at setup.
1b6ed5a Thanks @ioannisj! - Add the native push notification bridge, so posthog-react-native can register device tokens and capture notification opens through the native PostHog SDKs.
capturePushNotificationSubscriptions, capturePushNotificationOpened) to posthog-ios and posthog-android at setup.registerPushNotificationToken, unregisterPushNotificationToken, capturePushNotificationOpened, setOptOut, and reset for runtime control from JS.pushIdentityProvider for projects that require identity-verified subscriptions.## 2.2.3 ### Patch Changes - #4154 `7c9de2f` Thanks @turnipdabeets! - Bump com.posthog:posthog-android to 3.54.0 to pick up the session replay ANR fix
7c9de2f Thanks @turnipdabeets! - Bump com.posthog:posthog-android to 3.54.0 to pick up the session replay ANR fix from 3.53.7: clearing the replay buffer on session rotation (e.g. identify() at login) no longer blocks the main thread waiting on the replay executor.
(2026-07-15)## 2.2.2 ### Patch Changes - #4148 `f4694e9` Thanks @turnipdabeets! - Require posthog-ios 3.64.7 or later, so release builds can skip conflicting dSYM
f4694e9 Thanks @turnipdabeets! - Require posthog-ios 3.64.7 or later, so release builds can skip conflicting dSYM uploads (the Expo plugin's skipOnConflict option) instead of failing when a dSYM with the same UUID but different content already exists in PostHog.
(2026-07-14)## 2.2.1 ### Patch Changes - #4126 `c5477ce` Thanks @turnipdabeets! - Fix fatal JS errors being double-reported on Android in minified release builds:
c5477ce Thanks @turnipdabeets! - Fix fatal JS errors being double-reported on Android in minified release builds: the plugin's dedup matched serialized class-name strings, which R8/ProGuard renaming can defeat. It now registers JavascriptException in posthog-android's errorTrackingConfig.ignoredExceptionTypes (requires core 6.24.0), which matches by class across the cause chain and is unaffected by minification.
(2026-07-10)## 2.2.0 ### Minor Changes - #4110 `da33d9e` Thanks @ioannisj! - Add macOS support so the plugin builds on react-native-macos targets. The podspec now
da33d9e Thanks @ioannisj! - Add macOS support so the plugin builds on react-native-macos targets. The podspec now declares an osx platform, and all iOS-only posthog-ios APIs (session replay config, surveys, session-recording controls) are guarded with #if os(iOS). Session replay remains iOS-only; macOS gets native error tracking.
(2026-07-10)Updated dependencies [`fa3457f`]:
fa3457f Thanks @haacked! - Support the starts_with, not_starts_with, ends_with, and not_ends_with property filter operators in feature flag local evaluation. Matching is case-insensitive and mirrors icontains, so flags using these operators no longer fall back to remote evaluation.
(2026-08-05)fa3457f]:
Nothing published for this version
## 2.0.1 ### Patch Changes - #5202 `7199f24` Thanks @hpouillot! - Support immutable Next.js 16 Turbopack sourcemaps without rewriting build assets, an
7199f24 Thanks @hpouillot! - Support immutable Next.js 16 Turbopack sourcemaps without rewriting build assets, and require a compatible posthog-js runtime for native debug and release IDs.
(2026-10-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
## 1.2.0 ### Minor Changes - #5671 `4a30932` Thanks @lucasheriques! - A failed tool call now sets $mcp_error_status to the HTTP status behind it, read
4a30932 Thanks @lucasheriques! - A failed tool call now sets $mcp_error_status to the HTTP status behind it, read from the thrown error or its cause chain (status_code, statusCode or status, on the error or its response, as a fetch Response, axios and got carry it). Failures from an upstream API now group by status in MCP Analytics instead of landing in "unknown".
(2026-11-12)8f5e876 Thanks @DanielVisca! - Ignore non-string name/version values returned by the clientInfo option instead of recording them as the MCP client.
(2026-11-12)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
## 1.1.3 ### Patch Changes - #4512 `1030636` Thanks @ablaszkiewicz! - Inject chunk ids (a fresh random id per build) into chunks in-memory during rend
1030636 Thanks @ablaszkiewicz! - Inject chunk ids (a fresh random id per build) into chunks in-memory during renderChunk instead of letting posthog-cli rewrite the emitted files on disk in writeBundle. The written bundle already contains the chunk-id snippet, so Subresource Integrity plugins (e.g. vite-plugin-sri3, which hashes chunks in generateBundle) now compute hashes over the final content and the browser no longer blocks the scripts. writeBundle runs the non-mutating sourcemap upload instead of sourcemap process, and with deleteAfterUpload the plugin deletes the .map files itself rather than passing --delete-after (which also rewrites the .js files).
(2026-08-13)Nothing published for this version
## 1.1.1 ### Patch Changes - #5654 `a7c8003` Thanks @mkushner! - fix(mcp): keep additionalProperties: false on tool schemas when injecting context, ll
Updated dependencies [`fb313fe`, `fee9bee`, `fee9bee`]:
4d0681f Thanks @DanielVisca! - feat: add sessionId and clientInfo options so stateless per-request servers can supply the session id and client name for each request
(2026-11-10)Nothing published for this version
Nothing published for this version
One column per quarter.