Skip to content

Commit 69cd334

Browse files
authored
Merge branch 'develop' into timfish/fix/improve-uuid-perf
2 parents b58687a + 55f03e0 commit 69cd334

File tree

173 files changed

+3479
-319
lines changed

Some content is hidden

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

173 files changed

+3479
-319
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ packages/gatsby/gatsby-node.d.ts
6161
# intellij
6262
*.iml
6363
/**/.wrangler/*
64+
65+
#junit reports
66+
packages/**/*.junit.xml

.size-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ module.exports = [
206206
import: createImport('init'),
207207
ignore: ['next/router', 'next/constants'],
208208
gzip: true,
209-
limit: '45 KB',
209+
limit: '46 KB',
210210
},
211211
// SvelteKit SDK (ESM)
212212
{

CHANGELOG.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,47 @@
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 @seoyeon9888, @madhuchavva and @thedanchez . Thank you for your contributions!
7+
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
8+
9+
## 10.20.0
10+
11+
### Important Changes
12+
13+
- **feat(flags): Add Growthbook integration ([#17440](https://github.com/getsentry/sentry-javascript/pull/17440))**
14+
15+
Adds a new Growthbook integration for feature flag support.
16+
17+
- **feat(solid): Add support for TanStack Router Solid ([#17735](https://github.com/getsentry/sentry-javascript/pull/17735))**
18+
19+
Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.
20+
21+
- **feat(nextjs): Support native debugIds in turbopack ([#17853](https://github.com/getsentry/sentry-javascript/pull/17853))**
22+
23+
Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.
24+
25+
### Other Changes
26+
27+
- feat(nextjs): Prepare for next 16 bundler default ([#17868](https://github.com/getsentry/sentry-javascript/pull/17868))
28+
- feat(node): Capture `pino` logger name ([#17930](https://github.com/getsentry/sentry-javascript/pull/17930))
29+
- fix(browser): Ignore React 19.2+ component render measure entries ([#17905](https://github.com/getsentry/sentry-javascript/pull/17905))
30+
- fix(nextjs): Fix createRouteManifest with basePath ([#17838](https://github.com/getsentry/sentry-javascript/pull/17838))
31+
- fix(react): Add `POP` guard for long-running `pageload` spans ([#17867](https://github.com/getsentry/sentry-javascript/pull/17867))
32+
- fix(tracemetrics): Send boolean for internal replay attribute ([#17908](https://github.com/getsentry/sentry-javascript/pull/17908))
33+
- ref(core): Add weight tracking logic to browser logs/metrics ([#17901](https://github.com/getsentry/sentry-javascript/pull/17901))
34+
35+
<details>
36+
<summary> <strong>Internal Changes</strong> </summary>
37+
- chore(nextjs): Add Next.js 16 peer dependency ([#17925](https://github.com/getsentry/sentry-javascript/pull/17925))
38+
- chore(ci): Update Next.js canary testing ([#17939](https://github.com/getsentry/sentry-javascript/pull/17939))
39+
- chore: Bump size limit ([#17941](https://github.com/getsentry/sentry-javascript/pull/17941))
40+
- test(nextjs): Add next@16 e2e test ([#17922](https://github.com/getsentry/sentry-javascript/pull/17922))
41+
- test(nextjs): Update next 15 tests ([#17919](https://github.com/getsentry/sentry-javascript/pull/17919))
42+
- chore: Add external contributor to CHANGELOG.md ([#17915](https://github.com/getsentry/sentry-javascript/pull/17915))
43+
- chore: Add external contributor to CHANGELOG.md ([#17928](https://github.com/getsentry/sentry-javascript/pull/17928))
44+
- chore: Add external contributor to CHANGELOG.md ([#17940](https://github.com/getsentry/sentry-javascript/pull/17940))
45+
</details>
46+
47+
Work in this release was contributed by @seoyeon9888, @madhuchavva and @thedanchez. Thank you for your contributions!
848

949
## 10.19.0
1050

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "10.19.0",
3+
"version": "10.20.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -43,7 +43,7 @@
4343
"@babel/preset-typescript": "^7.16.7",
4444
"@playwright/test": "~1.53.2",
4545
"@sentry-internal/rrweb": "2.34.0",
46-
"@sentry/browser": "10.19.0",
46+
"@sentry/browser": "10.20.0",
4747
"@supabase/supabase-js": "2.49.3",
4848
"axios": "^1.12.2",
4949
"babel-loader": "^8.2.2",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import * as Sentry from '@sentry/browser';
2+
3+
window.Sentry = Sentry;
4+
5+
Sentry.init({
6+
dsn: 'https://[email protected]/1337',
7+
integrations: [
8+
Sentry.browserTracingIntegration({
9+
idleTimeout: 1000,
10+
onRequestSpanEnd(span, { headers }) {
11+
if (headers) {
12+
span.setAttribute('hook.called.response-type', headers.get('x-response-type'));
13+
}
14+
},
15+
}),
16+
],
17+
tracesSampleRate: 1,
18+
});
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
fetch('http://sentry-test.io/fetch', {
2+
headers: {
3+
foo: 'fetch',
4+
},
5+
});
6+
7+
const xhr = new XMLHttpRequest();
8+
9+
xhr.open('GET', 'http://sentry-test.io/xhr');
10+
xhr.setRequestHeader('foo', 'xhr');
11+
xhr.send();
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
import { expect } from '@playwright/test';
2+
import type { Event } from '@sentry/core';
3+
import { sentryTest } from '../../../../utils/fixtures';
4+
import { getMultipleSentryEnvelopeRequests, shouldSkipTracingTest } from '../../../../utils/helpers';
5+
6+
sentryTest('should call onRequestSpanEnd hook', async ({ browserName, getLocalTestUrl, page }) => {
7+
const supportedBrowsers = ['chromium', 'firefox'];
8+
9+
if (shouldSkipTracingTest() || !supportedBrowsers.includes(browserName)) {
10+
sentryTest.skip();
11+
}
12+
13+
await page.route('http://sentry-test.io/fetch', async route => {
14+
await route.fulfill({
15+
status: 200,
16+
headers: {
17+
'Content-Type': 'application/json',
18+
'X-Response-Type': 'fetch',
19+
'access-control-expose-headers': '*',
20+
},
21+
body: '',
22+
});
23+
});
24+
await page.route('http://sentry-test.io/xhr', async route => {
25+
await route.fulfill({
26+
status: 200,
27+
headers: {
28+
'Content-Type': 'application/json',
29+
'X-Response-Type': 'xhr',
30+
'access-control-expose-headers': '*',
31+
},
32+
body: '',
33+
});
34+
});
35+
36+
const url = await getLocalTestUrl({ testDir: __dirname });
37+
38+
const envelopes = await getMultipleSentryEnvelopeRequests<Event>(page, 2, { url, timeout: 10000 });
39+
40+
const tracingEvent = envelopes[envelopes.length - 1]; // last envelope contains tracing data on all browsers
41+
42+
expect(tracingEvent.spans).toContainEqual(
43+
expect.objectContaining({
44+
op: 'http.client',
45+
data: expect.objectContaining({
46+
type: 'xhr',
47+
'hook.called.response-type': 'xhr',
48+
}),
49+
}),
50+
);
51+
52+
expect(tracingEvent.spans).toContainEqual(
53+
expect.objectContaining({
54+
op: 'http.client',
55+
data: expect.objectContaining({
56+
type: 'fetch',
57+
'hook.called.response-type': 'fetch',
58+
}),
59+
}),
60+
);
61+
});

dev-packages/bundle-analyzer-scenarios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bundle-analyzer-scenarios",
3-
"version": "10.19.0",
3+
"version": "10.20.0",
44
"description": "Scenarios to test bundle analysis with",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/dev-packages/bundle-analyzer-scenarios",

dev-packages/clear-cache-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/clear-cache-gh-action",
33
"description": "An internal Github Action to clear GitHub caches.",
4-
"version": "10.19.0",
4+
"version": "10.20.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/cloudflare-integration-tests",
3-
"version": "10.19.0",
3+
"version": "10.20.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -13,11 +13,11 @@
1313
"test:watch": "yarn test --watch"
1414
},
1515
"dependencies": {
16-
"@sentry/cloudflare": "10.19.0"
16+
"@sentry/cloudflare": "10.20.0"
1717
},
1818
"devDependencies": {
1919
"@cloudflare/workers-types": "^4.20250922.0",
20-
"@sentry-internal/test-utils": "10.19.0",
20+
"@sentry-internal/test-utils": "10.20.0",
2121
"vitest": "^3.2.4",
2222
"wrangler": "4.22.0"
2323
},

0 commit comments

Comments
 (0)