feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

feat(core): Instrument workers-ai-provider - #22119

Merged
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai
Jul 20, 2026
Merged

feat(core): Instrument workers-ai-provider#22119
JPeer264 merged 10 commits into
developfrom
jp/cloudflare-workers-ai

Conversation

@JPeer264

@JPeer264JPeer264 commented Jul 8, 2026

Copy link
Copy Markdown
Member

closes#20839
closes#20839

This is instrumenting workers-ai, but it needs to be wrapped, as in Cloudflare there is no monkey patching for bindings. In a follow-up PR this will be included in the instrumentEnv within Cloudflare.

Tbh I would have added this into packages/cloudflare, but all AI integrations do live in core, and there are also some utils which are only there and would have needed to export, such as endStreamSpan and all the gen-ai-attributes. The downside of this is that the workers-ai types needed to be vendored in (in the packages/cloudflare we could have taken them from the @cloudflare/workers-types package.

@JPeer264JPeer264 self-assigned this Jul 8, 2026
@linear-code

Copy link
Copy Markdown

JS-2449

@github-actions

github-actionsBot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.75 kB--
@sentry/browser - with treeshaking flags26.18 kB--
@sentry/browser (incl. Tracing)46.56 kB--
@sentry/browser (incl. Tracing + Span Streaming)48.37 kB--
@sentry/browser (incl. Tracing, Profiling)51.36 kB--
@sentry/browser (incl. Tracing, Replay)85.83 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags75.46 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)90.55 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)103.2 kB--
@sentry/browser (incl. Feedback)44.93 kB--
@sentry/browser (incl. sendFeedback)32.55 kB--
@sentry/browser (incl. FeedbackAsync)37.69 kB--
@sentry/browser (incl. Metrics)28.83 kB--
@sentry/browser (incl. Logs)29.05 kB--
@sentry/browser (incl. Metrics & Logs)29.76 kB--
@sentry/react29.54 kB--
@sentry/react (incl. Tracing)48.84 kB--
@sentry/vue33.17 kB--
@sentry/vue (incl. Tracing)48.52 kB--
@sentry/svelte27.78 kB--
CDN Bundle30.14 kB--
CDN Bundle (incl. Tracing)48.53 kB--
CDN Bundle (incl. Logs, Metrics)31.73 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)49.83 kB--
CDN Bundle (incl. Replay, Logs, Metrics)70.98 kB--
CDN Bundle (incl. Tracing, Replay)86.04 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)87.34 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)91.84 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)93.11 kB--
CDN Bundle - uncompressed89.88 kB--
CDN Bundle (incl. Tracing) - uncompressed146.73 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed94.59 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed150.71 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed219.32 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed265.94 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed269.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed279.64 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed283.6 kB--
@sentry/nextjs (client)51.36 kB--
@sentry/sveltekit (client)46.99 kB--
@sentry/core/server80.13 kB+1.89%+1.48 kB 🔺
@sentry/core/browser66.56 kB+2.29%+1.49 kB 🔺
@sentry/node-core63.21 kB--
@sentry/node125.66 kB--
@sentry/node (incl. diagnostics channel injection)149.43 kB--
@sentry/node/import (ESM hook with diagnostics-channel injection)70.03 kB+0.01%+2 B 🔺
@sentry/node/light51.32 kB-0.01%-2 B 🔽
@sentry/node - without tracing74.92 kB-0.01%-1 B 🔽
@sentry/aws-serverless84.15 kB--
@sentry/cloudflare (withSentry) - minified184.25 kB--
@sentry/cloudflare (withSentry)456.12 kB--

View base workflow run

@JPeer264

Copy link
Copy Markdown
MemberAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a22515d. Configure here.

Comment threadpackages/core/src/tracing/workers-ai/index.ts
Comment threadpackages/core/src/tracing/workers-ai/index.ts
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 0aa52a5 to 8011b0bCompareJuly 13, 2026 15:10
@JPeer264
JPeer264 marked this pull request as ready for review July 13, 2026 15:16
@JPeer264
JPeer264 requested review from a team, andreiborza, isaacs, mydea and nicohrubec and removed request for a teamJuly 13, 2026 15:16
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/constants.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated

@isaacsisaacs left a comment

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.

A few minor comments/questions. Overall a worthwhile and well-factored addition that follows the patterns established already. 👍

Comment threadpackages/core/src/tracing/workers-ai/index.ts Outdated
Comment threadpackages/core/src/tracing/workers-ai/index.ts
},
error => {
span.setStatus({ code: SPAN_STATUS_ERROR, message: 'internal_error' });
captureException(error, {

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.

low/question: I thought the prevailing wisdom was that we don't call captureException, except in cases where we know that the user has not caught the error, and prefer instead to only do that at the top level. Is this different in cf workers? It seems like someone could try { await ai.run(...) } catch { /* this is fine */ }, and end up with exceptions in their dashboard, no?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Very good question indeed. I actually tried to replicate the original integrations as much as possible.

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.

We should only do this if there is no way to capture these exceptions otherwise. E.g. in vercel ai v4, tool errors bubble up so we do not capture them here. In v5+ we capture them in the integration because they otherwise do not bubble up, as an example.

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.

I actually tried to replicate the original integrations as much as possible.

Makes sense. There's definitely a good argument leave to as-is and addressed in a follow-up (or we can decide not to).

In v5+ we capture them in the integration because they otherwise do not bubble up

@mydea What happens to these errors in v5?

If they don't bubble up, are they really "exceptions"? That is, isn't the purpose of captureException to be sort of "this is why your program crashed"?

@nicohrubecnicohrubec left a comment

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.

I have two questions:

  1. could you maybe add a screenshot showing a trace in sentry with this instrumentation?
  2. the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

return result;
},
error => {
captureException(error, {

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.

m: do we want to immediately capture the exception here? I think we only want to do that if we are fairly certain that the user basically can't handle this exception manually not sure if that is the case here. I know this is what we do in other instrumentations currently, but we might have to revisit this there too eventually

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Not sure if it is good if we start to be inconsistent here. I'd vote for removing the captureException here, but I'm not sure if it is great if one out of 7 is different to the others

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.

We can also follow up on this, since we have the same pattern in all other integrations probably something to look into holistically. Could you please create a follow-up ticket for this so we don't forget?

@JPeer264

Copy link
Copy Markdown
MemberAuthor

@nicohrubec

could you maybe add a screenshot showing a trace in sentry with this instrumentation?

#bakingassistant

https://sentry-sdks.sentry.io/explore/traces/trace/7b5d5e7a7c3542edba07821a7025c804/

Screenshot 2026-07-17 at 10 48 22

the main reason our AI instrumentations still live in core is that we currently still export these to the browser (which will change in v11, we'll then move all AI integrations to server-utils). given that this is specific to cloudflare, we could think about moving this to the cloudflare package as you mentioned or if not that maybe move it to server utils?

I like the idea of having it in Cloudflare only, as there I could also use the types directly. I don't think these bindings would ever be available outside of Cloudflare, and if it would be - then we can still move it to server-utils. Do you suggest to already do this in this PR or in a follow up once we start with the v11 alpha cycle?

Comment threadpackages/core/src/tracing/workers-ai/utils.ts Outdated
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch 2 times, most recently from 1b95295 to 16771a7CompareJuly 17, 2026 10:28
}

return startSpan(spanConfig, (span: Span) => {
const originalResult = originalRun.apply(context, args) as Promise<unknown>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: Synchronous errors in the non-streaming run method are not reported to Sentry as exceptions, only as a span status.
Severity: LOW

Suggested Fix

Wrap the originalRun.apply(context, args) call in a try...catch block, similar to the streaming path. In the catch block, call captureException to report the error to Sentry before re-throwing it.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/index.ts#L90
Potential issue: In the non-streaming path for Workers AI tracing, if the original `run`
method throws a synchronous error, the error is not reported to Sentry via
`captureException`. The error is caught by `startSpan`'s internal `handleCallbackErrors`
function, which sets the span status to error but does not create a Sentry exception
event. This is inconsistent with the streaming path, which explicitly catches
synchronous errors and reports them. While synchronous throws from async methods are
unlikely, this represents a gap in error monitoring.

}

if (Array.isArray(response.tool_calls) && response.tool_calls.length > 0) {
span.setAttribute(GEN_AI_OUTPUT_MESSAGES, JSON.stringify(response.tool_calls));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug:JSON.stringify in addResponseAttributes can throw an unhandled exception on non-serializable data, which is not reported to Sentry.
Severity: MEDIUM

Suggested Fix

Wrap the JSON.stringify calls within addResponseAttributes in a try...catch block, similar to the getTruncatedJsonString utility used in other integrations. On error, a placeholder like '[unserializable]' should be used for the attribute value. Alternatively, wrap the call to addResponseAttributes in the non-streaming path with error handling that calls captureException.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: packages/core/src/tracing/workers-ai/utils.ts#L164
Potential issue: In the non-streaming path for Workers AI tracing,
`addResponseAttributes` is called on the successful promise resolution. This function
calls `JSON.stringify` on the AI model's response without a `try...catch` block. If the
response contains non-serializable data (e.g., circular references), `JSON.stringify`
will throw an exception. This exception is not caught and reported to Sentry via
`captureException`, leading to a silent monitoring failure where the error goes
undetected. The streaming path correctly handles this case.

JPeer264and others added 5 commits July 20, 2026 11:44
The Sentry product reads model output from `gen_ai.output.messages`, treating
`gen_ai.response.text` and `gen_ai.response.tool_calls` as deprecated. Relay
migrates `response.text` into `output.messages` at ingestion, but the tool-calls
half of that migration is lossy, so tool-call turns rendered an empty Output tab.
Build `gen_ai.output.messages` directly in both the streaming and non-streaming
paths (mirroring the Vercel AI integration), normalizing the OpenAI-compatible
(`function.{name,arguments}`) and native (top-level `name`/`arguments`) tool-call
shapes. The deprecated attributes are still written for backward compatibility.
The streaming parser is also extended to read the OpenAI-compatible SSE shape
(`choices[].delta.content` / `choices[].delta.tool_calls`) that models routed
through the OpenAI-compatible endpoint emit, which previously dropped both text
and tool calls while still capturing usage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JPeer264
JPeer264force-pushed the jp/cloudflare-workers-ai branch from 609fe63 to 8608d93CompareJuly 20, 2026 08:44
@JPeer264
JPeer264 merged commit 55bd48a into developJul 20, 2026
311 of 312 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-workers-ai branch July 20, 2026 09:42
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
botre added a commit to formspark/documentation that referenced this pull request Aug 16, 2026
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
* Bump @sentry/vue from 10.0.0 to 10.70.0
`@sentry/vue` `^10.0.0` → `^10.70.0` (dependencies).
This updates what `package.json` declares. The range may already have
permitted the newer version, in which case only the declaration was stale.
Lockfile resolved by `npm`, with no install and no lifecycle scripts.
Produced by a script, not a model — a lockfile is not something to write by hand.
<details><summary>Release notes</summary>
### 10.70.0
- feat(v10/core): Support stable MCP SDK v2 ([#22986](getsentry/sentry-javascript#22986))
- feat(v10/deps): Bump `@sentry/node-cpu-profiler` to 2.4.3 ([#22992](getsentry/sentry-javascript#22992))
- feat(v10/solid,solidstart): Support `@solidjs/router` v1 ([#23163](getsentry/sentry-javascript#23163))
- fix(v10/cloudflare): Fork the isolation scope for Durable Object methods ([#23189](getsentry/sentry-javascript#23189))
- fix(v10/cloudflare): Get original waituntil in workflows ([#23192](getsentry/sentry-javascript#23192))
- fix(v10/cloudflare): Instrument DO RPC methods on the prototype, not a Proxy ([#23190](getsentry/sentry-javascript#23190))
- fix(v10/cloudflare): Set agent conversation id on the `onRequest` path ([#22985](getsentry/sentry-javascript#22985))
- fix(v10/cloudflare): Set conversation id independent of session name ([#23193](getsentry/sentry-javascript#23193))
- fix(v10/cloudflare): Try/catch on non-configurable prototypes ([#23191](https://github.com/getsentry/sentry-javascript
…truncated; see the release link above.
### 10.69.0
### Important Changes
- **feat(v10/cloudflare): Add `instrumentAgentWithSentry` for Cloudflare Agents ([#22786](getsentry/sentry-javascript#22786
The Cloudflare SDK adds a new `instrumentAgentWithSentry` API for [Cloudflare Agents](https://agents.cloudflare.com/). It works like `instrumentDurableObjectWithSentry` for `Agent` classes from the `agents` SDK and additionally creates spans for `@callable` RPC methods and automatically sets the `conversationId` based on the agent's name. When building with the Sentry Vite plugin, Agents are instrumented automatically ([#22788](getsentry/sentry-javascript#22788)).
### Other Changes
- feat(v10/cloudflare): Add Spotlight integration for local dev event forwarding ([#22796](getsentry/sentry-javascript#22796))
- feat(v10/cloudflare): Add wranglerConfigPath to Vite options ([#22803](getsentry/sentry-javascript#22803))
- feat(v10/cloudflare): Filter framework-internal Durable Object storage spans ([#22770](getsentry/sentry-javascript#22770))
- feat(v10/cloudflare): Instrument Agents automatically ([#22788](https://gith
…truncated; see the release link above.
### 10.68.0
- feat(cloudflare): Add @sentry/cloudflare/vite orchestrion plugin ([#21967](getsentry/sentry-javascript#21967))
- feat(nestjs): Support WebSocket errors in SentryGlobalFilter ([#22224](getsentry/sentry-javascript#22224))
- feat(node,server-utils): Set `cache.key` on dataloader spans and capture redis delete operations as `cache.remove` ([#22389](getsentry/sentry-javascript#22389))
- feat(server-utils): Allow integrations to be part of marker ([#22094](getsentry/sentry-javascript#22094))
- feat(server-utils): Migrate `FirebaseInstrumentation` to orchestrion ([#22141](getsentry/sentry-javascript#22141))
- feat(server-utils): Warn when bundler config has instrumented module in external ([#22379](getsentry/sentry-javascript#22379))
- feat(v10): Add `http.route` attribute to `http.server` spans with parameterized routes ([#22564](getsentry/sentry-javascript#22564))
- feat(v10): Add `url.full` and `url.path` to `http.server` spans ([#22533](getsentry/sentry-javascript#22533))
- feat(v10/cloudflare)
…truncated; see the release link above.
### 10.67.0
### Important Changes
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](getsentry/sentry-javascript#22264
The SvelteKit SDK now supports the pre-release of SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
### Other Changes
- feat(aws-serverless): Use orchestrion aws-sdk integration under diagnostics-channel opt-in ([#22143](getsentry/sentry-javascript#22143))
- feat(cloudflare): Auto-instrument Workers AI binding via env instrumentation ([#22126](getsentry/sentry-javascript#22126))
- feat(cloudflare): Instrument Cloudflare rate limiter bindings ([#22035](getsentry/sentry-javascript#22035))
- feat(core): Instrument workers-ai-provider ([#22119](getsentry/sentry-javascript#22119))
- feat(core): Rename `queryParams` to `urlQueryParams` ([#22217](getsentry/sentry-javascript#22217))
- feat(mongodb): impl
…truncated; see the release link above.
### 10.66.0
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](getsentry/sentry-javascript#22285))
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](getsentry/sentry-javascript#22284))
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](getsentry/sentry-javascript#22172))
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](getsentry/sentry-javascript#22036))
- feat(bundlers): Add orchestrion bundler plugins ([#22124](getsentry/sentry-javascript#22124))
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](getsentry/sentry-javascript#22180))
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](getsentry/sentry-javascript#22219))
- feat(core): Add and use `dataCollection.graphQL` ([#22221](getsentry/sentry-javascript#22221))
- feat(core): Add stringify helper and make AI-traci
…truncated; see the release link above.
### 10.65.0
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](getsentry/sentry-javascript#21985))
- feat(astro): Set `url.template` on pageload spans ([#22011](getsentry/sentry-javascript#22011))
- feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection ([#22079](getsentry/sentry-javascript#22079))
- feat(browser): Set `url.path` and `url.full` on pageload and navigation spans ([#21952](getsentry/sentry-javascript#21952))
- feat(bun): warn when externalizing instrumented deps ([#21999](getsentry/sentry-javascript#21999))
- feat(core): Require `attributes` on `SerializedStreamedSpan` ([#22052](getsentry/sentry-javascript#22052))
- feat(ember): Set `url.template`, `url.path` and `url.full` on router spans ([#22095](getsentry/sentry-javascript#22095))
- feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels ([#21824](getsentry/sentry-javascript#21824))
- feat(nextjs): Set `url` attributes on pageload and navigation spans ([#22006](https
…truncated; see the release link above.
### 10.64.0
### Important Changes
- **feat(cloudflare): Add `nodejs_compat` entrypoint ([#21881](getsentry/sentry-javascript#21881
The Cloudflare SDK now ships a dedicated `@sentry/cloudflare/nodejs_compat` entrypoint for Workers running with the `nodejs_compat` flag. This entrypoint unlocks Node SDK features on Cloudflare, including the `prismaIntegration` ([#21882](getsentry/sentry-javascript#21882)) and AI v7 support for the `vercelAiIntegration` ([#21917](getsentry/sentry-javascript#21917)).
This entrypoint is a drop-in replacement, so you can switch your imports from `@sentry/cloudflare` directly to `@sentry/cloudflare/nodejs_compat`. To use it, your Worker must set the `nodejs_compat` compatibility flag in `wrangler.toml`/`wrangler.jsonc`. This will become the default entrypoint in v11.
- **feat: Use Sentry's minimal OpenTelemetry tracer provider by default ([#21666](getsentry/sentry-javascript#21666), [#21680](getsentry/sentry-javascript#21680), [#21842](getsentry/sentry-javascript#21842
The Node SDK now registers Sentry's own
…truncated; see the release link above.
### 10.63.0
- feat(browser): Add `url.full` attribute to resource spans ([#21846](getsentry/sentry-javascript#21846))
- feat(core): Add `extendIntegration` method ([#21759](getsentry/sentry-javascript#21759))
- feat(core): Add `isTracingSuppressed` to the async context strategy ([#21785](getsentry/sentry-javascript#21785))
- feat(core): Pass normalizedRequest to the sampling context for root spans ([#21833](getsentry/sentry-javascript#21833))
- feat(node): Add lru-memoizer diagnostics-channel integration to experimentalUseDiagnosticsChannelInjection ([#21786](getsentry/sentry-javascript#21786))
- feat(node): Expose channel-based, streamlined `fastifyIntegration` ([#21706](getsentry/sentry-javascript#21706))
- fix(browser): Defer sending session envelope until browser is idle ([#21844](getsentry/sentry-javascript#21844))
- fix(core): Improve waiting for tracing channel bindings ([#21815](getsentry/sentry-javascript#21815))
- fix(core): Serialize streamed span status message to `sentry.status.message` attri
…truncated; see the release link above.
_71 earlier release(s) in this range are not shown._
Releases: https://github.com/getsentry/sentry-javascript/releases
</details>
Sign up for freeto 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.

Cloudflare instrument workers-ai

5 participants

@JPeer264@isaacs@mydea@nicohrubec@andreiborza