Skip to content

chore(deps): update dependency posthog-node to v5#2962

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

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

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Aug 11, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
posthog-node (source) ^4.18.0^5.33.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

PostHog/posthog-js (posthog-node)

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

Compare Source

Patch Changes

v5.29.5

Compare Source

Patch Changes

v5.29.4

Compare Source

Patch Changes

v5.29.3

Compare Source

Patch Changes

v5.29.2

Compare Source

Patch Changes
  • #​3351 c735b08 Thanks @​dmarticus! - Send $device_id as a top-level field in /flags requests so the feature flags service can use it for device-based bucketing during remote evaluation
    (2026-04-09)
  • Updated dependencies [c735b08]:

v5.29.1

Compare Source

Patch Changes

v5.29.0

Compare Source

Minor Changes
Patch Changes

v5.28.11

Compare Source

Patch Changes

v5.28.10

Compare Source

Patch Changes

v5.28.9

Compare Source

Patch Changes

v5.28.8

Compare Source

Patch Changes

v5.28.7

Compare Source

Patch Changes

v5.28.6

Compare Source

Patch Changes

v5.28.5

Compare Source

Patch Changes

v5.28.4

Compare Source

Patch Changes

v5.28.3

Compare Source

Patch Changes

v5.28.2

Compare Source

Patch Changes

v5.28.1

Compare Source

Patch Changes

v5.28.0

Compare Source

Minor Changes

v5.27.1

Compare Source

Patch Changes
  • #​3186 4601bbc Thanks @​dmarticus! - Add semver comparison operators to local feature flag evaluation: semver_eq, semver_neq, semver_gt, semver_gte, semver_lt, semver_lte, semver_tilde, semver_caret, and semver_wildcard
    (2026-03-05)

v5.27.0

Compare Source

Minor Changes

v5.26.2

Compare Source

Patch Changes

v5.26.1

Compare Source

Patch Changes
  • #​3163 0dc03b0 Thanks @​gustavohstrassburger! - Improve local feature flag evaluation debugging by adding timestamp tracking. Locally evaluated flags now include timing information in $feature_flag_called events to help debug cache TTL and timing issues, matching what's available for remote evaluation.
    (2026-03-02)

v5.26.0

Compare Source

Minor Changes
  • #​3144 d43e90d Thanks @​dustinbyrne! - feat: getFeatureFlagResult, getAllFlags, getAllFlagsAndPayloads now have context-sensitive overrides which do not require distinctId as a parameter, instead reading it from the current context.
    (2026-02-25)

  • #​3144 d43e90d Thanks @​dustinbyrne! - feat: Add enterContext() to attach a context to the current async execution context
    (2026-02-25)

v5.25.0

Compare Source

Minor Changes
  • #​3132 301e75a Thanks @​benjackwhite! - Officially adds support for super properties added with .register (it was available as a function but did not actually work previously)
    (2026-02-23)

v5.24.17

Compare Source

Patch Changes

v5.24.16

Compare Source

Patch Changes

v5.24.15

Compare Source

Patch Changes

v5.24.14

Compare Source

Patch Changes

v5.24.13

Compare Source

Patch Changes

v5.24.12

Compare Source

Patch Changes

v5.24.11

Compare Source

Patch Changes

v5.24.10

Compare Source

Patch Changes

v5.24.9

Compare Source

Patch Changes

v5.24.8

Compare Source

Patch Changes

v5.24.7

Compare Source

Patch Changes

v5.24.6

Compare Source

Patch Changes

v5.24.5

Compare Source

Patch Changes

v5.24.4

Compare Source

Patch Changes

v5.24.3

Compare Source

Patch Changes

v5.24.2

Compare Source

Patch Changes

v5.24.1

Compare Source

Patch Changes

v5.24.0

Compare Source

Minor Changes
  • #​2897 b7fa003 Thanks @​matheus-vb! - Add $feature_flag_error to $feature_flag_called events to track flag evaluation failures
    (2026-01-20)
Patch Changes

v5.23.0

Compare Source

Minor Changes
  • #​2900 23770e9 Thanks @​dmarticus! - Renamed evaluationEnvironments to evaluationContexts for clearer semantics. The term "contexts" better reflects that this feature is for specifying evaluation contexts (e.g., "web", "mobile", "checkout") rather than deployment environments (e.g., "staging", "production").
Deprecated
  • posthog.init option evaluationEnvironments is now deprecated in favor of evaluationContexts. The old property will continue to work and will log a deprecation warning. It will be removed in a future major version.
Migration Guide
// Before
posthog.init('<ph_project_api_key>', {
    evaluationEnvironments: ['production', 'web', 'checkout'],
})

// After
posthog.init('<ph_project_api_key>', {
    evaluationContexts: ['production', 'web', 'checkout'],
})
``` (2026-01-19)
Patch Changes

v5.22.0

Compare Source

Minor Changes

v5.21.2

Compare Source

Patch Changes
  • #​2920 099ee0c Thanks @​haacked! - Add getFeatureFlagResult method to retrieve flag value and payload in a single API call.
    (2026-01-19)

v5.21.1

Compare Source

Patch Changes

v5.21.0

Compare Source

Minor Changes
  • #​2883 640fcdd Thanks @​ordehi! - Add warning when experience continuity flags are detected during local evaluation, and new strictLocalEvaluation option.

    Warning: When using local evaluation with flags that have experience continuity enabled, a warning is now emitted explaining that these flags will cause server requests on every evaluation, negating local evaluation cost savings.

    New option: strictLocalEvaluation: true can be set at client init to prevent all server fallback for flag evaluations. Flags that cannot be evaluated locally will return undefined instead of making a server request. This is useful in high-volume environments where you want to guarantee no unexpected server costs. (2026-01-14)

v5.20.0

Compare Source

Minor Changes
Patch Changes

v5.19.0

Compare Source

Minor Changes

v5.18.1

Compare Source

Patch Changes
  • #​2825 5a4a8e2 Thanks @​haacked! - getFeatureFlag() respects exponential backoff for HTTP 401, 403, and 429 responses.
    (2025-12-30)

v5.18.0

Compare Source

Minor Changes
  • #​2782 04065b9 Thanks @​haacked! - Add $feature_flag_error to $feature_flag_called events when an error occurred while trying evaluate a flag
    (2025-12-22)
Patch Changes

v5.17.4

Compare Source

Patch Changes

v5.17.3

Compare Source

Patch Changes

v5.17.2

Compare Source

Patch Changes
  • #​2678 ca4436e Thanks @​haacked! - Local evaluation polling sends If-None-Match header with latest etag to reduce bandwidth when no flags have changed.
    (2025-12-04)

v5.17.1

Compare Source

Patch Changes

v5.17.0

Compare Source

Minor Changes

v5.16.0

Compare Source

Minor Changes
Patch Changes

v5.15.0

Compare Source

Minor Changes

v5.14.1

Compare Source

Patch Changes

v5.14.0

Minor Changes
Patch Changes

v5.13.2

Compare Source

Patch Changes

v5.13.1

Compare Source

Patch Changes

v5.13.0

Compare Source

Minor Changes
  • #​2600 8972000 Thanks @​dustinbyrne! - fix: fetch is called without a bound context

    This prevents issues in edge runtimes such as Cloudflare (2025-11-19)

Patch Changes

v5.12.0

Compare Source

Minor Changes

v5.11.2

Compare Source

Patch Changes

v5.11.1

Compare Source

Patch Changes

v5.11.0

Compare Source

Minor Changes
  • #​2520 068d55e Thanks @​lricoy! - Add bot pageview collection behind preview flag. Enables tracking bot traffic as $bot_pageview events when the __preview_capture_bot_pageviews flag is enabled.
Patch Changes

v5.10.4

Compare Source

Patch Changes

v5.10.3

Compare Source

Patch Changes

v5.10.2

Compare Source

Patch Changes

v5.10.1

Compare Source

Patch Changes
  • #​2465 1721aba Thanks @​haacked! - Fix bug where flag doesn't fallback to the server correctly when one condition is a static cohort condition but a later condition matches.

v5.10.0

Compare Source

Minor Changes
  • #​2417 daf919b Thanks @​dmarticus! - feat: Add evaluation environments support for feature flags

    This PR implements support for evaluation environments in the posthog-node SDK, allowing users to specify which environment tags their SDK instance should use when evaluating feature flags.

    Users can now configure the SDK with an evaluationEnvironments option:

    const client = new PostHog('api-key', {
      host: 'https://app.posthog.com',
      evaluationEnvironments: ['production', 'backend', 'api'],
    })

    When set, only feature flags that have at least one matching evaluation tag will be evaluated for this SDK instance. Feature flags with no evaluation tags will always be evaluated.

Patch Changes

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@coolify-skkuding
Copy link
Copy Markdown

coolify-skkuding Bot commented Aug 11, 2025

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2025-08-27 10:21:49 CET

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from b3a8f87 to de239ca Compare August 11, 2025 08:06
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 12, 2025

Syncing Preview App Failed

Application: frontend
Revision: de239ca432f67d31fdb7fb0f4b22c93cc06e1aba
Health Status: Missing

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 13, 2025

Syncing Preview App Failed

Application: frontend
Revision: de239ca432f67d31fdb7fb0f4b22c93cc06e1aba
Health Status: Degraded

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from de239ca to 52df174 Compare August 13, 2025 14:04
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 13, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 52df17458055934965925cf9c82850a293e8582f
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 52df174 to d4a063d Compare August 14, 2025 14:03
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 14, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: d4a063d5137bf489f4ac12d683865af48e9fff29
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from d4a063d to f2083ca Compare August 15, 2025 16:02
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 15, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: f2083cacf439724483c211609dc6f255910f9c55
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 17, 2025

Syncing Preview App Failed

Application: frontend
Revision: f2083cacf439724483c211609dc6f255910f9c55
Health Status: Missing

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 17, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: f2083cacf439724483c211609dc6f255910f9c55
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from f2083ca to cc13337 Compare August 19, 2025 11:34
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 19, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: cc133371612d5167fc94a9de3e05b8b87549635a
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from cc13337 to 5c930f5 Compare August 26, 2025 09:53
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 26, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 5c930f5795722a5a6252a101c9e9c9f21a66b262
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 5c930f5 to 9f38b1b Compare August 27, 2025 10:16
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 27, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 9f38b1b2b85f7aa46034fd1a99a160ad65e4ccf9
Health Status: Healthy

Open Preview | View in Argo CD

1 similar comment
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 30, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 9f38b1b2b85f7aa46034fd1a99a160ad65e4ccf9
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 9f38b1b to d64c808 Compare August 31, 2025 09:54
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Aug 31, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: d64c80815ea1b2678ebc599ef90ee468bd2747c7
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Sep 1, 2025

Syncing Preview App Failed

Application: frontend
Revision: <no value>
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from d64c808 to 6482037 Compare September 5, 2025 03:15
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Sep 5, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 64820378fe1fc141b0c074fcb5fa75377618ad83
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 6482037 to 23dacaa Compare September 11, 2025 01:51
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Sep 11, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 23dacaa41e592c88c74da9e43cba694cfb862390
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 23dacaa to 5928fc9 Compare September 11, 2025 19:16
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Sep 11, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 5928fc9cfb7e00f802280f8b1c4b543c19702b6f
Health Status: Healthy

Open Preview | View in Argo CD

1 similar comment
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Sep 12, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 5928fc9cfb7e00f802280f8b1c4b543c19702b6f
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Dec 3, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: c143e781aa848c607fd57ee0c6f384eef8b4bc07
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from c143e78 to 433c027 Compare December 3, 2025 19:58
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Dec 3, 2025

Syncing Preview App Failed

Application: frontend
Revision: 433c02705ed68852d0f3d2da107c0ba3d5e2ccfc
Health Status: Degraded

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 433c027 to 93d7ba8 Compare December 7, 2025 16:20
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Dec 7, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 93d7ba82d55d85cc15f9b64d943e4afd6441b9ae
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 93d7ba8 to a462c88 Compare December 21, 2025 00:15
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Dec 21, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: a462c88802feb865ff4a23bfda343a07a7723f60
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from a462c88 to 7580287 Compare December 22, 2025 18:56
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Dec 22, 2025

Syncing Preview App Succeeded

Application: frontend
Revision: 75802873c44bc41493088f06b57b737d256488aa
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 7580287 to 0764bf9 Compare January 4, 2026 20:25
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Jan 4, 2026

Syncing Preview App Failed

Application: frontend
Revision: 0764bf90d25aa5cae8fdf98612eec15e2268c8e1
Health Status: Degraded

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Jan 4, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 0764bf90d25aa5cae8fdf98612eec15e2268c8e1
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 0764bf9 to 09b26d9 Compare January 11, 2026 11:51
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Jan 11, 2026

Syncing Preview App Failed

Application: frontend
Revision: 09b26d99a8b07c49da5bca0225cdacb6ec0f5328
Health Status: Degraded

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Jan 11, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 09b26d99a8b07c49da5bca0225cdacb6ec0f5328
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 09b26d9 to 3cb166a Compare January 25, 2026 16:09
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Jan 25, 2026

Syncing Preview App Failed

Application: frontend
Revision: 3cb166a4870213f10fd3a10301cf86f66ef2827e
Health Status: Degraded

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Jan 25, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 3cb166a4870213f10fd3a10301cf86f66ef2827e
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 3cb166a to ba0bf22 Compare January 28, 2026 04:27
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Jan 28, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: ba0bf22a5d9324703b9871e7dea89456b61b8732
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from ba0bf22 to 337c6be Compare February 1, 2026 11:04
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Feb 1, 2026

Syncing Preview App Failed

Application: frontend
Revision: 337c6be77aa18277846e050bad2fd9c2dde24858
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented Feb 2, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 337c6be77aa18277846e050bad2fd9c2dde24858
Health Status: Healthy

Open Preview | View in Argo CD

@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch 4 times, most recently from 3e952d4 to 43f4b1a Compare April 30, 2026 17:33
@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from 43f4b1a to e96652e Compare May 2, 2026 15:14
@renovate renovate Bot force-pushed the renovate/posthog-node-5.x branch from e96652e to 95527a8 Compare May 5, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants