Skip to content

Commit e25e730

Browse files
authored
Merge branch 'develop' into timfish/test/cloudflare-integration-tests
2 parents 6bc5e1e + d23207c commit e25e730

File tree

422 files changed

+8491
-2687
lines changed

Some content is hidden

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

422 files changed

+8491
-2687
lines changed

.craft.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ targets:
4646
- name: npm
4747
id: '@sentry/profiling-node'
4848
includeNames: /^sentry-profiling-node-\d.*\.tgz$/
49+
- name: npm
50+
id: '@sentry/node-native'
51+
includeNames: /^sentry-node-native-\d.*\.tgz$/
4952

5053
## 3 Browser-based Packages
5154
- name: npm

.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: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,45 @@
44

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

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

948
### Important Changes

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "9.36.0",
3+
"version": "9.38.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -39,10 +39,11 @@
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",
45-
"@sentry/browser": "9.36.0",
46+
"@sentry/browser": "9.38.0",
4647
"@supabase/supabase-js": "2.49.3",
4748
"axios": "1.8.2",
4849
"babel-loader": "^8.2.2",

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/replay/logger/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sentryTest('should output logger messages', async ({ getLocalTestUrl, page }) =>
2121
await Promise.all([page.goto(url), reqPromise0]);
2222

2323
expect(messages).toContain('Sentry Logger [log]: Integration installed: Replay');
24-
expect(messages).toContain('Sentry Logger [info]: [Replay] Creating new session');
25-
expect(messages).toContain('Sentry Logger [info]: [Replay] Starting replay in session mode');
26-
expect(messages).toContain('Sentry Logger [info]: [Replay] Using compression worker');
24+
expect(messages).toContain('Sentry Logger [log]: [Replay] Creating new session');
25+
expect(messages).toContain('Sentry Logger [log]: [Replay] Starting replay in session mode');
26+
expect(messages).toContain('Sentry Logger [log]: [Replay] Using compression worker');
2727
});

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;

0 commit comments

Comments
 (0)