Skip to content

Commit

Permalink
v6.0.0 (#3281)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-lebeau authored Jan 14, 2025
1 parent 2fd8c03 commit 6781068
Show file tree
Hide file tree
Showing 13 changed files with 80 additions and 52 deletions.
48 changes: 38 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,44 @@
---

## v6.0.0

See our [upgrade guide](https://docs.datadoghq.com/real_user_monitoring/guide/browser-sdk-upgrade/#from-v5-to-v6) for a comprehensive list of breaking changes introduced by this major version.

**Public Changes:**

- 💥 [RUM-7704] Remove anonymous user feature flag for v6 ([#3216](https://github.com/DataDog/browser-sdk/pull/3216)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 default traceContextInjection to sampled ([#3212](https://github.com/DataDog/browser-sdk/pull/3212)) [RUM] [RUM-REACT] [RUM-SLIM]
- 💥 new default for track\* initialization options ([#3190](https://github.com/DataDog/browser-sdk/pull/3190)) [RUM] [RUM-REACT] [RUM-SLIM]
- 💥 [RUM-6816] remove sendLogsAfterSessionExpiration ([#3183](https://github.com/DataDog/browser-sdk/pull/3183)) [LOGS]
- 💥 [RUM 6075] Save anonymous id in session cookie ([#2985](https://github.com/DataDog/browser-sdk/pull/2985)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 remove useCrossSiteSessionCookie option ([#3179](https://github.com/DataDog/browser-sdk/pull/3179)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 remove Object.\* Polyfills ([#2908](https://github.com/DataDog/browser-sdk/pull/2908)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 remove some polyfills ([#2857](https://github.com/DataDog/browser-sdk/pull/2857)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 build using ES2018 target ([#2882](https://github.com/DataDog/browser-sdk/pull/2882)) [RUM] [RUM-REACT] [RUM-SLIM]
- 💥 Collect long animation frames as long task events ([#3272](https://github.com/DataDog/browser-sdk/pull/3272)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 [RUM-175] sanitize RegExp and Event ([#3188](https://github.com/DataDog/browser-sdk/pull/3188)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 [RUM-6814] strongly type site parameter ([#3161](https://github.com/DataDog/browser-sdk/pull/3161)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 💥 [RUM-1919] Add tracestate header when using tracecontext propagator ([#3163](https://github.com/DataDog/browser-sdk/pull/3163)) [RUM] [RUM-REACT] [RUM-SLIM]
- 🐛 Prevent collecting the webpack ChunkLoadError ([#3280](https://github.com/DataDog/browser-sdk/pull/3280)) [RUM]
- ⚡️ [RUM-6813] Lazy load session replay ([#3152](https://github.com/DataDog/browser-sdk/pull/3152)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]

**Internal Changes:**

- 👷 [RUM-5282] Remove ie11 tests ([#2856](https://github.com/DataDog/browser-sdk/pull/2856)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 👷 do not rename bundle file when name does not change ([#3273](https://github.com/DataDog/browser-sdk/pull/3273))
- 👷 skip merge-into-next-major-job if branch don't exist ([#3270](https://github.com/DataDog/browser-sdk/pull/3270))
- 👷 enable check staging merge ([#3264](https://github.com/DataDog/browser-sdk/pull/3264))
- 👷 fix comment about performance.timing.navigationStart ([#3180](https://github.com/DataDog/browser-sdk/pull/3180)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 👷 fix comment on browser support for unicode character escape ([#3177](https://github.com/DataDog/browser-sdk/pull/3177)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- 👷 [RUM-6366] disable browserStack tests ([#3089](https://github.com/DataDog/browser-sdk/pull/3089))
- 👷 fix next major deploy job config ([#2988](https://github.com/DataDog/browser-sdk/pull/2988))
- 👷 add canary deploy job for next major ([#2938](https://github.com/DataDog/browser-sdk/pull/2938))
- 🧪 Update browser matrix for tests ([#2884](https://github.com/DataDog/browser-sdk/pull/2884)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
- ✅ fix session store e2e to account for anonymous id ([#3265](https://github.com/DataDog/browser-sdk/pull/3265))
- ✅ Make tests robust to an instrumentMethod that does not always rewrap ([#3231](https://github.com/DataDog/browser-sdk/pull/3231)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]
-[RUM-6813] Use promise in `collectAsyncCalls` instead of a callback ([#3168](https://github.com/DataDog/browser-sdk/pull/3168)) [LOGS] [RUM] [RUM-REACT] [RUM-SLIM] [WORKER]

## v5.35.0

**Public Changes:**
Expand Down Expand Up @@ -226,16 +264,6 @@
- ♻️ [RUM-6180] Use performanceObserver for long-task entries ([#2989](https://github.com/DataDog/browser-sdk/pull/2989)) [RUM] [RUM-SLIM]
- ⚗️✨ [RUM 5983] Add set view context apis ([#2967](https://github.com/DataDog/browser-sdk/pull/2967)) [LOGS] [RUM] [RUM-SLIM] [WORKER]

## v6.0.0-alpha.0

**Internal Changes:**

- 💥 remove Object.\* Polyfills ([#2908](https://github.com/DataDog/browser-sdk/pull/2908)) [LOGS] [RUM] [RUM-SLIM] [WORKER]
- 💥 remove some polyfills ([#2857](https://github.com/DataDog/browser-sdk/pull/2857)) [LOGS] [RUM] [RUM-SLIM] [WORKER]
- 💥 build using ES2018 target ([#2882](https://github.com/DataDog/browser-sdk/pull/2882)) [RUM] [RUM-SLIM]
- 💥 [RUM-5282] Remove ie11 tests ([#2856](https://github.com/DataDog/browser-sdk/pull/2856)) [LOGS] [RUM] [RUM-SLIM] [WORKER]
- 🧪 Update browser matrix for tests ([#2884](https://github.com/DataDog/browser-sdk/pull/2884)) [LOGS] [RUM] [RUM-SLIM] [WORKER] [RUM-REACT]

## v5.26.0

**Public 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": "@datadog/browser-sdk-developer-extension",
"version": "6.0.0-alpha.0",
"version": "6.0.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": "6.0.0-alpha.0"
"version": "6.0.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": "@datadog/browser-core",
"version": "6.0.0-alpha.0",
"version": "6.0.0",
"license": "Apache-2.0",
"main": "cjs/index.js",
"module": "esm/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/logs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/browser-logs",
"version": "6.0.0-alpha.0",
"version": "6.0.0",
"license": "Apache-2.0",
"main": "cjs/entries/main.js",
"module": "esm/entries/main.js",
Expand All @@ -13,10 +13,10 @@
"replace-build-env": "node ../../scripts/build/replace-build-env.js"
},
"dependencies": {
"@datadog/browser-core": "6.0.0-alpha.0"
"@datadog/browser-core": "6.0.0"
},
"peerDependencies": {
"@datadog/browser-rum": "6.0.0-alpha.0"
"@datadog/browser-rum": "6.0.0"
},
"peerDependenciesMeta": {
"@datadog/browser-rum": {
Expand Down
4 changes: 2 additions & 2 deletions packages/rum-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/browser-rum-core",
"version": "6.0.0-alpha.0",
"version": "6.0.0",
"license": "Apache-2.0",
"main": "cjs/index.js",
"module": "esm/index.js",
Expand All @@ -12,7 +12,7 @@
"replace-build-env": "node ../../scripts/build/replace-build-env.js"
},
"dependencies": {
"@datadog/browser-core": "6.0.0-alpha.0"
"@datadog/browser-core": "6.0.0"
},
"devDependencies": {
"ajv": "6.12.6"
Expand Down
6 changes: 3 additions & 3 deletions packages/rum-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/browser-rum-react",
"version": "6.0.0-alpha.0",
"version": "6.0.0",
"license": "Apache-2.0",
"main": "cjs/entries/main.js",
"module": "esm/entries/main.js",
Expand All @@ -12,8 +12,8 @@
"prepack": "npm run build"
},
"dependencies": {
"@datadog/browser-core": "6.0.0-alpha.0",
"@datadog/browser-rum-core": "6.0.0-alpha.0"
"@datadog/browser-core": "6.0.0",
"@datadog/browser-rum-core": "6.0.0"
},
"peerDependencies": {
"react": "18",
Expand Down
8 changes: 4 additions & 4 deletions packages/rum-slim/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/browser-rum-slim",
"version": "6.0.0-alpha.0",
"version": "6.0.0",
"license": "Apache-2.0",
"main": "cjs/entries/main.js",
"module": "esm/entries/main.js",
Expand All @@ -12,11 +12,11 @@
"build:esm": "rm -rf esm && tsc -p tsconfig.esm.json"
},
"dependencies": {
"@datadog/browser-core": "6.0.0-alpha.0",
"@datadog/browser-rum-core": "6.0.0-alpha.0"
"@datadog/browser-core": "6.0.0",
"@datadog/browser-rum-core": "6.0.0"
},
"peerDependencies": {
"@datadog/browser-logs": "6.0.0-alpha.0"
"@datadog/browser-logs": "6.0.0"
},
"peerDependenciesMeta": {
"@datadog/browser-logs": {
Expand Down
8 changes: 4 additions & 4 deletions packages/rum/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datadog/browser-rum",
"version": "6.0.0-alpha.0",
"version": "6.0.0",
"license": "Apache-2.0",
"main": "cjs/entries/main.js",
"module": "esm/entries/main.js",
Expand All @@ -13,11 +13,11 @@
"replace-build-env": "node ../../scripts/build/replace-build-env.js"
},
"dependencies": {
"@datadog/browser-core": "6.0.0-alpha.0",
"@datadog/browser-rum-core": "6.0.0-alpha.0"
"@datadog/browser-core": "6.0.0",
"@datadog/browser-rum-core": "6.0.0"
},
"peerDependencies": {
"@datadog/browser-logs": "6.0.0-alpha.0"
"@datadog/browser-logs": "6.0.0"
},
"peerDependenciesMeta": {
"@datadog/browser-logs": {
Expand Down
4 changes: 2 additions & 2 deletions packages/worker/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@datadog/browser-worker",
"version": "6.0.0-alpha.0",
"version": "6.0.0",
"license": "Apache-2.0",
"main": "bundle/worker.js",
"scripts": {
"build": "rm -rf bundle && webpack --mode=production"
},
"dependencies": {
"@datadog/browser-core": "6.0.0-alpha.0"
"@datadog/browser-core": "6.0.0"
},
"repository": {
"type": "git",
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": "6.0.0-alpha.0",
"version": "6.0.0",
"scripts": {
"start": "ts-node ./src/main.ts"
},
Expand Down
12 changes: 6 additions & 6 deletions test/app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@datadog/browser-logs@portal:../../packages/logs::locator=app%40workspace%3A."
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
peerDependencies:
"@datadog/browser-rum": 6.0.0-alpha.0
"@datadog/browser-rum": 6.0.0
peerDependenciesMeta:
"@datadog/browser-rum":
optional: true
Expand All @@ -28,18 +28,18 @@ __metadata:
version: 0.0.0-use.local
resolution: "@datadog/browser-rum-core@portal:../../packages/rum-core::locator=app%40workspace%3A."
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
languageName: node
linkType: soft

"@datadog/browser-rum@portal:../../packages/rum::locator=app%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@datadog/browser-rum@portal:../../packages/rum::locator=app%40workspace%3A."
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-rum-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
"@datadog/browser-rum-core": "npm:6.0.0"
peerDependencies:
"@datadog/browser-logs": 6.0.0-alpha.0
"@datadog/browser-logs": 6.0.0
peerDependenciesMeta:
"@datadog/browser-logs":
optional: true
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ __metadata:
languageName: node
linkType: hard

"@datadog/browser-core@npm:6.0.0-alpha.0, @datadog/browser-core@workspace:*, @datadog/browser-core@workspace:packages/core":
"@datadog/browser-core@npm:6.0.0, @datadog/browser-core@workspace:*, @datadog/browser-core@workspace:packages/core":
version: 0.0.0-use.local
resolution: "@datadog/browser-core@workspace:packages/core"
languageName: unknown
Expand All @@ -327,20 +327,20 @@ __metadata:
version: 0.0.0-use.local
resolution: "@datadog/browser-logs@workspace:packages/logs"
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
peerDependencies:
"@datadog/browser-rum": 6.0.0-alpha.0
"@datadog/browser-rum": 6.0.0
peerDependenciesMeta:
"@datadog/browser-rum":
optional: true
languageName: unknown
linkType: soft

"@datadog/browser-rum-core@npm:6.0.0-alpha.0, @datadog/browser-rum-core@workspace:packages/rum-core":
"@datadog/browser-rum-core@npm:6.0.0, @datadog/browser-rum-core@workspace:packages/rum-core":
version: 0.0.0-use.local
resolution: "@datadog/browser-rum-core@workspace:packages/rum-core"
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
ajv: "npm:6.12.6"
languageName: unknown
linkType: soft
Expand All @@ -349,8 +349,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@datadog/browser-rum-react@workspace:packages/rum-react"
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-rum-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
"@datadog/browser-rum-core": "npm:6.0.0"
"@types/react": "npm:18.3.18"
"@types/react-dom": "npm:18.3.5"
react: "npm:18.3.1"
Expand All @@ -375,10 +375,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@datadog/browser-rum-slim@workspace:packages/rum-slim"
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-rum-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
"@datadog/browser-rum-core": "npm:6.0.0"
peerDependencies:
"@datadog/browser-logs": 6.0.0-alpha.0
"@datadog/browser-logs": 6.0.0
peerDependenciesMeta:
"@datadog/browser-logs":
optional: true
Expand All @@ -389,12 +389,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "@datadog/browser-rum@workspace:packages/rum"
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-rum-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
"@datadog/browser-rum-core": "npm:6.0.0"
"@types/pako": "npm:2.0.3"
pako: "npm:2.1.0"
peerDependencies:
"@datadog/browser-logs": 6.0.0-alpha.0
"@datadog/browser-logs": 6.0.0
peerDependenciesMeta:
"@datadog/browser-logs":
optional: true
Expand Down Expand Up @@ -430,7 +430,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@datadog/browser-worker@workspace:packages/worker"
dependencies:
"@datadog/browser-core": "npm:6.0.0-alpha.0"
"@datadog/browser-core": "npm:6.0.0"
webpack: "npm:5.97.1"
languageName: unknown
linkType: soft
Expand Down

0 comments on commit 6781068

Please sign in to comment.