diff --git a/CHANGELOG.md b/CHANGELOG.md index f8dd47ced6..9123996a56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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:** @@ -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:** diff --git a/developer-extension/package.json b/developer-extension/package.json index 13caa4acdb..ccb8671f9b 100644 --- a/developer-extension/package.json +++ b/developer-extension/package.json @@ -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", diff --git a/lerna.json b/lerna.json index ceeae145c1..884e287c84 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "npmClient": "yarn", - "version": "6.0.0-alpha.0" + "version": "6.0.0" } diff --git a/packages/core/package.json b/packages/core/package.json index 3e2bf0c285..37d9bdc486 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -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", diff --git a/packages/logs/package.json b/packages/logs/package.json index 32ea6ad114..948431e5c0 100644 --- a/packages/logs/package.json +++ b/packages/logs/package.json @@ -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", @@ -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": { diff --git a/packages/rum-core/package.json b/packages/rum-core/package.json index 7762849ee0..c6de84e9e7 100644 --- a/packages/rum-core/package.json +++ b/packages/rum-core/package.json @@ -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", @@ -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" diff --git a/packages/rum-react/package.json b/packages/rum-react/package.json index b04532a018..cfc152cebd 100644 --- a/packages/rum-react/package.json +++ b/packages/rum-react/package.json @@ -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", @@ -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", diff --git a/packages/rum-slim/package.json b/packages/rum-slim/package.json index b9c4aa600e..6dc8ee7677 100644 --- a/packages/rum-slim/package.json +++ b/packages/rum-slim/package.json @@ -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", @@ -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": { diff --git a/packages/rum/package.json b/packages/rum/package.json index 410710059d..44ff755472 100644 --- a/packages/rum/package.json +++ b/packages/rum/package.json @@ -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", @@ -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": { diff --git a/packages/worker/package.json b/packages/worker/package.json index 417bfac3ee..8810a61ee7 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -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", diff --git a/performances/package.json b/performances/package.json index 6b43939d8c..698ea0dd7d 100644 --- a/performances/package.json +++ b/performances/package.json @@ -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" }, diff --git a/test/app/yarn.lock b/test/app/yarn.lock index f2f67262ee..ccd29cdcbd 100644 --- a/test/app/yarn.lock +++ b/test/app/yarn.lock @@ -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 @@ -28,7 +28,7 @@ __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 @@ -36,10 +36,10 @@ __metadata: 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 diff --git a/yarn.lock b/yarn.lock index 85c2590e61..cae0e07088 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 @@ -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 @@ -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" @@ -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 @@ -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 @@ -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