From 4d0f8285a9997ca63b1432e15e9c9c96329edab8 Mon Sep 17 00:00:00 2001 From: PostHog Bot <69588470+posthog-bot@users.noreply.github.com> Date: Wed, 12 Nov 2025 17:50:53 +0100 Subject: [PATCH] chore(deps): Update posthog-js to 1.292.0 (#41377) --- ee/frontend/package.json | 2 +- frontend/package.json | 2 +- pnpm-lock.yaml | 26 +++++++++---------- .../__snapshots__/test_breakdown.ambr | 6 ++--- products/error_tracking/package.json | 2 +- products/user_interviews/package.json | 2 +- products/workflows/package.json | 2 +- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/ee/frontend/package.json b/ee/frontend/package.json index 47214b30d7..7a12058876 100644 --- a/ee/frontend/package.json +++ b/ee/frontend/package.json @@ -6,7 +6,7 @@ "mobile-replay:schema:build:json": "pnpm mobile-replay:web:schema:build:json && pnpm mobile-replay:mobile:schema:build:json" }, "dependencies": { - "posthog-js": "1.291.0" + "posthog-js": "1.292.0" }, "devDependencies": { "ts-json-schema-generator": "^v2.4.0-next.6" diff --git a/frontend/package.json b/frontend/package.json index aac0222550..2ac809fd19 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -193,7 +193,7 @@ "openai": "^4.81.0", "papaparse": "^5.4.1", "pmtiles": "^2.11.0", - "posthog-js": "1.291.0", + "posthog-js": "1.292.0", "posthog-js-lite": "4.1.0", "prettier": "^3.6.2", "prop-types": "^15.7.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fdb82dd16c..0ee00b527d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -372,8 +372,8 @@ importers: specifier: '*' version: 8.57.0 posthog-js: - specifier: 1.291.0 - version: 1.291.0 + specifier: 1.292.0 + version: 1.292.0 prettier: specifier: '*' version: 3.4.2 @@ -829,8 +829,8 @@ importers: specifier: ^2.11.0 version: 2.11.0 posthog-js: - specifier: 1.291.0 - version: 1.291.0 + specifier: 1.292.0 + version: 1.292.0 posthog-js-lite: specifier: 4.1.0 version: 4.1.0 @@ -1804,8 +1804,8 @@ importers: specifier: ^3.0.1 version: 3.0.1(kea@3.1.7(react@18.2.0)) posthog-js: - specifier: 1.291.0 - version: 1.291.0 + specifier: 1.292.0 + version: 1.292.0 react: specifier: '*' version: 18.2.0 @@ -2465,8 +2465,8 @@ importers: specifier: ^3.4.1 version: 3.4.1(kea@3.1.7(react@18.2.0)) posthog-js: - specifier: 1.291.0 - version: 1.291.0 + specifier: 1.292.0 + version: 1.292.0 react: specifier: '*' version: 18.2.0 @@ -2537,8 +2537,8 @@ importers: specifier: ^3.0.1 version: 3.0.1(kea@3.1.7(react@18.2.0)) posthog-js: - specifier: 1.291.0 - version: 1.291.0 + specifier: 1.292.0 + version: 1.292.0 react: specifier: '*' version: 18.2.0 @@ -16437,8 +16437,8 @@ packages: posthog-js-lite@4.1.0: resolution: {integrity: sha512-a+MoPmflhYtnKOuDg7tEgeiwT70mWwcZdqeMhduJw/3LPTFMTvnssTJ0jppmnwTkBoPdBgLYTO40l8k64Tl/yQ==} - posthog-js@1.291.0: - resolution: {integrity: sha512-v70gM338qt9BCJ3cUblqR1WgnqDTpbZvoNkASkL0hIBxzIqztq73jm+BlqkAC+VbpL3V/G0a0iUo11gJKKFIJg==} + posthog-js@1.292.0: + resolution: {integrity: sha512-sKBwrVT0vMqai8pAknmzK86vSQ5t36TDpQJyrLDj30ImkaiGuG4cVyI2wQ6l8vqdzk+rGAFUSP6Rqc2dMSQWWQ==} posthog-node@4.14.0: resolution: {integrity: sha512-PitSiuxGiVFl0ItuhIfi3Sq1tcaMU4vlbPu1wv0qufTJGDjWthOOr4vYfFIs1xkbJFOQcfGczMXkr44kX5TDDg==} @@ -38261,7 +38261,7 @@ snapshots: posthog-js-lite@4.1.0: {} - posthog-js@1.291.0: + posthog-js@1.292.0: dependencies: '@posthog/core': 1.5.2 core-js: 3.46.0 diff --git a/posthog/hogql_queries/experiments/test/experiment_query_runner/__snapshots__/test_breakdown.ambr b/posthog/hogql_queries/experiments/test/experiment_query_runner/__snapshots__/test_breakdown.ambr index e06fd4acf9..4d708de0be 100644 --- a/posthog/hogql_queries/experiments/test/experiment_query_runner/__snapshots__/test_breakdown.ambr +++ b/posthog/hogql_queries/experiments/test/experiment_query_runner/__snapshots__/test_breakdown.ambr @@ -16,7 +16,7 @@ argMinIf(metric_events.uuid, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_event_uuid, argMinIf(metric_events.session_id, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_session_id, argMinIf(metric_events.timestamp, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_timestamp, - arraySort(x -> minus(0, x.1), arrayMap(result -> tuple(result.1, if(and(ifNull(greaterOrEquals(result.1, 0), 0), ifNull(greater(length(result.4), result.1), 0)), if(ifNull(greater(length(arrayElement(result.4, plus(result.1, 1))), 0), 0), toString(arrayElement(result.4, plus(result.1, 1))[1]), ''), '')), aggregate_funnel_array_v8(2, 94608000, 'first_touch', 'ordered', array(array('')), [], arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(metric_events.timestamp, 'Float64'), metric_events.uuid, array(''), arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, metric_events.step_0), multiply(2, metric_events.step_1)])))))))[1] AS value, + arraySort(x -> minus(0, x.1), arrayMap(result -> tuple(result.1, if(and(ifNull(greaterOrEquals(result.1, 0), 0), ifNull(greater(length(result.4), result.1), 0)), if(ifNull(greater(length(arrayElement(result.4, plus(result.1, 1))), 0), 0), toString(arrayElement(result.4, plus(result.1, 1))[1]), ''), '')), aggregate_funnel_array_v9(2, 94608000, 'first_touch', 'ordered', array(array('')), [], arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(metric_events.timestamp, 'Float64'), metric_events.uuid, array(''), arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, metric_events.step_0), multiply(2, metric_events.step_1)])))))))[1] AS value, mapFromArrays(groupArray(coalesce(toString(metric_events.uuid), '')), groupArray(coalesce(toString(metric_events.session_id), ''))) AS uuid_to_session, mapFromArrays(groupArray(coalesce(toString(metric_events.uuid), '')), groupArray(coalesce(metric_events.timestamp, toDateTime(0, 'UTC')))) AS uuid_to_timestamp, argMinIf(metric_events.breakdown_value_1, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS breakdown_value_1 @@ -74,7 +74,7 @@ argMinIf(metric_events.uuid, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_event_uuid, argMinIf(metric_events.session_id, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_session_id, argMinIf(metric_events.timestamp, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_timestamp, - arraySort(x -> minus(0, x.1), arrayMap(result -> tuple(result.1, if(and(ifNull(greaterOrEquals(result.1, 0), 0), ifNull(greater(length(result.4), result.1), 0)), if(ifNull(greater(length(arrayElement(result.4, plus(result.1, 1))), 0), 0), toString(arrayElement(result.4, plus(result.1, 1))[1]), ''), '')), aggregate_funnel_array_v8(2, 94608000, 'first_touch', 'ordered', array(array('')), [], arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(metric_events.timestamp, 'Float64'), metric_events.uuid, array(''), arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, metric_events.step_0), multiply(2, metric_events.step_1)])))))))[1] AS value, + arraySort(x -> minus(0, x.1), arrayMap(result -> tuple(result.1, if(and(ifNull(greaterOrEquals(result.1, 0), 0), ifNull(greater(length(result.4), result.1), 0)), if(ifNull(greater(length(arrayElement(result.4, plus(result.1, 1))), 0), 0), toString(arrayElement(result.4, plus(result.1, 1))[1]), ''), '')), aggregate_funnel_array_v9(2, 94608000, 'first_touch', 'ordered', array(array('')), [], arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(metric_events.timestamp, 'Float64'), metric_events.uuid, array(''), arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, metric_events.step_0), multiply(2, metric_events.step_1)])))))))[1] AS value, mapFromArrays(groupArray(coalesce(toString(metric_events.uuid), '')), groupArray(coalesce(toString(metric_events.session_id), ''))) AS uuid_to_session, mapFromArrays(groupArray(coalesce(toString(metric_events.uuid), '')), groupArray(coalesce(metric_events.timestamp, toDateTime(0, 'UTC')))) AS uuid_to_timestamp, argMinIf(metric_events.breakdown_value_1, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS breakdown_value_1, @@ -137,7 +137,7 @@ argMinIf(metric_events.uuid, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_event_uuid, argMinIf(metric_events.session_id, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_session_id, argMinIf(metric_events.timestamp, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS exposure_timestamp, - arraySort(x -> minus(0, x.1), arrayMap(result -> tuple(result.1, if(and(ifNull(greaterOrEquals(result.1, 0), 0), ifNull(greater(length(result.4), result.1), 0)), if(ifNull(greater(length(arrayElement(result.4, plus(result.1, 1))), 0), 0), toString(arrayElement(result.4, plus(result.1, 1))[1]), ''), '')), aggregate_funnel_array_v8(2, 94608000, 'first_touch', 'ordered', array(array('')), [], arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(metric_events.timestamp, 'Float64'), metric_events.uuid, array(''), arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, metric_events.step_0), multiply(2, metric_events.step_1)])))))))[1] AS value, + arraySort(x -> minus(0, x.1), arrayMap(result -> tuple(result.1, if(and(ifNull(greaterOrEquals(result.1, 0), 0), ifNull(greater(length(result.4), result.1), 0)), if(ifNull(greater(length(arrayElement(result.4, plus(result.1, 1))), 0), 0), toString(arrayElement(result.4, plus(result.1, 1))[1]), ''), '')), aggregate_funnel_array_v9(2, 94608000, 'first_touch', 'ordered', array(array('')), [], arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(metric_events.timestamp, 'Float64'), metric_events.uuid, array(''), arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, metric_events.step_0), multiply(2, metric_events.step_1)])))))))[1] AS value, mapFromArrays(groupArray(coalesce(toString(metric_events.uuid), '')), groupArray(coalesce(toString(metric_events.session_id), ''))) AS uuid_to_session, mapFromArrays(groupArray(coalesce(toString(metric_events.uuid), '')), groupArray(coalesce(metric_events.timestamp, toDateTime(0, 'UTC')))) AS uuid_to_timestamp, argMinIf(metric_events.breakdown_value_1, metric_events.timestamp, ifNull(equals(metric_events.step_0, 1), 0)) AS breakdown_value_1, diff --git a/products/error_tracking/package.json b/products/error_tracking/package.json index 413485dc2e..d68ceb80f9 100644 --- a/products/error_tracking/package.json +++ b/products/error_tracking/package.json @@ -7,7 +7,7 @@ "kea-loaders": "^3.1.1", "kea-router": "^3.4.1", "kea-subscriptions": "^3.0.1", - "posthog-js": "1.291.0" + "posthog-js": "1.292.0" }, "peerDependencies": { "@dnd-kit/core": "*", diff --git a/products/user_interviews/package.json b/products/user_interviews/package.json index ec923b7c60..09398690bf 100644 --- a/products/user_interviews/package.json +++ b/products/user_interviews/package.json @@ -4,7 +4,7 @@ "kea": "^3.1.7", "kea-loaders": "^3.1.1", "kea-router": "^3.4.1", - "posthog-js": "1.291.0" + "posthog-js": "1.292.0" }, "peerDependencies": { "@posthog/icons": "*", diff --git a/products/workflows/package.json b/products/workflows/package.json index a17f450fc5..9e249dc91f 100644 --- a/products/workflows/package.json +++ b/products/workflows/package.json @@ -6,7 +6,7 @@ "kea-loaders": "^3.1.1", "kea-router": "^3.4.1", "kea-subscriptions": "^3.0.1", - "posthog-js": "1.291.0" + "posthog-js": "1.292.0" }, "peerDependencies": { "@posthog/icons": "*",