Packages

@sentry/cloudflare

11.9.0 · 23 Oct 2026MIT3.4M / weekRepositoryHomepagenpmAtom feed

Your version

11.3.0

2 Oct 2026Where it was published

11.9.0 is the newest release of 11.x.

In short

1 breaking10 new13 fixed1 changed24 internal

  • breaking

    effect: Change peerDependency to v4 and fix currentSpan

Release note

Important Changes

  • Remix 3 support (alpha, may break in minor releases)

    • feat(remix): Add Remix 3 browser SDK with a bundled client entry

    • feat(remix): Add source map upload for Remix 3

    • feat(remix): Capture Remix 3 component render errors

    • feat(remix): Complete Remix 3 server error handling

    • feat(remix): Inject debug IDs through the Remix 3 asset server

    • feat(remix): Run the orchestrion transform on Remix 3 browser modules

  • nextjs: Add cache_origin span links to use cache hit spans

    A cache.get span for a "use cache" hit now carries a span link (sentry.link.type: 'cache_origin') to the cache.put span of the request that filled the cache entry, connecting the trace that reads a cached value to the trace that produced it.

  • cloudflare: Don't treat DO constructor work as incoming RPC calls

    Durable Object constructors now run in their own isolation scope. When work that the constructor starts, for example a blockConcurrencyWhile callback, calls a method of the instance, that call is no longer treated as an incoming RPC call, so an error the instance catches itself is no longer reported as unhandled. As a result, Sentry.setTag(), setUser() and setContext() in a constructor now apply only to that constructor work. They no longer reach later fetch, RPC or alarm invocations, because the scope they used to write to is shared by every Durable Object and handler in the isolate. Use initialScope for static data, and set per-instance data in each handler.

  • breaking

    effect: Change peerDependency to v4 and fix currentSpan

    @sentry/effect now requires a stable Effect v4 release. Effect v4 beta and release candidate versions are no longer supported. @sentry/effect is in alpha, so this ships in a minor release.

Other Changes

  • astro: Register astro route provider

  • cloudflare: Trace TypeSafe Jev calls in Workers AI as evaluate spans

  • core: Add route provider API for parameterized route resolution

  • effect: Add opt-in for external span parents and isolate root spans

  • nextjs: Register nextjs route provider

  • nuxt: Register nuxt route provider

  • remix: Register remix route provider

  • vue: Register Vue route provider

  • bundler-plugins: Keep debug IDs on Vite source maps after the preload rewrite

  • bundler-plugins: Stabilize debug IDs for Rolldown and Vite 8 builds

  • cloudflare: Skip binding instrumentation work when spans are not sent

  • core, node, bun, deno: Align server span client address with event IP

  • hono: Return the existing client on repeated init in Bun and Deno

  • nitro: Capture errors only through the Nitro error hook

  • profiling-node: Send profile chunks with client.sendEnvelope

  • react-router: Avoid duplicating Vite config arrays

  • react-router: Resolve the Cloudflare entry in Workers and skip trace meta tags in prerendered pages

  • server-utils: Match the Anthropic stream helper header regardless of case

  • server-utils: Skip Fastify 4xx errors raised before the reply status is set

  • tanstackstart-react: Avoid duplicating Vite config arrays

Internal Changes

  • license: Add cli FSL notice

Work in this release was contributed by @Shubham-Padkonde and @tobias-schnabel. Thank you for your contributions!