Skip to content

Commit 42d52d9

Browse files
Merge branch 'main' into seth.fowler/PANA-5156-expose-better-session-replay-internal-api
* main: (27 commits) ♻️ [PANA-5123] Assign node ids in preorder when serializing (#4002) ♻️ [PANA-5105] Serialize all DOM attribute values as strings (#3999) 🎨 [PANA-5053] Separate DOM and virtual attribute serialization (#3998) 🐛 clear chain after finalize (#4027) 🎨 [PANA-5222] Make CODEOWNERS more accurate for recording code (#4034) ♻️ Replace longTaskRegistry by longTaskContexts (#4013) 👷 Bump staging to staging-51 Add flagEvaluationEndpointBuilder to TransportConfiguration interface. (#4025) 👷 Enable more renovate flags... (#4023) 🐛 fix developer extension packaging (#4024) 👷 add a script to easily create an access token (#4020) 👷 Ensure that renovate do a full install (#4021) [RUM Browser Profiler] stop profiler when session expires (#4011) 👷 Ensure to have tarballs built at install (#4019) 👷: migrate config renovate.json (#4016) 👷 Update dependency vite to v5.4.21 [SECURITY] (#4015) 👷 Configure test apps dependencies (#4014) v6.25.0 (#4012) 👷 Update dependency vite to v5.4.21 [SECURITY] (#4010) 👷 Include test apps in renovate scan (#4009) ...
2 parents 60a8b6b + ae688e5 commit 42d52d9

File tree

69 files changed

+2578
-2454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2578
-2454
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Order is important, the last matching pattern takes the most precedence.
22

3+
# Default
4+
* @Datadog/rum-browser
5+
36
# Global
4-
packages/flagging @Datadog/feature-flagging-experimentation
5-
packages/rum/src/domain/record @Datadog/rum-browser @Datadog/session-replay-sdk
6-
packages/rum/src/domain/segmentCollection @Datadog/rum-browser @Datadog/session-replay-sdk
7-
packages/rum/src/domain/*.ts @Datadog/rum-browser @Datadog/session-replay-sdk
8-
* @Datadog/rum-browser
7+
packages/flagging @Datadog/feature-flagging-experimentation
8+
packages/rum/src/domain/record/** @Datadog/rum-browser @Datadog/session-replay-sdk
9+
packages/rum/src/domain/segmentCollection/** @Datadog/rum-browser @Datadog/session-replay-sdk
10+
packages/rum/src/domain/*.ts @Datadog/rum-browser @Datadog/session-replay-sdk
911

1012
# Docs
1113
*README.md @Datadog/rum-browser @DataDog/documentation

.github/workflows/cla.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: 'CLA Assistant'
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened, closed, synchronize]
7+
merge_group:
8+
types: [checks_requested]
9+
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
id-token: write # Needed to federate tokens.
14+
actions: write
15+
16+
jobs:
17+
CLAAssistant:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: CLA already verified on PR
21+
if: github.event_name == 'merge_group'
22+
run: echo "CLA verification not needed for merge queue - already checked on PR"
23+
24+
- uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3
25+
if: github.event_name != 'merge_group'
26+
id: octo-sts
27+
with:
28+
scope: DataDog/cla-signatures
29+
policy: self.write-signatures-browser-sdk
30+
31+
- name: 'CLA Assistant'
32+
if: github.event_name != 'merge_group' && ((github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target')
33+
uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
PERSONAL_ACCESS_TOKEN: ${{ steps.octo-sts.outputs.token }}
37+
with:
38+
path-to-signatures: 'browser-sdk.json'
39+
path-to-document: 'https://gist.github.com/bits-bot/55bdc97a4fdad52d97feb4d6c3d1d618' # Datadog CLA Document
40+
branch: 'browser-sdk'
41+
remote-repository-name: cla-signatures
42+
remote-organization-name: DataDog
43+
allowlist: renovate,renovate[bot]
44+
45+
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
46+
#allowlist: user1,bot*
47+
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
48+
#signed-commit-message: 'For example: $contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
49+
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
50+
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
51+
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
52+
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2121

2222
- name: Initialize CodeQL
23-
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
23+
uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
2424
with:
2525
languages: javascript
2626
config-file: .github/codeql-config.yml
2727

2828
- name: Perform CodeQL Analysis
29-
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
29+
uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6

.gitlab-ci.yml

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
variables:
2-
CURRENT_STAGING: staging-49
2+
CURRENT_STAGING: staging-51
33
APP: 'browser-sdk'
4-
CURRENT_CI_IMAGE: 93
4+
CURRENT_CI_IMAGE: 94
55
BUILD_STABLE_REGISTRY: 'registry.ddbuild.io'
66
CI_IMAGE: '$BUILD_STABLE_REGISTRY/ci/$APP:$CURRENT_CI_IMAGE'
77
GIT_REPOSITORY: 'git@github.com:DataDog/browser-sdk.git'
@@ -153,7 +153,6 @@ typecheck:
153153
interruptible: true
154154
script:
155155
- yarn
156-
- yarn build
157156
- yarn typecheck
158157
- scripts/cli typecheck test/apps/vanilla
159158
- scripts/cli typecheck test/e2e
@@ -165,7 +164,6 @@ build-and-lint:
165164
interruptible: true
166165
script:
167166
- yarn
168-
- yarn build
169167
- yarn lint
170168
- node scripts/check-packages.ts
171169

@@ -345,30 +343,30 @@ deploy-staging:
345343
- node ./scripts/deploy/deploy.ts staging staging root
346344
- node ./scripts/deploy/upload-source-maps.ts staging root
347345

348-
# deploy-prod-canary:
349-
# stage: deploy:canary
350-
# extends:
351-
# - .base-configuration
352-
# - .main
353-
# script:
354-
# - export BUILD_MODE=canary
355-
# - yarn
356-
# - yarn build:bundle
357-
# - node ./scripts/deploy/deploy.ts prod canary root
358-
# - node ./scripts/deploy/upload-source-maps.ts canary root
359-
#
360-
# deploy-next-major-canary:
361-
# stage: deploy
362-
# extends:
363-
# - .base-configuration
364-
# - .next-major-branch
365-
# script:
366-
# - export BUILD_MODE=canary
367-
# - VERSION=$(node -p -e "require('./lerna.json').version")
368-
# - yarn
369-
# - yarn build:bundle
370-
# - node ./scripts/deploy/deploy.ts prod v${VERSION%%.*}-canary root
371-
# - node ./scripts/deploy/upload-source-maps.ts v${VERSION%%.*}-canary root
346+
deploy-prod-canary:
347+
stage: deploy:canary
348+
extends:
349+
- .base-configuration
350+
- .main
351+
script:
352+
- export BUILD_MODE=canary
353+
- yarn
354+
- yarn build:bundle
355+
- node ./scripts/deploy/deploy.ts prod canary root
356+
- node ./scripts/deploy/upload-source-maps.ts canary root
357+
358+
deploy-next-major-canary:
359+
stage: deploy
360+
extends:
361+
- .base-configuration
362+
- .next-major-branch
363+
script:
364+
- export BUILD_MODE=canary
365+
- VERSION=$(node -p -e "require('./lerna.json').version")
366+
- yarn
367+
- yarn build:bundle
368+
- node ./scripts/deploy/deploy.ts prod v${VERSION%%.*}-canary root
369+
- node ./scripts/deploy/upload-source-maps.ts v${VERSION%%.*}-canary root
372370

373371
deploy-manual:
374372
stage: deploy
@@ -613,7 +611,6 @@ check-expired-telemetry-scheduled:
613611
- $TARGET_TASK_NAME == "check-expired-telemetry"
614612
script:
615613
- yarn
616-
- yarn build
617614
- MONITOR_UNTIL_COMMENT_EXPIRED_LEVEL=error yarn lint
618615

619616
check-expired-telemetry-scheduled-failure:
Lines changed: 191 additions & 191 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
yarnPath: .yarn/releases/yarn-4.11.0.cjs
1+
yarnPath: .yarn/releases/yarn-4.12.0.cjs
22
defaultSemverRangePrefix: ''
33
nodeLinker: node-modules
44

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,39 @@
1818
1919
---
2020

21+
## v6.25.0
22+
23+
**Public Changes:**
24+
25+
- ✨ add logs to service worker extension ([#3987](https://github.com/DataDog/browser-sdk/pull/3987))
26+
- ✨ add support for persisted GraphQL Queries ([#3979](https://github.com/DataDog/browser-sdk/pull/3979)) [RUM] [RUM-REACT] [RUM-SLIM]
27+
- ✨ extend masking cases to include aria-label and name ([#3961](https://github.com/DataDog/browser-sdk/pull/3961)) [RUM] [RUM-REACT] [RUM-SLIM]
28+
- 🐛 add support for arbitrary Error causes ([#3860](https://github.com/DataDog/browser-sdk/pull/3860)) [FLAGGING] [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
29+
30+
**Internal Changes:**
31+
32+
- 👷 Update dependency vite to v5.4.21 [SECURITY] ([#4010](https://github.com/DataDog/browser-sdk/pull/4010))
33+
- 👷 Include test apps in renovate scan ([#4009](https://github.com/DataDog/browser-sdk/pull/4009))
34+
- 👷 restore canary deployment ([#4008](https://github.com/DataDog/browser-sdk/pull/4008))
35+
- 👷 Update all non-major dependencies ([#3980](https://github.com/DataDog/browser-sdk/pull/3980)) [FLAGGING] [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
36+
- 👷 configure renovate to not create PRs before stable ([#4006](https://github.com/DataDog/browser-sdk/pull/4006))
37+
- 👷 Exclude renovate from CLA Assistant check ([#4007](https://github.com/DataDog/browser-sdk/pull/4007))
38+
- 👷 extend monitor date ([#3990](https://github.com/DataDog/browser-sdk/pull/3990)) [FLAGGING] [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
39+
- 👷 Update actions/checkout action to v6 ([#3989](https://github.com/DataDog/browser-sdk/pull/3989))
40+
- 👷 disable deploy-prod-canary during the freeze ([#3984](https://github.com/DataDog/browser-sdk/pull/3984))
41+
- 👷 fix temporal dead zone ([#3974](https://github.com/DataDog/browser-sdk/pull/3974))
42+
- 👷 check package.json files for each PR ([#3970](https://github.com/DataDog/browser-sdk/pull/3970))
43+
- 👷 [EX-1236] Add support for flagevaluation track. ([#3976](https://github.com/DataDog/browser-sdk/pull/3976)) [FLAGGING] [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
44+
- 👷 Add CLA bot GitHub action ([#3995](https://github.com/DataDog/browser-sdk/pull/3995))
45+
- 👷 Add more complete tests for DOM attribute serialization ([#3994](https://github.com/DataDog/browser-sdk/pull/3994)) [RUM]
46+
- 👷 [RUM-12600] Refine Continuous Benchmarking ([#3977](https://github.com/DataDog/browser-sdk/pull/3977))
47+
- 🔧 migrate the developer-extension to wxt ([#3962](https://github.com/DataDog/browser-sdk/pull/3962))
48+
- 🎨 [PANA-4929] Add the concept of serialization transactions and reorganize state ([#3982](https://github.com/DataDog/browser-sdk/pull/3982)) [RUM]
49+
- 🎨 [PANA-4976] Separate emission of replay records and serialization stats ([#3978](https://github.com/DataDog/browser-sdk/pull/3978)) [RUM]
50+
- ♻️ separate RUM event collection ([#3985](https://github.com/DataDog/browser-sdk/pull/3985)) [RUM] [RUM-REACT] [RUM-SLIM]
51+
- 🔥 remove the `performances/` script ([#3986](https://github.com/DataDog/browser-sdk/pull/3986))
52+
- 🔉 add \_dd.configuration.trace_sample_rate ([#3946](https://github.com/DataDog/browser-sdk/pull/3946)) [RUM] [RUM-REACT] [RUM-SLIM]
53+
2154
## v6.24.1
2255

2356
**Public Changes:**

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:24.11.0-bookworm-slim
1+
FROM node:24.11.1-bookworm-slim
22

33
ARG CHROME_PACKAGE_VERSION
44

developer-extension/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
22
"name": "@datadog/browser-sdk-developer-extension",
3-
"version": "6.24.1",
3+
"version": "6.25.0",
44
"private": true,
55
"scripts": {
66
"build": "wxt build",
77
"dev": "wxt"
88
},
99
"devDependencies": {
10-
"@types/chrome": "0.1.27",
11-
"@types/react": "19.2.2",
12-
"@types/react-dom": "19.2.2",
10+
"@types/chrome": "0.1.31",
11+
"@types/react": "19.2.7",
12+
"@types/react-dom": "19.2.3",
1313
"@wxt-dev/module-react": "1.1.5",
1414
"typescript": "5.9.3"
1515
},
1616
"dependencies": {
1717
"@datadog/browser-core": "workspace:*",
1818
"@datadog/browser-logs": "workspace:*",
1919
"@datadog/browser-rum": "workspace:*",
20-
"@mantine/core": "8.3.7",
21-
"@mantine/hooks": "8.3.7",
20+
"@mantine/core": "8.3.9",
21+
"@mantine/hooks": "8.3.9",
2222
"@tabler/icons-react": "3.35.0",
2323
"clsx": "2.1.1",
2424
"react": "19.2.0",

developer-extension/src/panel/facets.constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Represents the path of a field in an event object. The special value '$eventSource' represent the
22
// event source (rum, logs, ...)
33
export type FieldPath = string
4-
export type FieldValue = string | number | null | boolean | object
4+
export type FieldValue = string | number | null | boolean | Record<string, unknown>
55
export type FieldMultiValue = FieldValue | FieldValue[]
66

77
// For now, facet values are only strings (we don't support number pickers etc.)

0 commit comments

Comments
 (0)