From b9f0aed862c1dac211b3a04b25e4972de7fc5250 Mon Sep 17 00:00:00 2001 From: Fiona Date: Fri, 21 Aug 2026 02:18:30 -0700 Subject: [PATCH 1/4] v0.1.0 --- CHANGELOG.md | 66 ++++++++++++++++++++++++++++++++ developer-extension/package.json | 2 +- lerna.json | 2 +- packages/core/package.json | 2 +- packages/flagging/package.json | 4 +- packages/logs/package.json | 4 +- packages/rum-core/package.json | 2 +- packages/rum-legacy/package.json | 2 +- packages/rum-react/package.json | 2 +- packages/rum-slim/package.json | 4 +- packages/rum/package.json | 4 +- packages/worker/package.json | 2 +- performances/package.json | 2 +- test/apps/react/yarn.lock | 36 ++++++++--------- test/apps/vanilla/yarn.lock | 36 ++++++++--------- yarn.lock | 8 ++-- 16 files changed, 122 insertions(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b26b66aff..9befbf3ecc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,72 @@ --- +## v0.1.0 + +This release adds a separate ES5 build of the RUM Browser SDK for browsers without ES2015 support: +`fc-rum-legacy.js`, distributed through the CDN only. It was verified on real IE 9, 10 and 11, and +on IE 6 to IE 8 it loads and stays silent rather than disturbing the page it is on. See +`packages/rum-legacy/README.md` for how to load it, what it collects, and what it does not. + +Releases now publish into a directory named for the release, `/browser-sdk/v0.1.0/`, rather than +one named for the major version. A url pins the version it names, and updating a self-hosted copy +means pointing at the next release. `scripts/deploy/sync-bundles.js` downloads a complete set. + +**Internal Changes:** + +- Merge pull request #27 from flashcatcloud/main +- Merge pull request #26 from flashcatcloud/chore/reconcile-publish-into-main +- test(rum-legacy): stop the time spent measurement drifting [RUM-LEGACY] +- test(rum-legacy): assert the view fields that reach the wire [RUM-LEGACY] +- fix(rum-legacy): survive the checks the merged CI actually runs [RUM-LEGACY] +- fix(deploy): duplicate whole expectations, not just their command line +- fix(deploy): teach the release tooling about the legacy bundle [RUM-LEGACY] +- Merge branch 'publish' into main +- Merge pull request #23 from flashcatcloud/feat/cdn-sync-and-delivery-docs +- Merge pull request #22 from flashcatcloud/feat/rum-legacy-es5 +- chore(rum-legacy): satisfy the no-unsafe-return rule in the cookie spec [RUM-LEGACY] +- fix(rum-legacy): keep the session cookie as long as the modern bundle does [RUM-LEGACY] +- fix(rum-legacy): hold the session cookie contract across both builds [RUM-LEGACY] +- fix(deploy): close the paths where the sync gave up quietly +- refactor(deploy): leave the release path alone in the sync script +- fix(deploy): make the bundle sync keep the promise it prints +- fix(rum-legacy): rename the current view instead of starting a new one [RUM-LEGACY] +- fix(rum-legacy): keep stopSession and init to their public contracts [RUM-LEGACY] +- docs(rum-legacy): state what the page exit guard actually promises [RUM-LEGACY] +- docs(rum-legacy): confirm page load timings on IE9 [RUM-LEGACY] +- test(rum-legacy): make the harness answer the page load timing question [RUM-LEGACY] +- docs(rum-legacy): name the remaining divergences from the standard bundle [RUM-LEGACY] +- chore: keep the lockfile change to the dependency this adds +- fix(rum-legacy): make the documented loader route and parse correctly [RUM-LEGACY] +- fix(rum-legacy): stop losing consent, exits and view dates [RUM-LEGACY] +- fix(rum-legacy): write the session cookie the modern bundle can read [RUM-LEGACY] +- docs(rum-legacy): document bundle distribution and real-browser results [RUM-LEGACY] +- feat(deploy): add sync-bundles script to download deployed bundles +- fix(rum-legacy): survive the formatter and the pre-XHR engines in the harness [RUM-LEGACY] +- fix(rum-legacy): harden the verification harness on real Trident engines [RUM-LEGACY] +- feat(rum-legacy): guarantee silence on engines below the support floor [RUM-LEGACY] +- fix(rum-legacy): make the verification run fit a metered device session [RUM-LEGACY] +- feat(rum-legacy): add a real-browser verification harness [RUM-LEGACY] +- fix(rum-legacy): declare the content type the intake requires [RUM-LEGACY] +- fix(rum-legacy): reject a non-numeric sample rate, keep foreign cookie fields [RUM-LEGACY] +- fix(rum-legacy): copy context and configuration on the way in as well [RUM-LEGACY] +- fix(rum-legacy): recognise errors from other frames, stop leaking state [RUM-LEGACY] +- fix(rum-legacy): correct wall-clock durations, exit ordering and session reuse [RUM-LEGACY] +- fix(rum-legacy): guard browser callbacks and fix in-page referrer [RUM-LEGACY] +- fix(rum-legacy): apply sessionSampleRate and honour trackingConsent [RUM-LEGACY] +- fix(rum-legacy): send a closing view update when the page unloads [RUM-LEGACY] +- refactor(rum-legacy): remove duplicated object and error helpers [RUM-LEGACY] +- test(rum-legacy): verify behaviour without the modern browser APIs [RUM-LEGACY] +- feat(rum-legacy): expose the full public API surface [RUM-LEGACY] +- feat(rum-legacy): collect errors, page load timings and views [RUM-LEGACY] +- feat(rum-legacy): send batched events over XMLHttpRequest [RUM-LEGACY] +- feat(rum-legacy): add ES5 build target and compatibility gate [RUM-LEGACY] +- Merge pull request #21 from flashcatcloud/fix/tag-triggered-release +- fix(ci): make a pushed tag actually release again +- Merge pull request #16 from flashcatcloud/fix/replay-intake-hardcoded-ip +- fix(core): hardcode public staging intake host jira.flashcat.cloud [FLAGGING] [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER] +- fix(core): remove hardcoded internal staging IP from intake sites [FLAGGING] [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER] + ## v0.0.7 **Internal Changes:** diff --git a/developer-extension/package.json b/developer-extension/package.json index 49c6c90e71..9b3b33c883 100644 --- a/developer-extension/package.json +++ b/developer-extension/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-sdk-developer-extension", - "version": "0.0.7", + "version": "0.1.0", "private": true, "scripts": { "build": "rm -rf dist && webpack --mode production", diff --git a/lerna.json b/lerna.json index 7bbee176b7..0ee068f259 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "npmClient": "yarn", - "version": "0.0.7" + "version": "0.1.0" } diff --git a/packages/core/package.json b/packages/core/package.json index 9aee7555da..0f1dbb5578 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-core", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "main": "cjs/index.js", "module": "esm/index.js", diff --git a/packages/flagging/package.json b/packages/flagging/package.json index b85b960a2e..97fcbda65e 100644 --- a/packages/flagging/package.json +++ b/packages/flagging/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-flagging", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "private": true, "main": "cjs/entries/main.js", @@ -18,7 +18,7 @@ "@flashcatcloud/browser-core": "workspace:*" }, "peerDependencies": { - "@flashcatcloud/browser-rum": "0.0.7" + "@flashcatcloud/browser-rum": "0.1.0" }, "peerDependenciesMeta": { "@flashcatcloud/browser-rum": { diff --git a/packages/logs/package.json b/packages/logs/package.json index 36ac402d89..52a30b3135 100644 --- a/packages/logs/package.json +++ b/packages/logs/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-logs", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "main": "cjs/entries/main.js", "module": "esm/entries/main.js", @@ -17,7 +17,7 @@ "@flashcatcloud/browser-core": "workspace:*" }, "peerDependencies": { - "@flashcatcloud/browser-rum": "0.0.7" + "@flashcatcloud/browser-rum": "0.1.0" }, "peerDependenciesMeta": { "@flashcatcloud/browser-rum": { diff --git a/packages/rum-core/package.json b/packages/rum-core/package.json index 75c8bfc442..b9ef0da2c1 100644 --- a/packages/rum-core/package.json +++ b/packages/rum-core/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-rum-core", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "main": "cjs/index.js", "module": "esm/index.js", diff --git a/packages/rum-legacy/package.json b/packages/rum-legacy/package.json index ff3cae9393..e130aee8be 100644 --- a/packages/rum-legacy/package.json +++ b/packages/rum-legacy/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-rum-legacy", - "version": "0.0.2", + "version": "0.1.0", "license": "Apache-2.0", "private": true, "description": "RUM Browser SDK build for browsers without ES2015 support. Distributed through the CDN only.", diff --git a/packages/rum-react/package.json b/packages/rum-react/package.json index 1c43bac6e9..55c4336a26 100644 --- a/packages/rum-react/package.json +++ b/packages/rum-react/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-rum-react", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "main": "cjs/entries/main.js", "module": "esm/entries/main.js", diff --git a/packages/rum-slim/package.json b/packages/rum-slim/package.json index c46223abdd..061527aade 100644 --- a/packages/rum-slim/package.json +++ b/packages/rum-slim/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-rum-slim", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "main": "cjs/entries/main.js", "module": "esm/entries/main.js", @@ -17,7 +17,7 @@ "@flashcatcloud/browser-rum-core": "workspace:*" }, "peerDependencies": { - "@flashcatcloud/browser-logs": "0.0.7" + "@flashcatcloud/browser-logs": "0.1.0" }, "peerDependenciesMeta": { "@flashcatcloud/browser-logs": { diff --git a/packages/rum/package.json b/packages/rum/package.json index e29c7f8d2d..b9b663c4ce 100644 --- a/packages/rum/package.json +++ b/packages/rum/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-rum", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "main": "cjs/entries/main.js", "module": "esm/entries/main.js", @@ -18,7 +18,7 @@ "@flashcatcloud/browser-rum-core": "workspace:*" }, "peerDependencies": { - "@flashcatcloud/browser-logs": "0.0.7" + "@flashcatcloud/browser-logs": "0.1.0" }, "peerDependenciesMeta": { "@flashcatcloud/browser-logs": { diff --git a/packages/worker/package.json b/packages/worker/package.json index 5cdc5f7a55..b20c207129 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,6 +1,6 @@ { "name": "@flashcatcloud/browser-worker", - "version": "0.0.7", + "version": "0.1.0", "license": "Apache-2.0", "main": "bundle/worker.js", "scripts": { diff --git a/performances/package.json b/performances/package.json index b9d940caac..780dddd734 100644 --- a/performances/package.json +++ b/performances/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "performances", - "version": "0.0.7", + "version": "0.1.0", "scripts": { "start": "ts-node ./src/main.ts" }, diff --git a/test/apps/react/yarn.lock b/test/apps/react/yarn.lock index 7c7e5648bb..4b077bf9b6 100644 --- a/test/apps/react/yarn.lock +++ b/test/apps/react/yarn.lock @@ -6,27 +6,27 @@ __metadata: cacheKey: 10c0 "@flashcatcloud/browser-core@file:../../../packages/core/package.tgz::locator=react-app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-core@file:../../../packages/core/package.tgz#../../../packages/core/package.tgz::hash=d70621&locator=react-app%40workspace%3A." - checksum: 10c0/32862513adedf3afe618806c480ce550261e39a438582d1efbd47aae8abeb2a736d4e8463b14d73e1dc2c11f7f48b55acb1b312ed5d0b09f0ca2b30ad99d3fcd + version: 0.1.0 + resolution: "@flashcatcloud/browser-core@file:../../../packages/core/package.tgz#../../../packages/core/package.tgz::hash=b7e731&locator=react-app%40workspace%3A." + checksum: 10c0/863bb3dfe75fbb2126820fea20e8a32fd042c855f4b56cd6256224f7040fee12f9d9fdf8317bb3be2fe5c58d0acb5a91eb9364edbc9f47630511eadf670349a7 languageName: node linkType: hard "@flashcatcloud/browser-rum-core@file:../../../packages/rum-core/package.tgz::locator=react-app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-rum-core@file:../../../packages/rum-core/package.tgz#../../../packages/rum-core/package.tgz::hash=676298&locator=react-app%40workspace%3A." + version: 0.1.0 + resolution: "@flashcatcloud/browser-rum-core@file:../../../packages/rum-core/package.tgz#../../../packages/rum-core/package.tgz::hash=ef1c78&locator=react-app%40workspace%3A." dependencies: - "@flashcatcloud/browser-core": "npm:0.0.7" - checksum: 10c0/0ad63dd6301aeabde3b37b47f69cb85b690b64d29807155a3d48af54a48aa02303fb8a123b8acd555a83aa67a4af7c9209f3bad7d0588c6b29edd7b45413394f + "@flashcatcloud/browser-core": "npm:0.1.0" + checksum: 10c0/1d7bac1d564ccc1bc9d031f9c6a2ff6f4b6746c3cfbc6a90e9f9e082cd5d4fb9779da19fed46b362bcdd012519f4ebd800a7c3dfd02918cfea71a685a3997431 languageName: node linkType: hard "@flashcatcloud/browser-rum-react@file:../../../packages/rum-react/package.tgz::locator=react-app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-rum-react@file:../../../packages/rum-react/package.tgz#../../../packages/rum-react/package.tgz::hash=3866c6&locator=react-app%40workspace%3A." + version: 0.1.0 + resolution: "@flashcatcloud/browser-rum-react@file:../../../packages/rum-react/package.tgz#../../../packages/rum-react/package.tgz::hash=eb4234&locator=react-app%40workspace%3A." dependencies: - "@flashcatcloud/browser-core": "npm:0.0.7" - "@flashcatcloud/browser-rum-core": "npm:0.0.7" + "@flashcatcloud/browser-core": "npm:0.1.0" + "@flashcatcloud/browser-rum-core": "npm:0.1.0" peerDependencies: react: 18 || 19 react-router-dom: 6 || 7 @@ -39,22 +39,22 @@ __metadata: optional: true react-router-dom: optional: true - checksum: 10c0/84a12d7dbd940800ea78432080825e0c5bc4af8c70a340db5835ffed06dbd48949573b367794c7cdd9ed56ff0851b7f6aeb00cd5f06eb07ea5f6601c219c5560 + checksum: 10c0/2ad156a123cca44472fac7ad6cd7b75bd00467ca196f4b5f5eb769166629bf22dcf33fedcbf16d9031758f634c732ddcc4a6fb6d6e3cf497a3aae0b3015bb82a languageName: node linkType: hard "@flashcatcloud/browser-rum@file:../../../packages/rum/package.tgz::locator=react-app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-rum@file:../../../packages/rum/package.tgz#../../../packages/rum/package.tgz::hash=d08294&locator=react-app%40workspace%3A." + version: 0.1.0 + resolution: "@flashcatcloud/browser-rum@file:../../../packages/rum/package.tgz#../../../packages/rum/package.tgz::hash=166d28&locator=react-app%40workspace%3A." dependencies: - "@flashcatcloud/browser-core": "npm:0.0.7" - "@flashcatcloud/browser-rum-core": "npm:0.0.7" + "@flashcatcloud/browser-core": "npm:0.1.0" + "@flashcatcloud/browser-rum-core": "npm:0.1.0" peerDependencies: - "@flashcatcloud/browser-logs": 0.0.7 + "@flashcatcloud/browser-logs": 0.1.0 peerDependenciesMeta: "@flashcatcloud/browser-logs": optional: true - checksum: 10c0/c8cab997af6e292748335516bcf69ca9dc4f12a932cfc382040817a787ef6b89ab59b80f3ddbf637e1f8b38bbe58836078856a8f370366b9382e09e927d5b306 + checksum: 10c0/60e1e3505f4fed8d3dbe20ec6afa2e9cdc380dba5b3c1c248469fcbf1ba57b3f53feb46550787b4a1f5f76972455d4cb027c503b4f0d42e85cd6b198c9feaf3d languageName: node linkType: hard diff --git a/test/apps/vanilla/yarn.lock b/test/apps/vanilla/yarn.lock index 423a78f3ad..a0b152ad0e 100644 --- a/test/apps/vanilla/yarn.lock +++ b/test/apps/vanilla/yarn.lock @@ -6,47 +6,47 @@ __metadata: cacheKey: 10c0 "@flashcatcloud/browser-core@file:../../../packages/core/package.tgz::locator=app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-core@file:../../../packages/core/package.tgz#../../../packages/core/package.tgz::hash=d70621&locator=app%40workspace%3A." - checksum: 10c0/32862513adedf3afe618806c480ce550261e39a438582d1efbd47aae8abeb2a736d4e8463b14d73e1dc2c11f7f48b55acb1b312ed5d0b09f0ca2b30ad99d3fcd + version: 0.1.0 + resolution: "@flashcatcloud/browser-core@file:../../../packages/core/package.tgz#../../../packages/core/package.tgz::hash=b7e731&locator=app%40workspace%3A." + checksum: 10c0/863bb3dfe75fbb2126820fea20e8a32fd042c855f4b56cd6256224f7040fee12f9d9fdf8317bb3be2fe5c58d0acb5a91eb9364edbc9f47630511eadf670349a7 languageName: node linkType: hard "@flashcatcloud/browser-logs@file:../../../packages/logs/package.tgz::locator=app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-logs@file:../../../packages/logs/package.tgz#../../../packages/logs/package.tgz::hash=6bbb1a&locator=app%40workspace%3A." + version: 0.1.0 + resolution: "@flashcatcloud/browser-logs@file:../../../packages/logs/package.tgz#../../../packages/logs/package.tgz::hash=11c9a0&locator=app%40workspace%3A." dependencies: - "@flashcatcloud/browser-core": "npm:0.0.7" + "@flashcatcloud/browser-core": "npm:0.1.0" peerDependencies: - "@flashcatcloud/browser-rum": 0.0.7 + "@flashcatcloud/browser-rum": 0.1.0 peerDependenciesMeta: "@flashcatcloud/browser-rum": optional: true - checksum: 10c0/ba1f2488266f02ede4eafe26d1586a8d9f9005fbf5bef827b9c4a9b4ba4f5a10cbec030185a8113fe40dd8fd345e5a24017a24723b5f8742fb56d4d12f2be4b6 + checksum: 10c0/470c30e7f31d6c4b3765e2f6702adac1754c380df4001c1cef29419c3cf296b15ecc9479ffd3041e6937f47cc8bbe7ff286d29de8f069366b26249c375810f32 languageName: node linkType: hard "@flashcatcloud/browser-rum-core@file:../../../packages/rum-core/package.tgz::locator=app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-rum-core@file:../../../packages/rum-core/package.tgz#../../../packages/rum-core/package.tgz::hash=676298&locator=app%40workspace%3A." + version: 0.1.0 + resolution: "@flashcatcloud/browser-rum-core@file:../../../packages/rum-core/package.tgz#../../../packages/rum-core/package.tgz::hash=ef1c78&locator=app%40workspace%3A." dependencies: - "@flashcatcloud/browser-core": "npm:0.0.7" - checksum: 10c0/0ad63dd6301aeabde3b37b47f69cb85b690b64d29807155a3d48af54a48aa02303fb8a123b8acd555a83aa67a4af7c9209f3bad7d0588c6b29edd7b45413394f + "@flashcatcloud/browser-core": "npm:0.1.0" + checksum: 10c0/1d7bac1d564ccc1bc9d031f9c6a2ff6f4b6746c3cfbc6a90e9f9e082cd5d4fb9779da19fed46b362bcdd012519f4ebd800a7c3dfd02918cfea71a685a3997431 languageName: node linkType: hard "@flashcatcloud/browser-rum@file:../../../packages/rum/package.tgz::locator=app%40workspace%3A.": - version: 0.0.7 - resolution: "@flashcatcloud/browser-rum@file:../../../packages/rum/package.tgz#../../../packages/rum/package.tgz::hash=d08294&locator=app%40workspace%3A." + version: 0.1.0 + resolution: "@flashcatcloud/browser-rum@file:../../../packages/rum/package.tgz#../../../packages/rum/package.tgz::hash=166d28&locator=app%40workspace%3A." dependencies: - "@flashcatcloud/browser-core": "npm:0.0.7" - "@flashcatcloud/browser-rum-core": "npm:0.0.7" + "@flashcatcloud/browser-core": "npm:0.1.0" + "@flashcatcloud/browser-rum-core": "npm:0.1.0" peerDependencies: - "@flashcatcloud/browser-logs": 0.0.7 + "@flashcatcloud/browser-logs": 0.1.0 peerDependenciesMeta: "@flashcatcloud/browser-logs": optional: true - checksum: 10c0/c8cab997af6e292748335516bcf69ca9dc4f12a932cfc382040817a787ef6b89ab59b80f3ddbf637e1f8b38bbe58836078856a8f370366b9382e09e927d5b306 + checksum: 10c0/60e1e3505f4fed8d3dbe20ec6afa2e9cdc380dba5b3c1c248469fcbf1ba57b3f53feb46550787b4a1f5f76972455d4cb027c503b4f0d42e85cd6b198c9feaf3d languageName: node linkType: hard diff --git a/yarn.lock b/yarn.lock index a9bb614be5..43625cc830 100644 --- a/yarn.lock +++ b/yarn.lock @@ -593,7 +593,7 @@ __metadata: "@flashcatcloud/browser-core": "workspace:*" webpack: "npm:5.99.9" peerDependencies: - "@flashcatcloud/browser-rum": 0.0.7 + "@flashcatcloud/browser-rum": 0.1.0 peerDependenciesMeta: "@flashcatcloud/browser-rum": optional: true @@ -607,7 +607,7 @@ __metadata: "@flashcatcloud/browser-core": "workspace:*" webpack: "npm:5.99.9" peerDependencies: - "@flashcatcloud/browser-rum": 0.0.7 + "@flashcatcloud/browser-rum": 0.1.0 peerDependenciesMeta: "@flashcatcloud/browser-rum": optional: true @@ -667,7 +667,7 @@ __metadata: "@flashcatcloud/browser-core": "workspace:*" "@flashcatcloud/browser-rum-core": "workspace:*" peerDependencies: - "@flashcatcloud/browser-logs": 0.0.7 + "@flashcatcloud/browser-logs": 0.1.0 peerDependenciesMeta: "@flashcatcloud/browser-logs": optional: true @@ -683,7 +683,7 @@ __metadata: "@types/pako": "npm:2.0.3" pako: "npm:2.1.0" peerDependencies: - "@flashcatcloud/browser-logs": 0.0.7 + "@flashcatcloud/browser-logs": 0.1.0 peerDependenciesMeta: "@flashcatcloud/browser-logs": optional: true From 3af8b7ea6dee7890cfc4081f87aa1ba085618816 Mon Sep 17 00:00:00 2001 From: Fiona Date: Fri, 21 Aug 2026 07:32:21 -0700 Subject: [PATCH 2/4] ci: also send release success notifications to a second DingTalk group Duplicate each success notification step to post to a second DingTalk robot via the DING_TALK_TOKEN_2 / DING_TALK_SECRET_2 secrets. Failure notifications are unchanged and still go to the original robot only. --- .github/workflows/deploy-auto.yml | 14 ++++++++++++++ .github/workflows/deploy-manual.yml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.github/workflows/deploy-auto.yml b/.github/workflows/deploy-auto.yml index bf1ee467dc..a85289f6e1 100644 --- a/.github/workflows/deploy-auto.yml +++ b/.github/workflows/deploy-auto.yml @@ -151,6 +151,20 @@ jobs: } } + - name: Notify secondary DingTalk group on success + uses: zcong1993/actions-ding@master + with: + dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} + secret: ${{ secrets.DING_TALK_SECRET_2 }} + body: | + { + "msgtype": "markdown", + "markdown": { + "title": "RUM sdk 部署通知", + "text": "### ✅ RUM sdk 部署成功\n\n---\n\n 🔖 分支: ${{ github.ref }}\n\n 📝 提交信息: [${{ github.event.head_commit.message }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})\n\n 👨‍💻 提交者: ${{ github.actor }}\n\n 🚀 [查看部署详情](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" + } + } + notify-failure: needs: publish-npm runs-on: ubuntu-latest diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml index fbc7aef4aa..eed00a8300 100644 --- a/.github/workflows/deploy-manual.yml +++ b/.github/workflows/deploy-manual.yml @@ -159,6 +159,20 @@ jobs: } } + - name: Notify secondary DingTalk group on success + uses: zcong1993/actions-ding@master + with: + dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} + secret: ${{ secrets.DING_TALK_SECRET_2 }} + body: | + { + "msgtype": "markdown", + "markdown": { + "title": "RUM sdk 部署通知", + "text": "### ✅ RUM sdk 部署成功\n\n---\n\n 🔖 分支: ${{ github.ref }}\n\n 📝 提交信息: [${{ github.event.head_commit.message }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})\n\n 👨‍💻 提交者: ${{ github.actor }}\n\n 🚀 [查看部署详情](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" + } + } + notify-failure: needs: publish-npm runs-on: ubuntu-latest From 91a5c5c4e1129d4a9a7cfe1140e0796353f69b27 Mon Sep 17 00:00:00 2001 From: Fiona Date: Mon, 24 Aug 2026 01:53:22 -0700 Subject: [PATCH 3/4] ci: do not fail a release when the DingTalk notification fails The release workflow treated the DingTalk notification as a build gate: when the robot API rejects a message -- for example once its per-minute rate limit is exhausted -- the notification step failed and marked an otherwise successful publish as failed. Set `ignoreError` on every DingTalk step so a rejected notification is reported as a warning instead of failing the job. The publish outcome no longer depends on the notification channel. --- .github/workflows/deploy-auto.yml | 3 +++ .github/workflows/deploy-manual.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/deploy-auto.yml b/.github/workflows/deploy-auto.yml index a85289f6e1..fe8ee08d29 100644 --- a/.github/workflows/deploy-auto.yml +++ b/.github/workflows/deploy-auto.yml @@ -140,6 +140,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -154,6 +155,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -182,6 +184,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml index eed00a8300..4416348c34 100644 --- a/.github/workflows/deploy-manual.yml +++ b/.github/workflows/deploy-manual.yml @@ -148,6 +148,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -162,6 +163,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -192,6 +194,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: + ignoreError: "true" dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | From 2932001889774eaa8b505ccef46ae9fcb69a24e4 Mon Sep 17 00:00:00 2001 From: Fiona Date: Mon, 24 Aug 2026 02:04:56 -0700 Subject: [PATCH 4/4] ci: quote the ignoreError input the way Prettier expects The repository formats YAML with `singleQuote`, so the double-quoted value failed the format check. --- .github/workflows/deploy-auto.yml | 6 +++--- .github/workflows/deploy-manual.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-auto.yml b/.github/workflows/deploy-auto.yml index fe8ee08d29..a47bdf910c 100644 --- a/.github/workflows/deploy-auto.yml +++ b/.github/workflows/deploy-auto.yml @@ -140,7 +140,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -155,7 +155,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -184,7 +184,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml index 4416348c34..00d0c9b7fb 100644 --- a/.github/workflows/deploy-manual.yml +++ b/.github/workflows/deploy-manual.yml @@ -148,7 +148,7 @@ jobs: - name: Notify deployment success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: | @@ -163,7 +163,7 @@ jobs: - name: Notify secondary DingTalk group on success uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN_2 }} secret: ${{ secrets.DING_TALK_SECRET_2 }} body: | @@ -194,7 +194,7 @@ jobs: - name: Notify deployment failure uses: zcong1993/actions-ding@master with: - ignoreError: "true" + ignoreError: 'true' dingToken: ${{ secrets.DING_TALK_TOKEN }} secret: ${{ secrets.DING_TALK_SECRET }} body: |