Skip to content

Commit 6ad3d7e

Browse files
authored
Merge pull request #9144 from getsentry/prepare-release/7.73.0
meta(changelog): Update changelog for 7.73.0
2 parents 9032787 + 53d283e commit 6ad3d7e

File tree

110 files changed

+1524
-977
lines changed

Some content is hidden

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

110 files changed

+1524
-977
lines changed

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: 'Prepare a new version'
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
token: ${{ secrets.GH_RELEASE_PAT }}
1919
fetch-depth: 0

.github/workflows/build.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
pull-requests: read
6262
steps:
6363
- name: Check out current commit
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
with:
6666
ref: ${{ env.HEAD_COMMIT }}
6767
# We need to check out not only the fake merge commit between the PR and the base branch which GH creates, but
@@ -159,7 +159,7 @@ jobs:
159159
(needs.job_get_metadata.outputs.changed_any_code == 'true' || github.event_name != 'pull_request')
160160
steps:
161161
- name: 'Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})'
162-
uses: actions/checkout@v3
162+
uses: actions/checkout@v4
163163
with:
164164
ref: ${{ env.HEAD_COMMIT }}
165165
- name: Set up Node
@@ -207,7 +207,7 @@ jobs:
207207
timeout-minutes: 30
208208
steps:
209209
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
210-
uses: actions/checkout@v3
210+
uses: actions/checkout@v4
211211
with:
212212
ref: ${{ env.HEAD_COMMIT }}
213213
- name: Set up Node
@@ -265,7 +265,7 @@ jobs:
265265
needs.job_get_metadata.outputs.is_release == 'true'
266266
steps:
267267
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
268-
uses: actions/checkout@v3
268+
uses: actions/checkout@v4
269269
with:
270270
ref: ${{ env.HEAD_COMMIT }}
271271
- name: Set up Node
@@ -297,7 +297,7 @@ jobs:
297297
runs-on: ubuntu-20.04
298298
steps:
299299
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
300-
uses: actions/checkout@v3
300+
uses: actions/checkout@v4
301301
with:
302302
ref: ${{ env.HEAD_COMMIT }}
303303
- name: Set up Node
@@ -320,7 +320,7 @@ jobs:
320320
runs-on: ubuntu-20.04
321321
steps:
322322
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
323-
uses: actions/checkout@v3
323+
uses: actions/checkout@v4
324324
with:
325325
ref: ${{ env.HEAD_COMMIT }}
326326
- name: Set up Node
@@ -342,7 +342,7 @@ jobs:
342342
if: needs.job_get_metadata.outputs.is_release == 'true'
343343
steps:
344344
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
345-
uses: actions/checkout@v3
345+
uses: actions/checkout@v4
346346
with:
347347
ref: ${{ env.HEAD_COMMIT }}
348348
- name: Set up Node
@@ -373,7 +373,7 @@ jobs:
373373
runs-on: ubuntu-latest
374374
steps:
375375
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
376-
uses: actions/checkout@v3
376+
uses: actions/checkout@v4
377377
with:
378378
ref: ${{ env.HEAD_COMMIT }}
379379
- name: Set up Node
@@ -400,7 +400,7 @@ jobs:
400400
fail-fast: false
401401
steps:
402402
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
403-
uses: actions/checkout@v3
403+
uses: actions/checkout@v4
404404
with:
405405
ref: ${{ env.HEAD_COMMIT }}
406406
- name: Set up Node
@@ -430,7 +430,7 @@ jobs:
430430
node: [8, 10, 12, 14, 16, 18, 20]
431431
steps:
432432
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
433-
uses: actions/checkout@v3
433+
uses: actions/checkout@v4
434434
with:
435435
ref: ${{ env.HEAD_COMMIT }}
436436
- name: Set up Node
@@ -462,7 +462,7 @@ jobs:
462462
node: [10, 12, 14, 16, 18, 20]
463463
steps:
464464
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
465-
uses: actions/checkout@v3
465+
uses: actions/checkout@v4
466466
with:
467467
ref: ${{ env.HEAD_COMMIT }}
468468
- name: Set up Node
@@ -527,7 +527,7 @@ jobs:
527527

528528
steps:
529529
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
530-
uses: actions/checkout@v3
530+
uses: actions/checkout@v4
531531
with:
532532
ref: ${{ env.HEAD_COMMIT }}
533533
- name: Set up Node
@@ -584,7 +584,7 @@ jobs:
584584

585585
steps:
586586
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
587-
uses: actions/checkout@v3
587+
uses: actions/checkout@v4
588588
with:
589589
ref: ${{ env.HEAD_COMMIT }}
590590
- name: Set up Node
@@ -637,7 +637,7 @@ jobs:
637637
- WebkitHeadless
638638
steps:
639639
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
640-
uses: actions/checkout@v3
640+
uses: actions/checkout@v4
641641
with:
642642
ref: ${{ env.HEAD_COMMIT }}
643643
- name: Set up Node
@@ -663,7 +663,7 @@ jobs:
663663
timeout-minutes: 5
664664
steps:
665665
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
666-
uses: actions/checkout@v3
666+
uses: actions/checkout@v4
667667
with:
668668
ref: ${{ env.HEAD_COMMIT }}
669669
- name: Set up Node
@@ -703,7 +703,7 @@ jobs:
703703
typescript: '3.8'
704704
steps:
705705
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
706-
uses: actions/checkout@v3
706+
uses: actions/checkout@v4
707707
with:
708708
ref: ${{ env.HEAD_COMMIT }}
709709
- name: Set up Node
@@ -739,7 +739,7 @@ jobs:
739739
remix: [1, 2]
740740
steps:
741741
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
742-
uses: actions/checkout@v3
742+
uses: actions/checkout@v4
743743
with:
744744
ref: ${{ env.HEAD_COMMIT }}
745745
- name: Set up Node
@@ -768,7 +768,7 @@ jobs:
768768
timeout-minutes: 15
769769
steps:
770770
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
771-
uses: actions/checkout@v3
771+
uses: actions/checkout@v4
772772
with:
773773
ref: ${{ env.HEAD_COMMIT }}
774774
- name: Set up Node
@@ -840,7 +840,7 @@ jobs:
840840

841841
steps:
842842
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
843-
uses: actions/checkout@v3
843+
uses: actions/checkout@v4
844844
with:
845845
ref: ${{ env.HEAD_COMMIT }}
846846
- uses: pnpm/action-setup@v2
@@ -925,7 +925,7 @@ jobs:
925925
needs.job_get_metadata.outputs.is_develop == 'true'
926926
steps:
927927
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
928-
uses: actions/checkout@v3
928+
uses: actions/checkout@v4
929929
with:
930930
ref: ${{ env.HEAD_COMMIT }}
931931
- name: Set up Node

.github/workflows/canary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
timeout-minutes: 30
2424
steps:
2525
- name: Check out current commit
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
ref: ${{ env.HEAD_COMMIT }}
2929
- name: Set up Node
@@ -82,7 +82,7 @@ jobs:
8282

8383
steps:
8484
- name: Check out current commit
85-
uses: actions/checkout@v3
85+
uses: actions/checkout@v4
8686
with:
8787
ref: ${{ env.HEAD_COMMIT }}
8888
- uses: pnpm/action-setup@v2
@@ -148,7 +148,7 @@ jobs:
148148
scenario: [ember-release, embroider-optimized, ember-4.0]
149149
steps:
150150
- name: 'Check out current commit'
151-
uses: actions/checkout@v3
151+
uses: actions/checkout@v4
152152
with:
153153
ref: ${{ env.HEAD_COMMIT }}
154154
- name: Set up Node

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
steps:
4646
- name: Checkout repository
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848

4949
# Initializes the CodeQL tools for scanning.
5050
- name: Initialize CodeQL

.github/workflows/flaky-test-detector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: ${{ github.base_ref != 'master' && github.ref != 'refs/heads/master' }}
3131
steps:
3232
- name: Check out current branch
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
- name: Set up Node
3535
uses: actions/setup-node@v3
3636
with:

.github/workflows/gitflow-sync-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
contents: write
2424
steps:
2525
- name: git checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
# https://github.com/marketplace/actions/github-pull-request-action
2929
- name: Create Pull Request

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
name: 'Release a new version'
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
token: ${{ secrets.GH_RELEASE_PAT }}
2323
fetch-depth: 0

.size-limit.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = [
55
path: 'packages/browser/build/npm/esm/index.js',
66
import: '{ init, Replay, BrowserTracing }',
77
gzip: true,
8-
limit: '80 KB',
8+
limit: '90 KB',
99
},
1010
{
1111
name: '@sentry/browser (incl. Tracing) - Webpack (gzipped)',
@@ -47,7 +47,7 @@ module.exports = [
4747
name: '@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)',
4848
path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js',
4949
gzip: false,
50-
limit: '250 KB',
50+
limit: '260 KB',
5151
},
5252
{
5353
name: '@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)',
@@ -77,7 +77,7 @@ module.exports = [
7777
path: 'packages/react/build/esm/index.js',
7878
import: '{ init, BrowserTracing, Replay }',
7979
gzip: true,
80-
limit: '80 KB',
80+
limit: '90 KB',
8181
},
8282
{
8383
name: '@sentry/react - Webpack (gzipped)',
@@ -93,7 +93,7 @@ module.exports = [
9393
path: 'packages/nextjs/build/esm/client/index.js',
9494
import: '{ init, BrowserTracing, Replay }',
9595
gzip: true,
96-
limit: '100 KB',
96+
limit: '110 KB',
9797
},
9898
{
9999
name: '@sentry/nextjs Client - Webpack (gzipped)',

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,44 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7+
## 7.73.0
8+
9+
### Important Changes
10+
11+
- **feat(replay): Upgrade to rrweb2**
12+
13+
This is fully backwards compatible with prior versions of the Replay SDK. The only breaking change that we will making is to not be masking `aria-label` by default. The reason for this change is to align with our core SDK which also does not mask `aria-label`. This change also enables better support of searching by clicks.
14+
15+
Another change that needs to be highlighted is the 13% bundle size increase. This bundle size increase is necessary to bring improved recording performance and improved replay fidelity, especially in regards to web components and iframes. We will be investigating the reduction of the bundle size in [this PR](https://github.com/getsentry/sentry-javascript/issues/8815).
16+
17+
Here are benchmarks comparing the version 1 of rrweb to version 2
18+
19+
| metric | v1 | v2 |
20+
| --------- | ---------- | ---------- |
21+
| lcp | 1486.06 ms | 1529.11 ms |
22+
| cls | 0.40 ms | 0.40 ms |
23+
| fid | 1.53 ms | 1.50 ms |
24+
| tbt | 3207.22 ms | 3036.80 ms |
25+
| memoryAvg | 131.83 MB | 124.84 MB |
26+
| memoryMax | 324.8 MB | 339.03 MB |
27+
| netTx | 282.67 KB | 272.51 KB |
28+
| netRx | 8.02 MB | 8.07 MB |
29+
30+
### Other Changes
31+
32+
- feat: Always assemble Envelopes (#9101)
33+
- feat(node): Rate limit local variables for caught exceptions and enable `captureAllExceptions` by default (#9102)
34+
- fix(core): Ensure `tunnel` is considered for `isSentryUrl` checks (#9130)
35+
- fix(nextjs): Fix `RequestAsyncStorage` fallback path (#9126)
36+
- fix(node-otel): Suppress tracing for generated sentry spans (#9142)
37+
- fix(node): fill in span data from http request options object (#9112)
38+
- fix(node): Fixes and improvements to ANR detection (#9128)
39+
- fix(sveltekit): Avoid data invalidation in wrapped client-side `load` functions (#9071)
40+
- ref(core): Refactor `InboundFilters` integration to use `processEvent` (#9020)
41+
- ref(wasm): Refactor Wasm integration to use `processEvent` (#9019)
42+
43+
Work in this release contributed by @vlad-zhukov. Thank you for your contribution!
44+
745
## 7.72.0
846

947
### Important Changes

packages/browser-integration-tests/suites/replay/bufferMode/test.ts

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ sentryTest(
8484
await reqErrorPromise;
8585
expect(callsToSentry).toEqual(2);
8686

87-
await page.evaluate(async () => {
88-
const replayIntegration = (window as unknown as Window & { Replay: Replay }).Replay;
89-
await replayIntegration.flush();
90-
});
91-
92-
const req0 = await reqPromise0;
87+
const [req0] = await Promise.all([
88+
reqPromise0,
89+
page.evaluate(async () => {
90+
const replayIntegration = (window as unknown as Window & { Replay: Replay }).Replay;
91+
await replayIntegration.flush();
92+
}),
93+
]);
9394

9495
// 2 errors, 1 flush
9596
await reqErrorPromise;
@@ -226,12 +227,13 @@ sentryTest(
226227
await reqErrorPromise;
227228
expect(callsToSentry).toEqual(2);
228229

229-
await page.evaluate(async () => {
230-
const replayIntegration = (window as unknown as Window & { Replay: Replay }).Replay;
231-
await replayIntegration.flush({ continueRecording: false });
232-
});
233-
234-
const req0 = await reqPromise0;
230+
const [req0] = await Promise.all([
231+
reqPromise0,
232+
page.evaluate(async () => {
233+
const replayIntegration = (window as unknown as Window & { Replay: Replay }).Replay;
234+
await replayIntegration.flush({ continueRecording: false });
235+
}),
236+
]);
235237

236238
// 2 errors, 1 flush
237239
await reqErrorPromise;
@@ -346,9 +348,12 @@ sentryTest(
346348

347349
// Error sample rate is now at 1.0, this error should create a replay
348350
const reqErrorPromise1 = waitForErrorRequest(page);
349-
await page.click('#error2');
350-
// 1 unsampled error, 1 sampled error -> 1 flush
351-
const req0 = await reqPromise0;
351+
const [req0] = await Promise.all([
352+
// 1 unsampled error, 1 sampled error -> 1 flush
353+
reqPromise0,
354+
page.click('#error2'),
355+
]);
356+
352357
const reqError1 = await reqErrorPromise1;
353358
const errorEvent1 = envelopeRequestParser(reqError1);
354359
expect(callsToSentry).toEqual(3);

0 commit comments

Comments
 (0)