Skip to content

Commit 349833d

Browse files
committed
Merge branch 'develop' into fix/mcp-retroactive-handler-wrapping
2 parents 9a7a26e + 862359b commit 349833d

263 files changed

Lines changed: 4490 additions & 1437 deletions

File tree

Some content is hidden

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

.size-limit.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = [
7272
path: 'packages/browser/build/npm/esm/prod/index.js',
7373
import: createImport('init', 'browserTracingIntegration', 'replayIntegration'),
7474
gzip: true,
75-
limit: '78 KB',
75+
limit: '79 KB',
7676
disablePlugins: ['@size-limit/esbuild'],
7777
modifyWebpackConfig: function (config) {
7878
const webpack = require('webpack');
@@ -120,7 +120,7 @@ module.exports = [
120120
path: 'packages/browser/build/npm/esm/prod/index.js',
121121
import: createImport('init', 'sendFeedback'),
122122
gzip: true,
123-
limit: '36 KB',
123+
limit: '37 KB',
124124
disablePlugins: ['@size-limit/esbuild'],
125125
},
126126
{
@@ -162,7 +162,7 @@ module.exports = [
162162
import: createImport('init', 'ErrorBoundary'),
163163
ignore: ['react/jsx-runtime'],
164164
gzip: true,
165-
limit: '33 KB',
165+
limit: '34 KB',
166166
disablePlugins: ['@size-limit/esbuild'],
167167
},
168168
{
@@ -188,7 +188,7 @@ module.exports = [
188188
path: 'packages/vue/build/esm/index.js',
189189
import: createImport('init', 'browserTracingIntegration'),
190190
gzip: true,
191-
limit: '51 KB',
191+
limit: '52 KB',
192192
disablePlugins: ['@size-limit/esbuild'],
193193
},
194194
// Svelte SDK (ESM)
@@ -261,7 +261,7 @@ module.exports = [
261261
name: 'CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)',
262262
path: createCDNPath('bundle.tracing.replay.feedback.logs.metrics.min.js'),
263263
gzip: true,
264-
limit: '96 KB',
264+
limit: '97 KB',
265265
disablePlugins: ['@size-limit/esbuild'],
266266
},
267267
// browser CDN bundles (non-gzipped)
@@ -286,7 +286,7 @@ module.exports = [
286286
path: createCDNPath('bundle.logs.metrics.min.js'),
287287
gzip: false,
288288
brotli: false,
289-
limit: '94 KB',
289+
limit: '95 KB',
290290
disablePlugins: ['@size-limit/esbuild'],
291291
},
292292
{
@@ -302,15 +302,15 @@ module.exports = [
302302
path: createCDNPath('bundle.replay.logs.metrics.min.js'),
303303
gzip: false,
304304
brotli: false,
305-
limit: '218 KB',
305+
limit: '219 KB',
306306
disablePlugins: ['@size-limit/esbuild'],
307307
},
308308
{
309309
name: 'CDN Bundle (incl. Tracing, Replay) - uncompressed',
310310
path: createCDNPath('bundle.tracing.replay.min.js'),
311311
gzip: false,
312312
brotli: false,
313-
limit: '263 KB',
313+
limit: '264 KB',
314314
disablePlugins: ['@size-limit/esbuild'],
315315
},
316316
{
@@ -326,7 +326,7 @@ module.exports = [
326326
path: createCDNPath('bundle.tracing.replay.feedback.min.js'),
327327
gzip: false,
328328
brotli: false,
329-
limit: '277 KB',
329+
limit: '278 KB',
330330
disablePlugins: ['@size-limit/esbuild'],
331331
},
332332
{
@@ -364,7 +364,7 @@ module.exports = [
364364
import: createImport('init'),
365365
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
366366
gzip: true,
367-
limit: '65 KB',
367+
limit: '66 KB',
368368
disablePlugins: ['@size-limit/esbuild'],
369369
},
370370
// Node SDK (ESM)
@@ -374,15 +374,15 @@ module.exports = [
374374
import: createImport('init'),
375375
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
376376
gzip: true,
377-
limit: '176 KB',
377+
limit: '171 KB',
378378
disablePlugins: ['@size-limit/esbuild'],
379379
},
380380
{
381381
name: '@sentry/node - without tracing',
382382
path: 'packages/node/build/esm/index.js',
383383
import: createImport('initWithoutDefaultIntegrations', 'getDefaultIntegrationsWithoutPerformance'),
384384
gzip: true,
385-
limit: '102 KB',
385+
limit: '79 KB',
386386
disablePlugins: ['@size-limit/esbuild'],
387387
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
388388
modifyWebpackConfig: function (config) {
@@ -406,7 +406,7 @@ module.exports = [
406406
import: createImport('init'),
407407
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
408408
gzip: true,
409-
limit: '119 KB',
409+
limit: '113 KB',
410410
disablePlugins: ['@size-limit/esbuild'],
411411
},
412412
// Cloudflare SDK (ESM) - compressed, minified to match `wrangler deploy --dry-run --minify` output
@@ -417,7 +417,7 @@ module.exports = [
417417
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
418418
gzip: false,
419419
brotli: false,
420-
limit: '167 KiB',
420+
limit: '171 KiB',
421421
disablePlugins: ['@size-limit/webpack'],
422422
webpack: false,
423423
modifyEsbuildConfig: function (config) {
@@ -437,7 +437,7 @@ module.exports = [
437437
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
438438
gzip: false,
439439
brotli: false,
440-
limit: '420 KiB',
440+
limit: '423 KiB',
441441
disablePlugins: ['@size-limit/webpack'],
442442
webpack: false,
443443
modifyEsbuildConfig: function (config) {

.version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_comment": "Auto-generated by scripts/bump-version.js. Used by the gitflow sync workflow to detect version bumps. Do not edit manually.",
3-
"version": "10.51.0"
3+
"version": "10.52.0"
44
}

CHANGELOG.md

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,94 @@
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 @sbs44. Thank you for your contribution!
7+
Work in this release was contributed by @dmmulroy. Thank you for your contribution!
8+
9+
## 10.52.0
10+
11+
### Important Changes
12+
13+
- **Beta release of the official Hono Sentry SDK**
14+
15+
This release marks the beta release of the `@sentry/hono` Sentry SDK. For details on how to use it, check out the
16+
[Sentry Hono SDK docs](https://docs.sentry.io/platforms/javascript/guides/hono/). Please reach out on
17+
[GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if you have any feedback or concerns.
818

919
- **feat(browser): Add `ingest_settings` to v2 log envelope payload ([#20453](https://github.com/getsentry/sentry-javascript/pull/20453))**
1020

1121
Inference of user data (e.g. IP address, browser name/version) on log events is now gated behind the `sendDefaultPii` option. Previously, this data was always inferred by default.
1222

23+
### Other Changes
24+
25+
- docs(hono): Add new docs link and move to BETA release ([#20666](https://github.com/getsentry/sentry-javascript/pull/20666))
26+
- feat(browser): Add `ingest_settings` to v2 metrics envelope payload ([#20454](https://github.com/getsentry/sentry-javascript/pull/20454))
27+
- feat(browser): Migrate spotlight event processor to `ignoreSpans` ([#20595](https://github.com/getsentry/sentry-javascript/pull/20595))
28+
- feat(cloudflare): Capture request body via httpServerIntegration ([#20614](https://github.com/getsentry/sentry-javascript/pull/20614))
29+
- feat(cloudflare): Support rpc trace propagation for WorkerEntrypoint ([#20523](https://github.com/getsentry/sentry-javascript/pull/20523))
30+
- feat(cloudflare): Support tracing for queue producer ([#20529](https://github.com/getsentry/sentry-javascript/pull/20529))
31+
- feat(core): Apply request data to segment spans in span streaming ([#20654](https://github.com/getsentry/sentry-javascript/pull/20654))
32+
- feat(core): Migrate Vercel AI event processor to span streaming ([#20608](https://github.com/getsentry/sentry-javascript/pull/20608))
33+
- feat(deno): Add `processSegmentSpan` to Deno context integration ([#20613](https://github.com/getsentry/sentry-javascript/pull/20613))
34+
- feat(http): Portable node:http client instrumentation ([#20393](https://github.com/getsentry/sentry-javascript/pull/20393))
35+
- feat(nitro): Add unstorage tracing channel instrumentation ([#20615](https://github.com/getsentry/sentry-javascript/pull/20615))
36+
- feat(node-core): Add `processSegmentSpan` to node context integration ([#20678](https://github.com/getsentry/sentry-javascript/pull/20678))
37+
- feat(node): Use diagnostics_channel for redis >= 5.12.0 ([#20573](https://github.com/getsentry/sentry-javascript/pull/20573))
38+
- feat(node): Vendor ioredis, redis instrumentations ([#20510](https://github.com/getsentry/sentry-javascript/pull/20510))
39+
- feat(replay): Reset replay id from DSC on session expiry/refresh ([#20129](https://github.com/getsentry/sentry-javascript/pull/20129))
40+
- fix: Bump fast-xml-parser to fix vulnerability ([#20644](https://github.com/getsentry/sentry-javascript/pull/20644))
41+
- fix: Bump vite versions to fix vulnerability ([#20646](https://github.com/getsentry/sentry-javascript/pull/20646))
42+
- fix(core): Drain buffers in flush() when there is no transport ([#20207](https://github.com/getsentry/sentry-javascript/pull/20207))
43+
- fix(core): Guard against undefined chained in copyProps ([#20637](https://github.com/getsentry/sentry-javascript/pull/20637))
44+
- fix(deps): Bump rollup-plugin-license to fix lodash vulnerabilities ([#20636](https://github.com/getsentry/sentry-javascript/pull/20636))
45+
- fix(deps): Bump transitive deps for medium security fixes ([#20683](https://github.com/getsentry/sentry-javascript/pull/20683))
46+
- fix(hono): Do not capture 3xx and 4xx errors and add tests ([#20640](https://github.com/getsentry/sentry-javascript/pull/20640))
47+
- fix(nextjs): Skip build modification when SRI is enabled ([#20694](https://github.com/getsentry/sentry-javascript/pull/20694))
48+
- fix(opentelemetry): Respect OTEL_SERVICE_NAME, OTEL_RESOURCE_ATTRIBUTES ([#20509](https://github.com/getsentry/sentry-javascript/pull/20509))
49+
50+
<details>
51+
<summary> <strong>Internal Changes</strong> </summary>
52+
53+
- chore: Remove `bundle-analyzer-scenarios` dev packages ([#20680](https://github.com/getsentry/sentry-javascript/pull/20680))
54+
- chore(deps): Bump @hono/node-server from 1.19.10 to 1.19.13 ([#20117](https://github.com/getsentry/sentry-javascript/pull/20117))
55+
- chore(deps): Bump @nestjs packages to fix path-to-regexp ReDoS ([#20642](https://github.com/getsentry/sentry-javascript/pull/20642))
56+
- chore(deps): Bump axios from 1.15.0 to 1.15.2 ([#20665](https://github.com/getsentry/sentry-javascript/pull/20665))
57+
- chore(deps): Bump ip-address from 10.1.0 to 10.2.0 ([#20695](https://github.com/getsentry/sentry-javascript/pull/20695))
58+
- chore(deps): Bump simple-git from 3.33.0 to 3.36.0 ([#20696](https://github.com/getsentry/sentry-javascript/pull/20696))
59+
- chore(deps): Bump vulnerable testem version ([#20634](https://github.com/getsentry/sentry-javascript/pull/20634))
60+
- ci(deps): Bump actions/checkout from 4 to 6 ([#20620](https://github.com/getsentry/sentry-javascript/pull/20620))
61+
- ci(deps): Bump actions/create-github-app-token from 2 to 3 ([#20079](https://github.com/getsentry/sentry-javascript/pull/20079))
62+
- ci(deps): Bump denoland/setup-deno from 2.0.3 to 2.0.4 ([#20080](https://github.com/getsentry/sentry-javascript/pull/20080))
63+
- ci(deps): Bump getsentry/craft from 2.24.1 to 2.26.2 ([#20621](https://github.com/getsentry/sentry-javascript/pull/20621))
64+
- feat(deps): Bump @xmldom/xmldom from 0.8.12 to 0.8.13 ([#20457](https://github.com/getsentry/sentry-javascript/pull/20457))
65+
- feat(deps): Bump follow-redirects from 1.15.11 to 1.16.0 ([#20267](https://github.com/getsentry/sentry-javascript/pull/20267))
66+
- feat(deps): Bump hono from 4.12.12 to 4.12.14 ([#20340](https://github.com/getsentry/sentry-javascript/pull/20340))
67+
- fix(tests): Use stable instrumentations api in rr tests ([#20690](https://github.com/getsentry/sentry-javascript/pull/20690))
68+
- ref(tests): Rename streamed http.client span test folders ([#20602](https://github.com/getsentry/sentry-javascript/pull/20602))
69+
- test(browser): Fix browserTracingIntegration unit test ([#20604](https://github.com/getsentry/sentry-javascript/pull/20604))
70+
- test(browser): Fix flaky browser integration test for profiles ([#20587](https://github.com/getsentry/sentry-javascript/pull/20587))
71+
- test(browser): Fix flaky loader test ([#20596](https://github.com/getsentry/sentry-javascript/pull/20596))
72+
- test(browser): Fix flaky loader test ([#20655](https://github.com/getsentry/sentry-javascript/pull/20655))
73+
- test(browser): Make browser profiling test less flaky ([#20664](https://github.com/getsentry/sentry-javascript/pull/20664))
74+
- test(cloudflare): Add e2e test for MCPAgent with DurableObject instrumentation ([#20601](https://github.com/getsentry/sentry-javascript/pull/20601))
75+
- test(cloudflare): Add integration tests for scheduled, D1, and workflow ([#20609](https://github.com/getsentry/sentry-javascript/pull/20609))
76+
- test(cloudflare): Reduce flakiness for cloudflare with sub workers ([#20632](https://github.com/getsentry/sentry-javascript/pull/20632))
77+
- test(cloudflare): Use Node v24 for Cloudflare e2e tests ([#20628](https://github.com/getsentry/sentry-javascript/pull/20628))
78+
- test(deps): Bump Next.js in E2E test apps to fix Server Components DoS ([#20633](https://github.com/getsentry/sentry-javascript/pull/20633))
79+
- test(e2e): Add node-express-streaming E2E test app ([#20684](https://github.com/getsentry/sentry-javascript/pull/20684))
80+
- test(e2e): Add span streaming test app for Cloudflare Workers ([#20681](https://github.com/getsentry/sentry-javascript/pull/20681))
81+
- test(e2e): Add span streaming test app for next 16 ([#20648](https://github.com/getsentry/sentry-javascript/pull/20648))
82+
- test(e2e): Add span streaming test app for React Router 7 SPA ([#20677](https://github.com/getsentry/sentry-javascript/pull/20677))
83+
- test(e2e): Remove remaining `npmrc` pointing to Verdaccio ([#20611](https://github.com/getsentry/sentry-javascript/pull/20611))
84+
- test(nextjs): Fix flaky node runtime metrics E2E tests ([#20624](https://github.com/getsentry/sentry-javascript/pull/20624))
85+
- test(node): Fix ANR test for flakiness ([#20656](https://github.com/getsentry/sentry-javascript/pull/20656))
86+
- test(node): Fix flaky node cron test ([#20661](https://github.com/getsentry/sentry-javascript/pull/20661))
87+
- test(node): Unflake mongodb test ([#20662](https://github.com/getsentry/sentry-javascript/pull/20662))
88+
- test(react-router): Fix flaky E2E tests ([#20630](https://github.com/getsentry/sentry-javascript/pull/20630))
89+
- test(test-utils): Add MemoryProfiler for heap snapshot testing via CDP ([#20555](https://github.com/getsentry/sentry-javascript/pull/20555))
90+
91+
</details>
92+
93+
Work in this release was contributed by @sbs44. Thank you for your contribution!
94+
1395
## 10.51.0
1496

1597
### Important Changes

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "10.51.0",
3+
"version": "10.52.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -59,10 +59,10 @@
5959
"@babel/core": "^7.27.7",
6060
"@babel/preset-typescript": "^7.16.7",
6161
"@playwright/test": "~1.56.0",
62-
"@sentry-internal/rrweb": "2.34.0",
63-
"@sentry/browser": "10.51.0",
64-
"@sentry-internal/replay": "10.51.0",
65-
"@sentry/opentelemetry": "10.51.0",
62+
"@sentry-internal/rrweb": "2.42.0",
63+
"@sentry/browser": "10.52.0",
64+
"@sentry-internal/replay": "10.52.0",
65+
"@sentry/opentelemetry": "10.52.0",
6666
"@supabase/supabase-js": "2.49.3",
6767
"axios": "1.15.2",
6868
"babel-loader": "^10.1.1",

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bun-integration-tests",
3-
"version": "10.51.0",
3+
"version": "10.52.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -13,12 +13,12 @@
1313
"test:watch": "yarn test --watch"
1414
},
1515
"dependencies": {
16-
"@sentry/bun": "10.51.0",
17-
"@sentry/hono": "10.51.0",
18-
"hono": "^4.12.14"
16+
"@sentry/bun": "10.52.0",
17+
"@sentry/hono": "10.52.0",
18+
"hono": "^4.12.18"
1919
},
2020
"devDependencies": {
21-
"@sentry-internal/test-utils": "10.51.0",
21+
"@sentry-internal/test-utils": "10.52.0",
2222
"bun-types": "^1.2.9",
2323
"vitest": "^3.2.4"
2424
},

dev-packages/bundler-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/bundler-tests",
3-
"version": "10.51.0",
3+
"version": "10.52.0",
44
"description": "Bundler tests for Sentry Browser SDK",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/bundler-tests",
@@ -13,8 +13,8 @@
1313
},
1414
"dependencies": {
1515
"@rollup/plugin-node-resolve": "^16.0.3",
16-
"@sentry/browser": "10.51.0",
17-
"rollup": "^4.0.0",
16+
"@sentry/browser": "10.52.0",
17+
"rollup": "^4.60.3",
1818
"vite": "^5.0.0",
1919
"vitest": "^3.2.4",
2020
"webpack": "^5.0.0"

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.51.0",
4+
"version": "10.52.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/cloudflare-integration-tests",
3-
"version": "10.51.0",
3+
"version": "10.52.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -14,13 +14,13 @@
1414
},
1515
"dependencies": {
1616
"@langchain/langgraph": "^1.0.1",
17-
"@sentry/cloudflare": "10.51.0",
18-
"@sentry/hono": "10.51.0",
19-
"hono": "^4.12.14"
17+
"@sentry/cloudflare": "10.52.0",
18+
"@sentry/hono": "10.52.0",
19+
"hono": "^4.12.18"
2020
},
2121
"devDependencies": {
2222
"@cloudflare/workers-types": "^4.20250922.0",
23-
"@sentry-internal/test-utils": "10.51.0",
23+
"@sentry-internal/test-utils": "10.52.0",
2424
"eslint-plugin-regexp": "^1.15.0",
2525
"vitest": "^3.2.4",
2626
"wrangler": "4.61.0"

dev-packages/e2e-tests/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/e2e-tests",
3-
"version": "10.51.0",
3+
"version": "10.52.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/e2e-tests/test-applications/astro-6/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@playwright/test": "~1.56.0",
1717
"@sentry-internal/test-utils": "link:../../../test-utils",
1818
"@sentry/astro": "file:../../packed/sentry-astro-packed.tgz",
19-
"astro": "^6.0.6"
19+
"astro": "~6.2.0"
2020
},
2121
"volta": {
2222
"node": "22.22.0",

0 commit comments

Comments
 (0)