From dce0af1c41580fe69ae8348ffa21c56a2eae9573 Mon Sep 17 00:00:00 2001 From: rahul Date: Sun, 5 Jul 2026 02:59:47 +0000 Subject: [PATCH 1/3] feat(sdk): add June 2026 release notes for javascript Co-Authored-By: Claude Opus 4.6 Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> --- .../2026-06-javascript-sdk-releases.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 content/changelog/2026-06-javascript-sdk-releases.md diff --git a/content/changelog/2026-06-javascript-sdk-releases.md b/content/changelog/2026-06-javascript-sdk-releases.md new file mode 100644 index 0000000..5f69c16 --- /dev/null +++ b/content/changelog/2026-06-javascript-sdk-releases.md @@ -0,0 +1,37 @@ +--- +title: JavaScript SDK Releases — June 2026 +slug: 2026-06-javascript-sdk-releases +summary: gen_ai span streaming enabled by default, expanded Cloudflare instrumentation, Vercel AI SDK v7 support, and new top-level Sentry APIs. +categories: + - SDK +platform: + - javascript + - node + - react-native +broadcastCategory: sdk_update +published: false +date: 2026-06-30 +author: rahulchhabria@sentry.io +--- + +Releases covered: **10.56.0 · 10.57.0 · 10.58.0 · 10.59.0 · 10.60.0 · 10.61.0 · 10.62.0** + +| Version | Date | Link | +|---------|------|------| +| 10.62.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.62.0) | +| 10.61.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0) | +| 10.60.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.60.0) | +| 10.59.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0) | +| 10.58.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.58.0) | +| 10.57.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0) | +| 10.56.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.56.0) | + +## What changed + +- **gen_ai span streaming on by default (10.61.0):** `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 (10.60.0 · 10.61.0):** R2 buckets, D1 batch/exec/withSession, SQLite Durable Objects SQL API, and sync KV are all now auto-instrumented. +- **New integrations & runtime support (10.59.0 · 10.62.0):** `vercelAiIntegration` adds Vercel AI SDK v7 support; AWS SDK clients ≥ 3.1046.0 are auto-instrumented; Bun and Deno get orchestrion runtime hooks. +- **New APIs (10.61.0):** Top-level `Sentry.setAttribute(s)` APIs added; Hono transactions now named after matched route handlers; `bindScopeToEmitter` added for event-emitter-scoped traces. +- **Bug fixes (10.57.0 · 10.58.0):** React Router v6/v7 navigation detection moved to layout effect for correct trace propagation; PostgresJS no longer emits duplicate spans per query; Next.js redirects no longer reported as `internal_error`. + +_Tagged by @rahulchhabria_ From 1a8d24f51fce3586c94475b78026b6d98e52290a Mon Sep 17 00:00:00 2001 From: rahul Date: Sun, 5 Jul 2026 03:13:38 +0000 Subject: [PATCH 2/3] chore: remove tagged line from javascript changelog entry Co-Authored-By: Claude Opus 4.6 Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> --- content/changelog/2026-06-javascript-sdk-releases.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/changelog/2026-06-javascript-sdk-releases.md b/content/changelog/2026-06-javascript-sdk-releases.md index 5f69c16..9fca5e0 100644 --- a/content/changelog/2026-06-javascript-sdk-releases.md +++ b/content/changelog/2026-06-javascript-sdk-releases.md @@ -33,5 +33,3 @@ Releases covered: **10.56.0 · 10.57.0 · 10.58.0 · 10.59.0 · 10.60.0 · 10.61 - **New integrations & runtime support (10.59.0 · 10.62.0):** `vercelAiIntegration` adds Vercel AI SDK v7 support; AWS SDK clients ≥ 3.1046.0 are auto-instrumented; Bun and Deno get orchestrion runtime hooks. - **New APIs (10.61.0):** Top-level `Sentry.setAttribute(s)` APIs added; Hono transactions now named after matched route handlers; `bindScopeToEmitter` added for event-emitter-scoped traces. - **Bug fixes (10.57.0 · 10.58.0):** React Router v6/v7 navigation detection moved to layout effect for correct trace propagation; PostgresJS no longer emits duplicate spans per query; Next.js redirects no longer reported as `internal_error`. - -_Tagged by @rahulchhabria_ From 61d9ca95fd5e487fc40450b696d08157272419c1 Mon Sep 17 00:00:00 2001 From: Stephanie Anderson Date: Wed, 15 Jul 2026 05:16:01 +0200 Subject: [PATCH 3/3] =?UTF-8?q?JavaScript=20SDK=20Releases=20=E2=80=94=20J?= =?UTF-8?q?une=202026=20(detailed)=20(#137)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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](https://sentry.sentry.io/explore/conversations/slack%3AC0B7SMN7ZHD%3A1783219862.223729/?project=4510944073809921) --------- Co-authored-by: Claude Opus 4.6 Co-authored-by: rahul Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> --- .../2026-06-javascript-sdk-releases.md | 56 +++++++++++++------ 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/content/changelog/2026-06-javascript-sdk-releases.md b/content/changelog/2026-06-javascript-sdk-releases.md index 9fca5e0..3f5d68c 100644 --- a/content/changelog/2026-06-javascript-sdk-releases.md +++ b/content/changelog/2026-06-javascript-sdk-releases.md @@ -14,22 +14,46 @@ date: 2026-06-30 author: rahulchhabria@sentry.io --- -Releases covered: **10.56.0 · 10.57.0 · 10.58.0 · 10.59.0 · 10.60.0 · 10.61.0 · 10.62.0** +Releases covered: | Version | Date | Link | |---------|------|------| -| 10.62.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.62.0) | -| 10.61.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0) | -| 10.60.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.60.0) | -| 10.59.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0) | -| 10.58.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.58.0) | -| 10.57.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0) | -| 10.56.0 | Jun 2026 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.56.0) | - -## What changed - -- **gen_ai span streaming on by default (10.61.0):** `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 (10.60.0 · 10.61.0):** R2 buckets, D1 batch/exec/withSession, SQLite Durable Objects SQL API, and sync KV are all now auto-instrumented. -- **New integrations & runtime support (10.59.0 · 10.62.0):** `vercelAiIntegration` adds Vercel AI SDK v7 support; AWS SDK clients ≥ 3.1046.0 are auto-instrumented; Bun and Deno get orchestrion runtime hooks. -- **New APIs (10.61.0):** Top-level `Sentry.setAttribute(s)` APIs added; Hono transactions now named after matched route handlers; `bindScopeToEmitter` added for event-emitter-scoped traces. -- **Bug fixes (10.57.0 · 10.58.0):** React Router v6/v7 navigation detection moved to layout effect for correct trace propagation; PostgresJS no longer emits duplicate spans per query; Next.js redirects no longer reported as `internal_error`. +| 10.62.0 | 2026-06-26 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.62.0) | +| 10.61.0 | 2026-06-25 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0) | +| 10.60.0 | 2026-06-23 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.60.0) | +| 10.59.0 | 2026-06-19 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0) | +| 10.58.0 | 2026-06-15 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.58.0) | +| 10.57.0 | 2026-06-09 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0) | +| 10.56.0 | 2026-06-02 | [Release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.56.0) | + +## TL;DR + +- `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`. +- 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 +- New top-level `Sentry.setAttribute(s)` APIs; Hono transactions named after matched route handlers +- React Router v6/v7 navigation tracing fix; PostgresJS duplicate span fix; Next.js redirect classification fix. + +## Release notes + +### New Features + +10.61.0 enables `streamGenAiSpans` by default. `gen_ai` spans are extracted from transactions and sent as v2 envelope items, which means they can no longer be dropped when the transaction payload exceeds size limits, and AI message data is no longer truncated by default. Pass `enableTruncation: true` on the respective AI integration to re-enable truncation. Self-hosted Sentry users should set `streamGenAiSpans: false` until their instance supports streamed spans. + +Cloudflare storage instrumentation expanded across three 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). + +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. + +### Bug Fixes + +10.57.0 moves React Router v6/v7 navigation detection from a regular effect to a layout effect. This ensures the correct parent trace is present when the navigation span is created, closing trace propagation gaps visible in distributed traces. + +Also in 10.57.0, the PostgresJS integration was emitting a duplicate span for every query due to a listener registration bug. Only one span is now created per query. + +In 10.58.0, Next.js server actions that perform redirects were incorrectly classified as `internal_error`. They are now reported as `ok`. + +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 (older Node 18 releases before 18.19.0, and other runtimes lacking the API), instead of throwing at runtime.