NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3538 most downloaded on npm
Official Sentry SDK for browsers
Last release 2 days ago
02 Oct 2026
Ships on a steady schedule
a new release about every 1 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
9 years old
752 releases · first in 2017
Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concern…
feat(effect): Add @sentry/effect SDK (Alpha) (#19644)
This release introduces @sentry/effect, a new SDK for Effect.ts applications. The SDK provides Sentry integration via composable Effect layers for both Node.js and browser environments.
Compose the effectLayer with optional tracing, logging, and metrics layers to instrument your Effect application:
import * as Sentry from '@sentry/effect';
import * as Layer from 'effect/Layer';
import * as Logger from 'effect/Logger';
const SentryLive = Layer.mergeAll(
Sentry.effectLayer({ dsn: '__DSN__', tracesSampleRate: 1.0, enableLogs: true }),
Layer.setTracer(Sentry.SentryEffectTracer),
Logger.replace(Logger.defaultLogger, Sentry.SentryEffectLogger),
Sentry.SentryEffectMetricsLayer,
);
Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concerns.
feat(astro): Add Astro 6 support (#19745)
This release enables full support for Astro v6 by adjusting our Astro SDK's middleware to some Astro-internal changes. We cannot yet guarantee full support for server-islands, due to a bug in Astro v6 but we'll follow up on this once the bug is fixed.
feat(hono): Add basic instrumentation for Node runtime (#19817)
Adds a new package @sentry/hono/node (alpha) with basic instrumentation for Hono applications running in Node.js.
The Hono middleware for Cloudflare (@sentry/hono/cloudflare - alpha) comes with fixes, and it's now possible to access the Cloudflare Worker Bindings (env) from the options' callback.
Start using the new Hono middlewares by installing @sentry/hono and importing the respective middleware for your runtime.
More instructions can be found in the Hono readme.
Alpha features are still in progress, may have bugs and might include breaking changes. Please reach out on GitHub if you have any feedback or concerns.
feat(nestjs): Instrument @nestjs/bullmq @Processor decorator (#19759)
Automatically capture exceptions and create transactions for BullMQ queue processors in NestJS applications.
When using the @Processor decorator from @nestjs/bullmq, the SDK now automatically wraps the process() method
to create queue.process transactions with proper isolation scopes, preventing breadcrumb and scope leakage between
jobs and HTTP requests. Errors thrown in processors are captured with the auto.queue.nestjs.bullmq mechanism type.
Requires @nestjs/bullmq v10.0.0 or later.
feat(nestjs): Instrument @nestjs/schedule decorators (#19735)
Automatically capture exceptions thrown in @Cron, @Interval, and @Timeout decorated methods.
Previously, exceptions in @Cron methods were only captured if you used the SentryCron decorator. Now they are
captured automatically. The exception mechanism type changed from auto.cron.nestjs.async to
auto.function.nestjs.cron. If you have Sentry queries or alerts that filter on the old mechanism type, update them
accordingly.
feat(node): Expose headersToSpanAttributes option on nativeNodeFetchIntegration() (#19770)
Response headers like http.response.header.content-length were previously captured automatically on outgoing
fetch spans but are now opt-in since @opentelemetry/instrumentation-undici@0.22.0. You can now configure which
headers to capture via the headersToSpanAttributes option.
Sentry.init({
integrations: [
Sentry.nativeNodeFetchIntegration({
headersToSpanAttributes: {
requestHeaders: ['x-custom-header'],
responseHeaders: ['content-length', 'content-type'],
},
}),
],
});
sentry.timestamp.sequence attribute for timestamp tie-breaking (#19421)sendDefaultPii setting in langchain and langgraph in non-node environments (#19813)@nestjs/event-emitter instrumentation (#19725)lastEventId when error is thrown in component render (#19764)<details> <summary> <strong>Internal Changes</strong> </summary>
skill-creator and update managed agent skills (#19713)@sentry/hono alpha release (#19828)"*" (#19756)sdkName for craft (#19736)vite-plugin-federation (#19778)</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.04 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.62 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.17 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.51 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.33 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.11 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96.07 KB |
| @sentry/browser (incl. Feedback) | 41.45 KB |
| @sentry/browser (incl. sendFeedback) | 29.6 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.53 KB |
| @sentry/browser (incl. Metrics) | 26.29 KB |
| @sentry/browser (incl. Logs) | 26.43 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.09 KB |
| @sentry/react | 26.75 KB |
| @sentry/react (incl. Tracing) | 43.9 KB |
| @sentry/vue | 29.38 KB |
| @sentry/vue (incl. Tracing) | 43.44 KB |
| @sentry/svelte | 25.06 KB |
| CDN Bundle | 27.62 KB |
| CDN Bundle (incl. Tracing) | 42.49 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.46 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.32 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.61 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.45 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.86 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.74 KB |
| CDN Bundle - uncompressed | 80.69 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.55 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.49 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 128.35 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 204.22 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.66 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.45 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 252.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 255.05 KB |
| @sentry/nextjs (client) | 46.26 KB |
| @sentry/sveltekit (client) | 42.06 KB |
| @sentry/node-core | 55.03 KB |
| @sentry/node | 169.1 KB |
| @sentry/node - without tracing | 94.09 KB |
| @sentry/aws-serverless | 110.68 KB |
One column per quarter.
fix(deps): Bump hono to 4.12.5 to fix multiple vulnerabilities
feat(nextjs): Add Turbopack support for React component name annotation (#19604)
We added experimental support for React component name annotation in Turbopack builds. When enabled, JSX elements
are annotated with data-sentry-component, data-sentry-element, and data-sentry-source-file attributes at build
time. This enables searching Replays by component name, seeing component names in breadcrumbs, and performance
monitoring — previously only available with webpack builds.
This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts
import { withSentryConfig } from '@sentry/nextjs';
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackReactComponentAnnotation: {
enabled: true,
ignoredComponents: ['Header', 'Footer'], // optional
},
},
});
feat(hono): Instrument middlewares app.use() (#19611)
Hono middleware registered via app.use() is now automatically instrumented, creating spans for each middleware invocation.
tracePropagation option to http and fetch integrations (#19712)instrumentDurableObjectStorage (#19662)<details> <summary> <strong>Internal Changes</strong> </summary>
build:dev command (#19586)</details>
Work in this release was contributed by @dmmulroy, @lithdew, and @smorimoto. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 25.04 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.45 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.22 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.94 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.91 KB |
| @sentry/browser (incl. Feedback) | 41.45 KB |
| @sentry/browser (incl. sendFeedback) | 29.6 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.53 KB |
| @sentry/browser (incl. Metrics) | 26.18 KB |
| @sentry/browser (incl. Logs) | 26.31 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.97 KB |
| @sentry/react | 26.75 KB |
| @sentry/react (incl. Tracing) | 43.73 KB |
| @sentry/vue | 29.38 KB |
| @sentry/vue (incl. Tracing) | 43.27 KB |
| @sentry/svelte | 25.06 KB |
| CDN Bundle | 27.52 KB |
| CDN Bundle (incl. Tracing) | 42.26 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.34 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.08 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.5 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.27 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.11 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.51 KB |
| CDN Bundle - uncompressed | 80.45 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.09 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.22 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.86 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.98 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.24 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.99 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.59 KB |
| @sentry/nextjs (client) | 46.09 KB |
| @sentry/sveltekit (client) | 41.9 KB |
| @sentry/node-core | 51.04 KB |
| @sentry/node | 170.67 KB |
| @sentry/node - without tracing | 95.14 KB |
| @sentry/aws-serverless | 110.58 KB |
fix(deps): Bump fast-xml-parser to 4.5.4 for CVE-2026-25896
addVitePlugin instead of deprecated vite:extendConfig (#19464)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.44 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.21 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.93 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.91 KB |
| @sentry/browser (incl. Feedback) | 41.44 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.52 KB |
| @sentry/browser (incl. Metrics) | 26.17 KB |
| @sentry/browser (incl. Logs) | 26.31 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.74 KB |
| @sentry/react (incl. Tracing) | 43.72 KB |
| @sentry/vue | 29.37 KB |
| @sentry/vue (incl. Tracing) | 43.26 KB |
| @sentry/svelte | 25.05 KB |
| CDN Bundle | 27.51 KB |
| CDN Bundle (incl. Tracing) | 42.25 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.33 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.07 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.26 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.5 KB |
| CDN Bundle - uncompressed | 80.42 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.07 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.83 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.96 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.21 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.96 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.56 KB |
| @sentry/nextjs (client) | 46.08 KB |
| @sentry/sveltekit (client) | 41.89 KB |
| @sentry/node-core | 51.01 KB |
| @sentry/node | 170.6 KB |
| @sentry/node - without tracing | 95.09 KB |
| @sentry/aws-serverless | 110.53 KB |
fix(deps): Bump transitive rollup deps to patch CVE-2026-27606
feat(core,cloudflare,deno): Add instrumentPostgresJsSql instrumentation (#19566)
Added a new instrumentation helper for the postgres (postgres.js) library, designed for
SDKs that are not based on OpenTelemetry (e.g. Cloudflare, Deno). This wraps a postgres.js sql tagged template instance so that
all queries automatically create Sentry spans.
import postgres from 'postgres';
import * as Sentry from '@sentry/cloudflare'; // or '@sentry/deno'
export default Sentry.withSentry(env => ({ dsn: '__DSN__' }), {
async fetch(request, env, ctx) {
const sql = Sentry.instrumentPostgresJsSql(postgres(env.DATABASE_URL));
// All queries now create Sentry spans
const users = await sql`SELECT * FROM users WHERE id = ${userId}`;
return Response.json(users);
},
});
The instrumentation is available in @sentry/core, @sentry/cloudflare, and @sentry/deno.
feat(nextjs): Add Turbopack support for thirdPartyErrorFilterIntegration (#19542)
We added experimental support for the thirdPartyErrorFilterIntegration with Turbopack builds.
This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts
import { withSentryConfig } from '@sentry/nextjs';
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackApplicationKey: 'my-app-key',
},
});
Then configure the integration in your client instrumentation file with a matching key:
// instrumentation-client.ts
import * as Sentry from '@sentry/nextjs';
Sentry.init({
integrations: [
Sentry.thirdPartyErrorFilterIntegration({
filterKeys: ['my-app-key'],
behaviour: 'apply-tag-if-exclusively-contains-third-party-frames',
}),
],
});
not: foreign condition in turbopack loaders (#19502)<details> <summary> <strong>Internal Changes</strong> </summary>
dotagents (#19526)AGENTS.md for browser (#19551)AGENTS.md for nextjs (#19556)AGENTS.md (#19521)</details>
Work in this release was contributed by @YevheniiKotyrlo. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.44 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.21 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.93 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.91 KB |
| @sentry/browser (incl. Feedback) | 41.44 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.52 KB |
| @sentry/browser (incl. Metrics) | 26.17 KB |
| @sentry/browser (incl. Logs) | 26.31 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.74 KB |
| @sentry/react (incl. Tracing) | 43.72 KB |
| @sentry/vue | 29.37 KB |
| @sentry/vue (incl. Tracing) | 43.26 KB |
| @sentry/svelte | 25.05 KB |
| CDN Bundle | 27.51 KB |
| CDN Bundle (incl. Tracing) | 42.25 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.33 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.07 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.26 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.5 KB |
| CDN Bundle - uncompressed | 80.42 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.07 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.83 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.96 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.21 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.96 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.56 KB |
| @sentry/nextjs (client) | 46.08 KB |
| @sentry/sveltekit (client) | 41.89 KB |
| @sentry/node-core | 51.01 KB |
| @sentry/node | 170.59 KB |
| @sentry/node - without tracing | 95.1 KB |
| @sentry/aws-serverless | 110.53 KB |
This is an internal beta release to test adding traces by timestamp to replay events for EAP trace association: https://github.com/getsentry/sentry-ja
This is an internal beta release to test adding traces by timestamp to replay events for EAP trace association: https://github.com/getsentry/sentry-javascript/pull/18048.
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.56 KB |
| @sentry/browser (incl. Tracing) | 41.44 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.27 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.98 KB |
| @sentry/browser (incl. Feedback) | 41.44 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.52 KB |
| @sentry/browser (incl. Metrics) | 26.17 KB |
| @sentry/browser (incl. Logs) | 26.3 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.74 KB |
| @sentry/react (incl. Tracing) | 43.72 KB |
| @sentry/vue | 29.37 KB |
| @sentry/vue (incl. Tracing) | 43.23 KB |
| @sentry/svelte | 25.05 KB |
| CDN Bundle | 27.51 KB |
| CDN Bundle (incl. Tracing) | 42.24 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.33 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.07 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.57 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.33 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.56 KB |
| CDN Bundle - uncompressed | 80.42 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.06 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.19 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.83 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 204.23 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.49 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 252.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.84 KB |
| @sentry/nextjs (client) | 46.07 KB |
| @sentry/sveltekit (client) | 41.89 KB |
| @sentry/node-core | 50.97 KB |
| @sentry/node | 170.4 KB |
| @sentry/node - without tracing | 95.06 KB |
| @sentry/aws-serverless | 110.49 KB |
fix(deps): Bump nuxt devDependency to fix CVE-2026-24001
feat(tanstackstart-react): Add global sentry exception middlewares (#19330)
The sentryGlobalRequestMiddleware and sentryGlobalFunctionMiddleware global middlewares capture unhandled exceptions thrown in TanStack Start API routes and server functions. Add them as the first entries in the requestMiddleware and functionMiddleware arrays of createStart():
import { createStart } from '@tanstack/react-start/server';
import { sentryGlobalRequestMiddleware, sentryGlobalFunctionMiddleware } from '@sentry/tanstackstart-react';
export default createStart({
requestMiddleware: [sentryGlobalRequestMiddleware, myRequestMiddleware],
functionMiddleware: [sentryGlobalFunctionMiddleware, myFunctionMiddleware],
});
feat(tanstackstart-react)!: Export Vite plugin from @sentry/tanstackstart-react/vite subpath (#19182)
The sentryTanstackStart Vite plugin is now exported from a dedicated subpath. Update your import:
- import { sentryTanstackStart } from '@sentry/tanstackstart-react';
+ import { sentryTanstackStart } from '@sentry/tanstackstart-react/vite';
fix(node-core): Reduce bundle size by removing apm-js-collab and requiring pino >= 9.10 (#18631)
In order to keep receiving pino logs, you need to update your pino version to >= 9.10, the reason for the support bump is to reduce the bundle size of the node-core SDK in frameworks that cannot tree-shake the apm-js-collab dependency.
fix(browser): Ensure user id is consistently added to sessions (#19341)
Previously, the SDK inconsistently set the user id on sessions, meaning sessions were often lacking proper coupling to the user set for example via Sentry.setUser().
Additionally, the SDK incorrectly skipped starting a new session for the first soft navigation after the pageload.
This patch fixes these issues. As a result, metrics around sessions, like "Crash Free Sessions" or "Crash Free Users" might change.
This could also trigger alerts, depending on your set thresholds and conditions.
We apologize for any inconvenience caused!
While we're at it, if you're using Sentry in a Single Page App or meta framework, you might want to give the new 'page' session lifecycle a try!
This new mode no longer creates a session per soft navigation but continues the initial session until the next hard page refresh.
Check out the docs to learn more!
ref!(gatsby): Drop Gatsby v2 support (#19467)
We drop support for Gatsby v2 (which still relies on webpack 4) for a critical security update in https://github.com/getsentry/sentry-javascript-bundler-plugins/releases/tag/5.0.0
setTheme() to dynamically update feedback widget color scheme (#19430)sourcemaps.filesToDeleteAfterUpload as a top-level option (#19280)ignoreConnectSpans option to postgresIntegration (#19291) isPromiseAllSettledResult with null/undefined array elements (#19346)client.close() (#19371)options if set (#19274)sentry.drop_transaction attribute on spans when skipOpenTelemetrySetup is enabled (#19333)options.rootDir instead of options.srcDir (#19343)<details> <summary><strong>Internal Changes</strong></summary>
defineNitroPlugin wrapper (#19334)lerna.json for prettier (#19288)environment to triage action (#19375)id-token: write permission to triage workflow (#19381)fast-xml-parser (#19433)allowedTools to Claude GitHub action (#19386)triage-issue skill (#19358)triage-issue skill (#19356)num_turns and add script to post summary (#19456)Write and remove rm permission (#19397)Work in this release was contributed by @LudvigHz and @jadengis. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 25.02 KB |
| @sentry/browser - with treeshaking flags | 23.56 KB |
| @sentry/browser (incl. Tracing) | 41.43 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.98 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.34 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.2 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.92 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.9 KB |
| @sentry/browser (incl. Feedback) | 41.43 KB |
| @sentry/browser (incl. sendFeedback) | 29.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.51 KB |
| @sentry/browser (incl. Metrics) | 26.16 KB |
| @sentry/browser (incl. Logs) | 26.3 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.96 KB |
| @sentry/react | 26.73 KB |
| @sentry/react (incl. Tracing) | 43.71 KB |
| @sentry/vue | 29.36 KB |
| @sentry/vue (incl. Tracing) | 43.23 KB |
| @sentry/svelte | 25.04 KB |
| CDN Bundle | 27.5 KB |
| CDN Bundle (incl. Tracing) | 42.24 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.32 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.06 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.25 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.5 KB |
| CDN Bundle - uncompressed | 80.41 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.06 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.18 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.82 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.94 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.2 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.95 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.81 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.55 KB |
| @sentry/nextjs (client) | 46.07 KB |
| @sentry/sveltekit (client) | 41.88 KB |
| @sentry/node-core | 50.95 KB |
| @sentry/node | 169.38 KB |
| @sentry/node - without tracing | 95.04 KB |
| @sentry/aws-serverless | 110.47 KB |
chore(llm): Add skill for fixing security vulnerabilities
feat(tanstackstart-react): Auto-instrument server function middleware (#19001)
The sentryTanstackStart Vite plugin now automatically instruments middleware in createServerFn().middleware([...]) calls. This captures performance data without requiring manual wrapping with wrapMiddlewaresWithSentry().
feat(nextjs): New experimental automatic vercel cron monitoring (#19192)
Setting _experimental.vercelCronMonitoring to true in your Sentry configuration will automatically create Sentry cron monitors for your Vercel Cron Jobs.
Please note that this is an experimental unstable feature and subject to change.
// next.config.ts
export default withSentryConfig(nextConfig, {
_experimental: {
vercelCronMonitoring: true,
},
});
feat(node-core): Add node-core/light (#18502)
This release adds a new light-weight @sentry/node-core/light export to @sentry/node-core. The export acts as a light-weight SDK that does not depend on OpenTelemetry and emits no spans.
Use this SDK when:
It supports error tracking and reporting, logs, metrics, automatic request isolation (requires Node.js 22+) and basic tracing via our Sentry.startSpan* APIs.
Install the SDK by running
npm install @sentry/node-core
and add Sentry at the top of your application's entry file:
import * as Sentry from '@sentry/node-core/light';
Sentry.init({
dsn: '__DSN__',
});
glob in @sentry/react-router (#19162)lazyRouteManifest option to resolve lazy-route names (#19086)flush on empty buffer (#19062)_experiments.enableMetrics references from metrics JSDoc (#19252)@nestjs/platform-express to 11.1.13 (#19206)21.0.1 in @sentry/ember (#19246)captureUnderscoreErrorException captures an exception (#19185)request-handler op. (#18729)debug is disabled (#19095)3.59.2 (#19208)svelte.config.js (#19270)auto.middleware.tanstackstart as middleware trace origin (#19137)shouldPropagateTraceForUrl from opentelemetry to core (#19254)untrack to read route id without invalidation (#19272)<details> <summary><strong>Internal Changes</strong></summary>
seroval alerts (#19150)nextjs-turbo canary tests (#19118)nextjs-t3 to next 15 (#19130)nextjs-turbo into nextjs-15 (#19107)</details>
Work in this release was contributed by @limbonaut and @rfoel. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.96 KB |
| @sentry/browser - with treeshaking flags | 23.51 KB |
| @sentry/browser (incl. Tracing) | 41.37 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.93 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.28 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.14 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.85 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.73 KB |
| @sentry/browser (incl. Feedback) | 41.3 KB |
| @sentry/browser (incl. sendFeedback) | 29.53 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.4 KB |
| @sentry/browser (incl. Metrics) | 26.11 KB |
| @sentry/browser (incl. Logs) | 26.25 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.91 KB |
| @sentry/react | 26.69 KB |
| @sentry/react (incl. Tracing) | 43.67 KB |
| @sentry/vue | 29.31 KB |
| @sentry/vue (incl. Tracing) | 43.18 KB |
| @sentry/svelte | 24.98 KB |
| CDN Bundle | 27.45 KB |
| CDN Bundle (incl. Tracing) | 42.19 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.27 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.43 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.2 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.05 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.5 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.37 KB |
| CDN Bundle - uncompressed | 80.29 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 124.93 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.06 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.7 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.82 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.07 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.83 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.57 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.32 KB |
| @sentry/nextjs (client) | 45.94 KB |
| @sentry/sveltekit (client) | 41.81 KB |
| @sentry/node-core | 50.93 KB |
| @sentry/node | 162.61 KB |
| @sentry/node - without tracing | 91.75 KB |
| @sentry/aws-serverless | 106.89 KB |
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
New:
spanStreamingIntegration in Sentry.init.() to opt into span streamingsentry.replay_id attribute is attached to spans started during an active replaysentry.profiler_id attribute is attached to spans started while the continuous profiler is runningspanStreamingIntegration is now exported from CDN bundles supporting tracingKnown issues:
ignoreSpans is not yet appliedUntested:
Browser
Sentry.init({
dsn: '...',
integrations: [
Sentry.browserTracingIntegration(),
Sentry.spanStreamingIntegration(),
]
})
Server (Node)
Sentry.init({
dsn: '...',
traceLifecycle: 'stream',
})
| Path | Size |
|---|---|
| @sentry/browser | 25.93 KB |
| @sentry/browser - with treeshaking flags | 24.43 KB |
| @sentry/browser (incl. Tracing) | 42.78 KB |
| @sentry/browser (incl. Tracing, Profiling) | 47.43 KB |
| @sentry/browser (incl. Tracing, Replay) | 80.71 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 70.51 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 85.27 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 97.17 KB |
| @sentry/browser (incl. Feedback) | 42.23 KB |
| @sentry/browser (incl. sendFeedback) | 30.48 KB |
| @sentry/browser (incl. FeedbackAsync) | 35.33 KB |
| @sentry/browser (incl. Metrics) | 26.87 KB |
| @sentry/browser (incl. Logs) | 27.02 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.66 KB |
| @sentry/react | 27.62 KB |
| @sentry/react (incl. Tracing) | 45.03 KB |
| @sentry/vue | 30.51 KB |
| @sentry/vue (incl. Tracing) | 44.58 KB |
| @sentry/svelte | 25.95 KB |
| CDN Bundle | 28.18 KB |
| CDN Bundle (incl. Tracing) | 44.63 KB |
| CDN Bundle (incl. Logs, Metrics) | 29.01 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 45.44 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 67.21 KB |
| CDN Bundle (incl. Tracing, Replay) | 80.67 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 81.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 86 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 86.84 KB |
| CDN Bundle - uncompressed | 82.31 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 132.71 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 135.48 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 205.92 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 247.08 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 249.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 259.58 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 262.33 KB |
| @sentry/nextjs (client) | 47.4 KB |
| @sentry/sveltekit (client) | 43.23 KB |
| @sentry/node-core | 51.8 KB |
| @sentry/node | 165.43 KB |
| @sentry/node - without tracing | 94.67 KB |
| @sentry/aws-serverless | 109.55 KB |
feat(tanstackstart-react): Auto-instrument request middleware ([#18989](https://github.com/getsentry/sentry-javascript/pull/18989))
The sentryTanstackStart Vite plugin now automatically instruments middleware arrays in createFileRoute(). This captures performance data without requiring manual wrapping with wrapMiddlewaresWithSentry().
logs.metrics bundle (#19020)replay.logs.metrics bundle (#19021)tracing.replay.logs.metrics bundle (#19039)AggregateErrors as exception groups (#19053)String(key) to fix Symbol conversion error (#18982)<details> <summary><strong>Internal Changes</strong></summary>
next versions 15 and 16 (#19057)</details>
Work in this release was contributed by @harshit078. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 24.73 KB |
| @sentry/browser - with treeshaking flags | 23.27 KB |
| @sentry/browser (incl. Tracing) | 41.16 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.69 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.87 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.76 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.46 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.37 KB |
| @sentry/browser (incl. Feedback) | 41.06 KB |
| @sentry/browser (incl. sendFeedback) | 29.31 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.19 KB |
| @sentry/browser (incl. Metrics) | 25.81 KB |
| @sentry/browser (incl. Logs) | 25.96 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.61 KB |
| @sentry/react | 26.42 KB |
| @sentry/react (incl. Tracing) | 43.34 KB |
| @sentry/vue | 29.07 KB |
| @sentry/vue (incl. Tracing) | 42.91 KB |
| @sentry/svelte | 24.75 KB |
| CDN Bundle | 27.25 KB |
| CDN Bundle (incl. Tracing) | 41.93 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.07 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.73 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.09 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.8 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 78.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.13 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.03 KB |
| CDN Bundle - uncompressed | 79.7 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 124.17 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 82.47 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.94 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 202.96 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 238.04 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 240.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 250.54 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 253.29 KB |
| @sentry/nextjs (client) | 45.63 KB |
| @sentry/sveltekit (client) | 41.52 KB |
| @sentry/node-core | 50.85 KB |
| @sentry/node | 162.19 KB |
| @sentry/node - without tracing | 91.64 KB |
| @sentry/aws-serverless | 106.79 KB |
feat(core): Introduces a new `Sentry.setConversationId()` API to track multi turn AI conversations across API calls. ([#18909](https://github.com/gets
feat(core): Introduces a new Sentry.setConversationId() API to track multi turn AI conversations across API calls. (#18909)
You can now set a conversation ID that will be automatically applied to spans within that scope. This allows you to link traces from the same conversation together.
import * as Sentry from '@sentry/node';
// Set conversation ID for all subsequent spans
Sentry.setConversationId('conv_abc123');
// All AI spans will now include the gen_ai.conversation.id attribute
await openai.chat.completions.create({...});
This is particularly useful for tracking multiple AI API calls that are part of the same conversation, allowing you to analyze entire conversation flows in Sentry.
The conversation ID is stored on the isolation scope and automatically applied to spans via the new conversationIdIntegration.
feat(tanstackstart-react): Auto-instrument global middleware in sentryTanstackStart Vite plugin (#18844)
The sentryTanstackStart Vite plugin now automatically instruments requestMiddleware and functionMiddleware arrays in createStart(). This captures performance data without requiring manual wrapping.
Auto-instrumentation is enabled by default. To disable it:
// vite.config.ts
sentryTanstackStart({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'your-org',
project: 'your-project',
autoInstrumentMiddleware: false,
});
invalid (#18901)AbortError by default on unhandled rejection (#18973)platform to envelope item header (#18954)gen_ai.input.messages.original_length to sentry.sdk_meta.gen_ai.input.messages.original_length (#18970)gen_ai.request.messages to gen_ai.input.messages (#18944)<details> <summary><strong>Internal Changes</strong></summary>
</details>
Work in this release was contributed by @sebws, @harshit078, and @fedetorre. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.73 KB |
| @sentry/browser - with treeshaking flags | 23.27 KB |
| @sentry/browser (incl. Tracing) | 41.15 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.68 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.86 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.46 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.36 KB |
| @sentry/browser (incl. Feedback) | 41.06 KB |
| @sentry/browser (incl. sendFeedback) | 29.31 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.19 KB |
| @sentry/browser (incl. Metrics) | 25.81 KB |
| @sentry/browser (incl. Logs) | 25.95 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.6 KB |
| @sentry/react | 26.42 KB |
| @sentry/react (incl. Tracing) | 43.33 KB |
| @sentry/vue | 29.07 KB |
| @sentry/vue (incl. Tracing) | 42.9 KB |
| @sentry/svelte | 24.74 KB |
| CDN Bundle | 27.24 KB |
| CDN Bundle (incl. Tracing) | 41.93 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.73 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.12 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.01 KB |
| CDN Bundle - uncompressed | 79.69 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 124.16 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.93 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 238.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 250.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 253.28 KB |
| @sentry/nextjs (client) | 45.63 KB |
| @sentry/sveltekit (client) | 41.51 KB |
| @sentry/node-core | 50.8 KB |
| @sentry/node | 162.16 KB |
| @sentry/node - without tracing | 91.59 KB |
| @sentry/aws-serverless | 106.74 KB |
feat(node): Add Prisma v7 support
db.system.name attribute for database spans (#18902)http.client spans (#18896)<details> <summary><strong>Internal Changes</strong></summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.61 KB |
| @sentry/browser - with treeshaking flags | 23.15 KB |
| @sentry/browser (incl. Tracing) | 41.04 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.56 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.74 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.63 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.32 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.24 KB |
| @sentry/browser (incl. Feedback) | 40.94 KB |
| @sentry/browser (incl. sendFeedback) | 29.19 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.07 KB |
| @sentry/browser (incl. Metrics) | 25.69 KB |
| @sentry/browser (incl. Logs) | 25.84 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.48 KB |
| @sentry/react | 26.3 KB |
| @sentry/react (incl. Tracing) | 43.22 KB |
| @sentry/vue | 28.95 KB |
| @sentry/vue (incl. Tracing) | 42.79 KB |
| @sentry/svelte | 24.63 KB |
| CDN Bundle | 27.13 KB |
| CDN Bundle (incl. Tracing) | 41.83 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.67 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.98 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 83.87 KB |
| CDN Bundle - uncompressed | 79.36 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.84 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.61 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 237.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 250.14 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 252.89 KB |
| @sentry/nextjs (client) | 45.53 KB |
| @sentry/sveltekit (client) | 41.4 KB |
| @sentry/node-core | 50.68 KB |
| @sentry/node | 161.54 KB |
| @sentry/node - without tracing | 91.46 KB |
| @sentry/aws-serverless | 106.6 KB |
feat(tanstackstart-react): Add `sentryTanstackStart` vite plugin to manage automatic source map uploads ([#18712](https://github.com/getsentry/sentry-
feat(tanstackstart-react): Add sentryTanstackStart vite plugin to manage automatic source map uploads (#18712)
You can now configure source maps upload for TanStack Start using the sentryTanstackStart Vite plugin:
// vite.config.ts
import { defineConfig } from 'vite';
import { sentryTanstackStart } from '@sentry/tanstackstart-react';
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
export default defineConfig({
plugins: [
sentryTanstackStart({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'your-org',
project: 'your-project',
}),
tanstackStart(),
],
});
tracing.replay.feedback.logs.metrics (#18785)ignored client report event drop reason (#18815)Log exports to browser and node packages (#18857)<details> <summary><strong>Internal Changes</strong></summary>
@sveltejs/kit devDependency to 2.49.5 (#18848)</details>
Work in this release was contributed by @rreckonerr. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 24.52 KB |
| @sentry/browser - with treeshaking flags | 23.06 KB |
| @sentry/browser (incl. Tracing) | 40.88 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.36 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.58 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.51 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.18 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.09 KB |
| @sentry/browser (incl. Feedback) | 40.85 KB |
| @sentry/browser (incl. sendFeedback) | 29.1 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.97 KB |
| @sentry/browser (incl. Metrics) | 25.6 KB |
| @sentry/browser (incl. Logs) | 25.75 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.39 KB |
| @sentry/react | 26.21 KB |
| @sentry/react (incl. Tracing) | 43.05 KB |
| @sentry/vue | 28.87 KB |
| @sentry/vue (incl. Tracing) | 42.65 KB |
| @sentry/svelte | 24.53 KB |
| CDN Bundle | 27.02 KB |
| CDN Bundle (incl. Tracing) | 41.67 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.51 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.82 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 83.71 KB |
| CDN Bundle - uncompressed | 79.18 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.53 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.3 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 237.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.83 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 252.58 KB |
| @sentry/nextjs (client) | 45.35 KB |
| @sentry/sveltekit (client) | 41.26 KB |
| @sentry/node-core | 50.72 KB |
| @sentry/node | 158.39 KB |
| @sentry/node - without tracing | 91.16 KB |
| @sentry/aws-serverless | 106.3 KB |
feat(core): Add option to enhance the fetch error message ([#18466](https://github.com/getsentry/sentry-javascript/pull/18466))
feat(core): Add option to enhance the fetch error message (#18466)
You can now enable enhanced fetch error messages by setting the enhancedFetchErrorMessage option. When enabled, the SDK will include additional context in fetch error messages to help with debugging.
feat(nextjs): Add routeManifestInjection option to exclude routes from client bundle (#18798)
A new routeManifestInjection option allows you to exclude sensitive routes from being injected into the client bundle.
feat(tanstackstart-react): Add wrapMiddlewaresWithSentry for manual middleware instrumentation (#18680)
You can now wrap your middlewares using wrapMiddlewaresWithSentry, allowing you to trace middleware execution in your TanStack Start application.
import { createMiddleware } from '@tanstack/react-start';
import { wrapMiddlewaresWithSentry } from '@sentry/tanstackstart-react';
const loggingMiddleware = createMiddleware({ type: 'function' }).server(async ({ next }) => {
console.log('Request started');
return next();
});
export const [wrappedLoggingMiddleware] = wrapMiddlewaresWithSentry({ loggingMiddleware });
tracing.logs.metrics (#18784)WeakMap (#18809)<details> <summary><strong>Internal Changes</strong></summary>
withSentryConfig (#18777)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.52 KB |
| @sentry/browser - with treeshaking flags | 23.06 KB |
| @sentry/browser (incl. Tracing) | 40.88 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.36 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.58 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.51 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.17 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.08 KB |
| @sentry/browser (incl. Feedback) | 40.85 KB |
| @sentry/browser (incl. sendFeedback) | 29.1 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.97 KB |
| @sentry/browser (incl. Metrics) | 25.6 KB |
| @sentry/browser (incl. Logs) | 25.75 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.39 KB |
| @sentry/react | 26.21 KB |
| @sentry/react (incl. Tracing) | 43.05 KB |
| @sentry/vue | 28.87 KB |
| @sentry/vue (incl. Tracing) | 42.64 KB |
| @sentry/svelte | 24.53 KB |
| CDN Bundle | 26.96 KB |
| CDN Bundle (incl. Tracing) | 41.6 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 42.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.43 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.72 KB |
| CDN Bundle - uncompressed | 78.99 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.34 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 126.29 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 237.15 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.64 KB |
| @sentry/nextjs (client) | 45.34 KB |
| @sentry/sveltekit (client) | 41.25 KB |
| @sentry/node-core | 50.69 KB |
| @sentry/node | 158.35 KB |
| @sentry/node - without tracing | 91.14 KB |
| @sentry/aws-serverless | 106.28 KB |
feat(nextjs): Print Turbopack note for deprecated webpack options
feat(core): Apply scope attributes to metrics (#18738)
You can now set attributes on the SDK's scopes which will be applied to all metrics as long as the respective scopes are active. For the time being, only string, number and boolean attribute values are supported.
Sentry.getGlobalScope().setAttributes({ is_admin: true, auth_provider: 'google' });
Sentry.withScope(scope => {
scope.setAttribute('step', 'authentication');
// scope attributes `is_admin`, `auth_provider` and `step` are added
Sentry.metrics.count('clicks', 1, { attributes: { activeSince: 100 } });
Sentry.metrics.gauge('timeSinceRefresh', 4, { unit: 'hour' });
});
// scope attributes `is_admin` and `auth_provider` are added
Sentry.metrics.count('response_time', 283.33, { unit: 'millisecond' });
feat(tracing): Add Vercel AI SDK v6 support (#18741)
The Sentry SDK now supports the Vercel AI SDK v6. Tracing and error monitoring will work automatically with the new version.
feat(wasm): Add applicationKey option for third-party error filtering (#18762)
Adds support for applying an application key to WASM stack frames that can be then used in the thirdPartyErrorFilterIntegration for detection of first-party code.
Usage:
Sentry.init({
integrations: [
// Integration order matters: wasmIntegration needs to be before thirdPartyErrorFilterIntegration
wasmIntegration({ applicationKey: 'your-custom-application-key' }), ←───┐
thirdPartyErrorFilterIntegration({ │
behaviour: 'drop-error-if-exclusively-contains-third-party-frames', ├─ matching keys
filterKeys: ['your-custom-application-key'] ←─────────────────────────┘
}),
],
});
propagateTraceparent (#18569)ignoreSentryInternalFrames option to thirdPartyErrorFilterIntegration (#18632)isolateTrace option to node-cron instrumentation (#18416)process.on('SIGTERM') for flushing in Vercel functions (#17583)visibilitystate and pagehide listeners (#18581)tunnel in diagnoseSdkConnectivity (#18616)performance.now() from browserPerformanceTimeOrigin fallback (#18715)undefined (#18024)process.argv0 (#18759)setupFastifyErrorHandler argument type (#18620)defaultIntegrations (#18717)msg and err (#18597)resolve dependency (#18618)<details> <summary> <strong>Internal Changes</strong> </summary>
install-bun.js version check and improve upgrade feedback (#18492)@trpc/server and @trpc/client (#18722)@langchain/core (#18720)hoist-non-react-statics package (#18102)getCombinedScopeData helper (#18585)performance.timeOrigin and performance.timing.navigationStart (#18710)browserPerformanceTimeOrigin (#18708)browserPerformanceTimeOrigin reliability check (#18719)serializeAttributes for metric attribute serialization (#18582)isCjs (#18662)</details>
Work in this release was contributed by @G-Rath, @gianpaj, @maximepvrt, @Mohataseem89, @sebws, and @xgedev. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.37 KB |
| @sentry/browser - with treeshaking flags | 22.92 KB |
| @sentry/browser (incl. Tracing) | 40.71 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.19 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.37 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.93 KB |
| @sentry/browser (incl. Feedback) | 40.7 KB |
| @sentry/browser (incl. sendFeedback) | 28.95 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.82 KB |
| @sentry/browser (incl. Metrics) | 25.44 KB |
| @sentry/browser (incl. Logs) | 25.59 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.22 KB |
| @sentry/react | 26.05 KB |
| @sentry/react (incl. Tracing) | 42.9 KB |
| @sentry/vue | 28.72 KB |
| @sentry/vue (incl. Tracing) | 42.5 KB |
| @sentry/svelte | 24.39 KB |
| CDN Bundle | 26.83 KB |
| CDN Bundle (incl. Tracing) | 41.46 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.31 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.6 KB |
| CDN Bundle - uncompressed | 78.62 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.94 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.24 KB |
| @sentry/nextjs (client) | 45.2 KB |
| @sentry/sveltekit (client) | 41.08 KB |
| @sentry/node-core | 50.59 KB |
| @sentry/node | 158.26 KB |
| @sentry/node - without tracing | 91.06 KB |
| @sentry/aws-serverless | 106.2 KB |
fix(cloudflare): Add hono transaction name when error is thrown
implementation field optional (hash routes) (#18564)<details> <summary> <strong>Internal Changes</strong> </summary>
cloudflare-astro e2e test (#18567)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.24 KB |
| @sentry/browser - with treeshaking flags | 22.77 KB |
| @sentry/browser (incl. Tracing) | 40.62 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.12 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.3 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.28 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.88 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.83 KB |
| @sentry/browser (incl. Feedback) | 40.57 KB |
| @sentry/browser (incl. sendFeedback) | 28.82 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.7 KB |
| @sentry/react | 25.92 KB |
| @sentry/react (incl. Tracing) | 42.77 KB |
| @sentry/vue | 28.6 KB |
| @sentry/vue (incl. Tracing) | 42.39 KB |
| @sentry/svelte | 24.25 KB |
| CDN Bundle | 26.62 KB |
| CDN Bundle (incl. Tracing) | 41.25 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.44 KB |
| CDN Bundle - uncompressed | 78.18 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.47 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.74 KB |
| @sentry/nextjs (client) | 44.94 KB |
| @sentry/sveltekit (client) | 40.98 KB |
| @sentry/node-core | 50.4 KB |
| @sentry/node | 157.73 KB |
| @sentry/node - without tracing | 90.87 KB |
| @sentry/aws-serverless | 106.02 KB |
feat(core): Apply scope attributes to logs ([#18184](https://github.com/getsentry/sentry-javascript/pull/18184))
feat(core): Apply scope attributes to logs (#18184)
You can now set attributes on the SDK's scopes which will be applied to all logs as long as the respective scopes are active. For the time being, only string, number and boolean attribute values are supported.
Sentry.getGlobalScope().setAttributes({ is_admin: true, auth_provider: 'google' });
Sentry.withScope(scope => {
scope.setAttribute('step', 'authentication');
// scope attributes `is_admin`, `auth_provider` and `step` are added
Sentry.logger.info(`user ${user.id} logged in`, { activeSince: 100 });
Sentry.logger.info(`updated ${user.id} last activity`);
});
// scope attributes `is_admin` and `auth_provider` are added
Sentry.logger.warn('stale website version, reloading page');
feat(replay): Add Request body with attachRawBodyFromRequest option (#18501)
To attach the raw request body (from Request objects passed as the first fetch argument) to replay events, you can now use the attachRawBodyFromRequest option in the Replay integration:
Sentry.init({
integrations: [
Sentry.replayIntegration({
attachRawBodyFromRequest: true,
}),
],
});
feat(tanstackstart-react): Trace server functions (#18500)
To enable tracing for server-side requests, you can now explicitly define a server entry point in your application and wrap your request handler with wrapFetchWithSentry.
// src/server.ts
import { wrapFetchWithSentry } from '@sentry/tanstackstart-react';
import handler, { createServerEntry } from '@tanstack/react-start/server-entry';
export default createServerEntry(
wrapFetchWithSentry({
fetch(request: Request) {
return handler.fetch(request);
},
}),
);
feat(vue): Add TanStack Router integration (#18547)
The @sentry/vue package now includes support for TanStack Router. Use tanstackRouterBrowserTracingIntegration to automatically instrument pageload and navigation transactions with parameterized routes:
import { createApp } from 'vue';
import { createRouter } from '@tanstack/vue-router';
import * as Sentry from '@sentry/vue';
import { tanstackRouterBrowserTracingIntegration } from '@sentry/vue/tanstackrouter';
const router = createRouter({
// your router config
});
Sentry.init({
app,
dsn: '__PUBLIC_DSN__',
integrations: [tanstackRouterBrowserTracingIntegration(router)],
tracesSampleRate: 1.0,
});
<details> <summary> <strong>Internal Changes</strong> </summary>
http.response_content_length_uncompressed (#18536)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.24 KB |
| @sentry/browser - with treeshaking flags | 22.77 KB |
| @sentry/browser (incl. Tracing) | 40.62 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.12 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.3 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.28 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.88 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.82 KB |
| @sentry/browser (incl. Feedback) | 40.56 KB |
| @sentry/browser (incl. sendFeedback) | 28.82 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.7 KB |
| @sentry/react | 25.92 KB |
| @sentry/react (incl. Tracing) | 42.77 KB |
| @sentry/vue | 28.6 KB |
| @sentry/vue (incl. Tracing) | 42.39 KB |
| @sentry/svelte | 24.25 KB |
| CDN Bundle | 26.62 KB |
| CDN Bundle (incl. Tracing) | 41.25 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.44 KB |
| CDN Bundle - uncompressed | 78.18 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.47 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.74 KB |
| @sentry/nextjs (client) | 44.93 KB |
| @sentry/sveltekit (client) | 40.98 KB |
| @sentry/node-core | 50.4 KB |
| @sentry/node | 157.71 KB |
| @sentry/node - without tracing | 90.87 KB |
| @sentry/aws-serverless | 106.02 KB |
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
This preview release includes updates to our Span Streaming PoC implementation. Use at your own risk.
Sentry.flush-based span buffer for backend SDKs@sentry/node, @sentry/cloudflare, @sentry/deno, @sentry/bun and @sentry/vercel-edgeKnown issues:
ignoreSpans is not yet appliedUntested:
@sentry/browser or @sentry/node. Likely,
data is missing, noisy spans are not filtered, etc.| Path | Size |
|---|---|
| @sentry/browser | 25.21 KB |
| @sentry/browser - with treeshaking flags | 23.74 KB |
| @sentry/browser (incl. Tracing) | 41.8 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.29 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.57 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.36 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.13 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96 KB |
| @sentry/browser (incl. Feedback) | 41.52 KB |
| @sentry/browser (incl. sendFeedback) | 29.77 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.65 KB |
| @sentry/react | 26.89 KB |
| @sentry/react (incl. Tracing) | 43.98 KB |
| @sentry/vue | 29.73 KB |
| @sentry/vue (incl. Tracing) | 43.56 KB |
| @sentry/svelte | 25.23 KB |
| CDN Bundle | 27.49 KB |
| CDN Bundle (incl. Tracing) | 42.39 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.21 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.57 KB |
| CDN Bundle - uncompressed | 80.62 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.72 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.52 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.99 KB |
| @sentry/nextjs (client) | 46.12 KB |
| @sentry/sveltekit (client) | 42.21 KB |
| @sentry/node-core | 51.31 KB |
| @sentry/node | 160.53 KB |
| @sentry/node - without tracing | 93.78 KB |
| @sentry/aws-serverless | 108.68 KB |
feat(browser): Add support for GraphQL persisted operations ([#18505](https://github.com/getsentry/sentry-javascript/pull/18505))
The graphqlClientIntegration now supports GraphQL persisted operations (queries). When a persisted query is detected, the integration will capture the operation hash and version as span attributes:
graphql.persisted_query.hash.sha256 - The SHA-256 hash of the persisted querygraphql.persisted_query.version - The version of the persisted query protocolAdditionally, the graphql.document attribute format has changed to align with OpenTelemetry semantic conventions. It now contains only the GraphQL query string instead of the full JSON request payload.
Before:
"graphql.document": "{\"query\":\"query Test { user { id } }\"}"
After:
"graphql.document": "query Test { user { id } }"
propagateTraceparent option (#18476)captureException and captureMessage parameter types (#18521)captureException and captureMessage parameter types (#18509)@sentry/vite-plugin and @sentry/rollup-plugin to 4.6.1 (#18349)fromLocation existence before reporting pageload (#18463)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @sebws and @TBeeren. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.23 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.58 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.08 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.1 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.07 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.67 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.62 KB |
| @sentry/browser (incl. Feedback) | 40.54 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.68 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.73 KB |
| @sentry/vue | 28.58 KB |
| @sentry/vue (incl. Tracing) | 42.35 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.59 KB |
| CDN Bundle (incl. Tracing) | 41.23 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.15 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.44 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.21 KB |
| @sentry/nextjs (client) | 44.9 KB |
| @sentry/sveltekit (client) | 40.94 KB |
| @sentry/node-core | 50.39 KB |
| @sentry/node | 157.7 KB |
| @sentry/node - without tracing | 90.85 KB |
| @sentry/aws-serverless | 106 KB |
feat(nextjs): Deprecate Webpack top-level options
<details> <summary> <strong>Internal Changes</strong> </summary>
@sentry/types (#18429)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.23 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.06 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.09 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.07 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.66 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.54 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.68 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.73 KB |
| @sentry/vue | 28.58 KB |
| @sentry/vue (incl. Tracing) | 42.34 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.6 KB |
| CDN Bundle (incl. Tracing) | 41.24 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.91 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.16 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.45 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.23 KB |
| @sentry/nextjs (client) | 44.89 KB |
| @sentry/sveltekit (client) | 40.94 KB |
| @sentry/node-core | 50.06 KB |
| @sentry/node | 155.85 KB |
| @sentry/node - without tracing | 90.74 KB |
| @sentry/aws-serverless | 105.67 KB |
feat(solid|solidstart): Bump accepted @solidjs/router range ([#18395](https://github.com/getsentry/sentry-javascript/pull/18395))
We expanded the supported version range for @solidjs/router to include 0.14.x and 0.15.x versions.
msg in pino integration (#18389)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.22 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.05 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.08 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.65 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.51 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.66 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.72 KB |
| @sentry/vue | 28.56 KB |
| @sentry/vue (incl. Tracing) | 42.32 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.57 KB |
| CDN Bundle (incl. Tracing) | 41.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.09 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.17 KB |
| @sentry/nextjs (client) | 44.88 KB |
| @sentry/sveltekit (client) | 40.92 KB |
| @sentry/node-core | 50.07 KB |
| @sentry/node | 155.79 KB |
| @sentry/node - without tracing | 90.68 KB |
| @sentry/aws-serverless | 105.61 KB |
feat(core): Make `matcher` parameter optional in `makeMultiplexedTransport` ([#10798](https://github.com/getsentry/sentry-javascript/pull/10798))
matcher parameter optional in makeMultiplexedTransport (#10798)The matcher parameter in makeMultiplexedTransport is now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.
Before:
import { makeFetchTransport, makeMultiplexedTransport } from '@sentry/browser';
const EXTRA_KEY = 'ROUTE_TO';
const transport = makeMultiplexedTransport(makeFetchTransport, args => {
const event = args.getEvent();
if (event?.extra?.[EXTRA_KEY] && Array.isArray(event.extra[EXTRA_KEY])) {
return event.extra[EXTRA_KEY];
}
return [];
});
Sentry.init({
transport,
// ... other options
});
// Capture events with routing info
Sentry.captureException(error, {
extra: {
[EXTRA_KEY]: [
{ dsn: 'https://key1@sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@sentry.io/project2' },
],
},
});
After:
import { makeFetchTransport, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from '@sentry/browser';
// Just pass the transport generator - the default matcher handles the rest!
Sentry.init({
transport: makeMultiplexedTransport(makeFetchTransport),
// ... other options
});
// Capture events with routing info using the exported constant
Sentry.captureException(error, {
extra: {
[MULTIPLEXED_TRANSPORT_EXTRA_KEY]: [
{ dsn: 'https://key1@sentry.io/project1', release: 'v1.0.0' },
{ dsn: 'https://key2@sentry.io/project2' },
],
},
});
The default matcher looks for routing information in event.extra[MULTIPLEXED_TRANSPORT_EXTRA_KEY]. You can still provide a custom matcher function for advanced use cases.
This release adds support for cacheComponents on turbopack builds. We are working on adding support for this feature in webpack builds as well.
isolateTrace option to Sentry.withMonitor() (#18079)waitUntil detection (#18336)continueTrace doesn't propagate given trace ID if active span exists (#18328)<details> <summary><strong>Internal Changes</strong></summary>
BUGBOT.md rules to flag invalid op and origin values during review (#18352)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.22 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.05 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.08 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.65 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.51 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.66 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.72 KB |
| @sentry/vue | 28.56 KB |
| @sentry/vue (incl. Tracing) | 42.32 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.57 KB |
| CDN Bundle (incl. Tracing) | 41.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.23 KB |
| CDN Bundle - uncompressed | 78.09 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.17 KB |
| @sentry/nextjs (client) | 44.88 KB |
| @sentry/sveltekit (client) | 40.92 KB |
| @sentry/node-core | 50.06 KB |
| @sentry/node | 155.7 KB |
| @sentry/node - without tracing | 90.67 KB |
| @sentry/aws-serverless | 105.61 KB |
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subj
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
Changes from 10.24-alpha.1:
sentry.segment.id common span attributeuser.username to user.nameis_remote, add is_segment span attributesspan.kind field| Path | Size |
|---|---|
| @sentry/browser | 24.33 KB |
| @sentry/browser - with treeshaking flags | 22.85 KB |
| @sentry/browser (incl. Tracing) | 40.97 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.45 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.51 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.45 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.09 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.02 KB |
| @sentry/browser (incl. Feedback) | 40.65 KB |
| @sentry/browser (incl. sendFeedback) | 28.91 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.73 KB |
| @sentry/react | 26 KB |
| @sentry/react (incl. Tracing) | 43.13 KB |
| @sentry/vue | 28.97 KB |
| @sentry/vue (incl. Tracing) | 42.73 KB |
| @sentry/svelte | 24.34 KB |
| CDN Bundle | 26.65 KB |
| CDN Bundle (incl. Tracing) | 41.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 77.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.48 KB |
| CDN Bundle - uncompressed | 78.21 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 123.49 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 236.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 249.27 KB |
| @sentry/nextjs (client) | 45.3 KB |
| @sentry/sveltekit (client) | 41.33 KB |
| @sentry/node-core | 50.12 KB |
| @sentry/node | 155.97 KB |
| @sentry/node - without tracing | 90.8 KB |
| @sentry/aws-serverless | 105.68 KB |
feat(browserprofiling): Add `manual` mode and deprecate old profiling ([#18189](https://github.com/getsentry/sentry-javascript/pull/18189))
feat(deps): Bump OpenTelemetry (#18239)
feat(browserprofiling): Add manual mode and deprecate old profiling (#18189)
Adds the manual lifecycle mode for UI profiling (the default mode), allowing profiles to be captured manually with Sentry.uiProfiler.startProfiler() and Sentry.uiProfiler.stopProfiler().
The previous transaction-based profiling is with profilesSampleRate is now deprecated in favor of the new UI Profiling with profileSessionSampleRate.
gibibyte and pebibyte to InformationUnit type (#18241)_experiments.enableLogs option (#18299)maxValueLength on error messages (#18301)sendDefaultPii (#18311)beforeSendMetric (#18261)<details>
<summary> <strong>Internal Changes</strong> </summary>
- build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#18038)
- chore: Add bump_otel_instrumentations cursor command (#18253)
- chore: Add external contributor to CHANGELOG.md (#18297)
- chore: Add external contributor to CHANGELOG.md (#18300)
- chore: Do not update opentelemetry (#18254)
- chore(angular): Add Angular 21 Support (#18274)
- chore(deps): bump astro from 4.16.18 to 5.15.9 in /dev-packages/e2e-tests/test-applications/cloudflare-astro (#18259)
- chore(dev-deps): Update some dev dependencies (#17816)
- ci(deps): Bump actions/create-github-app-token from 2.1.1 to 2.1.4 (#17825)
- ci(deps): bump actions/setup-node from 4 to 6 (#18077)
- ci(deps): bump actions/upload-artifact from 4 to 5 (#18075)
- ci(deps): bump github/codeql-action from 3 to 4 (#18076)
- doc(sveltekit): Update documentation link for SvelteKit guide (#18298)
- test(e2e): Fix astro config in test app (#18282)
- test(nextjs): Remove debug logs from e2e test (#18250)
</details>
Work in this release was contributed by @bignoncedric and @adam-kov. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.22 KB |
| @sentry/browser - with treeshaking flags | 22.76 KB |
| @sentry/browser (incl. Tracing) | 40.57 KB |
| @sentry/browser (incl. Tracing, Profiling) | 45.05 KB |
| @sentry/browser (incl. Tracing, Replay) | 78.08 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.65 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.61 KB |
| @sentry/browser (incl. Feedback) | 40.51 KB |
| @sentry/browser (incl. sendFeedback) | 28.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.62 KB |
| @sentry/react | 25.9 KB |
| @sentry/react (incl. Tracing) | 42.71 KB |
| @sentry/vue | 28.56 KB |
| @sentry/vue (incl. Tracing) | 42.32 KB |
| @sentry/svelte | 24.24 KB |
| CDN Bundle | 26.53 KB |
| CDN Bundle (incl. Tracing) | 41.18 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 82.18 KB |
| CDN Bundle - uncompressed | 77.97 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 122.28 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 235.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 248.06 KB |
| @sentry/nextjs (client) | 44.88 KB |
| @sentry/sveltekit (client) | 40.92 KB |
| @sentry/node-core | 49.99 KB |
| @sentry/node | 155.51 KB |
| @sentry/node - without tracing | 90.65 KB |
| @sentry/aws-serverless | 105.54 KB |
ref(react-router): Deprecate ErrorBoundary exports
Adds support for instrumenting LangGraph StateGraph operations in Node. The LangGraph integration can be configured as follows:
Sentry.init({
dsn: '__DSN__',
sendDefaultPii: false, // Even with PII disabled globally
integrations: [
Sentry.langGraphIntegration({
recordInputs: true, // Force recording input messages
recordOutputs: true, // Force recording response text
}),
],
});
Instrumentation for LangGraph in Cloudflare Workers and Vercel Edge environments is supported by manually calling instrumentLangGraph:
import * as Sentry from '@sentry/cloudflare'; // or '@sentry/vercel-edge'
import { StateGraph, START, END, MessagesAnnotation } from '@langchain/langgraph';
// Create and instrument the graph
const graph = new StateGraph(MessagesAnnotation)
.addNode('agent', agentFn)
.addEdge(START, 'agent')
.addEdge('agent', END);
Sentry.instrumentLangGraph(graph, {
recordInputs: true,
recordOutputs: true,
});
const compiled = graph.compile({ name: 'weather_assistant' });
await compiled.invoke({
messages: [{ role: 'user', content: 'What is the weather in SF?' }],
});
server.address attribute on server runtimes (#18242)ok status to successful idleSpans (#18139)fetch support with data URL (#18225)captureConsoleIntegration (#18096)MAX_LOG_BUFFER_SIZE are not swallowed (#18207)MAX_METRIC_BUFFER_SIZE are not swallowed (#18212)VNode objects with high normalizeDepth (#18206)tracingChannel export missing in older node versions (#18191)<details> <summary> <strong>Internal Changes</strong> </summary>
@embroider/addon-shim to 1.10.0 for the e2e ember-embroider (#18173)testTimeout field in bundler-tests vitest config@embroider/addon-shim override (#18180)Scope.setTag bundle size and adjust test (#18182)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.04 KB |
| @sentry/browser - with treeshaking flags | 22.59 KB |
| @sentry/browser (incl. Tracing) | 40.4 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.62 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.95 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.89 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.52 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.46 KB |
| @sentry/browser (incl. Feedback) | 40.32 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.41 KB |
| @sentry/react | 25.7 KB |
| @sentry/react (incl. Tracing) | 42.3 KB |
| @sentry/vue | 28.43 KB |
| @sentry/vue (incl. Tracing) | 42.16 KB |
| @sentry/svelte | 24.07 KB |
| CDN Bundle | 26.32 KB |
| CDN Bundle (incl. Tracing) | 40.96 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.99 KB |
| CDN Bundle - uncompressed | 77.1 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.73 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 247.19 KB |
| @sentry/nextjs (client) | 44.66 KB |
| @sentry/sveltekit (client) | 40.78 KB |
| @sentry/node-core | 49.76 KB |
| @sentry/node | 155.53 KB |
| @sentry/node - without tracing | 90.65 KB |
| @sentry/aws-serverless | 104.08 KB |
feat(browser): Include Spotlight in development bundles
maxCacheKeyLength to Redis integration (remove truncation) (#18045)<details> <summary> <strong>Internal Changes</strong> </summary>
| Path | Size |
|---|---|
| @sentry/browser | 24.02 KB |
| @sentry/browser - with treeshaking flags | 22.54 KB |
| @sentry/browser (incl. Tracing) | 40.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.44 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.41 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.3 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 28.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.39 KB |
| @sentry/react | 25.66 KB |
| @sentry/react (incl. Tracing) | 42.17 KB |
| @sentry/vue | 28.39 KB |
| @sentry/vue (incl. Tracing) | 41.99 KB |
| @sentry/svelte | 24.03 KB |
| CDN Bundle | 26.26 KB |
| CDN Bundle (incl. Tracing) | 40.8 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.81 KB |
| CDN Bundle - uncompressed | 76.99 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.03 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.35 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.81 KB |
| @sentry/nextjs (client) | 44.25 KB |
| @sentry/sveltekit (client) | 40.64 KB |
| @sentry/node-core | 49.57 KB |
| @sentry/node | 154.14 KB |
| @sentry/node - without tracing | 90.47 KB |
| @sentry/aws-serverless | 103.91 KB |
Metric options within _experiments got deprecated but will still work as of now, they will be removed with the next major version of our SDKs.
feat(metrics): Add top level option enableMetrics and beforeSendMetric (#18088)
This PR moves enableMetrics and beforeSendMetric out of the _experiments options.
The metrics feature will now be enabled by default (none of our integrations will auto-emit metrics as of now), but you can disable sending metrics via enableMetrics: false.
Metric options within _experiments got deprecated but will still work as of now, they will be removed with the next major version of our SDKs.
SENTRY_LAYER_EXTENSION to configure using the lambda layer extension via env variables (#18101)background-image when blockAllMedia is enabled (#18019)<details> <summary> <strong>Internal Changes</strong> </summary>
| Path | Size |
|---|---|
| @sentry/browser | 24.02 KB |
| @sentry/browser - with treeshaking flags | 22.54 KB |
| @sentry/browser (incl. Tracing) | 40.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.43 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.42 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.3 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 28.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.39 KB |
| @sentry/react | 25.68 KB |
| @sentry/react (incl. Tracing) | 42.2 KB |
| @sentry/vue | 28.39 KB |
| @sentry/vue (incl. Tracing) | 41.99 KB |
| @sentry/svelte | 24.03 KB |
| CDN Bundle | 26.26 KB |
| CDN Bundle (incl. Tracing) | 40.79 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.81 KB |
| CDN Bundle - uncompressed | 77 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.06 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.83 KB |
| @sentry/nextjs (client) | 44.25 KB |
| @sentry/sveltekit (client) | 40.63 KB |
| @sentry/node-core | 49.57 KB |
| @sentry/node | 154.12 KB |
| @sentry/node - without tracing | 90.46 KB |
| @sentry/aws-serverless | 103.91 KB |
feat(core): Send user-agent header with envelope requests in server SDKs
user-agent header with envelope requests in server SDKs (#17929)maxValueLength: 250 (#18043)options parameter optional on attachErrorHandler (#18072)internal_error instead of unknown_error (#17909)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @hanseo0507. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 24.06 KB |
| @sentry/browser - with treeshaking flags | 22.58 KB |
| @sentry/browser (incl. Tracing) | 40.29 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.47 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.64 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.58 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.23 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.12 KB |
| @sentry/browser (incl. Feedback) | 40.34 KB |
| @sentry/browser (incl. sendFeedback) | 28.62 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.44 KB |
| @sentry/react | 25.71 KB |
| @sentry/react (incl. Tracing) | 42.23 KB |
| @sentry/vue | 28.45 KB |
| @sentry/vue (incl. Tracing) | 42.04 KB |
| @sentry/svelte | 24.07 KB |
| CDN Bundle | 26.27 KB |
| CDN Bundle (incl. Tracing) | 40.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.6 KB |
| CDN Bundle - uncompressed | 77.04 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.1 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 233.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.06 KB |
| @sentry/nextjs (client) | 44.3 KB |
| @sentry/sveltekit (client) | 40.69 KB |
| @sentry/node-core | 49.62 KB |
| @sentry/node | 154.18 KB |
| @sentry/node - without tracing | 90.52 KB |
| @sentry/aws-serverless | 103.93 KB |
feat(node): Instrument cloud functions for firebase v2 ([#17952](https://github.com/getsentry/sentry-javascript/pull/17952))
feat(node): Instrument cloud functions for firebase v2 (#17952)
We added instrumentation for Cloud Functions for Firebase v2, enabling automatic performance tracking and error monitoring. This will be added automatically if you have enabled tracing.
feat(core): Instrument LangChain AI (#17955)
Instrumentation was added for LangChain AI operations. You can configure what is recorded like this:
Sentry.init({
integrations: [
Sentry.langChainIntegration({
recordInputs: true, // Record prompts/messages
recordOutputs: true, // Record responses
}),
],
});
err (#17999)/ when getting pathname (#17985)spanEnd for potentially cancelled lazy-route transactions (#17962)<details> <summary> <strong>Internal Changes</strong> </summary>
getMetaTagTransformer tests for Vitest compatibility (#18013)createHashRouter (#17789)</details>
| Path | Size |
|---|---|
| @sentry/browser | 24.05 KB |
| @sentry/browser - with treeshaking flags | 22.57 KB |
| @sentry/browser (incl. Tracing) | 40.01 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.2 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.36 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.02 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.9 KB |
| @sentry/browser (incl. Feedback) | 40.33 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.42 KB |
| @sentry/react | 25.69 KB |
| @sentry/react (incl. Tracing) | 41.96 KB |
| @sentry/vue | 28.43 KB |
| @sentry/vue (incl. Tracing) | 41.75 KB |
| @sentry/svelte | 24.06 KB |
| CDN Bundle | 26.27 KB |
| CDN Bundle (incl. Tracing) | 40.65 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.05 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.39 KB |
| CDN Bundle - uncompressed | 77.01 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 120.55 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 232.89 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 245.35 KB |
| @sentry/nextjs (client) | 44.05 KB |
| @sentry/sveltekit (client) | 40.43 KB |
| @sentry/node-core | 49.56 KB |
| @sentry/node | 154.11 KB |
| @sentry/node - without tracing | 90.46 KB |
| @sentry/aws-serverless | 103.86 KB |
feat(browserProfiling): Add `trace` lifecycle mode for UI profiling ([#17619](https://github.com/getsentry/sentry-javascript/pull/17619))
feat(browserProfiling): Add trace lifecycle mode for UI profiling (#17619)
Adds a new trace lifecycle mode for UI profiling, allowing profiles to be captured for the duration of a trace. A manual mode will be added in a future release.
feat(nuxt): Instrument Database (#17899)
Adds instrumentation for Nuxt database operations, enabling better performance tracking of database queries.
feat(nuxt): Instrument server cache API (#17886)
Adds instrumentation for Nuxt's server cache API, providing visibility into cache operations.
feat(nuxt): Instrument storage API (#17858)
Adds instrumentation for Nuxt's storage API, enabling tracking of storage operations.
onRequestSpanEnd hook to browser tracing integration (#17884)clean-css (#17979)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 24.05 KB |
| @sentry/browser - with treeshaking flags | 22.57 KB |
| @sentry/browser (incl. Tracing) | 40.01 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.2 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.43 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.36 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.02 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.9 KB |
| @sentry/browser (incl. Feedback) | 40.33 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.42 KB |
| @sentry/react | 25.69 KB |
| @sentry/react (incl. Tracing) | 41.96 KB |
| @sentry/vue | 28.43 KB |
| @sentry/vue (incl. Tracing) | 41.75 KB |
| @sentry/svelte | 24.06 KB |
| CDN Bundle | 26.27 KB |
| CDN Bundle (incl. Tracing) | 40.65 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.05 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.39 KB |
| CDN Bundle - uncompressed | 77.01 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 120.55 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 232.89 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 245.35 KB |
| @sentry/nextjs (client) | 44.05 KB |
| @sentry/sveltekit (client) | 40.43 KB |
| @sentry/node-core | 49.56 KB |
| @sentry/node | 150.82 KB |
| @sentry/node - without tracing | 90.44 KB |
| @sentry/aws-serverless | 103.84 KB |
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subj
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
@sentry/browser| Path | Size |
|---|---|
| @sentry/browser | 24.18 KB |
| @sentry/browser - with treeshaking flags | 22.72 KB |
| @sentry/browser (incl. Tracing) | 40.44 KB |
| @sentry/browser (incl. Tracing with Span Streaming) | 41.96 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.82 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.77 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.41 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.35 KB |
| @sentry/browser (incl. Feedback) | 40.48 KB |
| @sentry/browser (incl. sendFeedback) | 28.73 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.56 KB |
| @sentry/react | 25.83 KB |
| @sentry/react (incl. Tracing) | 42.39 KB |
| @sentry/vue | 28.84 KB |
| @sentry/vue (incl. Tracing) | 42.2 KB |
| @sentry/svelte | 24.19 KB |
| CDN Bundle | 26.42 KB |
| CDN Bundle (incl. Tracing) | 40.97 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.73 KB |
| CDN Bundle - uncompressed | 77.34 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.84 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.15 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.62 KB |
| @sentry/nextjs (client) | 44.41 KB |
| @sentry/sveltekit (client) | 40.85 KB |
| @sentry/node-core | 49.74 KB |
| @sentry/node | 151.24 KB |
| @sentry/node - without tracing | 90.63 KB |
| @sentry/aws-serverless | 104 KB |
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subj
This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
| Path | Size |
|---|---|
| @sentry/browser | 24.18 KB |
| @sentry/browser - with treeshaking flags | 22.72 KB |
| @sentry/browser (incl. Tracing) | 40.44 KB |
| @sentry/browser (incl. Tracing with Span Streaming) | 41.96 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.82 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.77 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.41 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.35 KB |
| @sentry/browser (incl. Feedback) | 40.48 KB |
| @sentry/browser (incl. sendFeedback) | 28.73 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.56 KB |
| @sentry/react | 25.83 KB |
| @sentry/react (incl. Tracing) | 42.39 KB |
| @sentry/vue | 28.84 KB |
| @sentry/vue (incl. Tracing) | 42.2 KB |
| @sentry/svelte | 24.19 KB |
| CDN Bundle | 26.42 KB |
| CDN Bundle (incl. Tracing) | 40.97 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.73 KB |
| CDN Bundle - uncompressed | 77.34 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.84 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.15 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.62 KB |
| @sentry/nextjs (client) | 44.41 KB |
| @sentry/sveltekit (client) | 40.85 KB |
| @sentry/node-core | 49.73 KB |
| @sentry/node | 151.24 KB |
| @sentry/node - without tracing | 90.63 KB |
| @sentry/aws-serverless | 104 KB |
feat(flags): Add Growthbook integration ([#17440](https://github.com/getsentry/sentry-javascript/pull/17440))
feat(flags): Add Growthbook integration (#17440)
Adds a new Growthbook integration for feature flag support.
feat(solid): Add support for TanStack Router Solid (#17735)
Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.
feat(nextjs): Support native debugIds in turbopack (#17853)
Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.
pino logger name (#17930)POP guard for long-running pageload spans (#17867)<details>
<summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @seoyeon9888, @madhuchavva and @thedanchez . Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 24.07 KB |
| @sentry/browser - with treeshaking flags | 22.6 KB |
| @sentry/browser (incl. Tracing) | 39.89 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.3 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.94 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.83 KB |
| @sentry/browser (incl. Feedback) | 40.36 KB |
| @sentry/browser (incl. sendFeedback) | 28.61 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.46 KB |
| @sentry/react | 25.73 KB |
| @sentry/react (incl. Tracing) | 41.84 KB |
| @sentry/vue | 28.45 KB |
| @sentry/vue (incl. Tracing) | 41.64 KB |
| @sentry/svelte | 24.08 KB |
| CDN Bundle | 26.31 KB |
| CDN Bundle (incl. Tracing) | 40.55 KB |
| CDN Bundle (incl. Tracing, Replay) | 75.98 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.33 KB |
| CDN Bundle - uncompressed | 77.1 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 120.19 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 232.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 245.11 KB |
| @sentry/nextjs (client) | 43.85 KB |
| @sentry/sveltekit (client) | 40.3 KB |
| @sentry/node-core | 49.59 KB |
| @sentry/node | 150.78 KB |
| @sentry/node - without tracing | 90.48 KB |
| @sentry/aws-serverless | 103.85 KB |
feat(tracemetrics): Add trace metrics behind an experiments flag
<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.83 KB |
| @sentry/browser - with treeshaking flags | 22.36 KB |
| @sentry/browser (incl. Tracing) | 39.66 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.13 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.01 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.71 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.57 KB |
| @sentry/browser (incl. Feedback) | 40.14 KB |
| @sentry/browser (incl. sendFeedback) | 28.38 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.18 KB |
| @sentry/react | 25.5 KB |
| @sentry/react (incl. Tracing) | 41.56 KB |
| @sentry/vue | 28.24 KB |
| @sentry/vue (incl. Tracing) | 41.39 KB |
| @sentry/svelte | 23.87 KB |
| CDN Bundle | 26.01 KB |
| CDN Bundle (incl. Tracing) | 40.18 KB |
| CDN Bundle (incl. Tracing, Replay) | 75.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.96 KB |
| CDN Bundle - uncompressed | 76.34 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 119.32 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 231.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 244.24 KB |
| @sentry/nextjs (client) | 43.54 KB |
| @sentry/sveltekit (client) | 40.02 KB |
| @sentry/node-core | 49.55 KB |
| @sentry/node | 150.75 KB |
| @sentry/node - without tracing | 90.42 KB |
| @sentry/aws-serverless | 103.83 KB |
feat(node): `pino` integration ([#17584](https://github.com/getsentry/sentry-javascript/pull/17584))
feat(node): pino integration (#17584)
This release adds a new pino integration for Node.js, enabling Sentry to capture logs from the Pino logging library.
feat: Remove @sentry/pino-transport package (#17851)
The @sentry/pino-transport package has been removed. Please use the new pino integration in @sentry/node instead.
feat(node-core): Extend onnhandledrejection with ignore errors option (#17736)
Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.
sentry.client.config.ts in nuxt app types (#17830)OriginalHandleRequest with middleware (#17870)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @stefanvanderwolf. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.69 KB |
| @sentry/browser - with treeshaking flags | 22.24 KB |
| @sentry/browser (incl. Tracing) | 39.5 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.54 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.45 KB |
| @sentry/browser (incl. Feedback) | 40.01 KB |
| @sentry/browser (incl. sendFeedback) | 28.24 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.05 KB |
| @sentry/react | 25.37 KB |
| @sentry/react (incl. Tracing) | 41.42 KB |
| @sentry/vue | 28.09 KB |
| @sentry/vue (incl. Tracing) | 41.27 KB |
| @sentry/svelte | 23.72 KB |
| CDN Bundle | 25.17 KB |
| CDN Bundle (incl. Tracing) | 39.39 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.79 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.16 KB |
| CDN Bundle - uncompressed | 73.59 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.56 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 229.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.49 KB |
| @sentry/nextjs (client) | 43.38 KB |
| @sentry/sveltekit (client) | 39.91 KB |
| @sentry/node-core | 49.38 KB |
| @sentry/node | 150.58 KB |
| @sentry/node - without tracing | 90.25 KB |
| @sentry/aws-serverless | 103.65 KB |
feat(nuxt): Implement server middleware instrumentation ([#17796](https://github.com/getsentry/sentry-javascript/pull/17796))
feat(nuxt): Implement server middleware instrumentation (#17796)
This release introduces instrumentation for Nuxt middleware, ensuring that all middleware handlers are automatically wrapped with tracing and error reporting functionality.
fix(aws-serverless): Take http_proxy into account when choosing
useLayerExtension default (#17817)
The default setting for useLayerExtension now considers the http_proxy environment variable.
When http_proxy is set, useLayerExtension will be off by default.
If you use a http_proxy but would still like to make use of the Sentry Lambda extension, exempt localhost in a no_proxy environment variable.
beforeSendSpan (#17815)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.67 KB |
| @sentry/browser - with treeshaking flags | 22.21 KB |
| @sentry/browser (incl. Tracing) | 39.48 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.96 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.85 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.52 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.43 KB |
| @sentry/browser (incl. Feedback) | 39.99 KB |
| @sentry/browser (incl. sendFeedback) | 28.21 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.03 KB |
| @sentry/react | 25.35 KB |
| @sentry/react (incl. Tracing) | 41.4 KB |
| @sentry/vue | 28.07 KB |
| @sentry/vue (incl. Tracing) | 41.24 KB |
| @sentry/svelte | 23.69 KB |
| CDN Bundle | 25.15 KB |
| CDN Bundle (incl. Tracing) | 39.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.14 KB |
| CDN Bundle - uncompressed | 73.53 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.51 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 228.97 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.43 KB |
| @sentry/nextjs (client) | 43.36 KB |
| @sentry/sveltekit (client) | 39.88 KB |
| @sentry/node-core | 49.15 KB |
| @sentry/node | 149.82 KB |
| @sentry/node - without tracing | 90.02 KB |
| @sentry/aws-serverless | 103.41 KB |
feat(logs): Add internal replay_is_buffering flag
replay_is_buffering flag (#17752)instrumentAnthropicAiClient breaking MessageStream api (#17754)<details> <summary> <strong>Internal Changes</strong> </summary>
publish_release command (#17797)import-in-the-middle when building the Lambda layer (#17780)import-in-the-middle@1.14.2 due to @vercel/nft incompatibility (#17777)" (#17784)import-in-the-middle@1.14.2 due to @vercel/nft incompatibility (#17777)</details>
feat(cloudflare): Add honoIntegration with error-filtering function ([#17743](https://github.com/getsentry/sentry-javascript/pull/17743))
feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
This release adds a honoIntegration to @sentry/cloudflare, which exposes a shouldHandleError function that lets you define which errors in onError should be captured.
By default, Sentry captures exceptions with error.status >= 500 || error.status <= 299.
The integration is added by default, and it's possible to modify this behavior like this:
integrations: [
honoIntegration({
shouldHandleError: (err) => true; // always capture exceptions in onError
})
]
feat(node): Add instrumentation for hono handler (#17428)
This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.
feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)
feat(browser): Add setActiveSpanInBrowser to set an active span in the browser (#17714)
This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.
0 and undefined resource timing values (#17751)<details> <summary> <strong>Internal Changes</strong> </summary>
@typescript-eslint/no-unnecessary-type-assertion rule (#17728)es2020 everywhere (#17709)</details>
Work in this release was contributed by @Karibash. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.69 KB |
| @sentry/browser - with treeshaking flags | 22.24 KB |
| @sentry/browser (incl. Tracing) | 39.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.96 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.52 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.44 KB |
| @sentry/browser (incl. Feedback) | 40.01 KB |
| @sentry/browser (incl. sendFeedback) | 28.24 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.05 KB |
| @sentry/react | 25.37 KB |
| @sentry/react (incl. Tracing) | 41.42 KB |
| @sentry/vue | 28.11 KB |
| @sentry/vue (incl. Tracing) | 41.25 KB |
| @sentry/svelte | 23.72 KB |
| CDN Bundle | 25.17 KB |
| CDN Bundle (incl. Tracing) | 39.39 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.13 KB |
| CDN Bundle - uncompressed | 73.6 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.59 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 229.02 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.48 KB |
| @sentry/nextjs (client) | 43.38 KB |
| @sentry/sveltekit (client) | 39.9 KB |
| @sentry/node-core | 48.85 KB |
| @sentry/node | 149.25 KB |
| @sentry/node - without tracing | 89.79 KB |
| @sentry/aws-serverless | 102.92 KB |
feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation ([#17723](https://github.com/getsentry/sentry-javascript/pull/17723))
feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#17723)
The SDK now supports manually instrumenting Google's Generative AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient) to get an instrumented client.
WeakRef when storing it on spans (#17712)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.69 KB |
| @sentry/browser - with treeshaking flags | 22.24 KB |
| @sentry/browser (incl. Tracing) | 39.46 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.93 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.84 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.49 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.41 KB |
| @sentry/browser (incl. Feedback) | 40.01 KB |
| @sentry/browser (incl. sendFeedback) | 28.24 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.05 KB |
| @sentry/react | 25.37 KB |
| @sentry/react (incl. Tracing) | 41.38 KB |
| @sentry/vue | 28.11 KB |
| @sentry/vue (incl. Tracing) | 41.22 KB |
| @sentry/svelte | 23.72 KB |
| CDN Bundle | 25.17 KB |
| CDN Bundle (incl. Tracing) | 39.3 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 80.04 KB |
| CDN Bundle - uncompressed | 73.6 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.34 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 228.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 241.23 KB |
| @sentry/nextjs (client) | 43.36 KB |
| @sentry/sveltekit (client) | 39.87 KB |
| @sentry/node-core | 48.85 KB |
| @sentry/node | 148.68 KB |
| @sentry/node - without tracing | 89.79 KB |
| @sentry/aws-serverless | 102.92 KB |
feat(browser): Add option to explicitly end pageload span via `reportPageLoaded()` ([#17697](https://github.com/getsentry/sentry-javascript/pull/17697
feat(browser): Add option to explicitly end pageload span via reportPageLoaded() (#17697)
With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:
Sentry.init({
//...
integrations: [
// 1. Enable manual pageload reporting
Sentry.browserTracingIntegration({ enableReportPageLoaded: true }),
],
});
// 2. Whenever you decide the page is loaded, call:
Sentry.reportPageLoaded();
Note that if Sentry.reportPageLoaded() is not called within 30 seconds of the initial pageload (or whatever value the finalTimeout option is set to), the pageload span will be ended automatically.
feat(core,node): Add instrumentation for GoogleGenerativeAI (#17625)
The SDK now automatically instruments the @google/generative-ai package to provide insights into your AI operations.
feat(nextjs): Promote useRunAfterProductionCompileHook to non-experimental build option (#17721)
The useRunAfterProductionCompileHook option is no longer experimental and is now a stable build option for Next.js projects.
feat(nextjs): Use afterProductionCompile hook for webpack builds (#17655)
Next.js projects using webpack can opt-in to use the useRunAfterProductionCompileHook hook for source map uploads.
feat(nextjs): Flip default value for useRunAfterProductionCompileHook for Turbopack builds (#17722)
The useRunAfterProductionCompileHook option is now enabled by default for Turbopack builds, enabling automated source map uploads.
feat(node): Do not drop 300 and 304 status codes by default (#17686)
HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.
onSuccess to handleCallbackErrors (#17679)consoleLoggingIntegration (#17703)os context (#17720)thirdPartyErrorFilterIntegration (#17693)this context for vercel AI instrumentation (#17681)<details> <summary> <strong>Internal Changes</strong> </summary>
reportPageLoaded (#17724)getTestMatrix (#17673)SyncPromise where not needed (#17641)ignoreSpans (#17692)module_metadata assignment and cleanup functions (#17696)HandleDocumentRequestFunction (#17680)</details>
Work in this release was contributed by @Olexandr88. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.66 KB |
| @sentry/browser - with treeshaking flags | 22.21 KB |
| @sentry/browser (incl. Tracing) | 39.39 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.88 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.78 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.44 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.35 KB |
| @sentry/browser (incl. Feedback) | 39.99 KB |
| @sentry/browser (incl. sendFeedback) | 28.2 KB |
| @sentry/browser (incl. FeedbackAsync) | 33 KB |
| @sentry/react | 25.33 KB |
| @sentry/react (incl. Tracing) | 41.32 KB |
| @sentry/vue | 28.05 KB |
| @sentry/vue (incl. Tracing) | 41.15 KB |
| @sentry/svelte | 23.68 KB |
| CDN Bundle | 25.14 KB |
| CDN Bundle (incl. Tracing) | 39.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.59 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.96 KB |
| CDN Bundle - uncompressed | 73.46 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 116.1 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 228.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 240.99 KB |
| @sentry/nextjs (client) | 43.3 KB |
| @sentry/sveltekit (client) | 39.81 KB |
| @sentry/node-core | 48.81 KB |
| @sentry/node | 148.62 KB |
| @sentry/node - without tracing | 89.73 KB |
| @sentry/aws-serverless | 102.86 KB |
ref: Add and Adjust error event `mechanism` values
ref: Add and Adjust error event mechanism values
This release includes a variety of changes aimed at setting the mechanism field on errors captured automatically by the Sentry SDKs. The intention is to clearly mark which instrumentation captured an error. In addition, some instrumentations previously did not yet annotate the error as handled or unhandled which this series of PRs corrects as well.
<details> <summary> Relevant PRs </summary>
<br/>
Released in 10.12.0:
mechanism on error events captured by astro middleware (#17613)mechanism of errors captured in Bun.serve (#17616)mechanisms and durable object origin (#17618)mechanism in captureConsoleIntegration (#17633)mechanism (#17622)linkedErrors mechanism logic (#17600)mechanism of errors caught by globalHandlersIntegration (#17635)mechanisms (#17543)mechanism to cron instrumentations (#17544)mechanism.type to worker thread errors from childProcessIntegration (#17578)mechanism of onUnhandledRejection and onUnhandledException integrations (#17636)mechanism.type in error events (#17599)reactErrorHandler and adjust mechanism in ErrorBoundary (#17602)captureRemixServerException (#17629)replayIntegration in debug mode (#17606)mechanism to error captured by withSentryErrorBoundary (#17607)mechanism of error events (#17646)<br/>
Released in 10.11.0:
mechanism.type to errors captured by httpClientIntegration (#17254)mechanism.type in browserApiErrorsIntergation (#17251)mechanism.type to trpcMiddleware errors (#17287)mechanisms and span origins to openAiIntegration (#17288)mechanism to captured errors (#17312)</details>
prismaIntegration works with Prisma 5 (#17595)We used to require to pass in the v5 version of @prisma/instrumentation into prismaIntegration({ prismaInstrumentation: new PrismaInstrumentation() }), if you wanted to get full instrumentation for Prisma v5. However, it turns out this does not work on v10 of the SDK anymore, because @prisma/instrumentation@5 requires OTEL v1.
With this release, we dropped the requirement to configure anything to get v5 support of Prisma. You do not need to configure anything in the integration anymore, and can remove the dependency on @prisma/instrumentation@5 if you had it in your application. You only need to configure the tracing preview feature according to our docs.
TracesSamplerSamplingContext type (#17523)prismaIntegration works with Prisma v5 (#17595)parentSpanId stays consistent during trace in TwP mode (#17526)step.do (#17582)_platform properties in Nitro 2.11.7+ (#17596)shimmer (#17597) - ref(nuxt): Add and adjust mechanism.type in error events (#17599)fetchTransport error handling (#17661)<details> <summary> <strong>Internal Changes</strong> </summary>
.claude/settings.local.json to .claude/settings.json (#17591)flushIfServerless test (#17610)</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.19 KB |
| @sentry/browser (incl. Tracing) | 39.21 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.69 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.64 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.24 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.16 KB |
| @sentry/browser (incl. Feedback) | 39.92 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.96 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 41.18 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.99 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.13 KB |
| CDN Bundle (incl. Tracing) | 39.11 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.48 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.86 KB |
| CDN Bundle - uncompressed | 73.41 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 115.73 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 228.13 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 240.59 KB |
| @sentry/nextjs (client) | 43.12 KB |
| @sentry/sveltekit (client) | 39.64 KB |
| @sentry/node-core | 48.69 KB |
| @sentry/node | 147.6 KB |
| @sentry/node - without tracing | 89.6 KB |
| @sentry/aws-serverless | 102.73 KB |
feat(aws): Add experimental AWS Lambda extension for tunnelling events ([#17525](https://github.com/getsentry/sentry-javascript/pull/17525))
feat(aws): Add experimental AWS Lambda extension for tunnelling events (#17525)
This release adds an experimental Sentry Lambda extension to the existing Sentry Lambda layer. Sentry events are now tunneled through the extension and then forwarded to Sentry. This has the benefit of reducing the request processing time.
To enable it, set _experiments.enableLambdaExtension in your Sentry config like this:
Sentry.init({
dsn: '<YOUR_DSN>',
_experiments: {
enableLambdaExtension: true,
},
});
handleExistingNavigation (#17534)mechanism.type to errors captured by httpClientIntegration (#17254)mechanism.type in browserApiErrorsIntergation (#17251)mechanism.type to trpcMiddleware errors (#17287)mechanisms and span origins to openAiIntegration (#17288)mechanism to captured errors (#17312)<details> <summary> <strong>Internal Changes</strong> </summary>
test-utils dependency in workspace (#17538)geist font (#17541)</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.61 KB |
| @sentry/browser - with treeshaking flags | 22.22 KB |
| @sentry/browser (incl. Tracing) | 39.2 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.66 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.66 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.23 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.15 KB |
| @sentry/browser (incl. Feedback) | 39.95 KB |
| @sentry/browser (incl. sendFeedback) | 28.15 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.98 KB |
| @sentry/react | 25.29 KB |
| @sentry/react (incl. Tracing) | 41.12 KB |
| @sentry/vue | 27.99 KB |
| @sentry/vue (incl. Tracing) | 40.97 KB |
| @sentry/svelte | 23.63 KB |
| CDN Bundle | 25.16 KB |
| CDN Bundle (incl. Tracing) | 39.07 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.5 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.83 KB |
| CDN Bundle - uncompressed | 73.44 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 115.53 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 227.93 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 240.39 KB |
| @sentry/nextjs (client) | 43.11 KB |
| @sentry/sveltekit (client) | 39.63 KB |
| @sentry/node-core | 48.66 KB |
| @sentry/node | 148.65 KB |
| @sentry/node - without tracing | 90.07 KB |
| @sentry/aws-serverless | 103.24 KB |
feat(browser): Add support for `propagateTraceparent` SDK option ([#17509](https://github.com/getsentry/sentry-javascript/pull/17509))
propagateTraceparent SDK option (#17509)Adds support for a new browser SDK init option, propagateTraceparent for attaching a W3C compliant traceparent header to outgoing fetch and XHR requests, in addition to sentry-trace and baggage headers. More details can be found here.
Adds missing tool call attributes, we add gen_ai.response.tool_calls attribute for Anthropic AI, supporting both streaming and non-streaming requests.
Adds a new experimental flag _experimental.useRunAfterProductionCompileHook to withSentryConfig for automatic source maps uploads when building a Next.js app with next build --turbopack.
When set we:
origin for OpenAI spans & test auto instrumentation (#17519)| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.2 KB |
| @sentry/browser (incl. Tracing) | 39.19 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.63 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.64 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 81.2 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 93.13 KB |
| @sentry/browser (incl. Feedback) | 39.93 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.96 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 41.11 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.95 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.14 KB |
| CDN Bundle (incl. Tracing) | 39.05 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.48 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.82 KB |
| CDN Bundle - uncompressed | 73.4 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 115.49 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 227.88 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 240.35 KB |
| @sentry/nextjs (client) | 43.08 KB |
| @sentry/sveltekit (client) | 39.62 KB |
| @sentry/node-core | 48.49 KB |
| @sentry/node | 147.1 KB |
| @sentry/node - without tracing | 90.07 KB |
| @sentry/aws-serverless | 103.06 KB |
Finally, you can still pass instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan} options, but they are deprecated and will be remove…
httpIntegration handling of incoming requests (#17371)This version updates the handling of the Node SDK of incoming requests. Instead of relying on @opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.
This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the _experimentalConfig option of the integration - this will no longer do anything.
Finally, you can still pass instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan} options, but they are deprecated and will be removed in v11. Instead, you can use the new incomingRequestSpanHook configuration option if you want to adjust the incoming request span.
sendFeedback from CDN bundles (#17495)beforeStartSpan isn't overwritten (#17500)beforeStartSpan (#17501)Sentry.close() (#17499)<details> <summary> <strong>Internal Changes</strong> </summary>
changelog script back to package.json (#17517)</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.2 KB |
| @sentry/browser (incl. Tracing) | 38.93 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.4 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.43 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.97 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.81 KB |
| @sentry/browser (incl. Feedback) | 39.88 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.92 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 40.91 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.72 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.06 KB |
| CDN Bundle (incl. Tracing) | 38.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.25 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.56 KB |
| CDN Bundle - uncompressed | 73.2 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.83 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 227.23 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 239.56 KB |
| @sentry/nextjs (client) | 42.86 KB |
| @sentry/sveltekit (client) | 39.38 KB |
| @sentry/node-core | 48.45 KB |
| @sentry/node | 146.74 KB |
| @sentry/node - without tracing | 90.02 KB |
| @sentry/aws-serverless | 103.01 KB |
feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing ([#17423](https://github.com/getsentry/sentry-javascript/pull/17423))
feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing (#17423)
This release makes the @sentry/sveltekit SDK compatible with SvelteKit's native observability support introduced in SvelteKit version 2.31.0.
If you enable both, instrumentation and tracing, the SDK will now initialize early enough to set up additional instrumentation like database queries and it will pick up spans emitted from SvelteKit.
We will follow up with docs how to set up the SDK soon.
For now, If you're on SvelteKit version 2.31.0 or newer, you can easily opt into the new feature:
Enable experimental tracing and instrumentation support in svelte.config.js:
Move your Sentry.init() call from src/hooks.server.(js|ts) to the new instrumentation.server.(js|ts) file:
// instrumentation.server.ts
import * as Sentry from '@sentry/sveltekit';
Sentry.init({
dsn: '...',
// rest of your config
});
The rest of your Sentry config in hooks.server.ts (sentryHandle and handleErrorWithSentry) should stay the same.
If you prefer to stay on the hooks-file based config for now, the SDK will continue to work as previously.
Thanks to the Svelte team and @elliott-with-the-longest-name-on-github for implementing observability support and for reviewing our PR!
<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.2 KB |
| @sentry/browser (incl. Tracing) | 38.94 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.4 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.43 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.97 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.8 KB |
| @sentry/browser (incl. Feedback) | 39.88 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.92 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 40.91 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.72 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.06 KB |
| CDN Bundle (incl. Tracing) | 38.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.55 KB |
| CDN Bundle - uncompressed | 73.2 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.83 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 227.23 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 239.53 KB |
| @sentry/nextjs (client) | 42.86 KB |
| @sentry/sveltekit (client) | 39.38 KB |
| @sentry/node-core | 46.87 KB |
| @sentry/node | 145.75 KB |
| @sentry/node - without tracing | 90.08 KB |
| @sentry/aws-serverless | 102.45 KB |
feat(cloudflare): Add `instrumentPrototypeMethods` option to instrument RPC methods for DurableObjects ([#17424](https://github.com/getsentry/sentry-j
instrumentPrototypeMethods option to instrument RPC methods for DurableObjects (#17424)By default, Sentry.instrumentDurableObjectWithSentry will not wrap any RPC methods on the prototype. To enable wrapping for RPC methods, set instrumentPrototypeMethods to true or, if performance is a concern, a list of only the methods you want to instrument:
class MyDurableObjectBase extends DurableObject<Env> {
method1() {
// ...
}
method2() {
// ...
}
method3() {
// ...
}
}
// Export your named class as defined in your wrangler config
export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry(
(env: Env) => ({
dsn: "https://ac49b7af3017c458bd12dab9b3328bfc@o4508482761982032.ingest.de.sentry.io/4508482780987481",
tracesSampleRate: 1.0,
instrumentPrototypeMethods: ['method1', 'method3'],
}),
MyDurableObjectBase,
);
requestAnimationFrame for canvas snapshots (#17380)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.2 KB |
| @sentry/browser (incl. Tracing) | 38.94 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.4 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.43 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.97 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.8 KB |
| @sentry/browser (incl. Feedback) | 39.88 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.92 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 40.88 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.72 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.06 KB |
| CDN Bundle (incl. Tracing) | 38.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.55 KB |
| CDN Bundle - uncompressed | 73.2 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.83 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 227.23 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 239.53 KB |
| @sentry/nextjs (client) | 42.86 KB |
| @sentry/sveltekit (client) | 39.38 KB |
| @sentry/node-core | 46.86 KB |
| @sentry/node | 145.75 KB |
| @sentry/node - without tracing | 90.08 KB |
| @sentry/aws-serverless | 102.45 KB |
feat(node): Add Anthropic AI integration ([#17348](https://github.com/getsentry/sentry-javascript/pull/17348))
This release adds support for automatically tracing Anthropic AI SDK requests, providing better observability for AI-powered applications.
ai v5 (#17395)This release makes the Sentry vercelAiIntegration compatible with version 5 of Vercel ai.
The Sentry Nuxt SDK is now considered stable and no longer in beta!
DedicatedWorkerGlobalScope global object type in registerWebWorker (#17447)isSentryRequestUrl (#17393)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @Karibash. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.2 KB |
| @sentry/browser (incl. Tracing) | 38.94 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.21 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.28 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.79 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.62 KB |
| @sentry/browser (incl. Feedback) | 39.88 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.92 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 40.88 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.72 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.06 KB |
| CDN Bundle (incl. Tracing) | 38.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.09 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.41 KB |
| CDN Bundle - uncompressed | 73.2 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.83 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.51 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.82 KB |
| @sentry/nextjs (client) | 42.86 KB |
| @sentry/sveltekit (client) | 39.38 KB |
| @sentry/node-core | 46.86 KB |
| @sentry/node | 144.94 KB |
| @sentry/node - without tracing | 90.08 KB |
| @sentry/aws-serverless | 102.01 KB |
feat(core): Better cause data extraction
SystemError context and remove paths from message (#17331)<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
Work in this release was contributed by @ha1fstack. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.2 KB |
| @sentry/browser (incl. Tracing) | 38.94 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.16 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.24 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.75 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.57 KB |
| @sentry/browser (incl. Feedback) | 39.87 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.92 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 40.88 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.72 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.06 KB |
| CDN Bundle (incl. Tracing) | 38.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.04 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.36 KB |
| CDN Bundle - uncompressed | 73.2 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.83 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.44 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.75 KB |
| @sentry/nextjs (client) | 42.86 KB |
| @sentry/sveltekit (client) | 39.38 KB |
| @sentry/node-core | 46.86 KB |
| @sentry/node | 143.58 KB |
| @sentry/node - without tracing | 90.08 KB |
| @sentry/aws-serverless | 101.24 KB |
fix(browser): Ensure IP address is only inferred by Relay if `sendDefaultPii` is `true`
sendDefaultPii is trueThis release includes a fix for a behaviour change
that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically,
if sendDefaultPii was set to true.
However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
Unfortunately, the change did not make it into the initial v10 version but is now applied with 10.4.0.
There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set sendDefaultPii: true in your Sentry.init options.
We apologize for any inconvenience caused!
ignoreStaticAssets (#17370)This release adds a new option to httpIntegration to ignore requests for static assets (e.g. favicon.xml or robots.txt). The option defaults to true, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option to false:
Sentry.init({
integrations: [
Sentry.httpIntegration({
// defaults to true, set to false to enable traces for static assets
ignoreStaticAssets: false,
}),
],
});
<details> <summary> <strong>Internal Changes</strong> </summary>
</details>
| Path | Size |
|---|---|
| @sentry/browser | 23.59 KB |
| @sentry/browser - with treeshaking flags | 22.2 KB |
| @sentry/browser (incl. Tracing) | 38.94 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.16 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.24 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.75 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.57 KB |
| @sentry/browser (incl. Feedback) | 39.87 KB |
| @sentry/browser (incl. sendFeedback) | 28.13 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.92 KB |
| @sentry/react | 25.27 KB |
| @sentry/react (incl. Tracing) | 40.88 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 40.72 KB |
| @sentry/svelte | 23.62 KB |
| CDN Bundle | 25.06 KB |
| CDN Bundle (incl. Tracing) | 38.82 KB |
| CDN Bundle (incl. Tracing, Replay) | 74.04 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.36 KB |
| CDN Bundle - uncompressed | 73.2 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.83 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.44 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.75 KB |
| @sentry/nextjs (client) | 42.86 KB |
| @sentry/sveltekit (client) | 39.38 KB |
| @sentry/node-core | 46.69 KB |
| @sentry/node | 143.39 KB |
| @sentry/node - without tracing | 89.89 KB |
| @sentry/aws-serverless | 101.05 KB |
feat(core): MCP Server - Capture prompt results from prompt function calls
skipOpenTelemetrySetup option (#17349)globalHandlersIntegration (#17216)handle (#17277)| Path | Size |
|---|---|
| @sentry/browser | 23.55 KB |
| @sentry/browser - with treeshaking flags | 22.15 KB |
| @sentry/browser (incl. Tracing) | 38.89 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.1 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.18 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.69 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.51 KB |
| @sentry/browser (incl. Feedback) | 39.81 KB |
| @sentry/browser (incl. sendFeedback) | 28.1 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.87 KB |
| @sentry/react | 25.22 KB |
| @sentry/react (incl. Tracing) | 40.82 KB |
| @sentry/vue | 27.92 KB |
| @sentry/vue (incl. Tracing) | 40.67 KB |
| @sentry/svelte | 23.58 KB |
| CDN Bundle | 25.02 KB |
| CDN Bundle (incl. Tracing) | 38.79 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.99 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.28 KB |
| CDN Bundle - uncompressed | 73.13 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.76 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.35 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.66 KB |
| @sentry/nextjs (client) | 42.81 KB |
| @sentry/sveltekit (client) | 39.33 KB |
| @sentry/node-core | 46.61 KB |
| @sentry/node | 143.18 KB |
| @sentry/node - without tracing | 89.68 KB |
| @sentry/aws-serverless | 100.85 KB |
The startTrace option is deprecated and will be removed in a future major version. If you want to disable tracing, set SENTRY_TRACES_SAMPLE_RATE to 0.…
ignoreSpans option (#17078)This release adds a new top-level Sentry.init option, ignoreSpans, that can be used as follows:
Sentry.init({
ignoreSpans: [
'partial match', // string matching on the span name
/regex/, // regex matching on the span name
{
name: 'span name',
op: /http.client/,
},
],
});
Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.
Adds support for OpenAI manual instrumentation in @sentry/cloudflare and @sentry/vercel-edge.
To instrument the OpenAI client, wrap it with Sentry.instrumentOpenAiClient and set recording settings.
import * as Sentry from '@sentry/cloudflare';
import OpenAI from 'openai';
const openai = new OpenAI();
const client = Sentry.instrumentOpenAiClient(openai, { recordInputs: true, recordOutputs: true });
// use the wrapped client
The startTrace option is deprecated and will be removed in a future major version. If you want to disable tracing, set SENTRY_TRACES_SAMPLE_RATE to 0.0. instead. As of today, the flag does not affect traces anymore.
gen_ai.invoke_agent spans from child LLM calls (#17281)sentry.origin span attribute to SentryTraced decorator (#17318)openai to the instrumented fn (#17320)sendBufferedReplayOrFlush when opening/sending feedback (#17236)| Path | Size |
|---|---|
| @sentry/browser | 23.48 KB |
| @sentry/browser - with treeshaking flags | 22.09 KB |
| @sentry/browser (incl. Tracing) | 38.82 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.03 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.11 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.62 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.44 KB |
| @sentry/browser (incl. Feedback) | 39.74 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.81 KB |
| @sentry/react | 25.16 KB |
| @sentry/react (incl. Tracing) | 40.72 KB |
| @sentry/vue | 27.84 KB |
| @sentry/vue (incl. Tracing) | 40.59 KB |
| @sentry/svelte | 23.51 KB |
| CDN Bundle | 24.95 KB |
| CDN Bundle (incl. Tracing) | 38.71 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.92 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.21 KB |
| CDN Bundle - uncompressed | 72.95 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.47 KB |
| @sentry/nextjs (client) | 42.72 KB |
| @sentry/sveltekit (client) | 39.25 KB |
| @sentry/node-core | 46.61 KB |
| @sentry/node | 143.18 KB |
| @sentry/node - without tracing | 89.68 KB |
| @sentry/aws-serverless | 100.85 KB |
feat(nuxt): Align build-time options to follow bundler plugins structure
diagnoseSdkConnectivity doesn't create span (#17280)| Path | Size |
|---|---|
| @sentry/browser | 23.21 KB |
| @sentry/browser - with treeshaking flags | 21.82 KB |
| @sentry/browser (incl. Tracing) | 38.51 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.7 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.81 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.29 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.14 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.56 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.43 KB |
| @sentry/vue | 27.54 KB |
| @sentry/vue (incl. Tracing) | 40.27 KB |
| @sentry/svelte | 23.23 KB |
| CDN Bundle | 24.69 KB |
| CDN Bundle (incl. Tracing) | 38.38 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.62 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.92 KB |
| CDN Bundle - uncompressed | 72.13 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 113.62 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 237.67 KB |
| @sentry/nextjs (client) | 42.44 KB |
| @sentry/sveltekit (client) | 38.93 KB |
| @sentry/node-core | 46.41 KB |
| @sentry/node | 142.76 KB |
| @sentry/node - without tracing | 89.48 KB |
| @sentry/aws-serverless | 100.67 KB |
Version 10.0.0 marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the unde…
Version 10.0.0 marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/
A comprehensive migration guide outlining all changes can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
BaseClient (#17071)enableLogs and beforeSendLog experimental options (#17063)hasTracingEnabled (#17072)_experiments.autoFlushOnFeedback option as default (#17220)SentryNodeServerlessSDKv10 v10 AWS Lambda Layer (#17069)flushIfServerless function (#17177)strictTraceContinuation (#16313)@sentry-internal/node-native-stacktrace to 0.2.2 (#17207)shouldHandleError option to fastifyIntegration (#16845)createSentryHandleError (#17235)fastifyIntegration error handler (#17208)vercelAiIntegration have correct trace connected (#17132)handleErrorWithSentry (#17157)Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.21 KB |
| @sentry/browser - with treeshaking flags | 21.82 KB |
| @sentry/browser (incl. Tracing) | 38.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.68 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.78 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.27 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.11 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.56 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.41 KB |
| @sentry/vue | 27.54 KB |
| @sentry/vue (incl. Tracing) | 40.25 KB |
| @sentry/svelte | 23.23 KB |
| CDN Bundle | 24.69 KB |
| CDN Bundle (incl. Tracing) | 38.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.61 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.91 KB |
| CDN Bundle - uncompressed | 72.13 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 113.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.11 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 237.62 KB |
| @sentry/nextjs (client) | 42.42 KB |
| @sentry/sveltekit (client) | 38.91 KB |
| @sentry/node-core | 46.41 KB |
| @sentry/node | 142.76 KB |
| @sentry/node - without tracing | 89.48 KB |
| @sentry/aws-serverless | 100.67 KB |
This is a beta release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not ye
This is a beta release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 10.0.0-beta.0.
Please note that the migration guide is work in progress and subject to change.
| Path | Size |
|---|---|
| @sentry/browser | 23.21 KB |
| @sentry/browser - with treeshaking flags | 21.83 KB |
| @sentry/browser (incl. Tracing) | 38.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.72 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.82 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.31 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.15 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.56 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.42 KB |
| @sentry/vue | 27.54 KB |
| @sentry/vue (incl. Tracing) | 40.25 KB |
| @sentry/svelte | 23.23 KB |
| CDN Bundle | 24.69 KB |
| CDN Bundle (incl. Tracing) | 38.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.94 KB |
| CDN Bundle - uncompressed | 72.13 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 113.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.2 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 237.71 KB |
| @sentry/nextjs (client) | 42.42 KB |
| @sentry/sveltekit (client) | 38.91 KB |
| @sentry/node-core | 46.35 KB |
| @sentry/node | 142.36 KB |
| @sentry/node - without tracing | 89.42 KB |
| @sentry/aws-serverless | 100.6 KB |
This is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not
This is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 10.0.0-alpha.1.
Please note that the migration guide is work in progress and subject to change.
This is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not
This is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 10.0.0-alpha.1.
Please note that the migration guide is work in progress and subject to change.
| Path | Size |
|---|---|
| @sentry/browser | 23.2 KB |
| @sentry/browser - with treeshaking flags | 21.81 KB |
| @sentry/browser (incl. Tracing) | 38.68 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.95 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.55 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.36 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.76 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.55 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.61 KB |
| @sentry/vue | 27.52 KB |
| @sentry/vue (incl. Tracing) | 40.43 KB |
| @sentry/svelte | 23.22 KB |
| CDN Bundle | 24.58 KB |
| CDN Bundle (incl. Tracing) | 38.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.99 KB |
| CDN Bundle - uncompressed | 71.71 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.1 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.56 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.07 KB |
| @sentry/nextjs (client) | 42.59 KB |
| @sentry/sveltekit (client) | 39.09 KB |
| @sentry/node-core | 46.12 KB |
| @sentry/node | 140.43 KB |
| @sentry/node - without tracing | 89.16 KB |
| @sentry/aws-serverless | 100.33 KB |
Nothing published for this version
fix(v9/nextjs): Align tunnel request matching in middleware with tunnel rewrite ( #24760 ) Internal Changes
| Path | Size |
|---|---|
| @sentry/browser | 23.24 KB |
| @sentry/browser - with treeshaking flags | 21.83 KB |
| @sentry/browser (incl. Tracing) | 38.73 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.11 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.13 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.7 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.54 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 KB |
| @sentry/react | 24.95 KB |
| @sentry/react (incl. Tracing) | 40.64 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 40.48 KB |
| @sentry/svelte | 23.26 KB |
| CDN Bundle | 24.59 KB |
| CDN Bundle (incl. Tracing) | 38.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.12 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.32 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.83 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.43 KB |
| @sentry/node - without tracing | 98.19 KB |
| @sentry/aws-serverless | 125.68 KB |
fix(v9/core): Fix logs flush timeout starvation with continuous logging
| Path | Size |
|---|---|
| @sentry/browser | 23.24 KB |
| @sentry/browser - with treeshaking flags | 21.83 KB |
| @sentry/browser (incl. Tracing) | 38.73 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.11 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.13 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.69 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.54 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 KB |
| @sentry/react | 24.95 KB |
| @sentry/react (incl. Tracing) | 40.64 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 40.48 KB |
| @sentry/svelte | 23.25 KB |
| CDN Bundle | 24.59 KB |
| CDN Bundle (incl. Tracing) | 38.5 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.12 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.32 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.83 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.43 KB |
| @sentry/node - without tracing | 98.19 KB |
| @sentry/aws-serverless | 125.68 KB |
feat(replay/v9): Add option to skip requestAnimationFrame for canvas snapshots
MAX_LOG_BUFFER_SIZE are not swallowed (#18213)<details> <summary> <strong>Internal Changes</strong> </summary>
| Path | Size |
|---|---|
| @sentry/browser | 23.24 KB |
| @sentry/browser - with treeshaking flags | 21.83 KB |
| @sentry/browser (incl. Tracing) | 38.73 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.11 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.13 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.69 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.54 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 KB |
| @sentry/react | 24.95 KB |
| @sentry/react (incl. Tracing) | 40.64 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 40.48 KB |
| @sentry/svelte | 23.25 KB |
| CDN Bundle | 24.59 KB |
| CDN Bundle (incl. Tracing) | 38.5 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.12 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.32 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.83 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.4 KB |
| @sentry/node - without tracing | 98.16 KB |
| @sentry/aws-serverless | 125.65 KB |
feat(v9/node): Capture SystemError context and remove paths from message
SystemError context and remove paths from message (#17394)| Path | Size |
|---|---|
| @sentry/browser | 23.24 KB |
| @sentry/browser - with treeshaking flags | 21.83 KB |
| @sentry/browser (incl. Tracing) | 38.73 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.94 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.98 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.53 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.34 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 KB |
| @sentry/react | 24.95 KB |
| @sentry/react (incl. Tracing) | 40.64 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 40.48 KB |
| @sentry/svelte | 23.25 KB |
| CDN Bundle | 24.59 KB |
| CDN Bundle (incl. Tracing) | 38.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.97 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.11 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.4 KB |
| @sentry/node - without tracing | 98.16 KB |
| @sentry/aws-serverless | 125.65 KB |
Your coding agent can read these notes before it upgrades. Set up the MCP server →