Cloudflare runs on workerd with no Node APIs, and still exports more than Deno. Missing from packages/deno/src/index.ts but present in packages/cloudflare/src/index.ts:
| Missing from Deno |
Comes from |
instrumentOpenAiClient, instrumentAnthropicAiClient, instrumentGoogleGenAIClient, instrumentLangChainEmbeddings, instrumentStateGraph, createLangChainCallbackHandler, instrumentCreateReactAgent |
@sentry/server-utils (already a dependency) |
prismaIntegration |
@sentry/server-utils |
trpcMiddleware, addIntegration, withActiveSpan, getSpanDescendants, setConversationId, parameterize, consoleIntegration, createConsolaReporter, growthbookIntegration, updateSpanName |
@sentry/core |
spotlightIntegration, httpServerIntegration |
needs a decision, may not apply |
initWithoutDefaultIntegrations, getDefaultIntegrationsWithoutPerformance |
Node and Bun both have these |
The manual AI-client helpers matter most. They are the documented fallback for when channel injection is unavailable, which per D2 is Deno's default state.
Work item. Add the @sentry/core and @sentry/server-utils re-exports. They are pure re-exports with no new code. Add initWithoutDefaultIntegrations to deno/src/sdk.ts.
**Prior art **(related history only). No issue. Related history: #22306 (closed) covered pulling the integrations themselves into Deno, and the feat(deno): add * integration series (#22448 through #22472, all merged) added them one by one. The manual instrument*Client helpers were never part of that sweep.
Cloudflare runs on workerd with no Node APIs, and still exports more than Deno. Missing from
packages/deno/src/index.tsbut present inpackages/cloudflare/src/index.ts:instrumentOpenAiClient,instrumentAnthropicAiClient,instrumentGoogleGenAIClient,instrumentLangChainEmbeddings,instrumentStateGraph,createLangChainCallbackHandler,instrumentCreateReactAgent@sentry/server-utils(already a dependency)prismaIntegration@sentry/server-utilstrpcMiddleware,addIntegration,withActiveSpan,getSpanDescendants,setConversationId,parameterize,consoleIntegration,createConsolaReporter,growthbookIntegration,updateSpanName@sentry/corespotlightIntegration,httpServerIntegrationinitWithoutDefaultIntegrations,getDefaultIntegrationsWithoutPerformanceThe manual AI-client helpers matter most. They are the documented fallback for when channel injection is unavailable, which per D2 is Deno's default state.
Work item. Add the
@sentry/coreand@sentry/server-utilsre-exports. They are pure re-exports with no new code. AddinitWithoutDefaultIntegrationstodeno/src/sdk.ts.**Prior art **(related history only). No issue. Related history: #22306 (closed) covered pulling the integrations themselves into Deno, and the
feat(deno): add * integrationseries (#22448 through #22472, all merged) added them one by one. The manualinstrument*Clienthelpers were never part of that sweep.