🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@sentry/nextjs

Package Overview
Dependencies
Maintainers
10
Versions
403
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/nextjs - npm Package Versions

2345
41

9.31.0

Diff
sentry-bot
published 9.31.0 •

Changelog

Source

9.31.0

Important Changes

  • feat(nextjs): Add option for auto-generated random tunnel route (#16626)

Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable /monitoring endpoint.

  • feat(core): Allow to pass scope & client to getTraceData (#16633)

Adds the ability to pass custom scope and client parameters to the getTraceData function, providing more flexibility when generating trace data for distributed tracing.

Other Changes

  • feat(core): Add support for x-forwarded-host and x-forwarded-proto headers (#16687)
  • deps: Remove unused @sentry/opentelemetry dependency (#16677)
  • deps: Update all bundler plugin instances to latest & allow caret ranges (#16641)
  • feat(deps): Bump @prisma/instrumentation from 6.8.2 to 6.9.0 (#16608)
  • feat(flags): add node support for generic featureFlagsIntegration and move utils to core (#16585)
  • feat(flags): capture feature flag evaluations on spans (#16485)
  • feat(pino): Add initial package for @sentry/pino-transport (#16652)
  • fix: Wait for the correct clientWidth/clientHeight when showing Feedback Screenshot previews (#16648)
  • fix(browser): Remove usage of Array.at() method (#16647)
  • fix(core): Improve safeJoin usage in console logging integration (#16658)
  • fix(google-cloud-serverless): Make CloudEvent type compatible (#16661)
  • fix(nextjs): Fix lookup of instrumentation-client.js file (#16637)
  • fix(node): Ensure graphql errors result in errored spans (#16678)
sentry-bot
published 9.30.0 •

Changelog

Source

9.30.0

  • feat(nextjs): Add URL to tags of server components and generation functions issues (#16500)
  • feat(nextjs): Ensure all packages we auto-instrument are externalized (#16552)
  • feat(node): Automatically enable vercelAiIntegration when ai module is detected (#16565)
  • feat(node): Ensure modulesIntegration works in more environments (#16566)
  • feat(core): Don't gate user on logs with sendDefaultPii (#16527)
  • feat(browser): Add detail to measure spans and add regression tests (#16557)
  • feat(node): Update Vercel AI span attributes (#16580)
  • fix(opentelemetry): Ensure only orphaned spans of sent spans are sent (#16590)
sentry-bot
published 9.29.0 •

Changelog

Source

9.29.0

Important Changes

  • feat(browser): Update web-vitals to 5.0.2 (#16492)

This release upgrades the web-vitals library to version 5.0.2. This upgrade could slightly change the collected web vital values and potentially also influence alerts and performance scores in the Sentry UI.

Other Changes

  • feat(deps): Bump @sentry/rollup-plugin from 3.4.0 to 3.5.0 (#16524)
  • feat(ember): Stop warning for onError usage (#16547)
  • feat(node): Allow to force activate vercelAiIntegration (#16551)
  • feat(node): Introduce ignoreLayersType option to koa integration (#16553)
  • fix(browser): Ensure suppressTracing does not leak when async (#16545)
  • fix(vue): Ensure root component render span always ends (#16488)
sentry-bot
published 9.28.1 •

Changelog

Source

9.28.1

  • feat(deps): Bump @sentry/cli from 2.45.0 to 2.46.0 (#16516)
  • fix(nextjs): Avoid tracing calls to symbolication server on dev (#16533)
  • fix(sveltekit): Add import attribute for node exports (#16528)

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

sentry-bot
published 9.28.0 •

Changelog

Source

9.28.0

Important Changes

  • feat(nestjs): Stop creating spans for TracingInterceptor (#16501)

With this change we stop creating spans for TracingInterceptor as this interceptor only serves as an internal helper and adds noise for the user.

  • feat(node): Update vercel ai spans as per new conventions (#16497)

This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.

Other Changes

  • fix(sveltekit): Export vercelAIIntegration from @sentry/node (#16496)

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

sentry-bot
published 9.27.0 •

Changelog

Source

9.27.0

  • feat(node): Expand how vercel ai input/outputs can be set (#16455)
  • feat(node): Switch to new semantic conventions for Vercel AI (#16476)
  • feat(react-router): Add component annotation plugin (#16472)
  • feat(react-router): Export wrappers for server loaders and actions (#16481)
  • fix(browser): Ignore unrealistically long INP values (#16484)
  • fix(react-router): Conditionally add ReactRouterServer integration (#16470)
sentry-bot
published 9.26.0 •

Changelog

Source

9.26.0

  • feat(react-router): Re-export functions from @sentry/react (#16465)
  • fix(nextjs): Skip re instrumentating on generate phase of experimental build mode (#16410)
  • fix(node): Ensure adding sentry-trace and baggage headers via SentryHttpInstrumentation doesn't crash (#16473)
sentry-bot
published 9.25.1 •

Changelog

Source

9.25.1

  • fix(otel): Don't ignore child spans after the root is sent (#16416)
sentry-bot
published 9.25.0 •

Changelog

Source

9.25.0

Important Changes

  • feat(browser): Add option to ignore mark and measure spans (#16443)

This release adds an option to browserTracingIntegration that lets you ignore mark and measure spans created from the performance.mark(...) and performance.measure(...) browser APIs:

Sentry.init({
  integrations: [
    Sentry.browserTracingIntegration({
      ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/],
    }),
  ],
});

Other Changes

  • feat(browser): Export getTraceData from the browser sdks (#16433)
  • feat(node): Add includeServerName option (#16442)
  • fix(nuxt): Remove setting @sentry/nuxt external (#16444)
sentry-bot
published 9.24.0 •

Changelog

Source

9.24.0

Important Changes

  • feat(angular): Bump @sentry/angular peer dependencies to add Angular 20 support (#16414)

This release adds support for Angular 20 to the Sentry Angular SDK @sentry/angular.

Other Changes

  • feat(browser): Add unregisterOriginalCallbacks option to browserApiErrorsIntegration (#16412)
  • feat(core): Add user to logs (#16399)
  • feat(core): Make sure Supabase db query insights are populated (#16169)
2345
41