From 3bab23e0995cf1a19fc68d6c062f0a9ae05d702d Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Tue, 27 Aug 2024 10:28:38 -0400 Subject: [PATCH 1/2] feat(replay): Upgrade rrweb packages to 2.26.0 * [fix(rrdom): Ignore invalid DOM attributes when diffing](https://github.com/getsentry/rrweb/pull/213) * [fix: manual snapshot in rAF loop](https://github.com/getsentry/rrweb/pull/210) (thanks @ShinyChang) * [feat: Fix blocking dynamically added iframes](https://github.com/getsentry/rrweb/pull/212) --- packages/replay-canvas/package.json | 2 +- packages/replay-internal/package.json | 4 +-- yarn.lock | 42 +++++++++++++-------------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/packages/replay-canvas/package.json b/packages/replay-canvas/package.json index 4dd27ce4a18c..7bfeb7304d01 100644 --- a/packages/replay-canvas/package.json +++ b/packages/replay-canvas/package.json @@ -65,7 +65,7 @@ }, "homepage": "https://docs.sentry.io/platforms/javascript/session-replay/", "devDependencies": { - "@sentry-internal/rrweb": "2.25.0" + "@sentry-internal/rrweb": "2.26.0" }, "dependencies": { "@sentry-internal/replay": "8.26.0", diff --git a/packages/replay-internal/package.json b/packages/replay-internal/package.json index cf655cbf1a38..49ef6631c4d4 100644 --- a/packages/replay-internal/package.json +++ b/packages/replay-internal/package.json @@ -69,8 +69,8 @@ "devDependencies": { "@babel/core": "^7.17.5", "@sentry-internal/replay-worker": "8.26.0", - "@sentry-internal/rrweb": "2.25.0", - "@sentry-internal/rrweb-snapshot": "2.25.0", + "@sentry-internal/rrweb": "2.26.0", + "@sentry-internal/rrweb-snapshot": "2.26.0", "fflate": "^0.8.1", "jest-matcher-utils": "^29.0.0", "jsdom-worker": "^0.2.1" diff --git a/yarn.lock b/yarn.lock index 481175f8db61..a1a060119a64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8115,22 +8115,22 @@ dependencies: "@sentry-internal/rrweb-snapshot" "2.11.0" -"@sentry-internal/rrdom@2.25.0": - version "2.25.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrdom/-/rrdom-2.25.0.tgz#4be842f7f4efae383bbd5a9dcbbecc212d378d70" - integrity sha512-YTxGHnCdv6D2JVJ6YFezMsGOHLy7CM8x8qMaY3Yh3QTubFOjdGpcGJGITF/9Lkx+rFVCTdjL32cQu9NUgEJO8g== +"@sentry-internal/rrdom@2.26.0": + version "2.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrdom/-/rrdom-2.26.0.tgz#be3e4f14de56a6022aed3a00ac6ea2f2abe05d1c" + integrity sha512-QviUvwAPYDCmkeJsu3fx0pXlLBHwQLCKje9wuuhRVkmDL9dMbcCDa7+HhFa2V2UMXgZ7l6z/SMin2ymDReubSw== dependencies: - "@sentry-internal/rrweb-snapshot" "2.25.0" + "@sentry-internal/rrweb-snapshot" "2.26.0" "@sentry-internal/rrweb-snapshot@2.11.0": version "2.11.0" resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.11.0.tgz#1af79130604afea989d325465b209ac015b27c9a" integrity sha512-1nP22QlplMNooSNvTh+L30NSZ+E3UcfaJyxXSMLxUjQHTGPyM1VkndxZMmxlKhyR5X+rLbxi/+RvuAcpM43VoA== -"@sentry-internal/rrweb-snapshot@2.25.0": - version "2.25.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.25.0.tgz#f20bd20436edac24ed1075b47fc4773894739d97" - integrity sha512-7j90eSGFRS1YWcuo0bXPtV9oDdCQxutilyYbim/I09GA7kx4/d8OG8ryxQl6WWXW+E50x6dEpDsZXWMPkSleEg== +"@sentry-internal/rrweb-snapshot@2.26.0": + version "2.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.26.0.tgz#cb70bf2c006bf59824806f567ae6ca23ba2aac3a" + integrity sha512-wWa+OxAHhoozIlt3kjhmfrsn/+POnJgktOe5WT95fakfyv56mGKXqh4mXx7HRzGEwq4bbkhtcPhfh2gbueSPcA== "@sentry-internal/rrweb-types@2.11.0": version "2.11.0" @@ -8139,12 +8139,12 @@ dependencies: "@sentry-internal/rrweb-snapshot" "2.11.0" -"@sentry-internal/rrweb-types@2.25.0": - version "2.25.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-types/-/rrweb-types-2.25.0.tgz#61662befc57ed7054a491eb35ad3deda7d66157c" - integrity sha512-sM2YdevhIRxQ/Kr89cfbNBO7/EFhycTmQT0NKg4owdKkIvuuqz1AhbRpMMdpJ4NJnos+h06VPObeXm6rcrffsw== +"@sentry-internal/rrweb-types@2.26.0": + version "2.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-types/-/rrweb-types-2.26.0.tgz#0ba52a4e6f24238556134280b7cf77633bc68e21" + integrity sha512-og4X+OidRRc3bMuwfeio4UF8EcVFjtz/z0DDjpyV+0sH4LDoVoH1+Jlxbxl4WR83LALWMcsxV0UWYeXA5kfrOw== dependencies: - "@sentry-internal/rrweb-snapshot" "2.25.0" + "@sentry-internal/rrweb-snapshot" "2.26.0" "@types/css-font-loading-module" "0.0.7" "@sentry-internal/rrweb@2.11.0": @@ -8161,14 +8161,14 @@ fflate "^0.4.4" mitt "^3.0.0" -"@sentry-internal/rrweb@2.25.0": - version "2.25.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb/-/rrweb-2.25.0.tgz#0148f1904f1e9549f2c2cae209fe3d3fe891d3ec" - integrity sha512-0tgBI0CFpyO3Z3dw4IjS/D6AnQypro4dquRrcZZzqnMH65Vxw3yytGDtmvE/FzHzGC0vmKFTM+sTkzFY0bo+Bg== +"@sentry-internal/rrweb@2.26.0": + version "2.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb/-/rrweb-2.26.0.tgz#456a9ae1b48e87f086e4749346532879e9ac304c" + integrity sha512-J5db750QNlGdLrzbZwEVJgOtLwHtvh3a6VVxQ08G0yEZxqI7bdvcvxnvIXp8h+PwUk/S8yjoZwYgLFFDED3ePQ== dependencies: - "@sentry-internal/rrdom" "2.25.0" - "@sentry-internal/rrweb-snapshot" "2.25.0" - "@sentry-internal/rrweb-types" "2.25.0" + "@sentry-internal/rrdom" "2.26.0" + "@sentry-internal/rrweb-snapshot" "2.26.0" + "@sentry-internal/rrweb-types" "2.26.0" "@types/css-font-loading-module" "0.0.7" "@xstate/fsm" "^1.4.0" base64-arraybuffer "^1.0.1" From 4c5be0da5170570e70a418c6334119e3de084e1a Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Tue, 27 Aug 2024 12:03:39 -0400 Subject: [PATCH 2/2] size :( --- .size-limit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.size-limit.js b/.size-limit.js index 859ce741cc3d..2280b950c513 100644 --- a/.size-limit.js +++ b/.size-limit.js @@ -29,7 +29,7 @@ module.exports = [ path: 'packages/browser/build/npm/esm/index.js', import: createImport('init', 'browserTracingIntegration', 'replayIntegration'), gzip: true, - limit: '66 KB', + limit: '68 KB', modifyWebpackConfig: function (config) { const webpack = require('webpack'); config.plugins.push(