Skip to content

Commit cc2bde7

Browse files
Merge pull request #24931 from getsentry/master
[Gitflow] Merge master into develop
2 parents 06dd51e + a85158c commit cc2bde7

69 files changed

Lines changed: 338 additions & 253 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": "11.1.0"
3+
"version": "11.2.0"
44
}

‎CHANGELOG.md‎

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

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

7+
## 11.2.0
8+
9+
### Important Changes
10+
11+
- **feat(hono): add orchestrion-based auto-instrumentation ([#24497](https://github.com/getsentry/sentry-javascript/pull/24497))**
12+
13+
Hono is now instrumented automatically. Request spans are named after the matched Hono route, each middleware gets its own span, and errors thrown in handlers are captured.
14+
15+
- **feat(node/bun): Enable dedupeIntegration by default ([#24794](https://github.com/getsentry/sentry-javascript/pull/24794))**
16+
17+
`@sentry/node` and `@sentry/bun` now include `dedupeIntegration` in their default integrations, like the browser, Deno, Vercel Edge and Cloudflare SDKs. When the same error is captured two times in a row, only the first event is sent. To keep the previous behavior, remove the integration: `integrations: defaults => defaults.filter(integration => integration.name !== 'Dedupe')`.
18+
19+
- **feat(remix): Instrument Remix 3 server requests via fetch-router ([#24801](https://github.com/getsentry/sentry-javascript/pull/24801))**
20+
21+
On Remix 3, the SDK now adds the matched route as `http.route`, the response status and a low-cardinality name to the `http.server` span of each `fetch-router` request. Start the app with `--import @sentry/remix/v3/node` in place of `--import remix/node-tsx`.
22+
23+
### Other Changes
24+
25+
- chore(bundler-plugins): Allow magic-string 1.x ([#24768](https://github.com/getsentry/sentry-javascript/pull/24768))
26+
- feat(deps): Bump oxc-parser to 0.152.0 and sentry to 0.45.0 ([#24823](https://github.com/getsentry/sentry-javascript/pull/24823))
27+
- feat(elysia): Export `bunRuntimeMetricsIntegration` ([#24892](https://github.com/getsentry/sentry-javascript/pull/24892))
28+
- feat(react-router): Support request-scoped CSP nonces in createSentryHandleRequest ([#24826](https://github.com/getsentry/sentry-javascript/pull/24826))
29+
- fix(aws-serverless): Keep Lambda extension polling past 300s ([#24811](https://github.com/getsentry/sentry-javascript/pull/24811))
30+
- fix(browser-utils): Stop leaking DOM instrumentation listeners on mismatched removals ([#24727](https://github.com/getsentry/sentry-javascript/pull/24727))
31+
- fix(core): Resolve escape sequences in `fmt` / `parameterize` messages ([#24770](https://github.com/getsentry/sentry-javascript/pull/24770))
32+
- fix(deno): Flush buffered metrics and logs before process exit ([#24807](https://github.com/getsentry/sentry-javascript/pull/24807))
33+
- fix(node): End Express layer spans when `next` is called ([#24854](https://github.com/getsentry/sentry-javascript/pull/24854))
34+
- fix(node): Flush buffered metrics on process exit ([#24806](https://github.com/getsentry/sentry-javascript/pull/24806))
35+
- fix(nuxt): Fix CommonJS interop for force-inlined instrumented packages ([#24799](https://github.com/getsentry/sentry-javascript/pull/24799))
36+
- fix(server-utils): Preserve raw Anthropic response bodies ([#24902](https://github.com/getsentry/sentry-javascript/pull/24902))
37+
- fix(server-utils): Preserve raw Groq and Together response bodies ([#24906](https://github.com/getsentry/sentry-javascript/pull/24906))
38+
- fix(server-utils): Preserve raw OpenAI embeddings and conversation responses ([#24908](https://github.com/getsentry/sentry-javascript/pull/24908))
39+
- fix(server-utils): Preserve response bodies for OpenAI parse helpers ([#24783](https://github.com/getsentry/sentry-javascript/pull/24783))
40+
- fix(solidstart): Support `rolldownOptions` in instrumentation file plugin ([#24863](https://github.com/getsentry/sentry-javascript/pull/24863))
41+
- fix(sveltekit): Skip trace meta tags when prerendering ([#24777](https://github.com/getsentry/sentry-javascript/pull/24777))
42+
- fix(vue): Share one root render span debounce timer across components ([#24868](https://github.com/getsentry/sentry-javascript/pull/24868))
43+
- perf(server-utils): Avoid quadratic SQL sanitizer output handling ([#24834](https://github.com/getsentry/sentry-javascript/pull/24834))
44+
45+
<details>
46+
<summary> <strong>Internal Changes</strong> </summary>
47+
48+
- chore: Add external contributor to CHANGELOG.md ([#24822](https://github.com/getsentry/sentry-javascript/pull/24822))
49+
- chore: Add external contributor to CHANGELOG.md ([#24827](https://github.com/getsentry/sentry-javascript/pull/24827))
50+
- chore: Add external contributor to CHANGELOG.md ([#24835](https://github.com/getsentry/sentry-javascript/pull/24835))
51+
- chore: Add external contributor to CHANGELOG.md ([#24850](https://github.com/getsentry/sentry-javascript/pull/24850))
52+
- chore: Add external contributor to CHANGELOG.md ([#24851](https://github.com/getsentry/sentry-javascript/pull/24851))
53+
- chore: Add external contributor to CHANGELOG.md ([#24914](https://github.com/getsentry/sentry-javascript/pull/24914))
54+
- chore(deps): Update to Vitest 4 and Vite 8 ([#24746](https://github.com/getsentry/sentry-javascript/pull/24746))
55+
- chore(github): Add `external` label on PRs of external contributors ([#24825](https://github.com/getsentry/sentry-javascript/pull/24825))
56+
- chore(solidstart): Remove unused Vitest setup from e2e apps ([#24789](https://github.com/getsentry/sentry-javascript/pull/24789))
57+
- ci: shard Bun integration tests ([#24771](https://github.com/getsentry/sentry-javascript/pull/24771))
58+
- ci: shard Deno shared integration tests ([#24772](https://github.com/getsentry/sentry-javascript/pull/24772))
59+
- docs(core): Clarify error object dedupe and `dedupeIntegration` ([#24893](https://github.com/getsentry/sentry-javascript/pull/24893))
60+
- feat(deps): bump axios from 1.18.0 to 1.20.0 ([#24918](https://github.com/getsentry/sentry-javascript/pull/24918))
61+
- feat(deps): bump fast-uri from 3.1.7 to 3.1.8 ([#24889](https://github.com/getsentry/sentry-javascript/pull/24889))
62+
- feat(deps): bump fastify from 5.12.1 to 5.12.5 ([#24917](https://github.com/getsentry/sentry-javascript/pull/24917))
63+
- feat(deps): bump hono from 4.13.5 to 4.13.7 ([#24916](https://github.com/getsentry/sentry-javascript/pull/24916))
64+
- feat(deps): bump ip-address from 10.4.0 to 10.7.2 ([#24810](https://github.com/getsentry/sentry-javascript/pull/24810))
65+
- feat(deps): bump moment from 2.30.1 to 2.31.0 ([#24890](https://github.com/getsentry/sentry-javascript/pull/24890))
66+
- fix(deps): runtime dependency security fixes ([#24911](https://github.com/getsentry/sentry-javascript/pull/24911))
67+
- ref(hono): move shared Hono instrumentation into @sentry/server-utils ([#24496](https://github.com/getsentry/sentry-javascript/pull/24496))
68+
- test(browser): Fix flaky reportPageLoaded duration assertion ([#24814](https://github.com/getsentry/sentry-javascript/pull/24814))
69+
- test(bun): Run the auto-instrumentation suites with bundled scenarios ([#24612](https://github.com/getsentry/sentry-javascript/pull/24612))
70+
- test(cloudflare): Add shared streamed-span helpers to the integration test runner ([#24176](https://github.com/getsentry/sentry-javascript/pull/24176))
71+
- test(cloudflare): Assert Workers AI gen_ai spans in the send-to-sentry E2E test ([#24515](https://github.com/getsentry/sentry-javascript/pull/24515))
72+
- test(cloudflare): Port the binding suites to span streaming ([#24190](https://github.com/getsentry/sentry-javascript/pull/24190))
73+
- test(cloudflare): Port the http-server integration suites to span streaming ([#24195](https://github.com/getsentry/sentry-javascript/pull/24195))
74+
- test(cloudflare): Port the request handler suites to span streaming ([#24196](https://github.com/getsentry/sentry-javascript/pull/24196))
75+
- test(cloudflare): Port the tracing propagation suites to span streaming ([#24185](https://github.com/getsentry/sentry-javascript/pull/24185))
76+
- test(cloudflare): Port the tracing suites to span streaming ([#24179](https://github.com/getsentry/sentry-javascript/pull/24179))
77+
- test(cloudflare): Port the vite-autoinstrument suites to span streaming ([#24189](https://github.com/getsentry/sentry-javascript/pull/24189))
78+
- test(e2e): Add Bun Express test app ([#24306](https://github.com/getsentry/sentry-javascript/pull/24306))
79+
- test(e2e): Add trace test for background use cache revalidation ([#24740](https://github.com/getsentry/sentry-javascript/pull/24740))
80+
- test(e2e): Mark supabase-nextjs as optional ([#24898](https://github.com/getsentry/sentry-javascript/pull/24898))
81+
- test(e2e): Retry a hung SAM start in aws-serverless tests ([#24879](https://github.com/getsentry/sentry-javascript/pull/24879))
82+
- test(nextjs): Add tests for low-cardinality span names for cache spans ([#24819](https://github.com/getsentry/sentry-javascript/pull/24819))
83+
- test(nextjs): Add UI components for cached/dynamic content ([#24874](https://github.com/getsentry/sentry-javascript/pull/24874))
84+
- test(nuxt): Remove version pin for @nuxt/cli in Nuxt 5 E2E ([#24798](https://github.com/getsentry/sentry-javascript/pull/24798))
85+
- test(replay): De-flake mutationLimit large-mutations test ([#24784](https://github.com/getsentry/sentry-javascript/pull/24784))
86+
- test(sveltekit): Add missing prerender e2e test ([#24921](https://github.com/getsentry/sentry-javascript/pull/24921))
87+
- test(test-utils): Add fetchSpanAttributes to read span attributes via the sentry CLI ([#24514](https://github.com/getsentry/sentry-javascript/pull/24514))
88+
- test(test-utils): Extract Cloudflare Worker deploys into `test-utils/cloudflare` ([#24815](https://github.com/getsentry/sentry-javascript/pull/24815))
89+
90+
</details>
91+
792
Work in this release was contributed by @nabi-noor, @LuccaRebelloToledo, @andasan, @breken-ai, @EmileBrunelle, and @diobriggs. Thank you for your contributions!
893

994
## 11.1.0

‎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": "11.1.0",
3+
"version": "11.2.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.63.0",
6262
"@sentry/rrweb": "2.43.2",
63-
"@sentry/browser": "11.1.0",
64-
"@sentry/replay": "11.1.0",
65-
"@sentry/opentelemetry": "11.1.0",
63+
"@sentry/browser": "11.2.0",
64+
"@sentry/replay": "11.2.0",
65+
"@sentry/opentelemetry": "11.2.0",
6666
"@sentry/conventions": "0.24.0",
6767
"@supabase/supabase-js": "2.109.0",
6868
"axios": "1.20.0",

‎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": "11.1.0",
3+
"version": "11.2.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
@@ -14,15 +14,15 @@
1414
"test:watch": "yarn test --watch"
1515
},
1616
"dependencies": {
17-
"@sentry/bun": "11.1.0",
18-
"@sentry/hono": "11.1.0",
17+
"@sentry/bun": "11.2.0",
18+
"@sentry/hono": "11.2.0",
1919
"hono": "^4.13.7",
2020
"mysql": "^2.18.1",
2121
"pg": "8.16.0"
2222
},
2323
"devDependencies": {
24-
"@sentry-internal/node-integration-tests": "11.1.0",
25-
"@sentry-internal/test-utils": "11.1.0",
24+
"@sentry-internal/node-integration-tests": "11.2.0",
25+
"@sentry-internal/test-utils": "11.2.0",
2626
"bun-types": "^1.2.9",
2727
"vitest": "^4.1.11"
2828
},

‎dev-packages/bundler-plugin-integration-tests/fixtures/esbuild/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "module",
66
"dependencies": {
77
"esbuild": "0.28.0",
8-
"@sentry/bundler-plugins": "11.1.0"
8+
"@sentry/bundler-plugins": "11.2.0"
99
},
1010
"pnpm": {
1111
"overrides": {
12-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.1.0.tgz",
13-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.1.0.tgz",
12+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.2.0.tgz",
13+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.2.0.tgz",
1414
"sentry": "file:../sentry-stub"
1515
}
1616
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/rolldown/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"private": true,
55
"type": "module",
66
"dependencies": {
7-
"@sentry/bundler-plugins": "11.1.0",
7+
"@sentry/bundler-plugins": "11.2.0",
88
"react": "19.2.4",
99
"rolldown": "1.0.0"
1010
},
1111
"pnpm": {
1212
"overrides": {
13-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.1.0.tgz",
14-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.1.0.tgz",
13+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.2.0.tgz",
14+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.2.0.tgz",
1515
"sentry": "file:../sentry-stub"
1616
}
1717
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/rollup3/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"rollup": "3.30.0",
99
"@rollup/plugin-babel": "6.0.4",
1010
"@rollup/plugin-node-resolve": "15.2.3",
11-
"@sentry/bundler-plugins": "11.1.0"
11+
"@sentry/bundler-plugins": "11.2.0"
1212
},
1313
"pnpm": {
1414
"overrides": {
15-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.1.0.tgz",
16-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.1.0.tgz",
15+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.2.0.tgz",
16+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.2.0.tgz",
1717
"sentry": "file:../sentry-stub"
1818
}
1919
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/rollup4/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"rollup": "4.59.0",
99
"@rollup/plugin-babel": "6.0.4",
1010
"@rollup/plugin-node-resolve": "16.0.3",
11-
"@sentry/bundler-plugins": "11.1.0"
11+
"@sentry/bundler-plugins": "11.2.0"
1212
},
1313
"pnpm": {
1414
"overrides": {
15-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.1.0.tgz",
16-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.1.0.tgz",
15+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.2.0.tgz",
16+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.2.0.tgz",
1717
"sentry": "file:../sentry-stub"
1818
}
1919
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/vite4/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"react": "19.2.4",
88
"vite": "4.5.14",
99
"@vitejs/plugin-react": "5.2.0",
10-
"@sentry/bundler-plugins": "11.1.0"
10+
"@sentry/bundler-plugins": "11.2.0"
1111
},
1212
"pnpm": {
1313
"overrides": {
14-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.1.0.tgz",
15-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.1.0.tgz",
14+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.2.0.tgz",
15+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.2.0.tgz",
1616
"sentry": "file:../sentry-stub"
1717
}
1818
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/vite6/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "module",
66
"dependencies": {
77
"vite": "6.4.1",
8-
"@sentry/bundler-plugins": "11.1.0"
8+
"@sentry/bundler-plugins": "11.2.0"
99
},
1010
"pnpm": {
1111
"overrides": {
12-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.1.0.tgz",
13-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.1.0.tgz",
12+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.2.0.tgz",
13+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.2.0.tgz",
1414
"sentry": "file:../sentry-stub"
1515
}
1616
}

0 commit comments

Comments
 (0)