chore(deps): update dependency posthog-node to v5#2962
chore(deps): update dependency posthog-node to v5#2962renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2025-08-27 10:21:49 CET |
b3a8f87 to
de239ca
Compare
|
❗ Syncing Preview App Failed Application: |
|
❗ Syncing Preview App Failed Application: |
de239ca to
52df174
Compare
|
✅ Syncing Preview App Succeeded Application: |
52df174 to
d4a063d
Compare
|
✅ Syncing Preview App Succeeded Application: |
d4a063d to
f2083ca
Compare
|
✅ Syncing Preview App Succeeded Application: |
|
❗ Syncing Preview App Failed Application: |
|
✅ Syncing Preview App Succeeded Application: |
f2083ca to
cc13337
Compare
|
✅ Syncing Preview App Succeeded Application: |
cc13337 to
5c930f5
Compare
|
✅ Syncing Preview App Succeeded Application: |
5c930f5 to
9f38b1b
Compare
|
✅ Syncing Preview App Succeeded Application: |
1 similar comment
|
✅ Syncing Preview App Succeeded Application: |
9f38b1b to
d64c808
Compare
|
✅ Syncing Preview App Succeeded Application: |
|
❗ Syncing Preview App Failed Application: |
d64c808 to
6482037
Compare
|
✅ Syncing Preview App Succeeded Application: |
6482037 to
23dacaa
Compare
|
✅ Syncing Preview App Succeeded Application: |
23dacaa to
5928fc9
Compare
|
✅ Syncing Preview App Succeeded Application: |
1 similar comment
|
✅ Syncing Preview App Succeeded Application: |
|
✅ Syncing Preview App Succeeded Application: |
c143e78 to
433c027
Compare
|
❗ Syncing Preview App Failed Application: |
433c027 to
93d7ba8
Compare
|
✅ Syncing Preview App Succeeded Application: |
93d7ba8 to
a462c88
Compare
|
✅ Syncing Preview App Succeeded Application: |
a462c88 to
7580287
Compare
|
✅ Syncing Preview App Succeeded Application: |
7580287 to
0764bf9
Compare
|
❗ Syncing Preview App Failed Application: |
|
✅ Syncing Preview App Succeeded Application: |
0764bf9 to
09b26d9
Compare
|
❗ Syncing Preview App Failed Application: |
|
✅ Syncing Preview App Succeeded Application: |
09b26d9 to
3cb166a
Compare
|
❗ Syncing Preview App Failed Application: |
|
✅ Syncing Preview App Succeeded Application: |
3cb166a to
ba0bf22
Compare
|
✅ Syncing Preview App Succeeded Application: |
ba0bf22 to
337c6be
Compare
|
❗ Syncing Preview App Failed Application: |
|
✅ Syncing Preview App Succeeded Application: |
3e952d4 to
43f4b1a
Compare
43f4b1a to
e96652e
Compare
e96652e to
95527a8
Compare
This PR contains the following updates:
^4.18.0→^5.33.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
PostHog/posthog-js (posthog-node)
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.6Compare Source
Patch Changes
1a8b727]:v5.29.5Compare Source
Patch Changes
922a1c1]:v5.29.4Compare Source
Patch Changes
b26c57cThanks @patricio-posthog! - fix(flags): switch local evaluation polling from/api/feature_flag/local_evaluationto/flags/definitions(2026-04-21)
v5.29.3Compare Source
Patch Changes
1a0b58dThanks @marandaneto! - Trim surrounding whitespace from user-provided API keys, personal API keys, and host config values before using them.(2026-04-21)
1a0b58d]:v5.29.2Compare Source
Patch Changes
c735b08Thanks @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)
c735b08]:v5.29.1Compare Source
Patch Changes
57ee5b2]:v5.29.0Compare Source
Minor Changes
fc5589fThanks @dmarticus! - preserve $set_once semantics in local flag evaluation cache(2026-04-07)
Patch Changes
fc5589f]:v5.28.11Compare Source
Patch Changes
a01a3d5]:v5.28.10Compare Source
Patch Changes
197eedaThanks @marandaneto! - Extract CLI and sourcemap utilities from @posthog/core into @posthog/plugin-utils to remove cross-spawn from React Native dependencies(2026-04-01)
197eeda]:v5.28.9Compare Source
Patch Changes
a863914]:v5.28.8Compare Source
Patch Changes
4bdfdbc]:v5.28.7Compare Source
Patch Changes
8d34289]:v5.28.6Compare Source
Patch Changes
5784dcaThanks @marandaneto! - fix: captureException now uses distinctId from request context(2026-03-26)
v5.28.5Compare Source
Patch Changes
314120a]:v5.28.4Compare Source
Patch Changes
9cd2313]:v5.28.3Compare Source
Patch Changes
697e423Thanks @hpouillot! - fix captureExceptionImmediate return value(2026-03-18)
v5.28.2Compare Source
Patch Changes
#3236
bc30c2dThanks @dustinbyrne! - Omit the config query parameter by default to request only the necessary data(2026-03-13)
#3236
bc30c2dThanks @dustinbyrne! - fix: Client shutdown awaits the feature flags poller to stop(2026-03-13)
Updated dependencies [
bc30c2d,bc30c2d]:v5.28.1Compare Source
Patch Changes
4009c15]:v5.28.0Compare Source
Minor Changes
33e9fb4Thanks @hpouillot! - Add nestjs integration with interceptor for context propagation(2026-03-05)
v5.27.1Compare Source
Patch Changes
4601bbcThanks @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.0Compare Source
Minor Changes
2eff595Thanks @dustinbyrne! - feat: Accept awaitUntilmethod for serverless environments(2026-03-04)
v5.26.2Compare Source
Patch Changes
5e8d5fc]:v5.26.1Compare Source
Patch Changes
0dc03b0Thanks @gustavohstrassburger! - Improve local feature flag evaluation debugging by adding timestamp tracking. Locally evaluated flags now include timing information in$feature_flag_calledevents to help debug cache TTL and timing issues, matching what's available for remote evaluation.(2026-03-02)
v5.26.0Compare Source
Minor Changes
#3144
d43e90dThanks @dustinbyrne! - feat: getFeatureFlagResult, getAllFlags, getAllFlagsAndPayloads now have context-sensitive overrides which do not requiredistinctIdas a parameter, instead reading it from the current context.(2026-02-25)
#3144
d43e90dThanks @dustinbyrne! - feat: AddenterContext()to attach a context to the current async execution context(2026-02-25)
v5.25.0Compare Source
Minor Changes
301e75aThanks @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.17Compare Source
Patch Changes
9dbc05eThanks @ablaszkiewicz! - warning on manual capture('$exception')(2026-02-18)
9dbc05e]:v5.24.16Compare Source
Patch Changes
e962f01]:v5.24.15Compare Source
Patch Changes
0acf16f]:v5.24.14Compare Source
Patch Changes
d578824]:v5.24.13Compare Source
Patch Changes
846a7f2Thanks @richardsolomou! - feat: Add /edge subpath export for non-standard edge runtimes(2026-02-09)
v5.24.12Compare Source
Patch Changes
e055f9a]:v5.24.11Compare Source
Patch Changes
8f75dae]:v5.24.10Compare Source
Patch Changes
bb62809]:v5.24.9Compare Source
Patch Changes
c99e5fe]:v5.24.8Compare Source
Patch Changes
7768010]:v5.24.7Compare Source
Patch Changes
727536c]:v5.24.6Compare Source
Patch Changes
cbe84c1]:v5.24.5Compare Source
Patch Changes
25f4173Thanks @marandaneto! - fix: before_send in node inferred the type as any instead of EventMessage or null(2026-01-29)
v5.24.4Compare Source
Patch Changes
8c0c495]:v5.24.3Compare Source
Patch Changes
f51560c]:v5.24.2Compare Source
Patch Changes
933c763]:v5.24.1Compare Source
Patch Changes
8a5a3d5]:v5.24.0Compare Source
Minor Changes
b7fa003Thanks @matheus-vb! - Add $feature_flag_error to $feature_flag_called events to track flag evaluation failures(2026-01-20)
Patch Changes
b7fa003,f0cbc0d]:v5.23.0Compare Source
Minor Changes
23770e9Thanks @dmarticus! - RenamedevaluationEnvironmentstoevaluationContextsfor 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.initoptionevaluationEnvironmentsis now deprecated in favor ofevaluationContexts. The old property will continue to work and will log a deprecation warning. It will be removed in a future major version.Migration Guide
Patch Changes
23770e9]:v5.22.0Compare Source
Minor Changes
c9b773aThanks @marandaneto! - chore: Bump node min. ^20.20.0 || >=22.22.0 due to https://nodejs.org/en/blog/vulnerability/january-2026-dos-mitigation-async-hooks(2026-01-19)
v5.21.2Compare Source
Patch Changes
099ee0cThanks @haacked! - Add getFeatureFlagResult method to retrieve flag value and payload in a single API call.(2026-01-19)
v5.21.1Compare Source
Patch Changes
d37e570]:v5.21.0Compare Source
Minor Changes
#2883
640fcddThanks @ordehi! - Add warning when experience continuity flags are detected during local evaluation, and newstrictLocalEvaluationoption.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: truecan be set at client init to prevent all server fallback for flag evaluations. Flags that cannot be evaluated locally will returnundefinedinstead 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.0Compare Source
Minor Changes
fba9fb2Thanks @daibhin! - track LLMA trace_id on exceptions and exception_id on traces(2026-01-08)
Patch Changes
fba9fb2,c1ed63b]:v5.19.0Compare Source
Minor Changes
84e4140Thanks @ordehi! - Add overrideFeatureFlags() method for local testing and development(2026-01-06)
v5.18.1Compare Source
Patch Changes
5a4a8e2Thanks @haacked! - getFeatureFlag() respects exponential backoff for HTTP 401, 403, and 429 responses.(2025-12-30)
v5.18.0Compare Source
Minor Changes
04065b9Thanks @haacked! - Add $feature_flag_error to $feature_flag_called events when an error occurred while trying evaluate a flag(2025-12-22)
Patch Changes
b676b4d]:v5.17.4Compare Source
Patch Changes
6b0aabf]:v5.17.3Compare Source
Patch Changes
2603a8d]:v5.17.2Compare Source
Patch Changes
ca4436eThanks @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.1Compare Source
Patch Changes
#2690
e9c00fdThanks @robbie-c! - Related to https://www.wiz.io/blog/critical-vulnerability-in-react-cve-2025-55182We didn't include any of the vulnerable deps in any of our packages, however we did have them as dev / test / example project dependencies.
There was no way that any of these vulnerable packages were included in any of our published packages.
We've now patched out those dependencies.
Out of an abundance of caution, let's create a new release of all of our packages. (2025-12-04)
Updated dependencies [
e9c00fd]:v5.17.0Compare Source
Minor Changes
a1dde5cThanks @ablaszkiewicz! - make contexts inherit by default(2025-12-03)
v5.16.0Compare Source
Minor Changes
e1617d9Thanks @dmarticus! - add $feature_flag_evaluated_at properties to $feature_flag_called events(2025-12-03)
Patch Changes
e1617d9]:v5.15.0Compare Source
Minor Changes
#2614
2be0eb3Thanks @dustinbyrne! - fix: Improve cache initialization performance(2025-12-01)
#2588
ef589b6Thanks @ablaszkiewicz! - add context support(2025-12-01)
v5.14.1Compare Source
Patch Changes
922afafThanks @hpouillot! - forward session and distinct id in express error handler(2025-11-28)
v5.14.0Minor Changes
86dab38Thanks @hpouillot! - package deprecation(2025-11-24)
Patch Changes
86dab38]:v5.13.2Compare Source
Patch Changes
83f5d07]:v5.13.1Compare Source
Patch Changes
c242702]:v5.13.0Compare Source
Minor Changes
#2600
8972000Thanks @dustinbyrne! - fix:fetchis called without a bound contextThis prevents issues in edge runtimes such as Cloudflare (2025-11-19)
Patch Changes
8acd88fThanks @hpouillot! - fix frame platform property for $exception events(2025-11-19)
8acd88f]:v5.12.0Compare Source
Minor Changes
4ad3678Thanks @dustinbyrne! - feat: AddFlagDefinitionCacheProviderinterface and client configuration optionv5.11.2Compare Source
Patch Changes
87f9604]:v5.11.1Compare Source
Patch Changes
d8d98c9]:v5.11.0Compare Source
Minor Changes
068d55eThanks @lricoy! - Add bot pageview collection behind preview flag. Enables tracking bot traffic as$bot_pageviewevents when the__preview_capture_bot_pageviewsflag is enabled.Patch Changes
068d55e]:v5.10.4Compare Source
Patch Changes
751b440]:v5.10.3Compare Source
Patch Changes
e0a6fe0]:v5.10.2Compare Source
Patch Changes
a581328Thanks @luke-belton! - Fix crash caused by callinggetFeatureFlagPayloadsfor a flag that depends on a static cohortv5.10.1Compare Source
Patch Changes
1721abaThanks @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.0Compare Source
Minor Changes
#2417
daf919bThanks @dmarticus! - feat: Add evaluation environments support for feature flagsThis 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
evaluationEnvironmentsoption: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
#2431
7d45a7aThanks @marandaneto! - fix: remove deprecated attribute $exception_personURL from exception eventsUpdated dependencies [[
daf919b](https://redirect.Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.