You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04a8ee4
Browse filesBrowse the repository at this point in the historyBrowse files
fix(deno): Re-export portable helpers that Cloudflare exposes
Cloudflare runs on workerd with no Node APIs, but it still exports more
than Deno. The missing exports already work in Deno, because they come
from `@sentry/core` and `@sentry/server-utils`, which Deno depends on.
The manual AI client helpers matter most. Deno does not inject
diagnostics channels by default, so `instrumentOpenAiClient` and the
other `instrument*` helpers are the documented way to get AI spans
there.
Deno now re-exports `addIntegration`, `withActiveSpan`,
`getSpanDescendants`, `setConversationId`, `createConsolaReporter`,
`growthbookIntegration`, `moduleMetadataIntegration`,
`trpcMiddleware`, `prismaIntegration`, the OpenAI, Anthropic, Google
GenAI, Mistral, TypeSafe, LangChain and LangGraph helpers, and the
`FlueOptions` type. Deno also gets `initWithoutDefaultIntegrations` and
`getDefaultIntegrationsWithoutPerformance`, to match Node and Bun. The
default integration set does not change.
Some Cloudflare exports stay out. `instrumentWorkersAiClient` wraps a
binding that exists only on Cloudflare. `spotlightIntegration` and
`httpServerIntegration` live in the Cloudflare package, not in a shared
entry point, so they need more than a re-export. `parameterize` was in
the issue, but Cloudflare no longer exports it.
Fixes#23896
Fixes JS-3522
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments