chore(deps): update dependency posthog-node to v5.45.2#291
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency posthog-node to v5.45.2#291renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
2 times, most recently
from
November 20, 2025 10:10
ce1a4f5 to
f1da694
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
2 times, most recently
from
November 24, 2025 04:24
1ca6254 to
26af96b
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
November 24, 2025 13:40
26af96b to
82b3722
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
November 28, 2025 18:53
82b3722 to
0e02803
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
December 2, 2025 02:01
0e02803 to
774185b
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
December 3, 2025 12:53
774185b to
751cfba
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
December 4, 2025 20:54
751cfba to
ced776d
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
December 17, 2025 03:01
ced776d to
ada7424
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
December 17, 2025 17:44
ada7424 to
484432d
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
December 22, 2025 21:00
484432d to
08d57fa
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
December 30, 2025 21:54
08d57fa to
d696653
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 6, 2026 04:55
d696653 to
f9f78ba
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 8, 2026 18:25
f9f78ba to
b405c3c
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 20, 2026 18:13
69358e3 to
095a5e6
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 20, 2026 22:11
095a5e6 to
e262a9a
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 23, 2026 23:07
e262a9a to
d62b68d
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 27, 2026 20:47
d62b68d to
087ceb2
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 28, 2026 20:38
087ceb2 to
d65ec43
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 29, 2026 13:27
d65ec43 to
9de00e0
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
January 29, 2026 21:01
9de00e0 to
7709e1a
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 3, 2026 09:37
7709e1a to
a9dd780
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 3, 2026 17:28
a9dd780 to
35e7998
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 4, 2026 17:50
35e7998 to
210d5db
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 6, 2026 14:00
210d5db to
892a8f8
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 9, 2026 15:00
892a8f8 to
9375939
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 10, 2026 07:53
9375939 to
5c5abb9
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 11, 2026 02:14
5c5abb9 to
dbcf90c
Compare
renovate
Bot
force-pushed
the
renovate/posthog-node-5.x
branch
from
February 17, 2026 21:54
dbcf90c to
5f4c89b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.11.2→5.45.2Release Notes
PostHog/posthog-js (posthog-node)
v5.45.2Compare Source
Patch Changes
06d19a2Thanks @dustinbyrne! - Avoid Next.js Edge runtime warnings for native compression and fatal error handling.(2026-07-16)
06d19a2]:v5.45.1Compare Source
Patch Changes
9eb2b28Thanks @dustinbyrne! - Fix the default Node.js event flush interval at 5 seconds.(2026-07-16)
v5.45.0Compare Source
Minor Changes
#4159
fad6d9aThanks @haacked! - add$feature_flag_has_experimentto$feature_flag_calledevents$feature_flag_calledevents now carry a$feature_flag_has_experimentboolean sourced from the server'shas_experimentflag metadata (the/flags?v=2response for remote evaluation, the/api/feature_flag/local_evaluationdefinitions for posthog-node local evaluation). The property is only sent when the server explicitly reportshas_experiment; it is omitted entirely when the value is unknown (older servers, missing metadata, bootstrapped or locally injected flags). (2026-07-16)Patch Changes
fad6d9a]:v5.44.0Compare Source
Minor Changes
fc2cb2eThanks @eli-r-ph! - Raise the defaultmaxQueueSizefrom 1000 to 10000. Backend workloads are more likely to burst-enqueue events synchronously ahead of a flush than browser/mobile clients, so the previous default risked silently dropping events under bursty load. An explicitmaxQueueSizeoption still overrides this default.(2026-07-15)
Patch Changes
fc2cb2e]:v5.43.0Compare Source
Minor Changes
#4117
1eddff7Thanks @DanielVisca! - add the posthog.metrics API (count, gauge, histogram) to posthog-node — alphaBackend services can now record metrics through the same statsd-style pre-aggregating client the browser SDK ships, with no OpenTelemetry setup:
Samples aggregate in memory and flush as OTLP/JSON to
/i/v1/metrics(one data point per series per window). Pending metrics are flushed onshutdown(). Core gains_sendMetricsBatchonPostHogCoreStateless(same outcome contract as_sendLogsBatch) and a sharedresolveMetricsConfig, so any core-based SDK can hostPostHogMetrics. (2026-07-15)Patch Changes
1eddff7]:v5.42.0Compare Source
Minor Changes
dc2aa5bThanks @posthog! - Expose the error tracking rate-limiter config via the newexceptionRateLimiterRefillRateandexceptionRateLimiterBucketSizeoptions. Burst protection is scoped per exception type (each distinct$exceptiontype gets its own token bucket, with no aggregate cap across types), so these let customers with high-cardinality exception types tune the per-type allowance.(2026-07-14)
Patch Changes
dc2aa5b]:v5.41.0Compare Source
Minor Changes
#4105
203284aThanks @eli-r-ph! - Add opt-in Capture V1 support. Set thePOSTHOG_CAPTURE_MODE=v1environment variable to submit analytics events to the Capture V1 endpoint (/i/v1/analytics/events) instead of the legacy/batch/endpoint, on both the batched and immediate send paths. The default remainsv0, so existing behavior is unchanged unless you opt in. Opt-in is env-var-only during the transition (no public option), so nothing on the API surface has to be removed when v1 later becomes the default.Capture V1 uses Bearer auth, lifts legacy
$-sentinel properties into a typedoptionsobject, and does per-event partial retry with exponential backoff clamped againstRetry-After. Dropped and undelivered events are surfaced on the clienterrorchannel as aCaptureV1Error.$ai_*events continue to use the legacy submitter for now, regardless of the capture mode.In
v1mode,$ai_*events are routed to an isolated in-memory queue and flushed independently of the Capture V1 queue, so the two transports never share a batch and a failure on one cannot re-send events already accepted on the other. Each queue keeps its own retry/durability semantics: the legacy queue re-queues on network failure (retrying on later flushes), while the V1 queue exhausts the sender's own attempt budget per cycle and then surfaces the failure rather than re-queuing. (2026-07-11)Patch Changes
203284a]:v5.40.0Compare Source
Minor Changes
0b49a4cThanks @turnipdabeets! - AddsecretKeyconfig as the canonical alias for the deprecatedpersonalApiKey(accepts a Personal API Key or Project Secret API Key).(2026-07-07)
v5.39.4Compare Source
Patch Changes
0c11747Thanks @marandaneto! - Stop duplicatingdistinct_idinside/flagsperson properties.(2026-07-02)
5e7e132]:v5.39.3Compare Source
Patch Changes
64e04baThanks @marandaneto! - Retry/flagsrequests that receive HTTP 502 or 504 responses across SDKs that use the shared core flags client.(2026-07-02)
64e04ba]:v5.39.2Compare Source
Patch Changes
a664b81Thanks @marandaneto! - Make Nodeflush()wait for pending asynchronous SDK work before draining the event queue, so events produced by helpers likecaptureException()are not missed. Pending work rejections no longer prevent queued events from flushing.(2026-07-01)
a664b81]:v5.39.1Compare Source
Patch Changes
#4029
b36b1ccThanks @marandaneto! - Callbefore_sendfor identify, group identify, and alias events.(2026-06-30)
#4027
ab118d2Thanks @marandaneto! - Safely serialize event batches with circular property references instead of crashing during flush.(2026-06-30)
Updated dependencies [
ab118d2]:v5.39.0Compare Source
Minor Changes
0063128Thanks @github-actions! - AddgroupIdentifyImmediate()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)
Patch Changes
0063128]:v5.38.8Compare Source
Patch Changes
08b404bThanks @mjfaga! - Fix local evaluation ignoring thein/not_inoperator on cohort-based flag conditions. "Not incohort" was evaluated as "in cohort", inverting cohort-exclusion flags. Now applies the operator to
the cohort membership result. (2026-06-29)
v5.38.7Compare Source
Patch Changes
619a25cThanks @marandaneto! - 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)
619a25c]:v5.38.6Compare Source
Patch Changes
606ef43Thanks @GauthierPLM! - Only stamp $groups from the top-levelgroupswhen present(2026-06-26)
v5.38.5Compare Source
Patch Changes
8e9689aThanks @marandaneto! - Dedupe feature flag called events per returned flag value.(2026-06-24)
8e9689a]:v5.38.4Compare Source
Patch Changes
6391106Thanks @dustinbyrne! - Respectdisable_capture_url_hasheswhen capturing Express and NestJS request URLs.(2026-06-23)
v5.38.3Compare Source
Patch Changes
4d59d0eThanks @marandaneto! - Deprecate the Node SDK Sentry integration and point users to PostHog Error Tracking for Node.(2026-06-23)
440e370]:v5.38.2Compare Source
Patch Changes
6b21f77Thanks @marandaneto! - Validate custom event UUID overrides and generate new UUIDs when invalid.(2026-06-19)
6b21f77]:v5.38.1Compare Source
Patch Changes
e6d7fe2Thanks @marandaneto! - Stop sending deprecated no-op top-leveltype,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)
e6d7fe2]:v5.38.0Compare Source
Minor Changes
a0553b3Thanks @marandaneto! - AddsetPersonProperties()andunsetPersonProperties()helpers to manage person properties from the Node.js SDK.(2026-06-16)
Patch Changes
b3ec845,c6c163a]:v5.37.1Compare Source
Patch Changes
29bf8e3Thanks @marandaneto! - Add missing bugs metadata to package manifests.(2026-06-15)
29bf8e3]:v5.37.0Compare Source
Minor Changes
d6fc0a5Thanks @gustavohstrassburger! - feat(feature-flags): support theearly_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)
v5.36.17Compare Source
Patch Changes
v5.36.16Compare Source
Patch Changes
25822ac]:v5.36.15Compare Source
Patch Changes
v5.36.14Compare Source
Patch Changes
612f97a]:v5.36.13Compare Source
Patch Changes
v5.36.12Compare Source
Patch Changes
v5.36.11Compare Source
Patch Changes
v5.36.10Compare Source
Patch Changes
v5.36.9Compare Source
Patch Changes
0c2acb9]:v5.36.8Compare Source
Patch Changes
v5.36.7Compare Source
Patch Changes
7820929Thanks @marandaneto! - Reduce duplicate internal code found by dry4ts.(2026-06-09)
v5.36.6Compare Source
Patch Changes
v5.36.5Compare Source
Patch Changes
v5.36.4Compare Source
Patch Changes
v5.36.3Compare Source
Patch Changes
v5.36.2Compare Source
Patch Changes
v5.36.1Compare Source
Patch Changes
v5.36.0Compare Source
Minor Changes
9287c87Thanks @turnipdabeets! - Add 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)
v5.35.15Compare Source
Patch Changes
v5.35.14Compare Source
Patch Changes
v5.35.13Compare Source
Patch Changes
v5.35.12Compare Source
Patch Changes
v5.35.11Compare Source
Patch Changes
v5.35.10Compare Source
Patch Changes
v5.35.9Compare Source
Patch Changes
f3cc6faThanks @marandaneto! - Disable/no-op initialization paths instead of throwing or sending requests when PostHog project tokens are missing or blank.(2026-06-01)
3d4a76f]:v5.35.8Compare Source
Patch Changes
v5.35.7Compare Source
Patch Changes
d9ad199]:v5.35.6Compare Source
Patch Changes
7b84b75Thanks @ablaszkiewicz! - unify captureException in posthog core(2026-05-28)
7b84b75]:v5.35.5Compare Source
Patch Changes
v5.35.4Compare Source
Patch Changes
v5.35.3Compare Source
Patch Changes
5568f12]:v5.35.2Compare Source
Patch Changes
5d7a2d3Thanks @gustavohstrassburger! - Include group context in the $feature_flag_called deduplication key in _captureFlagCalledEventIfNeeded, so events fire independently per group combination.(2026-05-25)
v5.35.1Compare Source
Patch Changes
c806cca]:v5.35.0Compare Source
Minor Changes
18ea8b5Thanks @dustinbyrne! - Promote feature flag definition cache provider types to the mainposthog-nodeexport and deprecateposthog-node/experimentalimports.(2026-05-21)
Patch Changes
v5.34.10Compare Source
Patch Changes
f42f371Thanks @dmarticus! - Reject semver values with leading zeros in local flag evaluation. Per semver 2.0.0 §2, numeric identifiers must not include leading zeros — values like1.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)
v5.34.9Compare Source
Patch Changes
v5.34.8Compare Source
Patch Changes
12ef3f6Thanks @hpouillot! - FixidentifyImmediateto 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)
v5.34.7Compare Source
Patch Changes
a880dbc]:v5.34.6Compare Source
Patch Changes
e119eecThanks @richardsolomou! - Fix six edge cases in local feature flag evaluation.gt/gte/lt/ltenow compare numerically when both sides parse as finite numbers — previously a string override like"10"against numeric value9slipped into lexicographic comparison and returned false, andparseFloat's NaN return value leaked through the old!= nullguard.is_not_setnow resolves locally — true when the property key is absent, false when present — instead of always throwingInconclusiveMatchErrorand forcing the flag to return undefined. Flag-level condition properties withnegation: trueare now correctly inverted, matching the existing cohort-path behavior inmatchPropertyGroup. An inactive flag (active: false) now short-circuits to false even whenensure_experience_continuity: true— previously it threwInconclusiveMatchErrorand resolved to undefined.is_setnow returns true for properties whose value isnullorundefinedas long as the key is present —is_setis about key presence, not value. Cohort property groups containing a flag-type property no longer silently skip the dependency; the cohort eval is now marked inconclusive so the flag returns undefined instead of a wrong definitive answer.(2026-05-19)
v5.34.5Compare Source
Patch Changes
v5.34.4Compare Source
Patch Changes
v5.34.3Compare Source
Patch Changes
v5.34.2Compare Source
Patch Changes
v5.34.1Compare Source
Patch Changes
4b895bf]:v5.34.0Compare Source
Minor Changes
ad60818Thanks @turnipdabeets! - Expose UUID and cookie helpers from@posthog/coreandposthog-nodefor users managing distinct_id outside the browser SDK (e.g. Lambda functions handing out cross-domain redirects). The helpers were already implemented in@posthog/next— this change lifts them to core so all SDKs can re-use them.@posthog/nextnow re-exports the same surface from@posthog/coreto keep existing consumers working without churn. Closes #2143.(2026-05-12)
Patch Changes
ad60818]:v5.33.7Compare Source
Patch Changes
223d925]:v5.33.6Compare Source
Patch Changes
v5.33.5Compare Source
Patch Changes
v5.33.4Compare Source
Patch Changes
v5.33.3Compare Source
Patch Changes
v5.33.2Compare Source
Patch Changes
220cd61Thanks @marandaneto! - fix: consume fetch response body to prevent CF Workers runtime warnings(2026-05-04)
220cd61,255b273]:v5.33.1Compare Source
Patch Changes
8aee3d5]:v5.33.0Compare Source
Minor Changes
#3476
f8bc02fThanks @dmarticus! - AddevaluateFlags()and a newflagsoption oncapture()so a single/flagsrequest powers both flag branching and event enrichment per incoming request:The returned
FeatureFlagEvaluationssnapshot exposesisEnabled(),getFlag(),getFlagPayload()for branching, plusonlyAccessed()andonly([keys])for filtering which flags get attached to a captured event. PassflagKeys: [...]toevaluateFlags()to scope the underlying/flagsrequest itself.captureException()/captureExceptionImmediate()accept aflagsargument so$exceptionevents carry the same flag context as the rest of your request's events.Deprecates
isFeatureEnabled(),getFeatureFlag(),getFeatureFlagPayload(), andcapture({ sendFeatureFlags }). They continue to work but now log a deduped[PostHog] ... is deprecatedwarning the first time they're used. Removal is planned for the next major version. (2026-05-02)v5.32.1Compare Source
Patch Changes
cf56753,04db756]:v5.32.0Compare Source
Minor Changes
70ba8f8Thanks @patricio-posthog! - feat(flags): support mixed targeting in local evaluation(2026-04-30)
v5.31.0Compare Source
Minor Changes
974e4b2Thanks @dustinbyrne! - Add Express and NestJS request context support for PostHog tracing headers.(2026-04-29)
v5.30.8Compare Source
Patch Changes
v5.30.7Compare Source
Patch Changes
v5.30.6Compare Source
Patch Changes
v5.30.5Compare Source
Patch Changes
v5.30.4Compare Source
Patch Changes
70508df]:v5.30.3Compare Source
Patch Changes
v5.30.2Compare Source
Patch Changes
v5.30.1Compare Source
Patch Changes
daf028d]:v5.30.0Compare Source
Minor Changes
eadbcd7Thanks @hpouillot! - send relative file paths in frames(2026-04-23)
v5.29.7Compare Source
Patch Changes
96f19b7]:[
v5.29.6](https://redirect.github.com/PoConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.