posthog-node
6.0.5 · 19 Nov 2026MIT23.9M / weekRepositorynpmAtom feed
370 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
5.39.0
30 Jun 2026Add
groupIdentifyImmediate()to await the network request when identifying a group, mirroringcaptureImmediate/identifyImmediate/aliasImmediate. Useful in edge/serverless environments where the background queue may not flush. The Convex integration now uses it directly instead of routing$groupidentifythroughcaptureImmediate.
(2026-06-30)
Minor Changes
Add
groupIdentifyImmediate()to await the network request when identifying a group, mirroringcaptureImmediate/identifyImmediate/aliasImmediate. Useful in edge/serverless environments where the background queue may not flush. The Convex integration now uses it directly instead of routing$groupidentifythroughcaptureImmediate.
(2026-06-30)
5.38.8
29 Jun 2026Fix local evaluation ignoring the
in/not_inoperator on cohort-based flag conditions. "Not in
cohort" was evaluated as "in cohort", inverting cohort-exclusion flags. Now applies the operator to
the cohort membership result. (2026-06-29)
5.38.7
29 Jun 2026Retry feature flag requests after transient network errors only. The feature flag request retry count defaults to 1 and can be set to 0 to disable retries.
(2026-06-29)
Patch Changes
Retry feature flag requests after transient network errors only. The feature flag request retry count defaults to 1 and can be set to 0 to disable retries.
(2026-06-29)
5.38.6
26 Jun 2026Only stamp $groups from the top-level
groupswhen present
(2026-06-26)
5.38.5
24 Jun 2026Dedupe feature flag called events per returned flag value.
(2026-06-24)
Patch Changes
Dedupe feature flag called events per returned flag value.
(2026-06-24)
5.38.4
23 Jun 2026Respect
disable_capture_url_hasheswhen capturing Express and NestJS request URLs.
(2026-06-23)
5.38.3
23 Jun 2026- Deprecated
Deprecate the Node SDK Sentry integration and point users to PostHog Error Tracking for Node.
(2026-06-23)
Patch Changes
- Deprecated
Deprecate the Node SDK Sentry integration and point users to PostHog Error Tracking for Node.
(2026-06-23)
5.38.2
19 Jun 2026Validate custom event UUID overrides and generate new UUIDs when invalid.
(2026-06-19)
Patch Changes
Validate custom event UUID overrides and generate new UUIDs when invalid.
(2026-06-19)
5.38.1
18 Jun 2026Stop sending deprecated no-op top-level
type,library, andlibrary_versionfields in event batch payloads. Useproperties.$libandproperties.$lib_versionfor SDK metadata; legacy queuedlibraryandlibrary_versionvalues are used as fallbacks when the official$properties are missing.
(2026-06-18)
Patch Changes
Stop sending deprecated no-op top-level
type,library, andlibrary_versionfields in event batch payloads. Useproperties.$libandproperties.$lib_versionfor SDK metadata; legacy queuedlibraryandlibrary_versionvalues are used as fallbacks when the official$properties are missing.
(2026-06-18)
5.38.0
16 Jun 2026Add
setPersonProperties()andunsetPersonProperties()helpers to manage person properties from the Node.js SDK.
(2026-06-16)
Minor Changes
Add
setPersonProperties()andunsetPersonProperties()helpers to manage person properties from the Node.js SDK.
(2026-06-16)
5.37.1
15 Jun 2026Add missing bugs metadata to package manifests.
(2026-06-15)
Patch Changes
Add missing bugs metadata to package manifests.
(2026-06-15)
5.37.0
12 Jun 2026feature-flags: Support the
early_exitcondition option in local evaluation. When a flag enables early exit, evaluation now stops and returnsfalseas soon as a condition group's property filters match but the rollout percentage excludes the user, instead of falling through to later groups — matching the server-side evaluation behavior.
(2026-06-12)
5.36.8 – 5.36.1710 releases that only update dependencies@posthog/core 1.32.3Show each
- 5.36.1711 Jun 2026@posthog/core 1.32.3
- 5.36.1611 Jun 2026@posthog/core 1.32.2
- 5.36.1510 Jun 2026@posthog/core 1.32.1
- 5.36.1410 Jun 2026@posthog/core 1.32.0
- 5.36.1310 Jun 2026@posthog/core 1.31.4
- 5.36.1210 Jun 2026@posthog/core 1.31.3
- 5.36.1110 Jun 2026@posthog/core 1.31.2
- 5.36.1010 Jun 2026@posthog/core 1.31.1
- 5.36.910 Jun 2026@posthog/core 1.31.0
- 5.36.89 Jun 2026@posthog/core 1.30.14
5.36.7
9 Jun 2026Reduce duplicate internal code found by dry4ts.
(2026-06-09)
Patch Changes
Reduce duplicate internal code found by dry4ts.
(2026-06-09)
5.36.1 – 5.36.66 releases that only update dependencies@posthog/core 1.30.12Show each
- 5.36.68 Jun 2026@posthog/core 1.30.12
- 5.36.58 Jun 2026@posthog/core 1.30.11
- 5.36.46 Jun 2026@posthog/core 1.30.10
- 5.36.35 Jun 2026@posthog/core 1.30.9
- 5.36.25 Jun 2026@posthog/core 1.30.8
- 5.36.14 Jun 2026@posthog/core 1.30.7
5.36.0
4 Jun 2026Add a configurable
$is_serverevent property (defaulttrue) so PostHog can identify server-side events. SetisServer: falsewhen using the SDK as a client/CLI so the device OS is attributed normally.
(2026-06-04)
5.35.10 – 5.35.156 releases that only update dependencies@posthog/core 1.30.6Show each
- 5.35.154 Jun 2026@posthog/core 1.30.6
- 5.35.143 Jun 2026@posthog/core 1.30.5
- 5.35.133 Jun 2026@posthog/core 1.30.4
- 5.35.122 Jun 2026@posthog/core 1.30.3
- 5.35.111 Jun 2026@posthog/core 1.30.2
- 5.35.101 Jun 2026@posthog/core 1.30.1
5.35.9
1 Jun 2026Disable/no-op initialization paths instead of throwing or sending requests when PostHog project tokens are missing or blank.
(2026-06-01)
Patch Changes
Disable/no-op initialization paths instead of throwing or sending requests when PostHog project tokens are missing or blank.
(2026-06-01)
5.35.7 – 5.35.82 releases that only update dependencies@posthog/core 1.29.15Show each
- 5.35.831 May 2026@posthog/core 1.29.15
- 5.35.731 May 2026@posthog/core 1.29.14
5.35.6
28 May 2026Unify captureException in posthog core
(2026-05-28)
Patch Changes
Unify captureException in posthog core
(2026-05-28)
5.35.3 – 5.35.53 releases that only update dependencies@posthog/core 1.29.12Show each
- 5.35.527 May 2026@posthog/core 1.29.12
- 5.35.426 May 2026@posthog/core 1.29.11
- 5.35.326 May 2026@posthog/core 1.29.10
5.35.2
25 May 2026Include group context in the $feature_flag_called deduplication key in _captureFlagCalledEventIfNeeded, so events fire independently per group combination.
(2026-05-25)
5.35.1
22 May 2026Only updates a dependency:@posthog/core 1.29.9
5.35.0
21 May 2026- Deprecated
Promote feature flag definition cache provider types to the main
posthog-nodeexport and deprecateposthog-node/experimentalimports.
(2026-05-21)
Minor Changes
- Deprecated
Promote feature flag definition cache provider types to the main
posthog-nodeexport and deprecateposthog-node/experimentalimports.
(2026-05-21)
5.34.10
21 May 2026Reject semver values with leading zeros in local flag evaluation. Per semver 2.0.0 §2, numeric identifiers must not include leading zeros — values like
1.07.3are not valid semver and should not match targeting conditions. Both override values and flag values are now validated; invalid inputs surface asInconclusiveMatchErrorso the condition does not match.
(2026-05-21)
5.34.9
21 May 2026Only updates a dependency:@posthog/core 1.29.7
5.34.8
21 May 2026Fix
identifyImmediateto await the underlying network request. Previously the returned promise resolved before the$identifyevent was sent, causing events to be dropped when called from short-lived runtimes (Vercel/Cloudflare Workers, Convex actions) that exit immediately afterawait.
(2026-05-21)
5.34.7
20 May 2026Only updates a dependency:@posthog/core 1.29.6
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.