Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 26, 2024

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

This PR contains the following updates:

Package Change Age Confidence
@sentry/browser (source) ^8.55.0^10.0.0 age confidence

Release Notes

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

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)
  • fea

Configuration

📅 Schedule: Branch creation - "before 6am" in timezone Europe/London, 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.

@vercel
Copy link

vercel bot commented Jul 26, 2024

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

Project Deployment Preview Comments Updated (UTC)
lag Error Error Dec 4, 2025 9:06pm
lag-xdwa Error Error Dec 4, 2025 9:06pm

@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 6984be1 to 280981a Compare February 11, 2025 11:10
@renovate renovate bot changed the title Update dependency @sentry/browser to v8 Update dependency @sentry/browser to v9 Feb 11, 2025
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 280981a to d499df7 Compare February 22, 2025 22:21
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from d499df7 to effb3ad Compare March 29, 2025 20:00
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from effb3ad to a8612d5 Compare July 24, 2025 18:07
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from a8612d5 to 25fdf21 Compare July 25, 2025 17:28
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 25fdf21 to c525149 Compare July 28, 2025 16:26
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from c525149 to 4ce374f Compare August 7, 2025 11:07
@renovate renovate bot changed the title Update dependency @sentry/browser to v9 Update dependency @sentry/browser to v10 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 4ce374f to 6531112 Compare August 8, 2025 13:30
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 6531112 to 7732936 Compare August 11, 2025 18:45
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 7732936 to ea28f84 Compare August 12, 2025 18:34
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from ea28f84 to 2d27141 Compare August 26, 2025 18:00
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 2d27141 to 4da9c6b Compare August 27, 2025 17:28
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 4da9c6b to e52b00b Compare August 31, 2025 09:45
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 8aa8ef7 to a9aa22c Compare October 21, 2025 20:40
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from a9aa22c to dc8c34f Compare October 24, 2025 12:49
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from dc8c34f to 50f856e Compare November 5, 2025 15:53
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 50f856e to 559e01a Compare November 10, 2025 19:09
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 559e01a to dde4c02 Compare November 11, 2025 18:41
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from dde4c02 to 214e2b4 Compare November 19, 2025 14:30
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 214e2b4 to c496cd6 Compare November 24, 2025 21:48
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from c496cd6 to 4f23d05 Compare December 2, 2025 17:12
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 4f23d05 to 29e1ea6 Compare December 4, 2025 21:06
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 4 times, most recently from 3b674d6 to 32662fc Compare December 16, 2025 17:34
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from ba5fa35 to 8a99776 Compare December 19, 2025 15:35
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 8a99776 to 4cf6520 Compare December 31, 2025 14:16
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 4cf6520 to cf73c5d Compare December 31, 2025 17:44
@frosas frosas closed this Jan 4, 2026
@frosas frosas deleted the renovate/major-sentry-javascript-monorepo branch January 4, 2026 10:38
@renovate renovate bot changed the title Update dependency @sentry/browser to v10 Update dependency @sentry/browser to v10 - autoclosed Jan 4, 2026
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.

2 participants