Skip to content

chore(deps): update dependency posthog-node to v5.45.2#291

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/posthog-node-5.x
Open

chore(deps): update dependency posthog-node to v5.45.2#291
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/posthog-node-5.x

Conversation

@renovate

@renovate renovate Bot commented Nov 19, 2025

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
posthog-node (source) 5.11.25.45.2 age confidence

Release Notes

PostHog/posthog-js (posthog-node)

v5.45.2

Compare Source

Patch Changes

v5.45.1

Compare Source

Patch Changes

v5.45.0

Compare Source

Minor Changes
  • #​4159 fad6d9a Thanks @​haacked! - add $feature_flag_has_experiment to $feature_flag_called events

    $feature_flag_called events now carry a $feature_flag_has_experiment boolean sourced from the server's has_experiment flag metadata (the /flags?v=2 response for remote evaluation, the /api/feature_flag/local_evaluation definitions for posthog-node local evaluation). The property is only sent when the server explicitly reports has_experiment; it is omitted entirely when the value is unknown (older servers, missing metadata, bootstrapped or locally injected flags). (2026-07-16)

Patch Changes

v5.44.0

Compare Source

Minor Changes
  • #​4153 fc2cb2e Thanks @​eli-r-ph! - Raise the default maxQueueSize from 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 explicit maxQueueSize option still overrides this default.
    (2026-07-15)
Patch Changes

v5.43.0

Compare Source

Minor Changes
  • #​4117 1eddff7 Thanks @​DanielVisca! - add the posthog.metrics API (count, gauge, histogram) to posthog-node — alpha

    Backend services can now record metrics through the same statsd-style pre-aggregating client the browser SDK ships, with no OpenTelemetry setup:

    const client = new PostHog('phc_...', { metrics: { serviceName: 'billing-worker' } })
    client.metrics.count('invoices.processed', 1, { attributes: { plan: 'pro' } })
    client.metrics.gauge('queue.depth', 42)
    client.metrics.histogram('job.duration', 187, { unit: 'ms' })

    Samples aggregate in memory and flush as OTLP/JSON to /i/v1/metrics (one data point per series per window). Pending metrics are flushed on shutdown(). Core gains _sendMetricsBatch on PostHogCoreStateless (same outcome contract as _sendLogsBatch) and a shared resolveMetricsConfig, so any core-based SDK can host PostHogMetrics. (2026-07-15)

Patch Changes

v5.42.0

Compare Source

Minor Changes
  • #​4101 dc2aa5b Thanks @​posthog! - Expose the error tracking rate-limiter config via the new exceptionRateLimiterRefillRate and exceptionRateLimiterBucketSize options. Burst protection is scoped per exception type (each distinct $exception type 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

v5.41.0

Compare Source

Minor Changes
  • #​4105 203284a Thanks @​eli-r-ph! - Add opt-in Capture V1 support. Set the POSTHOG_CAPTURE_MODE=v1 environment 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 remains v0, 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 typed options object, and does per-event partial retry with exponential backoff clamped against Retry-After. Dropped and undelivered events are surfaced on the client error channel as a CaptureV1Error. $ai_* events continue to use the legacy submitter for now, regardless of the capture mode.

    In v1 mode, $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

v5.40.0

Compare Source

Minor Changes
  • #​4060 0b49a4c Thanks @​turnipdabeets! - Add secretKey config as the canonical alias for the deprecated personalApiKey (accepts a Personal API Key or Project Secret API Key).
    (2026-07-07)

v5.39.4

Compare Source

Patch Changes

v5.39.3

Compare Source

Patch Changes

v5.39.2

Compare Source

Patch Changes
  • #​4028 a664b81 Thanks @​marandaneto! - Make Node flush() wait for pending asynchronous SDK work before draining the event queue, so events produced by helpers like captureException() are not missed. Pending work rejections no longer prevent queued events from flushing.
    (2026-07-01)
  • Updated dependencies [a664b81]:

v5.39.1

Compare Source

Patch Changes

v5.39.0

Compare Source

Minor Changes
  • #​4006 0063128 Thanks @​github-actions! - Add groupIdentifyImmediate() to await the network request when identifying a group, mirroring captureImmediate/identifyImmediate/aliasImmediate. Useful in edge/serverless environments where the background queue may not flush. The Convex integration now uses it directly instead of routing $groupidentify through captureImmediate.
    (2026-06-30)
Patch Changes

v5.38.8

Compare Source

Patch Changes
  • #​3974 08b404b Thanks @​mjfaga! - Fix local evaluation ignoring the in/not_in operator 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)

v5.38.7

Compare Source

Patch Changes
  • #​3961 619a25c Thanks @​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)
  • Updated dependencies [619a25c]:

v5.38.6

Compare Source

Patch Changes

v5.38.5

Compare Source

Patch Changes

v5.38.4

Compare Source

Patch Changes

v5.38.3

Compare Source

Patch Changes

v5.38.2

Compare Source

Patch Changes

v5.38.1

Compare Source

Patch Changes
  • #​3886 e6d7fe2 Thanks @​marandaneto! - Stop sending deprecated no-op top-level type, library, and library_version fields in event batch payloads. Use properties.$lib and properties.$lib_version for SDK metadata; legacy queued library and library_version values are used as fallbacks when the official $ properties are missing.
    (2026-06-18)
  • Updated dependencies [e6d7fe2]:

v5.38.0

Compare Source

Minor Changes
  • #​3845 a0553b3 Thanks @​marandaneto! - Add setPersonProperties() and unsetPersonProperties() helpers to manage person properties from the Node.js SDK.
    (2026-06-16)
Patch Changes

v5.37.1

Compare Source

Patch Changes

v5.37.0

Compare Source

Minor Changes
  • #​3705 d6fc0a5 Thanks @​gustavohstrassburger! - feat(feature-flags): support the early_exit condition option in local evaluation. When a flag enables early exit, evaluation now stops and returns false as 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.17

Compare Source

Patch Changes

v5.36.16

Compare Source

Patch Changes

v5.36.15

Compare Source

Patch Changes

v5.36.14

Compare Source

Patch Changes

v5.36.13

Compare Source

Patch Changes

v5.36.12

Compare Source

Patch Changes

v5.36.11

Compare Source

Patch Changes

v5.36.10

Compare Source

Patch Changes

v5.36.9

Compare Source

Patch Changes

v5.36.8

Compare Source

Patch Changes

v5.36.7

Compare Source

Patch Changes

v5.36.6

Compare Source

Patch Changes

v5.36.5

Compare Source

Patch Changes

v5.36.4

Compare Source

Patch Changes

v5.36.3

Compare Source

Patch Changes

v5.36.2

Compare Source

Patch Changes

v5.36.1

Compare Source

Patch Changes

v5.36.0

Compare Source

Minor Changes
  • #​3728 9287c87 Thanks @​turnipdabeets! - Add a configurable $is_server event property (default true) so PostHog can identify server-side events. Set isServer: false when using the SDK as a client/CLI so the device OS is attributed normally.
    (2026-06-04)

v5.35.15

Compare Source

Patch Changes

v5.35.14

Compare Source

Patch Changes

v5.35.13

Compare Source

Patch Changes

v5.35.12

Compare Source

Patch Changes

v5.35.11

Compare Source

Patch Changes

v5.35.10

Compare Source

Patch Changes

v5.35.9

Compare Source

Patch Changes

v5.35.8

Compare Source

Patch Changes

v5.35.7

Compare Source

Patch Changes

v5.35.6

Compare Source

Patch Changes

v5.35.5

Compare Source

Patch Changes

v5.35.4

Compare Source

Patch Changes

v5.35.3

Compare Source

Patch Changes

v5.35.2

Compare Source

Patch Changes
  • #​3658 5d7a2d3 Thanks @​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.1

Compare Source

Patch Changes

v5.35.0

Compare Source

Minor Changes
  • #​3642 18ea8b5 Thanks @​dustinbyrne! - Promote feature flag definition cache provider types to the main posthog-node export and deprecate posthog-node/experimental imports.
    (2026-05-21)
Patch Changes

v5.34.10

Compare Source

Patch Changes
  • #​3643 f42f371 Thanks @​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 like 1.07.3 are not valid semver and should not match targeting conditions. Both override values and flag values are now validated; invalid inputs surface as InconclusiveMatchError so the condition does not match.
    (2026-05-21)

v5.34.9

Compare Source

Patch Changes

v5.34.8

Compare Source

Patch Changes
  • #​3640 12ef3f6 Thanks @​hpouillot! - Fix identifyImmediate to await the underlying network request. Previously the returned promise resolved before the $identify event was sent, causing events to be dropped when called from short-lived runtimes (Vercel/Cloudflare Workers, Convex actions) that exit immediately after await.
    (2026-05-21)

v5.34.7

Compare Source

Patch Changes

v5.34.6

Compare Source

Patch Changes
  • #​3623 e119eec Thanks @​richardsolomou! - Fix six edge cases in local feature flag evaluation. gt/gte/lt/lte now compare numerically when both sides parse as finite numbers — previously a string override like "10" against numeric value 9 slipped into lexicographic comparison and returned false, and parseFloat's NaN return value leaked through the old != null guard. is_not_set now resolves locally — true when the property key is absent, false when present — instead of always throwing InconclusiveMatchError and forcing the flag to return undefined. Flag-level condition properties with negation: true are now correctly inverted, matching the existing cohort-path behavior in matchPropertyGroup. An inactive flag (active: false) now short-circuits to false even when ensure_experience_continuity: true — previously it threw InconclusiveMatchError and resolved to undefined. is_set now returns true for properties whose value is null or undefined as long as the key is present — is_set is 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.5

Compare Source

Patch Changes

v5.34.4

Compare Source

Patch Changes

v5.34.3

Compare Source

Patch Changes

v5.34.2

Compare Source

Patch Changes

v5.34.1

Compare Source

Patch Changes

v5.34.0

Compare Source

Minor Changes
  • #​3599 ad60818 Thanks @​turnipdabeets! - Expose UUID and cookie helpers from @posthog/core and posthog-node for 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/next now re-exports the same surface from @posthog/core to keep existing consumers working without churn. Closes #​2143.
    (2026-05-12)
Patch Changes

v5.33.7

Compare Source

Patch Changes

v5.33.6

Compare Source

Patch Changes

v5.33.5

Compare Source

Patch Changes

v5.33.4

Compare Source

Patch Changes

v5.33.3

Compare Source

Patch Changes

v5.33.2

Compare Source

Patch Changes

v5.33.1

Compare Source

Patch Changes

v5.33.0

Compare Source

Minor Changes
  • #​3476 f8bc02f Thanks @​dmarticus! - Add evaluateFlags() and a new flags option on capture() so a single /flags request powers both flag branching and event enrichment per incoming request:

    const flags = await posthog.evaluateFlags(distinctId, { personProperties: { plan: 'enterprise' } })
    if (flags.isEnabled('new-dashboard')) {
      renderNewDashboard()
    }
    posthog.capture({ distinctId, event: 'page_viewed', flags })

    The returned FeatureFlagEvaluations snapshot exposes isEnabled(), getFlag(), getFlagPayload() for branching, plus onlyAccessed() and only([keys]) for filtering which flags get attached to a captured event. Pass flagKeys: [...] to evaluateFlags() to scope the underlying /flags request itself. captureException() / captureExceptionImmediate() accept a flags argument so $exception events carry the same flag context as the rest of your request's events.

    Deprecates isFeatureEnabled(), getFeatureFlag(), getFeatureFlagPayload(), and capture({ sendFeatureFlags }). They continue to work but now log a deduped [PostHog] ... is deprecated warning the first time they're used. Removal is planned for the next major version. (2026-05-02)

v5.32.1

Compare Source

Patch Changes

v5.32.0

Compare Source

Minor Changes

v5.31.0

Compare Source

Minor Changes

v5.30.8

Compare Source

Patch Changes

v5.30.7

Compare Source

Patch Changes

v5.30.6

Compare Source

Patch Changes

v5.30.5

Compare Source

Patch Changes

v5.30.4

Compare Source

Patch Changes

v5.30.3

Compare Source

Patch Changes

v5.30.2

Compare Source

Patch Changes

v5.30.1

Compare Source

Patch Changes

v5.30.0

Compare Source

Minor Changes

v5.29.7

Compare Source

Patch Changes

[v5.29.6](https://redirect.github.com/Po

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • "before 4am"

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the bump bump deps label Nov 19, 2025
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.12.0 chore(deps): update dependency posthog-node to v5.13.0 Nov 19, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch 2 times, most recently from ce1a4f5 to f1da694 Compare November 20, 2025 10:10
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.13.0 chore(deps): update dependency posthog-node to v5.13.1 Nov 20, 2025
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.13.1 chore(deps): update dependency posthog-node to v5.13.2 Nov 20, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch 2 times, most recently from 1ca6254 to 26af96b Compare November 24, 2025 04:24
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.13.2 chore(deps): update dependency posthog-node to v5.13.3 Nov 24, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 26af96b to 82b3722 Compare November 24, 2025 13:40
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.13.3 chore(deps): update dependency posthog-node to v5.14.0 Nov 24, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 82b3722 to 0e02803 Compare November 28, 2025 18:53
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.14.0 chore(deps): update dependency posthog-node to v5.14.1 Nov 28, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 0e02803 to 774185b Compare December 2, 2025 02:01
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.14.1 chore(deps): update dependency posthog-node to v5.15.0 Dec 2, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 774185b to 751cfba Compare December 3, 2025 12:53
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.15.0 chore(deps): update dependency posthog-node to v5.17.0 Dec 3, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 751cfba to ced776d Compare December 4, 2025 20:54
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.17.0 chore(deps): update dependency posthog-node to v5.17.2 Dec 4, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from ced776d to ada7424 Compare December 17, 2025 03:01
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.17.2 chore(deps): update dependency posthog-node to v5.17.3 Dec 17, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from ada7424 to 484432d Compare December 17, 2025 17:44
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.17.3 chore(deps): update dependency posthog-node to v5.17.4 Dec 17, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 484432d to 08d57fa Compare December 22, 2025 21:00
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.17.4 chore(deps): update dependency posthog-node to v5.18.0 Dec 22, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 08d57fa to d696653 Compare December 30, 2025 21:54
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.18.0 chore(deps): update dependency posthog-node to v5.18.1 Dec 30, 2025
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from d696653 to f9f78ba Compare January 6, 2026 04:55
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.18.1 chore(deps): update dependency posthog-node to v5.19.0 Jan 6, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from f9f78ba to b405c3c Compare January 8, 2026 18:25
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 69358e3 to 095a5e6 Compare January 20, 2026 18:13
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.23.0 chore(deps): update dependency posthog-node to v5.24.0 Jan 20, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 095a5e6 to e262a9a Compare January 20, 2026 22:11
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.0 chore(deps): update dependency posthog-node to v5.24.1 Jan 20, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from e262a9a to d62b68d Compare January 23, 2026 23:07
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.1 chore(deps): update dependency posthog-node to v5.24.2 Jan 23, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from d62b68d to 087ceb2 Compare January 27, 2026 20:47
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.2 chore(deps): update dependency posthog-node to v5.24.3 Jan 27, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 087ceb2 to d65ec43 Compare January 28, 2026 20:38
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.3 chore(deps): update dependency posthog-node to v5.24.4 Jan 28, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from d65ec43 to 9de00e0 Compare January 29, 2026 13:27
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.4 chore(deps): update dependency posthog-node to v5.24.5 Jan 29, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 9de00e0 to 7709e1a Compare January 29, 2026 21:01
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.5 chore(deps): update dependency posthog-node to v5.24.7 Jan 29, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 7709e1a to a9dd780 Compare February 3, 2026 09:37
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.7 chore(deps): update dependency posthog-node to v5.24.8 Feb 3, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from a9dd780 to 35e7998 Compare February 3, 2026 17:28
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.8 chore(deps): update dependency posthog-node to v5.24.9 Feb 3, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 35e7998 to 210d5db Compare February 4, 2026 17:50
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.9 chore(deps): update dependency posthog-node to v5.24.10 Feb 4, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 210d5db to 892a8f8 Compare February 6, 2026 14:00
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.10 chore(deps): update dependency posthog-node to v5.24.11 Feb 6, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 892a8f8 to 9375939 Compare February 9, 2026 15:00
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.11 chore(deps): update dependency posthog-node to v5.24.13 Feb 9, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 9375939 to 5c5abb9 Compare February 10, 2026 07:53
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.13 chore(deps): update dependency posthog-node to v5.24.14 Feb 10, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from 5c5abb9 to dbcf90c Compare February 11, 2026 02:14
@renovate renovate Bot changed the title chore(deps): update dependency posthog-node to v5.24.14 chore(deps): update dependency posthog-node to v5.24.15 Feb 11, 2026
@renovate
renovate Bot force-pushed the renovate/posthog-node-5.x branch from dbcf90c to 5f4c89b Compare February 17, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump bump deps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants