Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/deploy-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -151,6 +152,21 @@ 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: |
{
"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
Expand All @@ -168,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: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/deploy-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -159,6 +160,21 @@ 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: |
{
"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
Expand All @@ -178,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: |
Expand Down
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:**
Expand Down
2 changes: 1 addition & 1 deletion developer-extension/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"npmClient": "yarn",
"version": "0.0.7"
"version": "0.1.0"
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/flagging/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/logs/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rum-core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/rum-legacy/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion packages/rum-react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/rum-slim/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/rum/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion performances/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "performances",
"version": "0.0.7",
"version": "0.1.0",
"scripts": {
"start": "ts-node ./src/main.ts"
},
Expand Down
36 changes: 18 additions & 18 deletions test/apps/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Loading
Loading