From 2f739c29e0c307ca6f39f5374c0118216b646ee7 Mon Sep 17 00:00:00 2001 From: Mehdi Osman Date: Thu, 30 Mar 2023 19:27:08 +0200 Subject: [PATCH 1/5] Update CHANGELOG.md --- tracker/tracker/CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tracker/tracker/CHANGELOG.md b/tracker/tracker/CHANGELOG.md index a021c6ae6..2cd9d01e4 100644 --- a/tracker/tracker/CHANGELOG.md +++ b/tracker/tracker/CHANGELOG.md @@ -1,11 +1,11 @@ # 6.0.0 - -- Capture mouse thrashing, input hesitation+duration, click hesitation +**(Compatible with OpenReplay v1.11.0+ only)** +- **[breaking]:** Capture mouse thrashing, input hesitation+duration, click hesitation - Capture DOM node drop event (>30% nodes removed) - Capture iframe network requests - Detect cached requests to img, css and js resources; send transferred size - added `{ mouse: { disableClickmaps: boolean } }` to disable calculating el. selectors -- added `{ mouse: { minSelectorDepth?: number; nthThreshold?: number; maxOptimiseTries?: number }` for selector finding optimisations +- added `{ mouse: { minSelectorDepth?: number; nthThreshold?: number; maxOptimiseTries?: number }` for selector finding optimizations ## 5.0.2 @@ -18,13 +18,13 @@ - Use `@medv/finder` instead of our own implementation of `getSelector` for better clickmaps experience ## 5.0.0 - +**(Compatible with OpenReplay v1.10.0+ only)** +- **[breaking]:** string dictionary to reduce session size - Added "tel" to supported input types - Added `{ withCurrentTime: true }` to `tracker.getSessionURL` method which will return sessionURL with current session's timestamp - Added Network module that captures fetch/xhr by default (with no plugin required) - Use `timeOrigin()` instead of `performance.timing.navigationStart` in ResourceTiming messages - Added app restart when service worker died after inactivity (mobile safari) -- **[breaking]** string dictionary to reduce session size ## 4.1.8 From dd69202de7b2b83728f0a1cc9b89ae40f7041a9f Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Thu, 30 Mar 2023 21:54:02 +0200 Subject: [PATCH 2/5] fix(clickhouse): clickhouse health query (#1080) Signed-off-by: rjshrjndrn --- ee/api/chalicelib/core/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/chalicelib/core/health.py b/ee/api/chalicelib/core/health.py index 26b3a2b24..e5090dc20 100644 --- a/ee/api/chalicelib/core/health.py +++ b/ee/api/chalicelib/core/health.py @@ -185,7 +185,7 @@ def __check_database_ch(): FROM system.functions WHERE name = 'openreplay_version';""") if len(schema_version) > 0: - schema_version = ch.execute("SELECT openreplay_version()() AS version;") + schema_version = ch.execute("SELECT openreplay_version() AS version;") schema_version = schema_version[0]["version"] else: print("!! health failed: clickhouse schema is outdated") From ce2fa583c3b5c8dcafb057f4caef6c37cd3f6386 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Thu, 30 Mar 2023 22:11:54 +0200 Subject: [PATCH 3/5] fix(chalice): check health for kafka instead redis (#1081) Signed-off-by: rjshrjndrn --- ee/api/chalicelib/core/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/chalicelib/core/health.py b/ee/api/chalicelib/core/health.py index e5090dc20..7e346427a 100644 --- a/ee/api/chalicelib/core/health.py +++ b/ee/api/chalicelib/core/health.py @@ -139,7 +139,7 @@ def get_health(): "clickhouse": __check_database_ch }, "ingestionPipeline": { - "redis": __check_redis, + # "redis": __check_redis, # "kafka": __check_kafka "kafka": __always_healthy }, From f6a0e2eea082e662a419295bcb798135ceb24f46 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Thu, 30 Mar 2023 22:30:13 +0200 Subject: [PATCH 4/5] fix(frontend): Assist credentials url (#1082) Signed-off-by: rjshrjndrn --- frontend/app/components/Session/LivePlayer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session/LivePlayer.tsx b/frontend/app/components/Session/LivePlayer.tsx index f558c3103..b59f509dc 100644 --- a/frontend/app/components/Session/LivePlayer.tsx +++ b/frontend/app/components/Session/LivePlayer.tsx @@ -51,7 +51,7 @@ function LivePlayer({ }, }; if (isEnterprise) { - new APIClient().get('/config/assist/credentials').then(r => r.json()) + new APIClient().get('/assist/credentials').then(r => r.json()) .then(({ data }) => { const [player, store] = createLiveWebPlayer(sessionWithAgentData, data, (state) => makeAutoObservable(state) From 137b4daffb8f7ccf991faeee2de2e3e39c79652c Mon Sep 17 00:00:00 2001 From: Mehdi Osman Date: Thu, 30 Mar 2023 23:10:18 +0200 Subject: [PATCH 5/5] Update LivePlayer.tsx --- frontend/app/components/Session/LivePlayer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session/LivePlayer.tsx b/frontend/app/components/Session/LivePlayer.tsx index b59f509dc..f558c3103 100644 --- a/frontend/app/components/Session/LivePlayer.tsx +++ b/frontend/app/components/Session/LivePlayer.tsx @@ -51,7 +51,7 @@ function LivePlayer({ }, }; if (isEnterprise) { - new APIClient().get('/assist/credentials').then(r => r.json()) + new APIClient().get('/config/assist/credentials').then(r => r.json()) .then(({ data }) => { const [player, store] = createLiveWebPlayer(sessionWithAgentData, data, (state) => makeAutoObservable(state)