# What changed in @sentry/vue

> 610 changes in @sentry/vue 5 to 11 from its official release notes, upgrade guides and advisories: 257 breaking, 15 deprecations, 6 security, 95 new APIs and options. Each one cited. Sources checked 2026-10-23. HTML: https://unstale.sh/npm/@sentry/vue/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @sentry/vue 11

### Breaking changes

- Bundler plugins now require Node.js 20.19.0 or higher. (11.8.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.8.0)
- Vercel deploy environments now use VERCEL_TARGET_ENV values; configure release.deploy.env to retain old names. (11.8.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.8.0)
- The webpack plugin now requires webpack 5.1 or higher. (11.8.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.8.0)
- Next.js forbidden() errors are no longer captured as errors. (11.5.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.5.0)
- Sentry.close() now unbinds the closed client, allowing getClient() and isInitialized() to reflect an uninitialized state before later init(). (11.5.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.5.0)
- AI integrations are no longer available in the browser SDK; they remain available in server-side SDKs. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- attachStacktrace now defaults to true. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Message events and non-Error values passed to captureException now receive a synthetic stack trace pointing to the call site. Set attachStacktrace to false to restore the previous behavior. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The callback moved from _experiments to the top-level Sentry.init options. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Now runs as each span finishes and receives StreamedSpanJSON with renamed fields; wrap it with withStaticSpan in transaction mode. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- No longer does anything in stream mode because transaction events are no longer produced; move span changes to beforeSendSpan. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Sessions affected by an uncaught error are recorded as unhandled instead of crashed, which can shift crash-free session rates. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Collected INP is always sent as a Web Vital span, with its value in this attribute instead of as a span measurement. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The lifecycle option defaults to 'page': a session is created on page load and is not renewed on navigation. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- It no longer captures performance.mark() and performance.measure() spans by default and no longer accepts an _experiments object. Interaction timeout options belong on interactionsIntegration. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Deprecated build-time configuration options were removed and can no longer be used. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Replaces the legacy `http.client_ip` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- AWS Lambda spans use this attribute instead of `faas.id` for the invoked function ARN. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `code.filepath` on `ui.long_animation_frame` spans. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Span-operation details such as framework, library, method, or lifecycle phase are preserved in attributes including this one. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Ember's `init` span is now named `Component mount`; update filters that matched the previous name. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The breadcrumbsIntegration console option was removed. Console breadcrumbs now come from the default consoleIntegration. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Data collection is enabled by default. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0)
- dataCollection replaces sendDefaultPii. (10.55.0, 11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.55.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Incoming HTTP body capture is controlled by dataCollection.httpBodies. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Data collection is enabled by default, and request data collection is aligned with v11 defaults. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Replaces the legacy `db.mongodb.collection` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Redis and ioredis instrumentations no longer emit this attribute; connections are described by `server.address` and `server.port` instead. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `db.name` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `db.operation` span attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `db.statement`; SQL query spans also include a sanitized-statement summary in `db.query.summary`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `db.system` and carries database-system identity; Mongoose spans report `mongodb` rather than `mongoose`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The default environment and deploy names no longer use the vercel- prefix. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The option was removed; channel-based instrumentation means the SDK can no longer detect when a framework was imported before Sentry.init(). (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Events created from a DOMException no longer carry this tag. Switch searches and alert rules using it to error.type. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The enableLogs option is removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The enableMetrics option is removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Replace skipOpenTelemetrySetup with enableOpenTelemetrySetup for OpenTelemetry setup control. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The enableTruncation flag and AI integration truncation logic are removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- endTimestamp is removed from SentrySpanArguments. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- On `file` spans, replaces `fs_error` and holds the syscall error code rather than the full message. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The integration reports its name as EventFilters instead of InboundFilters. Update references that look it up by name. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The deprecated _experiments.enableLogs option is removed. (10.0.0, 11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- AWS Lambda spans use this attribute instead of `faas.execution` for the request ID; Lambda `Invoke` spans from `awsIntegration` also use it. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Span-operation details are preserved in attributes including this one. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Next.js framework-function spans use the consolidated `function` operation instead of `function.nextjs`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `ai.pipeline.name` and `langchain.chain.name`; it is omitted for unnamed chains instead of being set to `unknown_chain`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The Anthropic integration no longer sets this attribute; legacy Completions prompts are reported as user messages on `gen_ai.input.messages`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- gen_ai.system is renamed to gen_ai.provider.name. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `ai.streaming` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- gen_ai.tool.input is renamed to gen_ai.tool.call.arguments. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- gen_ai.tool.output is renamed to gen_ai.tool.call.result. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- gen_ai.request.available_tools is renamed to gen_ai.tool.definitions. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The deprecated gen_ai.tool.type span attribute is no longer set. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0)
- No longer set on tool spans. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy cache-creation token usage attributes. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy cache-read and cached-input token usage attributes. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy reasoning output-token attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- genAI defaults now collect AI data by default. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Deprecated http.* span attributes are renamed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Replaces the legacy request content-length attribute and is always reported from the server-side `content-length` header. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Cookie attributes are no longer split by cookie name; this attribute holds ordered `name=value` entries, with sensitive values filtered. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Set-Cookie attributes are no longer split by cookie name; this attribute holds ordered `name=value` entries, with sensitive values filtered and attributes omitted. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- HTTP header attributes preserve hyphens in header names and report values as string arrays, with one entry per value. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `http.method` and is now the request-method key in `SanitizedRequestData` for HTTP breadcrumb and client-span data. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `url.same_origin` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `http.decoded_response_content_length` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy response content-length attribute and is always reported from the server-side `content-length` header. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `http.response_transfer_size` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `http.status_code` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `http.status_text` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The deprecated http.target span attribute is replaced. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Use this option to drop spans in place of ignoreTransactions; filtering a service span also drops its child spans. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- No longer does anything in stream mode; use ignoreSpans to drop spans. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The deprecated inboundFiltersIntegration is removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The export was removed; the integration now reports itself as EventFilters. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The positional spanOrigin argument was removed. Pass an options object as the last argument instead. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The deprecated instrumentLangGraph API is removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Span kind is removed and moved to the sentry.kind attribute. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Koa router and middleware spans no longer set this attribute; use `http.route` for the route and `code.function.name` for the middleware handler. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Locale routes such as `[lng]` are parameterized, and narrower routes take precedence over catch-alls. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- AMQP instrumentation no longer emits this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Web-server middleware spans use the consolidated `middleware` operation instead of framework-specific operations, including Next.js `http.server.middleware`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Deprecated net. span attributes are renamed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Replaces the legacy `net.host.ip` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `net.host.port` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `net.peer.ip` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `net.peer.port` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `http.flavor`; HTTP instrumentation reports the protocol version here. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `net.transport`; transport values change from `ip_tcp` and `ip_udp` to `tcp` and `udp`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Support for Next.js 13 was removed, requiring applications to use a newer Next.js version. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The minimum supported Node.js version is now 20.19.0. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The SDK no longer takes over your OpenTelemetry setup, improving interoperability with existing OpenTelemetry configurations. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Tracing is removed from pages router API routes. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- SDK initialization via --require is no longer supported. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Vue Router uses this attribute instead of `navigation.route.id`, with the same matched route name. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- tRPC spans now use the rpc span operation. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0)
- Safari 14 is no longer supported; the supported Safari and iOS Safari versions start at 15. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- attributes are now required in the sampling context. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Scope tags and extra are no longer applied to streamed spans, including the service span; use attributes for data searchable on spans, logs, and metrics. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The scope.clear() method is removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- attributes are now required on ScopeData. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The re-export was removed; import attribute constants directly from `@sentry/core`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaced by dataCollection; remove sendDefaultPii: true because the v11 default matches that behavior. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Browser-only exports moved from @sentry/core to this subpath; platform SDKs continue to re-export as before. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Server-only exports moved from @sentry/core to this subpath; platform SDKs continue to re-export as before. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The package was merged back into @sentry/node. Import its contents from @sentry/node. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The package was removed; use @sentry/tanstackstart-react. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The package is no longer published. Import types from @sentry/core. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The Cloudflare-specific attribute is no longer set. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Metrics moved out of the base CDN bundle and are available only in *.logs.metrics bundles. On other bundles, the API is a no-op that warns in debug builds. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- AWS Lambda spans set this attribute to `component` in both trace lifecycles. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `sentry.source` and is set only on the root span. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The API now rejects with an Error in all failure cases; read the unchanged, customizable message from error.message. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces legacy host and peer name attributes, including `http.host`, `net.host.name`, and `net.peer.name`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Database spans use `server.port` instead of the legacy `net.peer.port` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Events with a stack trace count as errors, so captureMessage marks the current session as errored. Crash-free session rate is not affected. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Use attributes instead of scope tags for data that should be searchable on spans, logs, and metrics; attributes accept strings, numbers, booleans, and arrays of those. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- In stream mode, names follow Sentry conventions and avoid URLs, route parameters, and other client-supplied values; update name-based filters to use attributes such as url.full or http.route. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- spanToJSON now returns StreamedSpanJSON. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- This helper was removed; replace calls with spanToJSON. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The streamGenAiSpans flag is removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- tracePropagation and propagateTrace option names are unified. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Set to 'static' to retain the previous transaction-based tracing model; transaction mode is a temporary backwards-compatibility measure. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- String and regular expression matching is now case-insensitive, and g and y flags are ignored because they made matching stateful. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Tunnel route requests no longer bypass middleware. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- TypeScript 3.8 is no longer supported. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The minimum required TypeScript version is 5.0.4, and the SDK no longer ships down-leveled types. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The unstable_sentryWebpackPluginOptions configuration was removed. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Replaces the legacy `http.fragment` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- All spans now use url.full, url.fragment and url.query. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- TanStack Router reports path parameters here instead of under `url.path.params.<key>`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces `http.query` and is used with `url.path` in place of `http.target`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Replaces the legacy `http.scheme` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- urlQueryParams replaces queryParams. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Replaces the legacy `http.user_agent` attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Use this integration instead of the removed addVercelAiProcessors helper. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Vue's `Application Render` span is now named `Root`; update filters that matched the previous name. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- withSentryConfig moved to the @sentry/nextjs/config subpath. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)

### Security

- Query parameters are filtered in request error context to avoid sending sensitive values to Sentry. (11.7.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.7.0)

### Deprecations

- The webpack.treeshake option is deprecated because bundleSizeOptimizations takes precedence when both are set. (11.7.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.7.0)
- This option is deprecated. To disable INP, use browserTracingIntegration({ webVitals: { ignore: ["inp"] } }). (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Nested reactComponentAnnotation options now emit deprecation notices. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The wrapper is now a no-op because streamed payloads are the default, and it is deprecated. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)

### New APIs and options

- OpenAI decisions.create calls now produce gen_ai.decide spans for tracing. (11.8.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.8.0)
- Adds a Cloudflare Workers entry point exporting withSentry for Next.js Worker handlers, providing the same spans as on Node.js. (11.6.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.6.0)
- Next.js route provider registration enables route provider handling for Next.js applications. (11.3.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.3.0)
- Runtimes without auto-instrumentation can manually instrument TypeSafe clients. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- A default integration now automatically wraps MCP server instances, so manual wrapping is no longer required. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- showReportDialog now accepts an onError callback. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- A default integration creates evaluation spans for TypeSafe calls through the TypeSafe SDK. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- BrowserOptions now supports the TransportOptions generic. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- SQL query spans now include the summary of the sanitized statement in both trace lifecycles. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- GraphQL processing type is retained as an attribute when span names no longer include the processing phase. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- AMQP instrumentation reports the message conversation ID using this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- AMQP instrumentation reports the messaging operation name using this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- AMQP instrumentation reports the RabbitMQ destination routing key using this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- In Node.js, Bun, Vercel Edge, and Cloudflare, set this environment variable to static to retain transaction mode. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Restore vitals are collected by default in stream mode when instrumentBfcacheRestore is enabled. Set this option to false to disable collection. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)

### Performance

- Webpack and Turbopack use faster component annotation, improving bundler performance. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)

### Behavior and default changes

- The LinkedErrors integration now supports SuppressedError instances. (11.8.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.8.0)
- The top-level option now removes unused SDK code in webpack and Turbopack builds. (11.7.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.7.0)
- use cache fill spans now include the code.file.path attribute, providing the source file path for these spans. (11.5.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.5.0)
- Repeated Sentry.init() calls now warn; @sentry/nextjs returns the active client instead of undefined. (11.5.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.5.0)
- The server instrumentation now supports amqplib v2. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- Vercel AI evaluation calls now create gen_ai.evaluate spans containing evaluation inputs and outputs. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- Prisma 8 ORM calls now produce nested database query spans without requiring code changes. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- The Turbopack orchestrion loader now runs only for instrumented packages. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- AWS Lambda spans fall back to `Serverless function execution` when neither invocation context nor this environment variable provides a name. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- beforeSendSpan is compatible with streamed spans by default. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Event Timing and INP spans keep the DOM path on this attribute in both trace lifecycles; match it instead of filtering by DOM path elsewhere. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- BrowserTracing now automatically adds the WebVitals integration. Configure Web Vitals through webVitals options or register webVitalsIntegration explicitly. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Next.js build options are aligned with BuildTimeOptionsBase. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Cache spans now carry this attribute with the cache operation (get, put, or remove); cache keys are no longer part of span names. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Default environment and deploy names no longer include the vercel- prefix. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0)
- GCP and Firebase function names come from `FUNCTION_TARGET` or `K_SERVICE`; the function name remains on `faas.name`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Next.js function spans emit low-cardinality names. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Framework functions now use the function span operation. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- GCP and Firebase trigger details are reported on `gcp.function.context.*`. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- The legacy Anthropic Completions API prompt is reported as a user message on this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Terminal request handlers now use the handler span operation. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Click idle spans copy this attribute from the route span. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Runs when a span starts, before its final name may be available; match span attributes instead of relying on names. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- BrowserTracing now starts a navigation span after a back/forward-cache restore by default. Set this option to false to disable it. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Locale routes using [lng] are parameterized, and narrower routes are preferred over catch-alls. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0)
- Long task and long animation frame span names remain unchanged. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- AMQP instrumentation reports the destination name using this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- AMQP instrumentation reports the message ID using this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Next.js middleware spans now use the middleware span operation. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Web-server middleware now uses the middleware span operation. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Build-time instrumentation is automatically wired for Next.js projects. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Next.js prerender control flow errors are no longer reported to Sentry. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- reactComponentAnnotation behavior is unified across webpack and Turbopack. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Its include options remain integration-level overrides: explicit false excludes a category and explicit true attaches it, subject to allow or deny filtering. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Backend router layers now use the router span operation. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0)
- Click idle spans copy this route attribute from the route span. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Component spans retain their original names on this attribute when their span names change. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Span-operation details that previously lived in the op are preserved in attributes including this one. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Function spans for server components emit low-cardinality names. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- The silent option now also suppresses the SDK's own build logs. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Span streaming is enabled by default. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Static route span names are now treated as low-cardinality names. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- tracePropagationTargets matching is now case-insensitive. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Request data is now available to tracesSampler for edge middleware root spans. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Runs when a span starts, before its final name may be available; match span attributes instead of relying on names. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Unsupported Turbopack warnings are now printed only once. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Click idle spans copy this attribute from the route span. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Click idle spans copy this attribute from the route span; use it for route-path matching in sampling filters. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Click idle spans copy this attribute from the route span. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Cache spans are recorded for use cache functions. (11.0.0) — [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Soft-navigation vitals are enabled by default in stream mode on browsers supporting the Soft Navigations API. Set this option to false to keep one set of vitals for the page lifetime. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)

### Tooling

- Bundler plugins now use the sentry CLI SDK instead of @sentry/cli. (11.8.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.8.0)

### Fixes and other changes

- Corrects telemetry timestamps after device sleep by detecting performance clock drift and recalculating span end times. (11.6.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.6.0)
- Pages Router error request URLs now include the configured basePath. (10.76.1, 11.5.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.5.0), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.76.1)
- Requests using @sentry/cloudflare no longer initialize Sentry inside the request. (11.5.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.5.0)
- Next.js unauthorized() errors are no longer captured as errors. (11.5.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.5.0)
- Absolute router navigation URLs are no longer incorrectly prefixed with basePath. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- The server instrumentation now supports tedious v20. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- Turbopack loaders no longer load the Sentry CLI. (11.1.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.1.0)
- Server chunks no longer embed absolute filesystem paths. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- CLS DOM paths remain on this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- LCP DOM paths remain on this attribute. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)
- Adds an import.meta.url shim to address an Orchestrion bundling regression in Next.js. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Turbopack development-server stack frames now receive correct in_app attribution. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Tunnel route requests are no longer bypassed by middleware. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0)
- Back and forward navigation types are preserved during span streaming. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- SourceMappingURL stripping no longer truncates minified chunks. (11.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0), [upgrade guide](https://github.com/getsentry/sentry-javascript/blob/3e02c87cd51066b147ab37c5c33b44bfe69ae3cd/CHANGELOG.md)
- Event Timing and INP spans keep the annotated component on this attribute in both trace lifecycles. (11.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/)

## @sentry/vue 10

### Breaking changes

- Errors propagated to application code are no longer reported as unhandled before application error handling runs; uncaught errors remain captured globally. (10.72.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.72.0)
- Removes the optional vite peer dependency from server-utils. (10.60.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.60.0)
- dataCollection.userInfo now defaults to true when dataCollection is provided, collecting auto-populated user fields by default. (10.57.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0)
- Request data is migrated to dataCollection, changing how request data collection is configured. (10.55.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.55.0)
- Log-event inference of user data is now gated by sendDefaultPii instead of being enabled by default. (10.52.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.52.0)
- The provider-specific response timestamp attribute was removed without a replacement. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The flags context is now attached only to error events. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The provider-specific attribute was removed; use gen_ai.response.id instead. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The provider-specific attribute was removed; use gen_ai.response.model instead. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The provider-specific response timestamp attribute was removed without a replacement. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The provider-specific attribute was removed; use gen_ai.usage.output_tokens instead. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The provider-specific attribute was removed; use gen_ai.usage.input_tokens instead. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- Pino version 9.10 or newer is required to continue receiving Pino logs. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- Tracing is removed from the Next.js generation function template. (10.34.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.34.0)
- Always redacts sensitive header content, including when sendDefaultPii is enabled. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- The default value of maxValueLength: 250 was removed. (10.23.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.23.0)
- BaseClient was removed; use Client as a direct replacement. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- The experimental beforeSendLog option is removed. (10.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- The experimental enableLogs option is removed. (10.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- The option was removed because its behavior is now the default. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- The option was removed; use the top-level beforeSendLog option instead. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/)
- The SDK no longer reports the First Input Delay web vital; remove event-processing logic and alerts that depend on FID or switch them to INP. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- hasTracingEnabled was removed; use hasSpansEnabled as a direct replacement. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- The internal logger export in @sentry/core was removed; use debug instead. The Sentry Logging logger export is unaffected. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/)
- The Logger type export in @sentry/core was removed; use SentryDebugLogger instead. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/)
- The deprecated logger is removed. (10.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- OpenTelemetry dependencies and instrumentations were upgraded, changing the Node.js compatibility range; use SDK v9 or @sentry/node-core if you cannot run OpenTelemetry v2. (10.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)

### Security

- Aligned tunnel request matching in middleware with the tunnel rewrite behavior. (9.47.2, 10.75.2) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.47.2), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.75.2), [security advisory](https://github.com/advisories/GHSA-MCHM-GJX6-7H55)
- Lone surrogates are sanitized in log bodies and attributes before processing or transmission. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- Data URLs in http.client spans are sanitized. (10.36.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.36.0)
- Allows sensitive routes to be excluded from injection into the client bundle. (10.34.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.34.0)
- Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true` (10.27.0) — [security advisory](https://github.com/advisories/GHSA-6465-JGVQ-JHGP)

### Deprecations

- Importing withSentryConfig from the existing entry point still works but logs a warning once, encouraging migration to the new path. (10.73.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.73.0)
- The scope.clear() method is deprecated. (10.71.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.71.0)
- sendDefaultPii is deprecated in favor of dataCollection and will be removed in v11. (10.57.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0)
- The streamed fetch performance option is deprecated and replaced by fetchStreamPerformanceIntegration. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- The Next.js integration now prints a Turbopack note when deprecated webpack options are used. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- Webpack top-level options are deprecated in the Next.js integration; developers should avoid configuring Sentry through these options. (10.30.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.30.0)
- Deprecates transaction-based profiling through profilesSampleRate in favor of UI profiling sessions. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Metric options under _experiments are deprecated but continue working until the next major SDK version. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)

### New APIs and options

- Accepts a CollectBehavior shorthand for configuring HTTP header data collection. (10.75.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.75.0)
- Adds a new entry point exporting withSentryConfig, allowing next.config imports to remain compatible with the v11 path. (10.73.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.73.0)
- HTTP server spans now include parameterized routes through the http.route attribute. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- HTTP server spans now include the complete request URL. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- HTTP server spans now include the request URL path. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- A new instrumentStateGraph API is available for instrumenting state graphs. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- Stack frame variables can now be filtered by variable name. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- @sentry/nextjs adds an opt-in for orchestrion instrumentation. (10.66.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.66.0)
- Set this Sentry.init option to opt out of the minimal provider and use OpenTelemetry's full BasicTracerProvider. (10.64.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.64.0)
- A new method lets developers extend integrations. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- The async context strategy exposes whether tracing is suppressed. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- Resource spans now include the url.full attribute for fuller URL details. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- Adds functionality for recording database query summaries. (10.61.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0)
- Adds a top-level API for setting Sentry attributes. (10.61.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0)
- Adds a top-level API for setting multiple Sentry attributes. (10.61.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0)
- Adds an API to bind a Sentry scope to an event emitter. (10.60.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.60.0)
- The dataCollection option lets you control each category of collected data. (10.57.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0)
- Adds a client option for centrally controlling what data SDK features collect and send to Sentry. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- Adds an integration for measuring time-to-first-byte and streaming duration of streamed fetch responses. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- Adds a top-level applicationKey option to Next.js configuration. (10.53.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.53.0)
- Adds an option to send gen_ai spans separately when transaction payload size limits would otherwise drop them. (10.53.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.53.0)
- A client lifecycle hook now lets applications react when a replay session ends. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- A client lifecycle hook now lets applications react when a replay session starts. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- A tracing utility was added to propagate context across operations. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- AI integrations can control whether large AI inputs and outputs are truncated. (10.49.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.49.0)
- Exposes rewriteSources as a top-level configuration option. (10.49.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.49.0)
- Adds an integration that captures the DOM structure when an error occurs for debugging. (10.49.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.49.0)
- Adds instrumentation for LangChain embeddings, creating gen_ai.embeddings spans; use this API in runtimes without automatic instrumentation. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The MCP integration now supports registerPrompt. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The MCP integration now supports registerResource. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- The MCP integration now supports registerTool. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- Adds instrumentation for Vercel queues in Next.js applications. (10.44.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.44.0)
- Adds experimental Turbopack React component name annotation for Next.js 16+, enabling component names in Replays, breadcrumbs, and performance monitoring. (10.43.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.43.0)
- Adds an experimental application key for enabling third-party error filtering in Turbopack builds. (10.41.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.41.0)
- A top-level option now controls which source map files are deleted after upload. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- Enables automatic creation of Sentry cron monitors for Vercel Cron Jobs. (10.39.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.39.0)
- Adds an API to set a conversation ID that is automatically applied to spans, linking traces from the same multi-turn AI conversation. (10.37.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.37.0)
- Database spans support the db.system.name attribute. (10.36.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.36.0)
- Prisma v7 is supported by the Sentry integration. (10.36.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.36.0)
- Client reports can now identify ignored events with the ignored drop reason. (10.35.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.35.0)
- Enables additional context in fetch error messages to help with debugging. (10.34.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.34.0)
- OpenAI and LangChain instrumentation now adds the gen_ai.conversation.id attribute. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- Tracing now adds gen_ai.request.messages.original_length attributes. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- thirdPartyErrorFilterIntegration now supports ignoring Sentry internal frames during third-party error filtering. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- WASM stack frames can receive an application key for first-party detection by thirdPartyErrorFilterIntegration. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- Replay can attach raw request bodies from Request objects passed as the first fetch argument. (10.32.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.32.0)
- SDK scope attributes are applied to logs while their respective scopes are active. (10.32.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.32.0)
- Webpack tree-shaking flags can now be configured for the Next.js SDK. (10.32.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.32.0)
- Exports parameter types for captureException and captureMessage for use by TypeScript consumers. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Postgres.js instrumentation now supports ESM usage. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Adds the propagateTraceparent option for Node integrations. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Adds tracing support for AzureOpenAI. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Adds gibibyte and pebibyte values to the InformationUnit type. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Adds the manual UI profiling lifecycle mode, which is now the default and enables explicit profile control. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Introduces profileSessionSampleRate as the replacement for deprecated transaction-based profiling. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Adds APIs for working with scope attributes. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Adds an API to manually start UI profiling. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Adds support for universal random tunnel paths in Next.js. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Adds support for instrumenting LangGraph StateGraph operations in Node. (10.26.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.26.0)
- The Node instrumentation supports OpenAI SDK v6 integrations. (10.26.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.26.0)
- Adds beforeSendMetric as a top-level option for metric processing. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)
- Adds enableMetrics as a top-level option for controlling metric sending. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)
- Added automatic instrumentation for Firebase v2 Cloud Functions when tracing is enabled, providing performance tracking and error monitoring. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Added LangChain instrumentation support for Cloudflare and Vercel Edge environments. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Proxy files can now use the Node runtime, expanding runtime choices for Next.js proxy implementations. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Added LangChain AI instrumentation configurable through Sentry.langChainIntegration. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Added recordInputs to control whether prompts and messages are recorded by LangChain instrumentation. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Added recordOutputs to control whether LangChain responses are recorded. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Next.js proxy files are now supported by the integration. (10.21.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.21.0)
- Adds strictTraceContinuation. (10.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)

### Behavior and default changes

- Attachments are excluded from internal exception events, preventing them from being included in those events. (10.76.2) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.76.2)
- Token usage is normalized while cache breakdowns are preserved for more consistent AI telemetry. (10.76.2) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.76.2)
- The SDK no longer instruments its own envelope requests, avoiding self-instrumentation. (10.75.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.75.0)
- The Pages Router runtime is excluded from App Router client bundles, reducing unintended client bundle content. (10.74.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.74.0)
- Vercel AI span processors are registered on Next.js for proper AI span processing. (10.74.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.74.0)
- The enableLogs client option now defaults to true, enabling Sentry Logs when logging APIs or integrations are actively used; set it to false to opt out. (10.71.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.71.0)
- Anthropic client instrumentation now instruments the client in place instead of using a deep proxy. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- Dataloader spans now include a cache.key attribute for identifying the associated cache key. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- Redis delete operations are captured as cache.remove operations. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- Core fetch instrumentation now records the complete request URL. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- Pageload and navigation spans now include url attributes, improving URL context in Next.js tracing data. (10.65.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.65.0)
- The Node SDK now uses Sentry's minimal tracer provider by default, reducing overhead when the full OpenTelemetry tracing stack is unnecessary. (10.64.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.64.0)
- Root-span sampling contexts now receive normalizedRequest for sampling decisions. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- vercelAiIntegration now supports v7 of the ai package, though v7 is not yet supported on Cloudflare. (10.62.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.62.0)
- AI message data is no longer truncated by default because streamed gen AI spans are not constrained by transaction size limits. (10.61.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0)
- Gen AI spans are streamed by default, preventing them from being dropped when transaction payloads exceed size limits. (10.61.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.61.0)
- Gen AI message truncation is disabled by default when streamed Gen AI spans are enabled. (10.59.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0)
- Streamed spans now use production as the default sentry.environment attribute value. (10.59.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0)
- TwP sampling is deferred by reading trace state from the scope. (10.59.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0)
- The ContextLines integration now uses dataCollection.frameContextLines. (10.57.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0)
- dataCollection.httpBodies now defaults to all valid body types. (10.57.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0)
- Primitive arrays are accepted as attribute values, while arrays with non-primitive elements are dropped; log and metric arrays are sent as actual arrays. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- The Next.js project option type now accepts either a string or an array of strings. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- Unwanted segments are filtered when span streaming is enabled. (10.51.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.51.0)
- Sentry now sets a global attribute indicating whether Turbopack is being used. (10.51.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.51.0)
- Discarded spans requiring a parent now emit a `no_parent_span` client outcome. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- The google-genai integration no longer emits spans for chats.create. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- Aligns Turbopack module metadata injection with webpack behavior, improving consistency for Next.js builds. (10.43.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.43.0)
- The Consola integration extracts the first-parameter object as searchable attributes. (10.42.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.42.0)
- A new page session lifecycle keeps the initial session across soft navigations until a hard refresh. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- Capturing an exception with captureUnderscoreErrorException now exposes an event ID. (10.39.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.39.0)
- The Next.js integration now sets the Cloudflare runtime. (10.39.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.39.0)
- DebugID injection is turned off when sourcemaps are explicitly disabled, preventing unwanted instrumentation in that configuration. (10.38.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.38.0)
- Updates the default ignore list used for sourcemaps in Next.js projects. (10.37.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.37.0)
- DSNs can now use IPv6 hosts. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- Scope attributes are now applied to metrics while the respective scopes are active; string, number, and boolean values are supported. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- The Next.js integration now emits a warning when treeshaking and debug settings conflict. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- Tracing and error monitoring now work automatically with Vercel AI SDK v6. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- Cookie headers are now parsed into individual cookies. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- The span attribute now contains only the GraphQL query string instead of the full JSON request payload. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Now supports GraphQL persisted operations by capturing the operation hash and protocol version as span attributes. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Inline media is stripped from tracing messages. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- cacheComponents is now supported on Turbopack builds. (10.28.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.28.0)
- Next.js integrations add detection for Cloudflare's waitUntil capability. (10.28.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.28.0)
- Adds buffering for incoming client events. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Server-side transaction events now include the request URL, providing additional transaction context. (10.26.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.26.0)
- Request string inputs are truncated in the OpenAI integration to limit captured request data. (10.25.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.25.0)
- Spotlight is now included in development bundles, making development-time Spotlight functionality available by default. (10.25.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.25.0)
- The Next.js integration now deletes CSS map files. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)
- Metrics are now enabled by default, although integrations do not automatically emit metrics. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)
- The browser transport buffer is now limited in size. (10.23.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.23.0)
- Server SDK envelope requests now send a user-agent header. (10.23.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.23.0)
- AI integrations now truncate request messages, limiting the size of recorded request data. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Passes requestHook through to OpenTelemetry instrumentation. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Passes responseHook through to OpenTelemetry instrumentation. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Preparation for the Next.js 16 bundler default may affect bundler-related project decisions. (10.20.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.20.0)

### Tooling

- Immutable browser chunks are now included in uploaded assets, improving source map or asset upload coverage for Next.js builds. (10.64.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.64.0)
- Published packages now include subpath type shims, improving type resolution for subpath imports. (10.53.1) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.53.1)
- Turbopack loaders now use the not: foreign condition. (10.41.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.41.0)
- Experimental support was added for using thirdPartyErrorFilterIntegration with Turbopack builds in Next.js 16+. (10.41.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.41.0)
- Next.js applications using Turbopack can use native Debug IDs for improved source map resolution and error tracking. (10.20.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.20.0)

### Fixes and other changes

- HTTP spans named after the request method are detected correctly, improving HTTP span instrumentation. (10.76.2) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.76.2)
- Resolves the Next.js version relative to the SDK when the current working directory differs. (10.75.1) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.75.1)
- Sourcemap upload now includes only emitted chunk directories, preventing unrelated directories from being uploaded. (10.75.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.75.0)
- SDK imports no longer crash under jsdom or happy-dom environments. (10.74.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.74.0)
- Auto-instrumentation now supports OpenAI v7, allowing applications using that package version to be instrumented correctly. (10.72.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.72.0)
- Child span tracking is bounded on long-lived spans, preventing unbounded tracking over their lifetime. (10.71.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.71.0)
- Tracing is no longer added to middleware wrappers, preventing unintended tracing behavior. (10.70.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.70.0)
- Fixed a meriyah issue affecting standalone builds in Next.js. (10.70.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.70.0)
- Baggage with the string value undefined is no longer propagated when dynamic sampling context is missing. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- The integration no longer causes infinite recursions. (10.68.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.68.0)
- Internal chunk frames are now marked as not in_app, improving frame classification in Next.js events. (10.67.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.67.0)
- Root spans created by Middleware.execute are now handled correctly when Next.js middleware runs on the Node.js runtime. (10.64.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.64.0)
- Inferred fragment attributes no longer retain a leading hash. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- Inferred query attributes no longer retain a leading question mark. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- Streamed span status messages are serialized to the sentry.status.message attribute. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- Browser session envelopes are deferred until the browser is idle. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- Trace meta tags are no longer injected when Next.js Cache Components is enabled. (10.63.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.63.0)
- Node runtime no longer fails when tracingChannel is unavailable. (10.62.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.62.0)
- Ensures url.full and http.url have identical values on client HTTP spans. (10.60.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.60.0)
- Avoids directly importing tracingChannel to maintain compatibility with Node v18. (10.60.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.60.0)
- Outgoing HTTP instrumentation no longer crashes when requests use `//` paths. (10.59.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0)
- Safe random ID context is registered at module load to ensure it is available when needed. (10.59.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.59.0)
- Redirect server actions are marked as ok instead of internal_error. (10.58.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.58.0)
- pinoIntegration is now shimmed on the edge runtime, preventing edge-runtime integration issues. (10.57.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0)
- __SENTRY_SERVER_MODULES__ is read lazily so Turbopack injection is honored. (10.57.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.57.0)
- Correctly parses sampleRate when consistent trace sampling is enabled. (10.56.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.56.0)
- DOMException instances with empty stack traces now receive a synthetic stack trace when attachStacktrace is enabled. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- Internal frame detection is corrected for minified browser bundles, improving stack trace processing. (10.54.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.54.0)
- User data is no longer gated when streamed spans are read from scope. (10.53.1) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.53.1)
- Next.js build modification is skipped when SRI is enabled, preventing incompatible build changes. (10.52.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.52.0)
- Tunnel endpoint matching is narrowed to avoid matching endpoints too broadly. (10.51.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.51.0)
- GraphQL client spans are now enriched correctly when requests use relative URLs. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- Outgoing request span attributes are now protected against null `httpVersion` values. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- Implausible Largest Contentful Paint values are now filtered. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- Promise rejection handling now records the rejection reason instead of the Promise as `originalException`. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- Correlation handling now works correctly for stateless MCP wrapper transports. (10.50.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.50.0)
- Custom browser tracing setup is skipped for bot user agents. (10.49.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.49.0)
- Turbopack loaders now preserve directive prologues during processing. (10.49.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.49.0)
- MCP tool spans now receive error status when a tool returns a JSON-RPC error response. (10.48.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0)
- Tracing now skips tunnel requests, preventing tunnel traffic from being included in application traces. (10.45.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.45.0)
- Logs the correct lastEventId when an error is thrown during component rendering. (10.44.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.44.0)
- Removes sourceMappingURL comments after source maps are deleted in Turbopack builds. (10.44.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.44.0)
- promiseBuffer is no longer removed entirely. (10.42.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.42.0)
- Trailing slashes are normalized in App Router route parameterization. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- The environment from options is now applied when set. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- SSR pages now return the correct last event ID. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- Session user IDs are now consistently set, and the first soft navigation starts a new session correctly. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- When enabled, spans no longer receive the sentry.drop_transaction attribute. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- Non-transaction events now receive the parameterized transaction name. (10.40.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.40.0)
- The SENTRY_SERVER_MODULES value is now populated when using Turbopack. (10.39.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.39.0)
- Serverless environments receive fallback ALS runners. (10.36.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.36.0)
- Profiling debug ID matching is corrected. (10.36.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.36.0)
- Fetch options are shallow-cloned to prevent mutation. (10.35.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.35.0)
- IP address detection now finds the correct address regardless of case. (10.35.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.35.0)
- Vercel AI spans are detected by checking for the AI operation id. (10.35.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.35.0)
- Failed client reports no longer produce outcomes. (10.34.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.34.0)
- Client option types now allow explicitly passing undefined. (10.33.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.33.0)
- AI spans now receive operations when only a model ID is available. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Node-cron context is now passed through correctly. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Google GenAI tracing now includes the system prompt and model. (10.31.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.31.0)
- Anthropic AI message spans now include the system message. (10.29.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.29.0)
- Pino integration now supports the msg field, improving log capture for applications using Pino. (10.29.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.29.0)
- Vercel AI spans now include previously missing attributes. (10.29.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.29.0)
- Corrects the return type of beforeSendMetric. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Re-adds the _experiments.enableLogs option. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Fixes local-variable capture for out-of-app stack frames. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- Applies maxValueLength when processing error messages. (10.27.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.27.0)
- The ISR route cache now uses an LRU map to manage cached routes. (10.26.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.26.0)
- Meta trace tags are dropped when the rendered page uses ISR. (10.26.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.26.0)
- Middleware files are no longer wrapped when Next.js runs in standalone mode. (10.26.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.26.0)
- Development error symbolication now respects the PORT environment variable. (10.26.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.26.0)
- Session status updates from events with exceptions now consider only the exception mechanism. (10.25.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.25.0)
- Replay ignores background-image when blockAllMedia is enabled. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)
- Exception objects now include all keys instead of truncating them. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)
- The Next.js integration stops accessing synchronous props in its template. (10.24.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.24.0)
- The Next.js proxy template wrapping was updated. (10.23.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.23.0)
- Corrected async types when instrumenting Anthropic's streaming API. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Removed chalk usage in Next.js integration to prevent runtime errors. (10.22.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.22.0)
- Bundler detection in the Next.js integration was updated. (10.21.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.21.0)
- The integration no longer sets the experimental instrumentation hook flag for Next.js 16. (10.21.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.21.0)
- Transaction naming for internationalized routing is now consistent. (10.21.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.21.0)
- Fixes route manifest creation when a basePath is configured. (10.20.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.20.0)
- URL extraction handles async params. (10.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- Stackframe calls are updated for Next.js 15.5. (10.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)
- Route handlers now flush events. (10.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/10.0.0)

## @sentry/vue 9

### Breaking changes

- The method was removed; use the openTelemetryInstrumentations option in Sentry.init or a custom Sentry Client instead. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The option was removed. Session tracking is handled by browserSessionIntegration or httpIntegration, and processSessionIntegration replaces automatic per-process sessions in Node.js. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Client classes now have to extend BaseClient. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The hook can no longer drop spans by returning null; use integrations to control which spans are recorded. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The hook now receives root spans as well as child spans, so existing hooks may need to account for the additional input. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Use this integration to enable browser session tracking; remove it to disable session tracking in browser environments. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- With attachStacktrace: true in Sentry.init, console messages are now marked handled; set handled: false on the integration to keep sending them as unhandled. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Use captureFeedback instead of captureUserFeedback, and provide the feedback text in the message field rather than comments. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The method was removed; use captureFeedback and change the comments field to message. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Client usages now require BaseClient instances; the abstract Client class was removed and client classes must extend BaseClient. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The integration was removed; use hook options such as beforeSend or beforeSendTransaction to log outgoing events. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- SDK code may now use ES2020 features. Runtimes that do not support them may require SDK transpilation. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The option was removed; set tracesSampleRate to 1 or 0 instead. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The experimental_captureRequestError option was removed. (9.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)
- The getCurrentHub API was removed from the SDK. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The getCurrentHubShim API was removed from the SDK. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Use httpIntegration for server session tracking; set trackIncomingRequestsAsSessions to false to disable it. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The Hub API was removed from the SDK. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The previous metrics beta API has been removed; a new Metrics feature is available in the latest SDK versions. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The minimum supported browser versions now include Chrome 80, Edge 80, Safari 14, iOS Safari 14.4, Firefox 74, Opera 67, and Samsung Internet 13.0. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Node.js >=18 is now the minimum supported version. (9.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)
- Use this Sentry.init option or a custom Sentry Client to provide OpenTelemetry instrumentations. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- This integration replaces automatic session creation for every Node.js process when autoSessionTracking was true, and is configured by default. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Use this property instead of samplingContext.request; its type differs from request. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The request property was removed from the samplingContext argument to tracesSampler and profilesSampler; use samplingContext.normalizedRequest instead. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The property was removed; object attributes are now available at the top level of samplingContext. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Scope usages now require Scope instances rather than structurally similar values. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The SDK no longer instructs the Sentry backend to automatically infer IP addresses by default; set sendDefaultPii: true to request IP inference. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/), [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)
- The package is no longer published on the deno.land registry; import it from npm instead. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The package is no longer published; its exports and APIs have moved to @sentry/core, except for APIs explicitly removed in the migration guide. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The integration was removed; use Sentry.setContext() to capture session durations alongside events. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- A custom scope passed to startSpan is cloned in v9, so scope changes made through the active scope remain within the callback; modify the custom scope directly to persist changes outside it. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- Passing undefined is treated the same as leaving the option undefined, so negative sampling decisions are no longer propagated in this case. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)
- The minimum required TypeScript version is increased to 5.0.4. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)

### Deprecations

- The package remains published but is deprecated, its API will not be extended, and it will not be published in future major versions. (9.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/)

### New APIs and options

- An option was added to skip requestAnimationFrame for canvas snapshots. (9.47.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.47.0)

### Behavior and default changes

- Release names no longer rely on the Next.js Build ID. (9.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)

### Tooling

- The SDK uses the batched devserver symbolication endpoint. (9.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)

### Fixes and other changes

- Logs no longer suffer flush timeout starvation during continuous logging. (9.47.1) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.47.1)
- Logs beyond MAX_LOG_BUFFER_SIZE are no longer swallowed. (9.47.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.47.0)
- captureRequestError flushes with waitUntil. (9.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)
- The SDK respects user-provided source map generation settings. (9.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)
- The sourcemaps.disable setting is forwarded directly to the webpack plugin. (9.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/9.0.0)

## @sentry/vue 8

### Breaking changes

- The function was removed in favor of adding an event processor to the global scope. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Use the function-based browser tracing integration instead of constructing BrowserTracing. (8.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.0.0)
- Integrations are functions rather than classes; class construction and access through the Integrations.XXX hash are replaced by functional integrations. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Deprecations from the v7 cycle were removed, except for getCurrentHub(), and can no longer be used in v8. (8.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.0.0)
- The SDK now requires ES2018 compatibility and support for globalThis; older environments may need transpilation and polyfills. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Metrics APIs no longer require enabling the metrics aggregator through this experimental option. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The SDK requires the fetch API because makeFetchTransport is the only available transport. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The property now removes the specified number of frames from the parsed stack, rather than lines from the stack string. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Use this function in place of the removed spanStatusfromHttpCode function. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The XHR transport was removed; only makeFetchTransport is available, so the environment must provide fetch. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The @sentry/migr8 migration codemod requires Node 18 or later. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The minimum supported Node.js version is 14.8.0. (8.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.0.0)
- Full support for ESM-based Node.js apps requires Node.js 18.19.0 or higher. (8.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.0.0)
- The Offline integration was removed in favor of the offline transport wrapper. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Import and initialize the SDK before any other import so auto-instrumentation works. (8.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.0.0)
- The package was removed and will no longer be published; pluggable integrations moved to @sentry/browser as functions. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The package is no longer required; import Replay methods directly from the SDK and use its functional integration. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The top-level function was removed; use Sentry.getCurrentScope() to access and mutate the current scope. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Add an event processor to the global scope using this API in place of addGlobalEventProcessor. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Replay integration is now functional instead of class-based. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The export was removed and has no replacement API. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The Severity enum was removed; use the SeverityLevel type directly. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- SDK packages no longer export the Span class, which is not intended for direct user use. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The revamped custom tracing instrumentation API removes span.startChild. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The function was removed in favor of getSpanStatusFromHttpCode. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The revamped custom tracing instrumentation API removes startTransaction. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- In browsers, when unset, tracing headers are attached to same-origin outgoing requests rather than targets matching the previous localhost and relative-URL defaults. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Configured entries are now matched against the full outgoing request URL instead of only the request argument. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The callback receives name and attributes directly instead of transactionContext; attributes reflect span-creation time and may omit later-set values. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The option was removed in favor of tracePropagationTargets, which is set in Sentry.init() or custom Client options. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The Transaction integration was removed from @sentry/integrations and has no replacement API. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The Next.js SDK no longer supports this option; configure Webpack and Next.js to down-compile the SDK if older browsers must be supported. (8.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.0.0)
- The send method must return a promise of TransportMakeRequestResponse; void is no longer allowed. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The Replay option now defaults to an empty array, so set it explicitly to use it. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- The Replay option now defaults to an empty array, so set it explicitly to use it. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)

### Deprecations

- getCurrentHub remains available for now but is deprecated and will be removed in the next major version in favor of the new Scope API. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Hub remains available for now but is deprecated and will be removed in the next major version in favor of the new Scope API. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)

### New APIs and options

- Use this utility to check whether Sentry was initialized, rather than relying on getClient(). (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)

### Behavior and default changes

- The SDK now filters gmo errors and Facebook mobile errors. (8.55.1) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.55.1)
- The integration now examines error.cause by default. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- After Sentry.init() has been called, getClient() always returns a client; use Sentry.isInitialized() to check initialization. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)
- Browser metrics APIs no longer require adding this integration to the integrations array. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)

### Tooling

- Run the migration codemod to automatically update many deprecated SDK usages; it requires Node 18 or later. (8.0.0) — [upgrade guide](https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/)

### Fixes and other changes

- The install script again builds binaries from source, restoring successful installation behavior for profiling-related packages. (8.55.2) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.55.2)
- Performance measure spans now always have a positive duration. (8.55.1) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.55.1)
- The performance monitoring and tracing API has been streamlined. (8.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/8.0.0)

## @sentry/vue 7

### Breaking changes

- The Integrations.BrowserTracing export was removed from @sentry/nextjs; import BrowserTracing from @sentry/nextjs directly. (7.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/7.0.0)

### Performance

- The webpack plugin and CLI binary detection were changed, which should reduce bundle size of NextJS applications. (7.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/7.0.0)

## @sentry/vue 6

### Breaking changes

- Session tracking is enabled by default for SDKs that support sending session data; set autoSessionTracking to false during SDK initialization to opt out. (6.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/6.0.0)

### New APIs and options

- Set autoSessionTracking to false during SDK initialization to opt out of session tracking. (6.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/6.0.0)

### Behavior and default changes

- A session is created when history changes. (6.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/6.0.0)

## @sentry/vue 5

### Breaking changes

- The utility is removed in favor of Object.assign. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The browser beacon transport is removed. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- BrowserBackend is removed from the default export. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The Dedupe integration becomes optional and is no longer enabled by default. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- Mechanism is moved to Exception. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- Events created from exceptions no longer have a top-level message attribute. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is removed in favor of native includes. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The install function is removed from the integration interface. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is removed in favor of Array.isArray. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is removed in favor of checking typeof === 'function'. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is removed in favor of Number.isNaN. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is removed in favor of checking === void 0. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is renamed from serializeKeysToEventMessage. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- Default client fingerprinting for messages is removed. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is renamed from safeNormalize and its internals are rewritten. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The utility is renamed from limitObjectDepthToSize and its internals are rewritten. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The SDK information integration is removed. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The transport function is renamed from captureEvent to sendEvent and receives an Event instead of stringified data. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- Pluggable integrations, including extraErrorData, are extracted into a separate package. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The serialize, deserialize, clone, and serializeObject functions are removed. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)

### New APIs and options

- A new hub method is introduced to clear breadcrumbs. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- A utility to identify synthetic events is introduced. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- This option adjusts the maximum string length for values; its default is 250. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- A package is introduced with functions to attach opentracing data to Sentry Events. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- A new hub method is introduced to set extras. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- A new hub method is introduced to set tags. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- A synthetic field is added to Mechanism in exception. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)

### Behavior and default changes

- The close method disables the client once it has been flushed. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- ESM builds use the es6 target instead of esnext. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- The module field is exposed as the entry point for ESM builds. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)

### Fixes and other changes

- PromiseBuffer is moved to utils. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
- SentryError is moved to utils. (5.0.0) — [release notes](https://github.com/getsentry/sentry-javascript/releases/tag/5.0.0)
