From 9a3fb0e7de54c3821c8fb2ff0fc151a08238b49d Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Mon, 14 Aug 2023 18:07:42 -0400 Subject: [PATCH] feat(sdk): Upgrade `@sentry/gatsby` to v7.64.0-alpha.0 (#1019) You have been selected for a FREE upgrade to alpha test our new Replay SDK ft. rrweb2 (also upgrades session sample rate to 1.0 as we were not capturing any replays at all due to low traffic?) --- package.json | 4 +- sentry.config.ts | 2 +- yarn.lock | 110 +++++++++++++++++++++++++++++++++-------------- 3 files changed, 81 insertions(+), 35 deletions(-) diff --git a/package.json b/package.json index c877db0371..315781b501 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^v1.6.22", "@sentry-internal/global-search": "0.0.43", - "@sentry/gatsby": "^7.57.0", - "@sentry/node": "^7.57.0", + "@sentry/gatsby": "^7.64.0-alpha.0", + "@sentry/node": "^7.64.0-alpha.0", "@sentry/profiling-node": "^1.1.2", "@types/dompurify": "^2.0.3", "@types/node": "^14", diff --git a/sentry.config.ts b/sentry.config.ts index a91a1adbd0..ebe0da26e0 100644 --- a/sentry.config.ts +++ b/sentry.config.ts @@ -37,7 +37,7 @@ if (!isNodeEnv()) { // Capture Replay for 10% of all sessions, // plus for 100% of sessions with an error - replaysSessionSampleRate: 0.1, + replaysSessionSampleRate: 1.0, replaysOnErrorSampleRate: 1.0, }); } diff --git a/yarn.lock b/yarn.lock index 665ccc0056..ee515538f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2406,16 +2406,26 @@ "@sentry/utils" "7.57.0" tslib "^2.4.1 || ^1.9.3" -"@sentry/browser@7.57.0": - version "7.57.0" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.57.0.tgz#6e724c9eac680dba99ced0fdf81be8d1e3b3bceb" - integrity sha512-E0HaYYlaqHFiIRZXxcvOO8Odvlt+TR1vFFXzqUWXPOvDRxURglTOCQ3EN/u6bxtAGJ6y/Zc2obgihTtypuel/w== +"@sentry-internal/tracing@7.64.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.64.0.tgz#3e110473b8edf805b799cc91d6ee592830237bb4" + integrity sha512-1XE8W6ki7hHyBvX9hfirnGkKDBKNq3bDJyXS86E0bYVDl94nvbRM9BD9DHsCFetqYkVm1yDGEK+6aUVs4CztoQ== + dependencies: + "@sentry/core" "7.64.0" + "@sentry/types" "7.64.0" + "@sentry/utils" "7.64.0" + tslib "^2.4.1 || ^1.9.3" + +"@sentry/browser@7.64.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.64.0.tgz#76db08a5d32ffe7c5aa907f258e6c845ce7f10d7" + integrity sha512-lB2IWUkZavEDclxfLBp554dY10ZNIEvlDZUWWathW+Ws2wRb6PNLtuPUNu12R7Q7z0xpkOLrM1kRNN0OdldgKA== dependencies: - "@sentry-internal/tracing" "7.57.0" - "@sentry/core" "7.57.0" - "@sentry/replay" "7.57.0" - "@sentry/types" "7.57.0" - "@sentry/utils" "7.57.0" + "@sentry-internal/tracing" "7.64.0" + "@sentry/core" "7.64.0" + "@sentry/replay" "7.64.0" + "@sentry/types" "7.64.0" + "@sentry/utils" "7.64.0" tslib "^2.4.1 || ^1.9.3" "@sentry/cli@^1.74.4": @@ -2440,15 +2450,24 @@ "@sentry/utils" "7.57.0" tslib "^2.4.1 || ^1.9.3" -"@sentry/gatsby@^7.57.0": - version "7.57.0" - resolved "https://registry.yarnpkg.com/@sentry/gatsby/-/gatsby-7.57.0.tgz#61f11d98f7197395838393065201d68ae84cadbd" - integrity sha512-HBx1rMmso6QnBai5Nx8DGVSp/njNrsMbCzeElU+sOUN0hiKeGH0Hueg4yCwSHYVQbqBGUNBSK0M1ZyXvKYHeFw== +"@sentry/core@7.64.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.64.0.tgz#9d61cdc29ba299dedbdcbe01cfadf94bd0b7df48" + integrity sha512-IzmEyl5sNG7NyEFiyFHEHC+sizsZp9MEw1+RJRLX6U5RITvcsEgcajSkHQFafaBPzRrcxZMdm47Cwhl212LXcw== dependencies: - "@sentry/core" "7.57.0" - "@sentry/react" "7.57.0" - "@sentry/types" "7.57.0" - "@sentry/utils" "7.57.0" + "@sentry/types" "7.64.0" + "@sentry/utils" "7.64.0" + tslib "^2.4.1 || ^1.9.3" + +"@sentry/gatsby@^7.64.0-alpha.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/gatsby/-/gatsby-7.64.0.tgz#f2f65964a55636fda5e6907a92ccdf03717447ab" + integrity sha512-XfyjdGbUv7zwrmC04lDKrVtvDbvX95ms90P8P5XBMc0STFTRrARuN8WNprWrS3dfaQziLSNdxcCassJ2R+02Sw== + dependencies: + "@sentry/core" "7.64.0" + "@sentry/react" "7.64.0" + "@sentry/types" "7.64.0" + "@sentry/utils" "7.64.0" "@sentry/webpack-plugin" "1.19.0" "@sentry/hub@^7.53.0": @@ -2461,7 +2480,7 @@ "@sentry/utils" "7.57.0" tslib "^2.4.1 || ^1.9.3" -"@sentry/node@^7.53.0", "@sentry/node@^7.57.0": +"@sentry/node@^7.53.0": version "7.57.0" resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.57.0.tgz#31052f5988ed4496d7f3ff925240cf9b02d09941" integrity sha512-63mjyUVM6sfJFVQ5TGVRVGUsoEfESl5ABzIW1W0s9gUiQPaG8SOdaQJglb2VNrkMYxnRHgD8Q9LUh/qcmUyPGw== @@ -2475,6 +2494,20 @@ lru_map "^0.3.3" tslib "^2.4.1 || ^1.9.3" +"@sentry/node@^7.64.0-alpha.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.64.0.tgz#c6f7a67c1442324298f0525e7191bc18572ee1ce" + integrity sha512-wRi0uTnp1WSa83X2yLD49tV9QPzGh5e42IKdIDBiQ7lV9JhLILlyb34BZY1pq6p4dp35yDasDrP3C7ubn7wo6A== + dependencies: + "@sentry-internal/tracing" "7.64.0" + "@sentry/core" "7.64.0" + "@sentry/types" "7.64.0" + "@sentry/utils" "7.64.0" + cookie "^0.4.1" + https-proxy-agent "^5.0.0" + lru_map "^0.3.3" + tslib "^2.4.1 || ^1.9.3" + "@sentry/profiling-node@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@sentry/profiling-node/-/profiling-node-1.1.2.tgz#2176aea2e50676a84469f16c8650e1b6d9b11816" @@ -2489,31 +2522,36 @@ node-abi "^3.28.0" node-gyp "^9.3.0" -"@sentry/react@7.57.0": - version "7.57.0" - resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.57.0.tgz#cf91f0115bcd2a8306d6c8a39d8e8b53d4b21814" - integrity sha512-XGNTjIoCG3naSmCU8qObd+y+CqAB6NQkGWOp2yyBwp2inyKF2ehJvDh6bIQloBYq2TmOJDa4NfXdMrkilxaLFQ== +"@sentry/react@7.64.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.64.0.tgz#edee24ac232990204e0fb43dd83994642d4b0f54" + integrity sha512-wOyJUQi7OoT1q+F/fVVv1fzbyO4OYbTu6m1DliLOGQPGEHPBsgPc722smPIExd1/rAMK/FxOuNN5oNhubH8nhg== dependencies: - "@sentry/browser" "7.57.0" - "@sentry/types" "7.57.0" - "@sentry/utils" "7.57.0" + "@sentry/browser" "7.64.0" + "@sentry/types" "7.64.0" + "@sentry/utils" "7.64.0" hoist-non-react-statics "^3.3.2" tslib "^2.4.1 || ^1.9.3" -"@sentry/replay@7.57.0": - version "7.57.0" - resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.57.0.tgz#c8f7eae7b7edc9d32c3d2955b337f3b3c76dff39" - integrity sha512-pN4ryNS3J5EYbkXvR+O/+hseAJha7XDl8mPFtK0OGTHG10JzCi4tQJazblHQdpb5QBaMMPCeZ+isyfoQLDNXnw== +"@sentry/replay@7.64.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.64.0.tgz#bdf09b0c4712f9dc6b24b3ebefa55a4ac76708e6" + integrity sha512-alaMCZDZhaAVmEyiUnszZnvfdbiZx5MmtMTGrlDd7tYq3K5OA9prdLqqlmfIJYBfYtXF3lD0iZFphOZQD+4CIw== dependencies: - "@sentry/core" "7.57.0" - "@sentry/types" "7.57.0" - "@sentry/utils" "7.57.0" + "@sentry/core" "7.64.0" + "@sentry/types" "7.64.0" + "@sentry/utils" "7.64.0" "@sentry/types@7.57.0", "@sentry/types@^7.53.0": version "7.57.0" resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.57.0.tgz#4fdb80cbd49ba034dd8d9be0c0005a016d5db3ce" integrity sha512-D7ifoUfxuVCUyktIr5Gc+jXUbtcUMmfHdTtTbf1XCZHua5mJceK9wtl3YCg3eq/HK2Ppd52BKnTzEcS5ZKQM+w== +"@sentry/types@7.64.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.64.0.tgz#21fc545ea05c3c8c4c3e518583eca1a8c5429506" + integrity sha512-LqjQprWXjUFRmzIlUjyA+KL+38elgIYmAeoDrdyNVh8MK5IC1W2Lh1Q87b4yOiZeMiIhIVNBd7Ecoh2rodGrGA== + "@sentry/utils@7.57.0", "@sentry/utils@^7.53.0": version "7.57.0" resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.57.0.tgz#8253c6fcf35138b4c424234b8da1596e11b98ad8" @@ -2522,6 +2560,14 @@ "@sentry/types" "7.57.0" tslib "^2.4.1 || ^1.9.3" +"@sentry/utils@7.64.0": + version "7.64.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.64.0.tgz#6fe3ce9a56d3433ed32119f914907361a54cc184" + integrity sha512-HRlM1INzK66Gt+F4vCItiwGKAng4gqzCR4C5marsL3qv6SrKH98dQnCGYgXluSWaaa56h97FRQu7TxCk6jkSvQ== + dependencies: + "@sentry/types" "7.64.0" + tslib "^2.4.1 || ^1.9.3" + "@sentry/webpack-plugin@1.19.0": version "1.19.0" resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.19.0.tgz#2b134318f1552ba7f3e3f9c83c71a202095f7a44"