Skip to content

JavaScript SDK Releases — June 2026 (detailed)#137

Open
stephanie-anderson wants to merge 3 commits into
sdk-releases-june-2026/javascriptfrom
sdk-releases-june-2026/javascript-detailed
Open

JavaScript SDK Releases — June 2026 (detailed)#137
stephanie-anderson wants to merge 3 commits into
sdk-releases-june-2026/javascriptfrom
sdk-releases-june-2026/javascript-detailed

Conversation

@stephanie-anderson

Copy link
Copy Markdown

Builds on #124 with three improvements:

  • Table dates: each release now shows its actual publish date
  • TL;DR: ## What changed## TL;DR
  • Prose release notes: new section structured by craft changelog ordering (New Features → Bug Fixes; Internal omitted), synthesising all 7 releases in readable paragraphs

--

View Junior Session in Sentry

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-changelog Ready Ready Preview, Comment Jul 11, 2026 10:06pm

Request Review

…nd real dates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: rahul <rahul.chhabria@sentry.io>
Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>

@andreiborza andreiborza 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.

Nice, looks good overall. Some suggestion to drop stuff that is not user-facing.


- `streamGenAiSpans` is now enabled by default — `gen_ai` spans stream as v2 envelope items, preventing drops and disabling default message truncation; self-hosted users can opt out with `streamGenAiSpans: false`.
- Expanded Cloudflare instrumentation: R2 buckets, D1 batch/exec/withSession, SQLite Durable Objects SQL API, and sync KV are all now auto-instrumented.
- `vercelAiIntegration` adds Vercel AI SDK v7 support; AWS SDK clients ≥ 3.1046.0 are auto-instrumented; Bun and Deno get orchestrion runtime hooks.

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.

Suggested change
- `vercelAiIntegration` adds Vercel AI SDK v7 support; AWS SDK clients ≥ 3.1046.0 are auto-instrumented; Bun and Deno get orchestrion runtime hooks.
- `vercelAiIntegration` adds Vercel AI SDK v7 support

We don't want to highlight these to users.


## TL;DR

- `streamGenAiSpans` is now enabled by default — `gen_ai` spans stream as v2 envelope items, preventing drops and disabling default message truncation; self-hosted users can opt out with `streamGenAiSpans: false`.

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.

Suggested change
- `streamGenAiSpans` is now enabled by default — `gen_ai` spans stream as v2 envelope items, preventing drops and disabling default message truncation; self-hosted users can opt out with `streamGenAiSpans: false`.
- `streamGenAiSpans` is now enabled by default — `gen_ai` spans are sent as v2 envelope items, preventing size limit drops and disabling default message truncation; self-hosted users can opt out with `streamGenAiSpans: false`.

- `streamGenAiSpans` is now enabled by default — `gen_ai` spans stream as v2 envelope items, preventing drops and disabling default message truncation; self-hosted users can opt out with `streamGenAiSpans: false`.
- Expanded Cloudflare instrumentation: R2 buckets, D1 batch/exec/withSession, SQLite Durable Objects SQL API, and sync KV are all now auto-instrumented.
- `vercelAiIntegration` adds Vercel AI SDK v7 support; AWS SDK clients ≥ 3.1046.0 are auto-instrumented; Bun and Deno get orchestrion runtime hooks.
- New top-level `Sentry.setAttribute(s)` APIs; Hono transactions named after matched route handlers; `bindScopeToEmitter` for event-emitter-scoped traces.

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.

Suggested change
- New top-level `Sentry.setAttribute(s)` APIs; Hono transactions named after matched route handlers; `bindScopeToEmitter` for event-emitter-scoped traces.
- New top-level `Sentry.setAttribute(s)` APIs; Hono transactions named after matched route handlers

This is not user-facing.


Cloudflare storage instrumentation expanded across four releases: 10.60.0 added R2 bucket auto-instrumentation, 10.61.0 added D1 batch operations, `exec()`, and `withSession()`, as well as SQL API instrumentation for SQLite Durable Objects. 10.59.0 added synchronous KV instrumentation. Together these give complete zero-config coverage for Cloudflare storage primitives.

10.62.0 extends `vercelAiIntegration` to support v7 of the Vercel AI SDK (note: not yet available on Cloudflare Workers). In 10.59.0, AWS SDK clients at v3.1046.0 or later are automatically instrumented. Bun gained an orchestrion build plugin in 10.59.0 and Deno a runtime hook, enabling zero-config instrumentation for those runtimes.

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.

Suggested change
10.62.0 extends `vercelAiIntegration` to support v7 of the Vercel AI SDK (note: not yet available on Cloudflare Workers). In 10.59.0, AWS SDK clients at v3.1046.0 or later are automatically instrumented. Bun gained an orchestrion build plugin in 10.59.0 and Deno a runtime hook, enabling zero-config instrumentation for those runtimes.
10.62.0 extends `vercelAiIntegration` to support v7 of the Vercel AI SDK (note: not yet available on Cloudflare Workers).

We don't want to highlight these to users.


10.62.0 extends `vercelAiIntegration` to support v7 of the Vercel AI SDK (note: not yet available on Cloudflare Workers). In 10.59.0, AWS SDK clients at v3.1046.0 or later are automatically instrumented. Bun gained an orchestrion build plugin in 10.59.0 and Deno a runtime hook, enabling zero-config instrumentation for those runtimes.

10.61.0 adds two new top-level APIs — `Sentry.setAttribute(key, value)` and `Sentry.setAttributes(attributes)` — for setting custom attributes on the currently active span without a direct span reference. Hono transactions are now named after the matched route handler. 10.60.0 introduces `bindScopeToEmitter(emitter)`, which propagates the active Sentry scope to all listeners of a Node.js `EventEmitter`.

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.

Suggested change
10.61.0 adds two new top-level APIs — `Sentry.setAttribute(key, value)` and `Sentry.setAttributes(attributes)` — for setting custom attributes on the currently active span without a direct span reference. Hono transactions are now named after the matched route handler. 10.60.0 introduces `bindScopeToEmitter(emitter)`, which propagates the active Sentry scope to all listeners of a Node.js `EventEmitter`.
10.61.0 adds two new top-level APIs — `Sentry.setAttribute(key, value)` and `Sentry.setAttributes(attributes)` — for setting custom attributes on the currently active span without a direct span reference. Hono transactions are now named after the matched route handler.

This is not user-facing.

@rahulchhabria rahulchhabria marked this pull request as ready for review July 11, 2026 03:52
Remove AWS/Bun/Deno and bindScopeToEmitter callouts, and tighten the
streamGenAiSpans wording based on reviewer feedback.

Co-Authored-By: rahul <rahul.chhabria@sentry.io>

@rahulchhabria rahulchhabria left a comment

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.

Addressed @andreiborza's review:

  • Dropped AWS/Bun/Deno and bindScopeToEmitter callouts (not user-facing)
  • Tightened streamGenAiSpans wording
  • Kept Vercel AI SDK v7 + setAttribute(s) / Hono as the user-facing highlights

Comment thread content/changelog/2026-06-javascript-sdk-releases.md Outdated
Seer correctly flagged "four releases" vs three listed versions
(10.59.0, 10.60.0, 10.61.0).

Co-Authored-By: rahul <rahul.chhabria@sentry.io>

@rahulchhabria rahulchhabria left a comment

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.

Fixed Seer finding: Cloudflare instrumentation is across three releases (10.59.0, 10.60.0, 10.61.0), not four.


10.56.0 fixes `instrumentDurableObjectWithSentry` accidentally breaking Cloudflare Agents when applied to Durable Objects that use the Agents SDK.

10.62.0 makes the SDK resilient to runtimes where `tracingChannel` is not available (Node < 22), instead of throwing at runtime.

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: The changelog incorrectly states that tracingChannel is unavailable in "Node < 22". The API is actually available starting from Node.js v18.19.0.
Severity: LOW

Suggested Fix

Update the changelog to reflect the correct Node.js version boundary where tracingChannel is unavailable. The text should be corrected to state that the fix applies to Node.js versions older than v18.19.0, not "Node < 22".

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: content/changelog/2026-06-javascript-sdk-releases.md#L59

Potential issue: The changelog entry claims that SDK version 10.62.0 adds resilience for
runtimes where `tracingChannel` is unavailable, specifying this as "Node < 22". This is
factually incorrect. According to official Node.js documentation, the `tracingChannel`
API was introduced in Node.js v18.19.0 and v19.9.0. Therefore, it is available in
versions 18.19+, 19.9+, 20.x, and 21.x. Publishing this inaccurate version information
will mislead users about which Node.js versions benefit from this SDK fix.

Sign up for free to 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.

3 participants