Skip to content

feat(v10/deno): Re-export portable helpers that Cloudflare exposes - #25708

Merged
nicohrubec merged 2 commits into
v10from
feat/v10-backport-25491-deno-portable-exports
Oct 28, 2026
Merged

nicohrubec merged 2 commits into
v10from
feat/v10-backport-25491-deno-portable-exports

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Backport of: #25491

Differences to the original PR

  • Re-exported the 16 portable helpers already implemented in v10. AI helpers remain in @sentry/core on v10; Prisma comes from the existing server-utils dependency. Existing exports retain their current source entry points.
  • Omitted instrumentMistralAiClient, instrumentTypeSafeClient and FlueOptions, which are absent on v10.
  • Omitted the SDK refactor and new initWithoutDefaultIntegrations / getDefaultIntegrationsWithoutPerformance APIs: v10 has a different integration setup. This is the missing-export subset of the original PR, not the new initialization APIs. v10 defaults remain unchanged.
  • Retained the export regression test for all 16 available helpers; omitted the unavailable type and initialization tests.

Fixes #23896

Backport of: #25491

Co-Authored-By: GPT-6 <codex@openai.com>
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.21 kB added added
@sentry/browser - with treeshaking flags 26.66 kB added added
@sentry/browser (incl. Tracing) 47.23 kB added added
@sentry/browser (incl. Tracing + Span Streaming) 49.03 kB added added
@sentry/browser (incl. Tracing, Profiling) 52.02 kB added added
@sentry/browser (incl. Tracing, Replay) 86.64 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 76.27 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 91.35 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 103.97 kB added added
@sentry/browser (incl. Feedback) 45.38 kB added added
@sentry/browser (incl. sendFeedback) 33.01 kB added added
@sentry/browser (incl. FeedbackAsync) 38.14 kB added added
@sentry/browser (incl. Metrics) 29.31 kB added added
@sentry/browser (incl. Logs) 29.55 kB added added
@sentry/browser (incl. Metrics & Logs) 30.22 kB added added
@sentry/react 30.02 kB added added
@sentry/react (incl. Tracing) 49.53 kB added added
@sentry/vue 34.1 kB added added
@sentry/vue (incl. Tracing) 49.61 kB added added
@sentry/svelte 28.24 kB added added
CDN Bundle 30.62 kB added added
CDN Bundle (incl. Tracing) 49.18 kB added added
CDN Bundle (incl. Logs, Metrics) 32.19 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) 50.49 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) 71.62 kB added added
CDN Bundle (incl. Tracing, Replay) 86.87 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.16 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 92.68 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 93.97 kB added added
CDN Bundle - uncompressed 91 kB added added
CDN Bundle (incl. Tracing) - uncompressed 148.26 kB added added
CDN Bundle (incl. Logs, Metrics) - uncompressed 95.71 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.24 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 221.06 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 268.08 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272.05 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 281.78 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.74 kB added added
@sentry/nextjs (client) 52.18 kB added added
@sentry/sveltekit (client) 47.66 kB added added
@sentry/core/server 81.66 kB added added
@sentry/core/browser 67.73 kB added added
@sentry/node-core 64.04 kB added added
@sentry/node 127.22 kB added added
@sentry/node (incl. diagnostics channel injection) 171.41 kB added added
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B added added
@sentry/node/light 52.09 kB added added
@sentry/node - without tracing 75.82 kB added added
@sentry/aws-serverless 84.99 kB added added
@sentry/cloudflare (withSentry) - minified 204.93 kB added added
@sentry/cloudflare (withSentry) 505.2 kB added added

@nicohrubec
nicohrubec marked this pull request as ready for review October 27, 2026 08:55
@nicohrubec
nicohrubec requested a review from a team as a code owner October 27, 2026 08:55
@nicohrubec
nicohrubec requested review from andreiborza, isaacs and mydea and removed request for a team October 27, 2026 08:55
spanStreamingIntegration,
} from '@sentry/core';

export { prismaIntegration } from '@sentry/server-utils';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q: Are we sure this one works on deno?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jep

@nicohrubec
nicohrubec merged commit e4ea7fd into v10 Oct 28, 2026
57 checks passed
@nicohrubec
nicohrubec deleted the feat/v10-backport-25491-deno-portable-exports branch October 28, 2026 10:12
@Lms24

Lms24 commented Oct 28, 2026

Copy link
Copy Markdown
Member

Since this adds public API, I changed the category of the PR to feat.

@Lms24 Lms24 changed the title fix(v10/deno): Re-export portable helpers that Cloudflare exposes feat(v10/deno): Re-export portable helpers that Cloudflare exposes Oct 28, 2026
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.

4 participants