Skip to content

feat(cloudflare): Re-export httpServerIntegration from /request - #24614

Merged
JPeer264 merged 1 commit into
developfrom
jp/export-httpintegration
Sep 23, 2026
Merged

JPeer264 merged 1 commit into
developfrom
jp/export-httpintegration

Conversation

@JPeer264

Copy link
Copy Markdown
Member

Idea brought up here: Shopify/hydrogen#3828 (comment)

Wouldn't harm if we re-export this into /request

@JPeer264 JPeer264 self-assigned this Sep 23, 2026
@JPeer264
JPeer264 requested a review from a team as a code owner September 23, 2026 06:21
@JPeer264
JPeer264 requested review from isaacs and mydea and removed request for a team September 23, 2026 06:21
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 29.16 kB - -
@sentry/browser - with treeshaking flags 27.42 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.33 kB - -
@sentry/browser (incl. Tracing) 50.95 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 50.95 kB - -
@sentry/browser (incl. Tracing, Profiling) 53.97 kB - -
@sentry/browser (incl. Tracing, Replay) 90.54 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 79.65 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 95.25 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 108.19 kB - -
@sentry/browser (incl. Feedback) 46.69 kB - -
@sentry/browser (incl. sendFeedback) 34.22 kB - -
@sentry/browser (incl. FeedbackAsync) 39.32 kB - -
@sentry/browser (incl. Metrics) 30.18 kB - -
@sentry/browser (incl. Logs) 30.43 kB - -
@sentry/browser (incl. Metrics & Logs) 31.09 kB - -
@sentry/react 30.91 kB - -
@sentry/react (incl. Tracing) 53.23 kB - -
@sentry/vue 36.52 kB - -
@sentry/vue (incl. Tracing) 53.34 kB - -
@sentry/svelte 29.18 kB - -
CDN Bundle 30.86 kB - -
CDN Bundle (incl. Tracing) 51.47 kB - -
CDN Bundle (incl. Logs, Metrics) 33.12 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 53.45 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 73.84 kB - -
CDN Bundle (incl. Tracing, Replay) 89.02 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 91 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 95.18 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 97.15 kB - -
CDN Bundle - uncompressed 91.25 kB - -
CDN Bundle (incl. Tracing) - uncompressed 153.33 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 97.82 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 159.28 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 227.39 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 273.06 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 279 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 286.76 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 292.69 kB - -
@sentry/nextjs (client) 55.57 kB - -
@sentry/sveltekit (client) 51.38 kB - -
@sentry/core/server 39.92 kB - -
@sentry/core/browser 13.63 kB - -
@sentry/node 133.59 kB +0.02% +17 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 82.4 kB - -
@sentry/node - without tracing 90.15 kB +0.03% +25 B 🔺
@sentry/node - without channel injection 112.11 kB +0.02% +13 B 🔺
@sentry/aws-serverless 98.41 kB +0.03% +24 B 🔺
@sentry/cloudflare (withSentry) - minified 205.48 kB - -
@sentry/cloudflare (withSentry) 511.24 kB - -

View base workflow run

@JPeer264
JPeer264 merged commit f8f196e into develop Sep 23, 2026
98 checks passed
@JPeer264
JPeer264 deleted the jp/export-httpintegration branch September 23, 2026 16:24
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Oct 2, 2026
## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `@sentry/cloudflare` | 11.0.0 | 11.1.0 | minor |
| `@sentry/react` | 11.0.0 | 11.1.0 | minor |

## Release Notes

<details>
<summary><b>@<!---->sentry/cloudflare</b> (11.0.0 → 11.1.0)</summary>

### Important Changes

- **feat(server-utils): Auto-instrument MCP servers via orchestrion
([#24529](getsentry/sentry-javascript#24529

A new default `mcpServerIntegration` wraps every `McpServer` instance
(from `@modelcontextprotocol/server` and `@modelcontextprotocol/sdk`)
when it is created. You no longer need to call `wrapMcpServerWithSentry`
manually. You can still call `wrapMcpServerWithSentry` to override
options, for example `recordInputs: false`.

- **feat(node): Support Prisma 8 in `prismaIntegration`
([#24682](getsentry/sentry-javascript#24682

`prismaIntegration` now creates a `prisma:client:operation` span for
each Prisma 8 ORM call, with the database query spans nested below it.
No code changes are necessary.

- **feat(server-utils): Add TypeSafe integration
([#24703](getsentry/sentry-javascript#24703

A new default `typesafeIntegration` creates a `gen_ai.evaluate` span for
each TypeSafe Jev call through `@typesafe-ai/sdk`
(`TypeSafeClient.systemOne`). For runtimes without auto-instrumentation,
use `instrumentTypeSafeClient()`.

- **feat(server-utils): Instrument Vercel AI `experimental_evaluate`
([#24694](getsentry/sentry-javascript#24694

Vercel AI `experimental_evaluate` calls now create a `gen_ai.evaluate`
span, with the state and questions as input messages and the answers as
output messages.

### Other Changes

- feat(browser): Add `onError` callback to `showReportDialog`
([#24780](getsentry/sentry-javascript#24780))
- feat(bun): Add client address, port and protocol to Bun.serve spans
([#24523](getsentry/sentry-javascript#24523))
- feat(cloudflare): Re-export httpServerIntegration from /request
([#24614](getsentry/sentry-javascript#24614))
- feat(remix): Add Remix 3 export subpaths and optional peer deps
([#24697](https://github.com/getsentry/sentry-javascr

…[full
notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)

</details>

<details>
<summary><b>@<!---->sentry/react</b> (11.0.0 → 11.1.0)</summary>

### Important Changes

- **feat(server-utils): Auto-instrument MCP servers via orchestrion
([#24529](getsentry/sentry-javascript#24529

A new default `mcpServerIntegration` wraps every `McpServer` instance
(from `@modelcontextprotocol/server` and `@modelcontextprotocol/sdk`)
when it is created. You no longer need to call `wrapMcpServerWithSentry`
manually. You can still call `wrapMcpServerWithSentry` to override
options, for example `recordInputs: false`.

- **feat(node): Support Prisma 8 in `prismaIntegration`
([#24682](getsentry/sentry-javascript#24682

`prismaIntegration` now creates a `prisma:client:operation` span for
each Prisma 8 ORM call, with the database query spans nested below it.
No code changes are necessary.

- **feat(server-utils): Add TypeSafe integration
([#24703](getsentry/sentry-javascript#24703

A new default `typesafeIntegration` creates a `gen_ai.evaluate` span for
each TypeSafe Jev call through `@typesafe-ai/sdk`
(`TypeSafeClient.systemOne`). For runtimes without auto-instrumentation,
use `instrumentTypeSafeClient()`.

- **feat(server-utils): Instrument Vercel AI `experimental_evaluate`
([#24694](getsentry/sentry-javascript#24694

Vercel AI `experimental_evaluate` calls now create a `gen_ai.evaluate`
span, with the state and questions as input messages and the answers as
output messages.

### Other Changes

- feat(browser): Add `onError` callback to `showReportDialog`
([#24780](getsentry/sentry-javascript#24780))
- feat(bun): Add client address, port and protocol to Bun.serve spans
([#24523](getsentry/sentry-javascript#24523))
- feat(cloudflare): Re-export httpServerIntegration from /request
([#24614](getsentry/sentry-javascript#24614))
- feat(remix): Add Remix 3 export subpaths and optional peer deps
([#24697](https://github.com/getsentry/sentry-javascr

…[full
notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)

</details>

---
*This PR was auto-generated by
[catalog-update-action](https://github.com/brandhaug/catalog-update-action).*

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
JPeer264 added a commit to getsentry/sentry-docs that referenced this pull request Nov 9, 2026
…are/request (#20093)

<!-- Keep the urgency section so automation can prioritize this PR. You
may delete other sections you don't need. -->

## DESCRIBE YOUR PR

Since SDK 11.1.0, `httpServerIntegration` can be imported from
`@sentry/cloudflare/request` (getsentry/sentry-javascript#24614). This
matters on Shopify Oxygen, where the guides say to import only from
`/request`, so there was no documented way to configure request body
capture there.

This adds a "Request Bodies" subsection under "Control the Data You Send
to Sentry" to the Hydrogen with React Router and Hydrogen with Remix
guides. Both pages use a shared include
(`includes/cloudflare-request-http-server-integration.mdx`) that shows
`maxRequestBodySize` and `ignoreRequestBody` passed through
`wrapRequestHandler`, and points to `dataCollection.httpBodies` for
turning body capture off.

## IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.

- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.

Thanks in advance for your help!

## PRE-MERGE CHECKLIST

_Make sure you've checked the following before merging your changes:_

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

## LEGAL BOILERPLATE

<!-- Sentry employees and contractors can delete or ignore this section.
-->

Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.

## EXTRA RESOURCES

- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)

<!-- junior-request-attribution:start -->
via **Jan Peer Stöcklmair**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0CA6TD3QRK%3A1792429376.732779 -->

--

[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CA6TD3QRK%3A1792429376.732779)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CA6TD3QRK%3A1792429376.732779/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Jan VamPeer Stöcklmair <jan.peer@sentry.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants