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.35.0

Compare Source

Important Changes
  • 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(),
      ],
    });
Other Changes
  • feat(browser): Add CDN bundle for tracing.replay.feedback.logs.metrics (#​18785)
  • feat(browser): Add shim package for logs (#​18831)
  • feat(cloudflare): Automatically set the release id when CF_VERSION_METADATA is enabled (#​18855)
  • feat(core): Add ignored client report event drop reason (#​18815)
  • feat(logs): Add Log exports to browser and node packages (#​18857)
  • feat(node-core,bun): Export processSessionIntegration from node-core and add it to bun (#​18852)
  • fix(core): Find the correct IP address regardless their case (#​18880)
  • fix(core): Check for AI operation id to detect a vercelai span (#​18823)
  • fix(ember): Use ES5 syntax in inline vendor scripts (#​18858)
  • fix(fetch): Shallow-clone fetch options to prevent mutation (#​18867)
Internal Changes
  • chore(ci): Use javascript-sdk-gitflow app instead of personal token (#​18829)
  • chore(deps): Bump @sveltejs/kit devDependency to 2.49.5 (#​18848)
  • chore(deps): Bump bundler plugins to ^4.6.2 (#​18822)
  • chore(deps): bump hono from 4.10.3 to 4.11.4 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#​18806)
  • chore(test): Bump svelte dependencies (#​18850)
  • chore(core): Comment out Error tests in langchain (#​18837)
  • meta(changelog): Fix entry for tanstack start vite plugin (#​18883)
  • test(e2e): Add testing app for User Feedback (#​18877)
  • test(fastify): Verify if upstream error is fixed and won't regress (#​18838)

Work in this release was contributed by @​rreckonerr. Thank you for your contribution!

v10.34.0

Compare Source

v10.33.0

Compare Source

Important Changes
  • 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'] ←─────────────────────────┘
        }),
      ],
    });
Other Changes
  • feat(cloudflare): Support propagateTraceparent (#​18569)
  • feat(core): Add ignoreSentryInternalFrames option to thirdPartyErrorFilterIntegration (#​18632)
  • feat(core): Add gen_ai.conversation.id attribute to OpenAI and LangGr… (#​18703)
  • feat(core): Add recordInputs/recordOutputs options to MCP server wrapper (#​18600)
  • feat(core): Support IPv6 hosts in the DSN (#​2996) (#​17708)
  • feat(deps): Bump bundler plugins to ^4.6.1 (#​17980)
  • feat(nextjs): Emit warning for conflicting treeshaking / debug settings (#​18638)
  • feat(nextjs): Print Turbopack note for deprecated webpack options (#​18769)
  • feat(node-core): Add isolateTrace option to node-cron instrumentation (#​18416)
  • feat(node): Use process.on('SIGTERM') for flushing in Vercel functions (#​17583)
  • feat(nuxt): Detect development environment and add dev E2E test (#​18671)
  • fix(browser): Forward worker metadata for third-party error filtering (#​18756)
  • fix(browser): Reduce number of visibilitystate and pagehide listeners (#​18581)
  • fix(browser): Respect tunnel in diagnoseSdkConnectivity (#​18616)
  • fix(cloudflare): Consume body of fetch in the Cloudflare transport (#​18545)
  • fix(core): Set op on ended Vercel AI spans (#​18601)
  • fix(core): Subtract performance.now() from browserPerformanceTimeOrigin fallback (#​18715)
  • fix(core): Update client options to allow explicit undefined (#​18024)
  • fix(feedback): Fix cases where the outline of inputs were wrong (#​18647)
  • fix(next): Ensure inline sourcemaps are generated for wrapped modules in Dev (#​18640)
  • fix(next): Wrap all Random APIs with a safe runner (#​18700)
  • fix(nextjs): Avoid Edge build warning from OpenTelemetry process.argv0 (#​18759)
  • fix(nextjs): Remove polynomial regular expression (#​18725)
  • fix(node-core): Ignore worker threads in OnUncaughtException (#​18689)
  • fix(node): relax Fastify's setupFastifyErrorHandler argument type (#​18620)
  • fix(nuxt): Allow overwriting server-side defaultIntegrations (#​18717)
  • fix(pino): Allow custom namespaces for msg and err (#​18597)
  • fix(react,solid,vue): Fix parametrization behavior for non-matched routes (#​18735)
  • fix(replay): Ensure replays contain canvas rendering when resumed after inactivity (#​18714)
  • fix(tracing): add gen_ai.request.messages.original_length attributes (#​18608)
  • ref(nextjs): Drop resolve dependency (#​18618)
  • ref(react-router): Use snake_case for span op names (#​18617)
Internal Changes
  • chore(bun): Fix install-bun.js version check and improve upgrade feedback (#​18492)
  • chore(changelog): Fix typo (#​18648)
  • chore(craft): Use version templating for aws layer (#​18675)
  • chore(deps): Bump IITM to ^2.0.1 (#​18599)
  • chore(e2e-tests): Upgrade @trpc/server and @trpc/client (#​18722)
  • chore(e2e): Unpin react-router-7-framework-spa to ^7.11.0 (#​18551)
  • chore(nextjs): Bump next version in dev deps (#​18661)
  • chore(node-tests): Upgrade @langchain/core (#​18720)
  • chore(react): Inline hoist-non-react-statics package (#​18102)
  • chore(size-limit): Add size checks for metrics and logs (#​18573)
  • chore(tests): Add unordered mode to cloudflare test runner (#​18596)
  • ci(deps): bump actions/cache from 4 to 5 (#​18654)
  • ci(deps): Bump actions/create-github-app-token from 2.2.0 to 2.2.1 (#​18656)
  • ci(deps): bump actions/upload-artifact from 5 to 6 (#​18655)
  • ci(deps): bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 (#​18657)
  • doc: E2E testing documentation updates (#​18649)
  • ref(core): Extract and reuse getCombinedScopeData helper (#​18585)
  • ref(core): Remove dependence between performance.timeOrigin and performance.timing.navigationStart (#​18710)
  • ref(core): Streamline and test browserPerformanceTimeOrigin (#​18708)
  • ref(core): Strengthen browserPerformanceTimeOrigin reliability check (#​18719)
  • ref(core): Use serializeAttributes for metric attribute serialization (#​18582)
  • ref(node): Remove duplicate function isCjs (#​18662)
  • test(core): Improve unit test performance for offline transport tests (#​18628)
  • test(core): Use fake timers in promisebuffer tests to ensure deterministic behavior (#​18659)
  • test(e2e): Add e2e metrics tests in Next.js 16 (#​18643)
  • test(e2e): Pin agents package in cloudflare-mcp test (#​18609)
  • test(e2e): Pin solid/vue tanstack router to 1.41.8 (#​18610)
  • test(nestjs): Add canary test for latest (#​18685)
  • test(node-native): Increase worker block timeout (#​18683)
  • test(nuxt): Fix nuxt-4 dev E2E test (#​18737)
  • test(tanstackstart-react): Add canary test for latest (#​18686)
  • test(vue): Added canary and latest test variants to Vue tests (#​18681)

Work in this release was contributed by @​G-Rath, @​gianpaj, @​maximepvrt, @​Mohataseem89, @​sebws, and @​xgedev. Thank you for your contributions!

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

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
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch 3 times, most recently from d5bed40 to 55a9825 Compare January 15, 2026 08:09
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 55a9825 to b9c68c8 Compare January 20, 2026 00:01
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