Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented May 22, 2024

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@sentry/node (source) ^7.82.0 -> ^10.0.0 age confidence

Release Notes

getsentry/sentry-javascript (@​sentry/node)

v10.32.1

Compare Source

  • fix(cloudflare): Add hono transaction name when error is thrown (#​18529)
  • fix(ember): Make implementation field optional (hash routes) (#​18564)
  • fix(vercelai): Fix input token count (#​18574)
Internal Changes
  • chore(lint): prefer 'unknown' to 'any', fix lint warnings
  • chore(test): Remove cloudflare-astro e2e test (#​18567)

v10.32.0

Compare Source

Important Changes
  • 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.geGlobalScope().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,
    });
Other Changes
  • feat(core): Capture initialize attributes on MCP servers (#​18531)
  • feat(nextjs): Extract tracing logic from server component wrapper templates (#​18408)
  • feat(nextjs): added webpack treeshaking flags as config (#​18359)
  • fix(solid/tanstackrouter): Ensure web vitals are sent on pageload (#​18542)
Internal Changes
  • chore(changelog): Add entry for scope attributes (#​18555)
  • chore(changelog): Add entry for tanstack start wrapFetchWithSentry (#​18558)
  • chore(deps): bump @​trpc/server from 10.45.2 to 10.45.3 in /dev-packages/e2e-tests/test-applications/node-express-incorrect-instrumentation (#​18530)
  • chore(deps): bump @​trpc/server from 10.45.2 to 10.45.3 in /dev-packages/e2e-tests/test-applications/node-express-v5 (#​18550)
  • chore(e2e): Pin to react-router 7.10.1 in spa e2e test (#​18548)
  • chore(e2e): Remove check on http.response_content_length_uncompressed (#​18536)
  • chore(github): Add "Closes" to PR template (#​18538)
  • test(cloudflare-mcp): Unpin mcp sdk (#​18528)
  • test(nextjs): Add e2e tests for server component spans in next 16 (#​18544)

v10.31.0

Compare Source

Important Changes
  • feat(browser): Add support for GraphQL persisted operations (#​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 query
  • graphql.persisted_query.version - The version of the persisted query protocol

Additionally, 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 } }"
Other Changes
  • feat(node): Support propagateTraceparent option (#​18476)
  • feat(bun): Expose spotlight option in TypeScript (#​18436)
  • feat(core): Add additional exports for captureException and captureMessage parameter types (#​18521)
  • feat(core): Export captureException and captureMessage parameter types (#​18509)
  • feat(core): Parse individual cookies from cookie header (#​18325)
  • feat(node): Add instrument OpenAI export to node (#​18461)
  • feat(nuxt): Bump @sentry/vite-plugin and @sentry/rollup-plugin to 4.6.1 (#​18349)
  • feat(profiling): Add support for Node v24 in the prune script (#​18447)
  • feat(tracing): strip inline media from messages (#​18413)
  • feat(node): Add ESM support for postgres.js instrumentation (#​17961)
  • fix(browser): Stringify span context in linked traces log statement (#​18376)
  • fix(google-cloud-serverless): Move @​types/express to optional peerDeps (#​18452)
  • fix(node-core): passthrough node-cron context (#​17835)
  • fix(tanstack-router): Check for fromLocation existence before reporting pageload (#​18463)
  • fix(tracing): add system prompt, model to google genai (#​18424)
  • fix(tracing): Set span operations for AI spans with model ID only (#​18471)
  • ref(browser): Improve profiling debug statement (#​18507)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#​18473)
  • chore: upgrade Playwright to ~1.56.0 for WSL2 compatibility (#​18468)
  • chore(bugbot): Add testing conventions code review rules (#​18433)
  • chore(deps): bump next from 14.2.25 to 14.2.35 in /dev-packages/e2e-tests/test-applications/create-next-app (#​18494)
  • chore(deps): bump next from 14.2.32 to 14.2.35 in /dev-packages/e2e-tests/test-applications/nextjs-orpc (#​18520)
  • chore(deps): bump next from 14.2.32 to 14.2.35 in /dev-packages/e2e-tests/test-applications/nextjs-pages-dir (#​18496)
  • chore(deps): bump next from 15.5.7 to 15.5.9 in /dev-packages/e2e-tests/test-applications/nextjs-15 (#​18482)
  • chore(deps): bump next from 15.5.7 to 15.5.9 in /dev-packages/e2e-tests/test-applications/nextjs-15-intl (#​18483)
  • chore(deps): bump next from 16.0.7 to 16.0.9 in /dev-packages/e2e-tests/test-applications/nextjs-16 (#​18480)
  • chore(deps): bump next from 16.0.7 to 16.0.9 in /dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents (#​18479)
  • chore(deps): bump next from 16.0.7 to 16.0.9 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel (#​18481)
  • chore(deps): bump next from 16.0.9 to 16.0.10 in /dev-packages/e2e-tests/test-applications/nextjs-16 (#​18514)
  • chore(deps): bump next from 16.0.9 to 16.0.10 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel (#​18487)
  • chore(tests): Added test variant flag (#​18458)
  • test(cloudflare-mcp): Pin mcp sdk to 1.24.0 (#​18524)

Work in this release was contributed by @​sebws and @​TBeeren. Thank you for your contributions!

Bundle size 📦

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

v10.30.0

Compare Source

  • feat(nextjs): Deprecate Webpack top-level options (#​18343)
  • feat(node): Capture scope when event loop blocked (#​18040)
  • fix(aws-serverless): Remove hyphens from AWS-lambda origins (#​18353)
  • fix(core): Parse method from Request object in fetch (#​18453)
  • fix(react): Add transaction name guards for rapid lazy-route navigations (#​18346)
Internal Changes
  • chore(ci): Fix double issue creation for unreferenced PRs (#​18442)
  • chore(deps): bump next from 15.5.4 to 15.5.7 in /dev-packages/e2e-tests/test-applications/nextjs-15 (#​18411)
  • chore(deps): bump next from 15.5.4 to 15.5.7 in /dev-packages/e2e-tests/test-applications/nextjs-15-intl (#​18400)
  • chore(deps): bump next from 16.0.0 to 16.0.7 in /dev-packages/e2e-tests/test-applications/nextjs-16 (#​18399)
  • chore(deps): bump next from 16.0.0 to 16.0.7 in /dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents (#​18427)
  • chore(deps): bump next from 16.0.0 to 16.0.7 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel (#​18439)
  • chore(publish): Fix publish order for @sentry/types (#​18429)
  • ci(deps): bump actions/create-github-app-token from 2.1.4 to 2.2.0 (#​18362)

Bundle size 📦

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

v10.29.0

Compare Source

Important Changes

We expanded the supported version range for @solidjs/router to include 0.14.x and 0.15.x versions.

Other Changes
  • fix(logs): Add support for msg in pino integration (#​18389)
  • fix(node): Include system message in anthropic-ai messages span (#​18332)
  • fix(tracing): Add missing attributes in vercel-ai spans (#​18333)
Internal Changes
  • chore(tanstackstart-react): clean up re-exported types (#​18393)
  • ref(core): Avoid looking up openai integration options (#​17695)
  • test(nuxt): Relax captured unhandled error assertion (#​18397)
  • test(tanstackstart-react): Set up E2E test application (#​18358)

Bundle size 📦

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

v10.28.0

Compare Source

Important Changes
  • feat(core): Make 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.

  • feat(nextjs): Support cacheComponents on turbopack (#​18304)

This release adds support for cacheComponents on turbopack builds. We are working on adding support for this feature in webpack builds as well.

Other Changes
  • feat: Publish AWS Lambda Layer for Node 24 (#​18327)
  • feat(browser): Expose langchain instrumentation (#​18342)
  • feat(browser): Expose langgraph instrumentation (#​18345)
  • feat(cloudflare): Allow specifying a custom fetch in Cloudflare transport options (#​18335)
  • feat(core): Add isolateTrace option to Sentry.withMonitor() (#​18079)
  • feat(deps): bump @​sentry/webpack-plugin from 4.3.0 to 4.6.1 (#​18272)
  • feat(nextjs): Add cloudflare waitUntil detection (#​18336)
  • feat(node): Add LangChain v1 support (#​18306)
  • feat(remix): Add parameterized transaction naming for routes (#​17951)
  • fix(cloudflare): Keep http root span alive until streaming responses are consumed (#​18087)
  • fix(cloudflare): Wait for async events to finish (#​18334)
  • fix(core): continueTrace doesn't propagate given trace ID if active span exists (#​18328)
  • fix(node-core): Handle custom scope in log messages without parameters (#​18322)
  • fix(opentelemetry): Ensure Sentry spans don't leak when tracing is disabled (#​18337)
  • fix(react-router): Use underscores in trace origin values (#​18351)
  • chore(tanstackstart-react): Export custom inits from tanstackstart-react (#​18369)
  • chore(tanstackstart-react)!: Remove empty placeholder implementations (#​18338)
Internal Changes
  • chore: Allow URLs as issue (#​18372)
  • chore(changelog): Add entry for #​18304 (#​18329)
  • chore(ci): Add action to track all PRs as issues (#​18363)
  • chore(github): Adjust BUGBOT.md rules to flag invalid op and origin values during review (#​18352)
  • ci: Add action to create issue on gitflow merge conflicts (#​18319)
  • ci(deps): bump actions/checkout from 5 to 6 (#​18268)
  • ci(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#​18361)
  • test(cloudflare): Add typechecks for cloudflare-worker e2e test (#​18321)

Bundle size 📦

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

v10.27.0

Compare Source

Important Changes
Other Changes
  • feat(core): Add gibibyte and pebibyte to InformationUnit type (#​18241)
  • feat(core): Add scope attribute APIs (#​18165)
  • feat(core): Re-add _experiments.enableLogs option (#​18299)
  • feat(core): Use maxValueLength on error messages (#​18301)
  • feat(deps): bump @​sentry/bundler-plugin-core from 4.3.0 to 4.6.1 (#​18273)
  • feat(deps): bump @​sentry/cli from 2.56.0 to 2.58.2 (#​18271)
  • feat(node): Add tracing support for AzureOpenAI (#​18281)
  • feat(node): Fix local variables capturing for out-of-app frames (#​18245)
  • fix(core): Add a PromiseBuffer for incoming events on the client (#​18120)
  • fix(core): Always redact content of sensitive headers regardless of sendDefaultPii (#​18311)
  • fix(metrics): Update return type of beforeSendMetric (#​18261)
  • fix(nextjs): universal random tunnel path support (#​18257)
  • ref(react): Add more guarding against wildcards in lazy route transactions (#​18155)
  • chore(deps): bump glob from 11.0.1 to 11.1.0 in /packages/react-router (#​18243)
Internal Changes - build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono ([#​18038](https://redirect.github.com/getsentry/sentry-javascript/pull/18038)) - chore: Add `bump_otel_instrumentations` cursor command ([#​18253](https://redirect.github.com/getsentry/sentry-javascript/pull/18253)) - chore: Add external contributor to CHANGELOG.md ([#​18297](https://redirect.github.com/getsentry/sentry-javascript/pull/18297)) - chore: Add external contributor to CHANGELOG.md ([#​18300](https://redirect.github.com/getsentry/sentry-javascript/pull/18300)) - chore: Do not update opentelemetry ([#​18254](https://redirect.github.com/getsentry/sentry-javascript/pull/18254)) - chore(angular): Add Angular 21 Support ([#​18274](https://redirect.github.com/getsentry/sentry-javascript/pull/18274)) - chore(deps): bump astro from 4.16.18 to 5.15.9 in /dev-packages/e2e-tests/test-applications/cloudflare-astro ([#​18259](https://redirect.github.com/getsentry/sentry-javascript/pull/18259)) - chore(dev-deps): Update some dev dependencies ([#​17816](https://redirect.github.com/getsentry/sentry-javascript/pull/17816)) - ci(deps): Bump actions/create-github-app-token from 2.1.1 to 2.1.4 ([#​17825](https://redirect.github.com/getsentry/sentry-javascript/pull/17825)) - ci(deps): bump actions/setup-node from 4 to 6 ([#​18077](https://redirect.github.com/getsentry/sentry-javascript/pull/18077)) - ci(deps): bump actions/upload-artifact from 4 to 5 ([#​18075](https://redirect.github.com/getsentry/sentry-javascript/pull/18075)) - ci(deps): bump github/codeql-action from 3 to 4 ([#​18076](https://redirect.github.com/getsentry/sentry-javascript/pull/18076)) - doc(sveltekit): Update documentation link for SvelteKit guide ([#​18298](https://redirect.github.com/getsentry/sentry-javascript/pull/18298)) - test(e2e): Fix astro config in test app ([#​18282](https://redirect.github.com/getsentry/sentry-javascript/pull/18282)) - test(nextjs): Remove debug logs from e2e test ([#​18250](https://redirect.github.com/getsentry/sentry-javascript/pull/18250))

Work in this release was contributed by @​bignoncedric and @​adam-kov. Thank you for your contributions!

Bundle size 📦

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

v10.26.0

Compare Source

Important Changes
  • feat(core): Instrument LangGraph Agent (#​18114)

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
    }),
  ],
});
  • feat(cloudflare/vercel-edge): Add manual instrumentation for LangGraph (#​18112)

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?' }],
});
  • feat(node): Add OpenAI SDK v6 support (#​18244)
Other Changes
  • feat(core): Support OpenAI embeddings API (#​18224)
  • feat(browser-utils): bump web-vitals to 5.1.0 (#​18091)
  • feat(core): Support truncation for LangChain integration request messages (#​18157)
  • feat(metri

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from da28951 to 5cb5a25 Compare February 11, 2025 03:44
@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v8 fix(deps): update dependency @sentry/node to v9 Feb 11, 2025
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 5cb5a25 to 7efd6ce Compare July 27, 2025 07:54
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 7efd6ce to 44c74b2 Compare August 4, 2025 20:13
@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v9 fix(deps): update dependency @sentry/node to v10 Aug 4, 2025
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 7d77389 to 0d361e5 Compare August 9, 2025 06:51
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 0d361e5 to 539fab6 Compare August 15, 2025 08:07
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 2922f37 to 13a6f0c Compare September 5, 2025 12:13
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 13a6f0c to ce21ea6 Compare September 10, 2025 07:38
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from d1ff169 to 2bf572c Compare September 23, 2025 07:37
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 4 times, most recently from 61a6b6d to c7bbe78 Compare October 1, 2025 22:52
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from ec0aade to c5603b6 Compare October 10, 2025 03:32
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from c5603b6 to d67ed4e Compare October 16, 2025 23:42
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from d67ed4e to 40f1199 Compare October 25, 2025 15:57
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 40f1199 to c033de7 Compare November 9, 2025 08:05
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 92bf669 to c2b5db3 Compare November 19, 2025 19:53
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from c2b5db3 to 1a484d7 Compare November 25, 2025 19:59
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from e314fee to aa16e4f Compare December 4, 2025 22:30
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from 21fafcf to 5e6a64a Compare December 18, 2025 12:04
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 5e6a64a to 83e3f72 Compare December 20, 2025 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant