Skip to content

Commit d3c0326

Browse files
authored
Merge pull request #16892 from getsentry/prepare-release/9.37.0
meta(changelog): Update changelog for 9.37.0
2 parents a8297ea + e2ca660 commit d3c0326

File tree

202 files changed

+4178
-1420
lines changed

Some content is hidden

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

202 files changed

+4178
-1420
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ updates:
1616
- dependency-name: '@sentry/*'
1717
- dependency-name: '@opentelemetry/*'
1818
- dependency-name: '@prisma/instrumentation'
19-
- dependency-name: 'opentelemetry-instrumentation-remix'
19+
- dependency-name: '@playwright/test'
2020
versioning-strategy: increase
2121
commit-message:
2222
prefix: feat

CHANGELOG.md

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

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

7+
## 9.37.0
8+
9+
### Important Changes
10+
11+
- **feat(nuxt): Parametrize SSR routes ([#16843](https://github.com/getsentry/sentry-javascript/pull/16843))**
12+
13+
When requesting dynamic or catch-all routes in Nuxt, those will now be shown as parameterized routes in Sentry.
14+
For example, `/users/123` will be shown as `/users/:userId()` in Sentry. This will make it easier to identify patterns and make grouping easier.
15+
16+
### Other Changes
17+
18+
- feat(astro): Deprecate passing runtime config to astro integration ([#16839](https://github.com/getsentry/sentry-javascript/pull/16839))
19+
- feat(browser): Add `beforeStartNavigationSpan` lifecycle hook ([#16863](https://github.com/getsentry/sentry-javascript/pull/16863))
20+
- feat(browser): Detect redirects when emitting navigation spans ([#16324](https://github.com/getsentry/sentry-javascript/pull/16324))
21+
- feat(cloudflare): Add option to opt out of capturing errors in `wrapRequestHandler` ([#16852](https://github.com/getsentry/sentry-javascript/pull/16852))
22+
- feat(feedback): Return the eventId into the onSubmitSuccess callback ([#16835](https://github.com/getsentry/sentry-javascript/pull/16835))
23+
- feat(vercel-edge): Do not vendor in all OpenTelemetry dependencies ([#16841](https://github.com/getsentry/sentry-javascript/pull/16841))
24+
- fix(browser): Ensure standalone CLS and LCP spans have traceId of pageload span ([#16864](https://github.com/getsentry/sentry-javascript/pull/16864))
25+
- fix(nextjs): Use value injection loader on `instrumentation-client.ts|js` ([#16855](https://github.com/getsentry/sentry-javascript/pull/16855))
26+
- fix(sveltekit): Avoid capturing `redirect()` calls as errors in Cloudflare ([#16853](https://github.com/getsentry/sentry-javascript/pull/16853))
27+
- docs(nextjs): Update `deleteSourcemapsAfterUpload` jsdoc default value ([#16867](https://github.com/getsentry/sentry-javascript/pull/16867))
28+
29+
Work in this release was contributed by @zachkirsch. Thank you for your contribution!
30+
731
## 9.36.0
832

933
### Important Changes

dev-packages/browser-integration-tests/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
"test:detect-flaky": "ts-node scripts/detectFlakyTests.ts"
4040
},
4141
"dependencies": {
42+
"@babel/core": "^7.27.7",
4243
"@babel/preset-typescript": "^7.16.7",
43-
"@playwright/test": "~1.50.0",
44+
"@playwright/test": "~1.53.2",
4445
"@sentry-internal/rrweb": "2.34.0",
4546
"@sentry/browser": "9.36.0",
4647
"@supabase/supabase-js": "2.49.3",

dev-packages/browser-integration-tests/suites/errors/fetch/init.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ window.Sentry = Sentry;
44

55
Sentry.init({
66
dsn: 'https://[email protected]/1337',
7-
transportOptions: {
8-
fetchOptions: {
9-
// See: https://github.com/microsoft/playwright/issues/34497
10-
keepalive: false,
11-
},
12-
},
137
});

dev-packages/browser-integration-tests/suites/stacktraces/init.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ window.Sentry = Sentry;
44

55
Sentry.init({
66
dsn: 'https://[email protected]/1337',
7-
transportOptions: {
8-
fetchOptions: {
9-
// See: https://github.com/microsoft/playwright/issues/34497
10-
keepalive: false,
11-
},
12-
},
137
});

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/http-timings/init.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,4 @@ Sentry.init({
1313
}),
1414
],
1515
tracesSampleRate: 1,
16-
transportOptions: {
17-
fetchOptions: {
18-
// See: https://github.com/microsoft/playwright/issues/34497
19-
keepalive: false,
20-
},
21-
},
2216
});

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/interactions/init.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,4 @@ Sentry.init({
1414
}),
1515
],
1616
tracesSampleRate: 1,
17-
transportOptions: {
18-
fetchOptions: {
19-
// See: https://github.com/microsoft/playwright/issues/34497
20-
keepalive: false,
21-
},
22-
},
2317
});

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/consistent-sampling/default/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Sentry.init({
1010
consistentTraceSampling: true,
1111
}),
1212
],
13-
tracePropagationTargets: ['someurl.com'],
13+
tracePropagationTargets: ['sentry-test-external.io'],
1414
tracesSampler: ctx => {
1515
if (ctx.attributes && ctx.attributes['sentry.origin'] === 'auto.pageload.browser') {
1616
return 1;

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/consistent-sampling/default/subject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ btn1.addEventListener('click', () => {
1111
btn2.addEventListener('click', () => {
1212
Sentry.startNewTrace(() => {
1313
Sentry.startSpan({ name: 'custom root span 2', op: 'custom' }, async () => {
14-
await fetch('https://someUrl.com');
14+
await fetch('http://sentry-test-external.io');
1515
});
1616
});
1717
});

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/linked-traces/consistent-sampling/default/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ sentryTest.describe('When `consistentTraceSampling` is `true`', () => {
111111

112112
await sentryTest.step('Make fetch request', async () => {
113113
const fetchTracePromise = waitForTransactionRequest(page, evt => evt.contexts?.trace?.op === 'custom');
114-
const tracingHeadersPromise = waitForTracingHeadersOnUrl(page, 'https://someUrl.com');
114+
const tracingHeadersPromise = waitForTracingHeadersOnUrl(page, 'http://sentry-test-external.io');
115115

116116
await page.locator('#btn2').click();
117117

0 commit comments

Comments
 (0)