@sentry/effect
11.9.0 · 23 Oct 2026MIT35.7k / weekRepositoryHomepagenpmAtom feed
11.9.0 is the newest release of 11.x.
In short
1 deprecated8 new19 fixed44 internal
- deprecated
core: Deprecate SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN
Release note
Important Changes
core: Warn on repeated
Sentry.init()and unbind the client onclose()Sentry.init()now warns when it runs while a client is still active. For now, the new client still replaces the active client, but the active client is not closed, so state from both can mix. CallSentry.init()once, or callawait Sentry.close()before you call it again.Sentry.close()now unbinds the client it closes, so afterclose(),getClient()returnsundefined,isInitialized()returnsfalse, and a laterinit()sets up a new client. In@sentry/cloudflare, later requests no longer reuse the isolate's cached client once it is closed or closing. On the server,@sentry/nextjsand@sentry/remixnow return the active client from a repeatedinit()call, notundefined.
Other Changes
bun: Keep server spans open until streaming responses finish
langchain: Derive gen_ai.conversation.id from the invoke config
nextjs: Add
code.file.pathtouse cachefill spansreact-router: Export createSentryServerInstrumentation from the Cloudflare entry
remix: Parameterize Remix 3 navigation spans
remix: Parameterize Remix 3 page load spans
remix: Report the matched route on Remix 3 HTML responses
ai: Normalize token usage and preserve cache breakdowns
browser-utils: Handle NS_ERROR_NOT_INITIALIZED from setTimeout in Firefox
bun: Add conversationIdIntegration to the default integrations
cloudflare: Detect TypeSafe Jev calls in Workers AI by model ID
cloudflare: Keep an installed OpenTelemetry async context strategy
feedback: Correct overlapping screenshot annotations and drag dimming
nextjs: Don't capture forbidden() and unauthorized() as errors
nextjs: Include basePath in request url of Pages Router errors
nextjs: Skip
initinside a request of@sentry/cloudflarenode: Flush telemetry before Vercel functions are suspended
nuxt: Do not inject debug IDs into the SSR build
react-router: Pass the project when creating a release
remix: Pass the project when creating a release
server-utils: Derive the Vercel AI conversation id from the OpenAI conversation option
server-utils: Instrument the Vercel AI experimental_decide channel event
server-utils: Map Flue messages and token usage to the gen_ai conventions
server-utils: Record Vercel AI
experimental_telemetry.metadataon gen_ai spanssveltekit: Export consoleLoggingIntegration from worker entry
tanstackstart-react: Fix server route parametrization gaps
- deprecated
core: Deprecate SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN
Internal Changes
Work in this release was contributed by @minwookshin. Thank you for your contribution!