Skip to content

Commit ba97988

Browse files
authored
Merge pull request #21171 from getsentry/jp/sync-master
chore(gitflow): Sync master with develop
2 parents 46be544 + 2ae69d8 commit ba97988

59 files changed

Lines changed: 271 additions & 179 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.

‎.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.53.1"
3+
"version": "10.54.0"
44
}

‎CHANGELOG.md‎

Lines changed: 93 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,104 @@
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 @abcang, @ahmadio, @victorgarciaesgi, @delorge, and @mdnanocom. Thank you for your contributions!
7+
## 10.54.0
8+
9+
### Important Changes
10+
11+
- **feat(browser): Add `fetchStreamPerformanceIntegration` for streamed response tracking ([#20778](https://github.com/getsentry/sentry-javascript/pull/20778))**
12+
13+
A new integration that tracks the performance of streamed fetch responses. Use this to measure time-to-first-byte and streaming duration for APIs that return chunked/streamed data. This replaces the now deprecated `trackFetchStreamPerformance` option.
14+
15+
- **feat(core): Add `dataCollection` client option ([#20965](https://github.com/getsentry/sentry-javascript/pull/20965))**
16+
17+
Adds a new `dataCollection` client option for controlling what data the SDK collects and sends to Sentry. This provides a centralized way to configure data collection behavior across different SDK features. In the future, this option will be used for fine-granular data filtering, while the simple `sendDefaultPii` boolean option will be deprecated and removed in a future release.
818

919
- **feat(core): Support array attributes for spans, logs, and metrics ([#20427](https://github.com/getsentry/sentry-javascript/pull/20427))**
1020

1121
Arrays of primitive values (`string`, `number`, `boolean`) are now accepted as attribute values. Arrays containing non-primitive elements will be dropped and won't show up in Sentry. Note that array attributes on logs and metrics were previously stringified in certain cases and will now be sent as arrays instead.
1222

23+
- **feat(hono): Add `hono.request` spans for internal `.request()` calls ([#20843](https://github.com/getsentry/sentry-javascript/pull/20843))**
24+
25+
The Hono SDK now creates spans for internal `.request()` calls, providing better visibility into request handling within Hono applications.
26+
27+
### Other Changes
28+
29+
- feat(core): Add data collection filtering utilities ([#20989](https://github.com/getsentry/sentry-javascript/pull/20989))
30+
- feat(core): Convert scope contexts to segment span attributes in span streaming ([#20828](https://github.com/getsentry/sentry-javascript/pull/20828))
31+
- feat(core): Emit `sentry.sdk.integrations` on streamed segment spans ([#20428](https://github.com/getsentry/sentry-javascript/pull/20428))
32+
- feat(core): HTTP server diagnostics channel utility ([#20779](https://github.com/getsentry/sentry-javascript/pull/20779))
33+
- feat(core): Migrate span streaming envelope to `dataCollection` ([#21080](https://github.com/getsentry/sentry-javascript/pull/21080))
34+
- feat(core): Migrate Supabase integration to `dataCollection` ([#21085](https://github.com/getsentry/sentry-javascript/pull/21085))
35+
- feat(core): Migrate trpc to `dataCollection` ([#21072](https://github.com/getsentry/sentry-javascript/pull/21072))
36+
- feat(deno): Instrument `node:http` on versions that support it ([#21009](https://github.com/getsentry/sentry-javascript/pull/21009))
37+
- feat(ember): Extract ember-specific logic into custom `browserTracingIntegration` ([#20702](https://github.com/getsentry/sentry-javascript/pull/20702))
38+
- feat(logs): Migrate log envelope user inference to `dataCollection` ([#21073](https://github.com/getsentry/sentry-javascript/pull/21073))
39+
- feat(nuxt): Allow custom configuration files paths in Nuxt module ([#20650](https://github.com/getsentry/sentry-javascript/pull/20650))
40+
- feat(replay): Update example worker script ([#20899](https://github.com/getsentry/sentry-javascript/pull/20899))
41+
- feat(serverless): Add server-only context span attributes via processSegmentSpan hooks ([#20842](https://github.com/getsentry/sentry-javascript/pull/20842))
42+
- fix(astro): Avoid injecting meta tags into `<head>` inside attribute values ([#21089](https://github.com/getsentry/sentry-javascript/pull/21089))
43+
- fix(astro): Use explicit ResponseInit when injecting meta tags in response ([#21021](https://github.com/getsentry/sentry-javascript/pull/21021))
44+
- fix(browser): Add a synthetic stack trace to DOMException with empty stack traces if `attachStacktrace` is true ([#19988](https://github.com/getsentry/sentry-javascript/pull/19988))
45+
- fix(browser): Fix internal frame detection in minified bundles ([#20802](https://github.com/getsentry/sentry-javascript/pull/20802))
46+
- fix(cloudflare): Avoid repeated flush lock wrapping ([#21156](https://github.com/getsentry/sentry-javascript/pull/21156))
47+
- fix(cloudflare): Skip SDK initialization for OPTIONS/HEAD requests ([#21090](https://github.com/getsentry/sentry-javascript/pull/21090))
48+
- fix(cloudflare, vercel-edge): Disable timer-based flush for serverless runtimes ([#20889](https://github.com/getsentry/sentry-javascript/pull/20889))
49+
- fix(core): Sanitize lone surrogates in log body and attributes ([#20245](https://github.com/getsentry/sentry-javascript/pull/20245))
50+
- fix(deno): Support `Deno.serve` instrumentation on Deno 2.8 ([#21155](https://github.com/getsentry/sentry-javascript/pull/21155))
51+
- fix(hono): Preserve middleware handler metadata ([#20954](https://github.com/getsentry/sentry-javascript/pull/20954))
52+
- fix(hono): Use generic Hono type in Bun/Node ([#21060](https://github.com/getsentry/sentry-javascript/pull/21060))
53+
- fix(nextjs): Widen `project` option type to `string | string[]` ([#21067](https://github.com/getsentry/sentry-javascript/pull/21067))
54+
- fix(node): Improve `http.client` double-wrap message ([#20705](https://github.com/getsentry/sentry-javascript/pull/20705))
55+
- fix(node): Preserve CallbackManager handlers in LangChain instrumentation ([#20849](https://github.com/getsentry/sentry-javascript/pull/20849))
56+
- fix(react-router): Do not re-write origin on router state changes ([#21056](https://github.com/getsentry/sentry-javascript/pull/21056))
57+
- fix(replay): Set `sentry.replay_id` attribute on streamed spans ([#20897](https://github.com/getsentry/sentry-javascript/pull/20897))
58+
- fix(replay): Set `replay_id` on DSC after buffer-to-session conversion ([#20686](https://github.com/getsentry/sentry-javascript/pull/20686))
59+
- fix(solidstart): Use nitro module for build hooks to preserve preset hooks ([#20861](https://github.com/getsentry/sentry-javascript/pull/20861))
60+
- ref(core): Rename `types-hoist` to `types` ([#20979](https://github.com/getsentry/sentry-javascript/pull/20979))
61+
62+
<details>
63+
<summary> <strong>Internal Changes</strong> </summary>
64+
65+
- chore: Add compatibility function for `sendDefaultPii` ([#20967](https://github.com/getsentry/sentry-javascript/pull/20967))
66+
- chore: Add size-limit for core/server, core/browser ([#20990](https://github.com/getsentry/sentry-javascript/pull/20990))
67+
- chore: Bump rrweb deps to v2.43.0 ([#20844](https://github.com/getsentry/sentry-javascript/pull/20844))
68+
- chore(build): Replace sucrase with esbuild ([#20865](https://github.com/getsentry/sentry-javascript/pull/20865))
69+
- chore(deps): Bump nitropack from 2.13.1 to 2.13.4 ([#20713](https://github.com/getsentry/sentry-javascript/pull/20713))
70+
- chore(deps): Bump ws from 8.20.0 to 8.20.1 ([#20998](https://github.com/getsentry/sentry-javascript/pull/20998))
71+
- chore(deps): Remove redundant yarn resolutions ([#20877](https://github.com/getsentry/sentry-javascript/pull/20877))
72+
- feat(deps): Bump @tootallnate/once from 1.1.2 to 2.0.1 ([#21108](https://github.com/getsentry/sentry-javascript/pull/21108))
73+
- feat(deps): Bump devalue from 4.3.3 to 5.8.1 ([#20893](https://github.com/getsentry/sentry-javascript/pull/20893))
74+
- feat(deps): Bump protobufjs from 7.5.5 to 7.5.9 ([#20846](https://github.com/getsentry/sentry-javascript/pull/20846))
75+
- ref(aws-serverless): Vendor aws-sdk instrumentation ([#20988](https://github.com/getsentry/sentry-javascript/pull/20988))
76+
- ref(http): Use shared snippets for filtering headers and cookies ([#20970](https://github.com/getsentry/sentry-javascript/pull/20970))
77+
- ref(nestjs): Vendor nestjs-core instrumentation ([#20996](https://github.com/getsentry/sentry-javascript/pull/20996))
78+
- ref(node): Remove unused `@opentelemetry/instrumentation-http` dependency ([#21113](https://github.com/getsentry/sentry-javascript/pull/21113))
79+
- ref(node): Vendor `@fastify/otel` ([#21099](https://github.com/getsentry/sentry-javascript/pull/21099))
80+
- ref(node): Vendor `@opentelemetry/instrumentation-pg` ([#21102](https://github.com/getsentry/sentry-javascript/pull/21102))
81+
- ref(node): Vendor `@opentelemetry/sql-common` ([#21140](https://github.com/getsentry/sentry-javascript/pull/21140))
82+
- ref(node): Vendor `@prisma/instrumentation` ([#21098](https://github.com/getsentry/sentry-javascript/pull/21098))
83+
- ref(node): Vendor amqplib instrumentation ([#21003](https://github.com/getsentry/sentry-javascript/pull/21003))
84+
- ref(node): Vendor connect instrumentation ([#20955](https://github.com/getsentry/sentry-javascript/pull/20955))
85+
- ref(node): Vendor dataloader instrumentation ([#20950](https://github.com/getsentry/sentry-javascript/pull/20950))
86+
- ref(node): Vendor fs instrumentation ([#20964](https://github.com/getsentry/sentry-javascript/pull/20964))
87+
- ref(node): Vendor generic-pool instrumentation ([#20949](https://github.com/getsentry/sentry-javascript/pull/20949))
88+
- ref(node): Vendor graphql instrumentation ([#21096](https://github.com/getsentry/sentry-javascript/pull/21096))
89+
- ref(node): Vendor hapi instrumentation ([#21057](https://github.com/getsentry/sentry-javascript/pull/21057))
90+
- ref(node): Vendor kafkajs instrumentation ([#21005](https://github.com/getsentry/sentry-javascript/pull/21005))
91+
- ref(node): Vendor knex instrumentation ([#20963](https://github.com/getsentry/sentry-javascript/pull/20963))
92+
- ref(node): Vendor koa instrumentation ([#20956](https://github.com/getsentry/sentry-javascript/pull/20956))
93+
- ref(node): Vendor lru-memoizer instrumentation ([#20948](https://github.com/getsentry/sentry-javascript/pull/20948))
94+
- ref(node): Vendor minimal types for dataloader and generic-pool instrumentations ([#21013](https://github.com/getsentry/sentry-javascript/pull/21013))
95+
- ref(node): Vendor mongodb instrumentation ([#20966](https://github.com/getsentry/sentry-javascript/pull/20966))
96+
- ref(node): Vendor mongoose instrumentation ([#21058](https://github.com/getsentry/sentry-javascript/pull/21058))
97+
- ref(node): Vendor mysql instrumentation ([#21016](https://github.com/getsentry/sentry-javascript/pull/21016))
98+
- ref(node): Vendor mysql2 instrumentation ([#21031](https://github.com/getsentry/sentry-javascript/pull/21031))
99+
- ref(node): Vendor tedious instrumentation ([#21010](https://github.com/getsentry/sentry-javascript/pull/21010))
100+
101+
</details>
102+
103+
Work in this release was contributed by @abcang, @ahmadio, @delorge, @mdnanocom, and @victorgarciaesgi. Thank you for your contributions!
104+
13105
## 10.53.1
14106

15107
- fix(core): Don't gate user data for streamed spans at scope read time ([#20827](https://github.com/getsentry/sentry-javascript/pull/20827))

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "10.53.1",
3+
"version": "10.54.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -60,9 +60,9 @@
6060
"@babel/preset-typescript": "^7.16.7",
6161
"@playwright/test": "~1.56.0",
6262
"@sentry-internal/rrweb": "2.43.0",
63-
"@sentry/browser": "10.53.1",
64-
"@sentry-internal/replay": "10.53.1",
65-
"@sentry/opentelemetry": "10.53.1",
63+
"@sentry/browser": "10.54.0",
64+
"@sentry-internal/replay": "10.54.0",
65+
"@sentry/opentelemetry": "10.54.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bun-integration-tests",
3-
"version": "10.53.1",
3+
"version": "10.54.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.53.1",
17-
"@sentry/hono": "10.53.1",
16+
"@sentry/bun": "10.54.0",
17+
"@sentry/hono": "10.54.0",
1818
"hono": "^4.12.18"
1919
},
2020
"devDependencies": {
21-
"@sentry-internal/test-utils": "10.53.1",
21+
"@sentry-internal/test-utils": "10.54.0",
2222
"bun-types": "^1.2.9",
2323
"vitest": "^3.2.4"
2424
},

‎dev-packages/bundler-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/bundler-tests",
3-
"version": "10.53.1",
3+
"version": "10.54.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,7 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@rollup/plugin-node-resolve": "^16.0.3",
16-
"@sentry/browser": "10.53.1",
16+
"@sentry/browser": "10.54.0",
1717
"rollup": "^4.60.3",
1818
"vite": "^5.0.0",
1919
"vitest": "^3.2.4",

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/cloudflare-integration-tests",
3-
"version": "10.53.1",
3+
"version": "10.54.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.53.1",
18-
"@sentry/hono": "10.53.1",
17+
"@sentry/cloudflare": "10.54.0",
18+
"@sentry/hono": "10.54.0",
1919
"hono": "^4.12.18"
2020
},
2121
"devDependencies": {
2222
"@cloudflare/workers-types": "^4.20250922.0",
23-
"@sentry-internal/test-utils": "10.53.1",
23+
"@sentry-internal/test-utils": "10.54.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.53.1",
3+
"version": "10.54.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

‎dev-packages/external-contributor-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/external-contributor-gh-action",
33
"description": "An internal Github Action to add external contributors to the CHANGELOG.md file.",
4-
"version": "10.53.1",
4+
"version": "10.54.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

‎dev-packages/node-core-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/node-core-integration-tests",
3-
"version": "10.53.1",
3+
"version": "10.54.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -33,8 +33,8 @@
3333
"@opentelemetry/resources": "^2.6.1",
3434
"@opentelemetry/sdk-trace-base": "^2.6.1",
3535
"@opentelemetry/semantic-conventions": "^1.40.0",
36-
"@sentry/core": "10.53.1",
37-
"@sentry/node-core": "10.53.1",
36+
"@sentry/core": "10.54.0",
37+
"@sentry/node-core": "10.54.0",
3838
"body-parser": "^2.2.2",
3939
"cors": "^2.8.5",
4040
"cron": "^3.1.6",

0 commit comments

Comments
 (0)