Skip to content

chore(deps): update dependency posthog-node to v5.48.1 - #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.48.1#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.48.1 age confidence

Release Notes

PostHog/posthog-js (posthog-node)

v5.48.1

Compare Source

Patch Changes

v5.48.0

Compare Source

Minor Changes
  • #​4342 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)

v5.47.11

Compare Source

Patch Changes

v5.47.10

Compare Source

Patch Changes
  • #​4287 d3c4538 Thanks @​posthog! - Keep $referring_domain and canonical utm_*/campaign parameters on minimal $feature_flag_called events. Previously the minimal allowlist stripped every campaign parameter, so a flag-called event landing first in a session could set the session's UTM attribution and channel type to NULL in web analytics.
    (2026-08-04)
  • Updated dependencies [d3c4538]:

v5.47.9

Compare Source

Patch Changes
  • #​4350 facb4c1 Thanks @​marandaneto! - Fix enableExceptionAutocapture suppressing Node's default crash on unhandled promise rejections; fatal rejections in strict or warn-with-error-code mode and rejections handled by another unhandledRejection listener are no longer captured.
    (2026-08-04)

v5.47.8

Compare Source

Patch Changes

v5.47.7

Compare Source

Patch Changes

v5.47.6

Compare Source

Patch Changes

v5.47.5

Compare Source

Patch Changes
  • #​4155 eb0a793 Thanks @​ATKasem! - fix: personProperties and groupProperties on the feature flag methods are no longer typed as Record<string, string>, so numeric and boolean values type-check without a cast. Local evaluation already handled them — matchProperty takes Record<string, any> and compares numerically for gt/gte/lt/lte — only the public types disagreed. These now use the shared Properties type (personProperties?: Properties, groupProperties?: Record<string, Properties>), matching setPersonPropertiesForFlags/setGroupPropertiesForFlags so the any can be narrowed later. Types only, no runtime change.
    (2026-08-03)
  • Updated dependencies [eb0a793]:

v5.47.4

Compare Source

Patch Changes

v5.47.3

Compare Source

Patch Changes

v5.47.2

Compare Source

Patch Changes
  • #​4332 b9a241e Thanks @​ioannisj! - Fix identify() leaving a user anonymous when the supplied ID already matches the persisted distinct ID (for example after a non-identified bootstrap seeded the same ID). The user is now marked identified and a person-processed $set event is captured. Ports the same fix from posthog-js (browser) to the shared core used by React Native, Node, and posthog-js-lite.
    (2026-07-31)
  • Updated dependencies [b9a241e]:

v5.47.1

Compare Source

Patch Changes

v5.47.0

Compare Source

Minor Changes
  • #​4308 6e7f3ae Thanks @​ablaszkiewicz! - Emit the release id that posthog-cli injects into your bundle as $release_id on $exception events, so PostHog can attach exceptions to a release without joining through symbol sets. Adds getInjectedReleaseId() to @posthog/core. The property is only attached when an injected release id can be read.
    (2026-07-30)
Patch Changes

v5.46.1

Compare Source

Patch Changes

v5.46.0

Compare Source

Minor Changes
  • #​4172 9621830 Thanks @​haacked! - send minimal $feature_flag_called events when the server enables it

    When the v2 /flags response carries minimalFlagCalledEvents: true (or, for posthog-node local evaluation, the flag-definitions payload carries minimal_flag_called_events: true) and the evaluated flag is not linked to an experiment ($feature_flag_has_experiment === false), $feature_flag_called events are rebuilt from a strict allowlist of flag-evaluation, processing-control, and SDK-identity properties. Super properties, $set/$set_once, the $feature/<key> enumeration, $active_feature_flags, and the context envelope are stripped. Any missing signal (no gate on the response, bootstrapped or locally injected flags, has_experiment unknown) falls back to the full event, and experiment-linked flags always send the full envelope. The gate is stored alongside the cached flags (posthog-js persistence, posthog-node poller state) and is server-controlled, with no SDK-side configuration. before_send runs after the filter and may re-add stripped properties. (2026-07-20)

Patch Changes

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](https://redirect.github.com/PostHog/posthog-js/blob/HEAD/packages/node/C

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