Skip to content

[Snyk] Upgrade @sentry/nextjs from 10.5.0 to 10.22.0#178

Open
angeloreale wants to merge 1 commit into
devfrom
snyk-upgrade-6cfadbe8c127fb008eb2db4dbfa6de4a
Open

[Snyk] Upgrade @sentry/nextjs from 10.5.0 to 10.22.0#178
angeloreale wants to merge 1 commit into
devfrom
snyk-upgrade-6cfadbe8c127fb008eb2db4dbfa6de4a

Conversation

@angeloreale

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to upgrade @sentry/nextjs from 10.5.0 to 10.22.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 19 versions ahead of your current version.

  • The recommended version was released 23 days ago.

Release notes
Package name: @sentry/nextjs
  • 10.22.0 - 2025-10-24

    Important Changes

    • feat(node): Instrument cloud functions for firebase v2 (#17952)

      We added instrumentation for Cloud Functions for Firebase v2, enabling automatic performance tracking and error monitoring. This will be added automatically if you have enabled tracing.

    • feat(core): Instrument LangChain AI (#17955)

      Instrumentation was added for LangChain AI operations. You can configure what is recorded like this:

      Sentry.init({
        integrations: [
          Sentry.langChainIntegration({
            recordInputs: true, // Record prompts/messages
            recordOutputs: true, // Record responses
          }),
        ],
      });

    Other Changes

    • feat(cloudflare,vercel-edge): Add support for LangChain instrumentation (#17986)
    • feat: Align sentry origin with documentation (#17998)
    • feat(core): Truncate request messages in AI integrations (#17921)
    • feat(nextjs): Support node runtime on proxy files (#17995)
    • feat(node): Pass requestHook and responseHook option to OTel (#17996)
    • fix(core): Fix wrong async types when instrumenting anthropic's stream api (#18007)
    • fix(nextjs): Remove usage of chalk to avoid runtime errors (#18010)
    • fix(node): Pino capture serialized err (#17999)
    • fix(node): Pino child loggers (#17934)
    • fix(react): Don't trim index route / when getting pathname (#17985)
    • fix(react): Patch spanEnd for potentially cancelled lazy-route transactions (#17962)
    Internal Changes
    • chore: Add required size_check for GH Actions (#18009)
    • chore: Upgrade madge to v8 (#17957)
    • test(hono): Fix hono e2e tests (#18000)
    • test(react-router): Fix getMetaTagTransformer tests for Vitest compatibility (#18013)
    • test(react): Add parameterized route tests for createHashRouter (#17789)

    Bundle size 📦

    Path Size
    @ sentry/browser 24.05 KB
    @ sentry/browser - with treeshaking flags 22.57 KB
    @ sentry/browser (incl. Tracing) 40.01 KB
    @ sentry/browser (incl. Tracing, Profiling) 44.2 KB
    @ sentry/browser (incl. Tracing, Replay) 77.43 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.36 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 82.02 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.9 KB
    @ sentry/browser (incl. Feedback) 40.33 KB
    @ sentry/browser (incl. sendFeedback) 28.61 KB
    @ sentry/browser (incl. FeedbackAsync) 33.42 KB
    @ sentry/react 25.69 KB
    @ sentry/react (incl. Tracing) 41.96 KB
    @ sentry/vue 28.43 KB
    @ sentry/vue (incl. Tracing) 41.75 KB
    @ sentry/svelte 24.06 KB
    CDN Bundle 26.27 KB
    CDN Bundle (incl. Tracing) 40.65 KB
    CDN Bundle (incl. Tracing, Replay) 76.05 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 81.39 KB
    CDN Bundle - uncompressed 77.01 KB
    CDN Bundle (incl. Tracing) - uncompressed 120.55 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 232.89 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 245.35 KB
    @ sentry/nextjs (client) 44.05 KB
    @ sentry/sveltekit (client) 40.43 KB
    @ sentry/node-core 49.56 KB
    @ sentry/node 154.11 KB
    @ sentry/node - without tracing 90.46 KB
    @ sentry/aws-serverless 103.86 KB
  • 10.21.0 - 2025-10-21

    Important Changes

    • feat(browserProfiling): Add trace lifecycle mode for UI profiling (#17619)

      Adds a new trace lifecycle mode for UI profiling, allowing profiles to be captured for the duration of a trace. A manual mode will be added in a future release.

    • feat(nuxt): Instrument Database (#17899)

      Adds instrumentation for Nuxt database operations, enabling better performance tracking of database queries.

    • feat(nuxt): Instrument server cache API (#17886)

      Adds instrumentation for Nuxt's server cache API, providing visibility into cache operations.

    • feat(nuxt): Instrument storage API (#17858)

      Adds instrumentation for Nuxt's storage API, enabling tracking of storage operations.

    Other Changes

    • feat(browser): Add onRequestSpanEnd hook to browser tracing integration (#17884)
    • feat(nextjs): Support Next.js proxy files (#17926)
    • feat(replay): Record outcome when event buffer size exceeded (#17946)
    • fix(cloudflare): copy execution context in durable objects and handlers (#17786)
    • fix(core): Fix and add missing cache attributes in Vercel AI (#17982)
    • fix(core): Improve uuid performance (#17938)
    • fix(ember): Use updated version for clean-css (#17979)
    • fix(nextjs): Don't set experimental instrumentation hook flag for next 16 (#17978)
    • fix(nextjs): Inconsistent transaction naming for i18n routing (#17927)
    • fix(nextjs): Update bundler detection (#17976)
    Internal Changes
    • build: Update to typescript 5.8.0 (#17710)
    • chore: Add external contributor to CHANGELOG.md (#17949)
    • chore(build): Upgrade nodemon to 3.1.10 (#17956)
    • chore(ci): Fix external contributor action when multiple contributions existed (#17950)
    • chore(solid): Remove unnecessary import from README (#17947)
    • test(nextjs): Fix proxy/middleware test (#17970)

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

    Bundle size 📦

    Path Size
    @ sentry/browser 24.05 KB
    @ sentry/browser - with treeshaking flags 22.57 KB
    @ sentry/browser (incl. Tracing) 40.01 KB
    @ sentry/browser (incl. Tracing, Profiling) 44.2 KB
    @ sentry/browser (incl. Tracing, Replay) 77.43 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.36 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 82.02 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.9 KB
    @ sentry/browser (incl. Feedback) 40.33 KB
    @ sentry/browser (incl. sendFeedback) 28.61 KB
    @ sentry/browser (incl. FeedbackAsync) 33.42 KB
    @ sentry/react 25.69 KB
    @ sentry/react (incl. Tracing) 41.96 KB
    @ sentry/vue 28.43 KB
    @ sentry/vue (incl. Tracing) 41.75 KB
    @ sentry/svelte 24.06 KB
    CDN Bundle 26.27 KB
    CDN Bundle (incl. Tracing) 40.65 KB
    CDN Bundle (incl. Tracing, Replay) 76.05 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 81.39 KB
    CDN Bundle - uncompressed 77.01 KB
    CDN Bundle (incl. Tracing) - uncompressed 120.55 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 232.89 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 245.35 KB
    @ sentry/nextjs (client) 44.05 KB
    @ sentry/sveltekit (client) 40.43 KB
    @ sentry/node-core 49.56 KB
    @ sentry/node 150.82 KB
    @ sentry/node - without tracing 90.44 KB
    @ sentry/aws-serverless 103.84 KB
  • 10.21.0-alpha.1 - 2025-10-16

    This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.

    • export withStreamSpan from @ sentry/browser

    Bundle size 📦

    Path Size
    @ sentry/browser 24.18 KB
    @ sentry/browser - with treeshaking flags 22.72 KB
    @ sentry/browser (incl. Tracing) 40.44 KB
    @ sentry/browser (incl. Tracing with Span Streaming) 41.96 KB
    @ sentry/browser (incl. Tracing, Replay) 77.82 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.77 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 82.41 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 94.35 KB
    @ sentry/browser (incl. Feedback) 40.48 KB
    @ sentry/browser (incl. sendFeedback) 28.73 KB
    @ sentry/browser (incl. FeedbackAsync) 33.56 KB
    @ sentry/react 25.83 KB
    @ sentry/react (incl. Tracing) 42.39 KB
    @ sentry/vue 28.84 KB
    @ sentry/vue (incl. Tracing) 42.2 KB
    @ sentry/svelte 24.19 KB
    CDN Bundle 26.42 KB
    CDN Bundle (incl. Tracing) 40.97 KB
    CDN Bundle (incl. Tracing, Replay) 76.36 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 81.73 KB
    CDN Bundle - uncompressed 77.34 KB
    CDN Bundle (incl. Tracing) - uncompressed 121.84 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 234.15 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 246.62 KB
    @ sentry/nextjs (client) 44.41 KB
    @ sentry/sveltekit (client) 40.85 KB
    @ sentry/node-core 49.74 KB
    @ sentry/node 151.24 KB
    @ sentry/node - without tracing 90.63 KB
    @ sentry/aws-serverless 104 KB
  • 10.21.0-alpha.0 - 2025-10-16

    This release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.

    Bundle size 📦

    Path Size
    @ sentry/browser 24.18 KB
    @ sentry/browser - with treeshaking flags 22.72 KB
    @ sentry/browser (incl. Tracing) 40.44 KB
    @ sentry/browser (incl. Tracing with Span Streaming) 41.96 KB
    @ sentry/browser (incl. Tracing, Replay) 77.82 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.77 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 82.41 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 94.35 KB
    @ sentry/browser (incl. Feedback) 40.48 KB
    @ sentry/browser (incl. sendFeedback) 28.73 KB
    @ sentry/browser (incl. FeedbackAsync) 33.56 KB
    @ sentry/react 25.83 KB
    @ sentry/react (incl. Tracing) 42.39 KB
    @ sentry/vue 28.84 KB
    @ sentry/vue (incl. Tracing) 42.2 KB
    @ sentry/svelte 24.19 KB
    CDN Bundle 26.42 KB
    CDN Bundle (incl. Tracing) 40.97 KB
    CDN Bundle (incl. Tracing, Replay) 76.36 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 81.73 KB
    CDN Bundle - uncompressed 77.34 KB
    CDN Bundle (incl. Tracing) - uncompressed 121.84 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 234.15 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 246.62 KB
    @ sentry/nextjs (client) 44.41 KB
    @ sentry/sveltekit (client) 40.85 KB
    @ sentry/node-core 49.73 KB
    @ sentry/node 151.24 KB
    @ sentry/node - without tracing 90.63 KB
    @ sentry/aws-serverless 104 KB
  • 10.20.0 - 2025-10-15

    Important Changes

    • feat(flags): Add Growthbook integration (#17440)

      Adds a new Growthbook integration for feature flag support.

    • feat(solid): Add support for TanStack Router Solid (#17735)

      Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.

    • feat(nextjs): Support native debugIds in turbopack (#17853)

      Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.

    Other Changes

    • feat(nextjs): Prepare for next 16 bundler default (#17868)
    • feat(node): Capture pino logger name (#17930)
    • fix(browser): Ignore React 19.2+ component render measure entries (#17905)
    • fix(nextjs): Fix createRouteManifest with basePath (#17838)
    • fix(react): Add POP guard for long-running pageload spans (#17867)
    • fix(tracemetrics): Send boolean for internal replay attribute (#17908)
    • ref(core): Add weight tracking logic to browser logs/metrics (#17901)
    Internal Changes
    • chore(nextjs): Add Next.js 16 peer dependency (#17925)
    • chore(ci): Update Next.js canary testing (#17939)
    • chore: Bump size limit (#17941)
    • test(nextjs): Add next@16 e2e test (#17922)
    • test(nextjs): Update next 15 tests (#17919)
    • chore: Add external contributor to CHANGELOG.md (#17915)
    • chore: Add external contributor to CHANGELOG.md (#17928)
    • chore: Add external contributor to CHANGELOG.md (#17940)

    Work in this release was contributed by @ seoyeon9888, @ madhuchavva and @ thedanchez . Thank you for your contributions!

    Bundle size 📦

    Path Size
    @ sentry/browser 24.07 KB
    @ sentry/browser - with treeshaking flags 22.6 KB
    @ sentry/browser (incl. Tracing) 39.89 KB
    @ sentry/browser (incl. Tracing, Replay) 77.35 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.3 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 81.94 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.83 KB
    @ sentry/browser (incl. Feedback) 40.36 KB
    @ sentry/browser (incl. sendFeedback) 28.61 KB
    @ sentry/browser (incl. FeedbackAsync) 33.46 KB
    @ sentry/react 25.73 KB
    @ sentry/react (incl. Tracing) 41.84 KB
    @ sentry/vue 28.45 KB
    @ sentry/vue (incl. Tracing) 41.64 KB
    @ sentry/svelte 24.08 KB
    CDN Bundle 26.31 KB
    CDN Bundle (incl. Tracing) 40.55 KB
    CDN Bundle (incl. Tracing, Replay) 75.98 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 81.33 KB
    CDN Bundle - uncompressed 77.1 KB
    CDN Bundle (incl. Tracing) - uncompressed 120.19 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 232.65 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 245.11 KB
    @ sentry/nextjs (client) 43.85 KB
    @ sentry/sveltekit (client) 40.3 KB
    @ sentry/node-core 49.59 KB
    @ sentry/node 150.78 KB
    @ sentry/node - without tracing 90.48 KB
    @ sentry/aws-serverless 103.85 KB
  • 10.19.0 - 2025-10-09
    • feat(tracemetrics): Add trace metrics behind an experiments flag (#17883)
    Internal Changes
    • chore: add info latest release for the cursor release command (#17876)

    Bundle size 📦

    Path Size
    @ sentry/browser 23.83 KB
    @ sentry/browser - with treeshaking flags 22.36 KB
    @ sentry/browser (incl. Tracing) 39.66 KB
    @ sentry/browser (incl. Tracing, Replay) 77.13 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.01 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 81.71 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.57 KB
    @ sentry/browser (incl. Feedback) 40.14 KB
    @ sentry/browser (incl. sendFeedback) 28.38 KB
    @ sentry/browser (incl. FeedbackAsync) 33.18 KB
    @ sentry/react 25.5 KB
    @ sentry/react (incl. Tracing) 41.56 KB
    @ sentry/vue 28.24 KB
    @ sentry/vue (incl. Tracing) 41.39 KB
    @ sentry/svelte 23.87 KB
    CDN Bundle 26.01 KB
    CDN Bundle (incl. Tracing) 40.18 KB
    CDN Bundle (incl. Tracing, Replay) 75.63 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 80.96 KB
    CDN Bundle - uncompressed 76.34 KB
    CDN Bundle (incl. Tracing) - uncompressed 119.32 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 231.78 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 244.24 KB
    @ sentry/nextjs (client) 43.54 KB
    @ sentry/sveltekit (client) 40.02 KB
    @ sentry/node-core 49.55 KB
    @ sentry/node 150.75 KB
    @ sentry/node - without tracing 90.42 KB
    @ sentry/aws-serverless 103.83 KB
  • 10.18.0 - 2025-10-07

    Important Changes

    • feat(node): pino integration (#17584)

      This release adds a new pino integration for Node.js, enabling Sentry to capture logs from the Pino logging library.

    • feat: Remove @ sentry/pino-transport package (#17851)

      The @ sentry/pino-transport package has been removed. Please use the new pino integration in @ sentry/node instead.

    • feat(node-core): Extend onnhandledrejection with ignore errors option (#17736)

      Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.

    Other Changes

    • feat(core): Rename vercelai.schema to gen_ai.request.schema (#17850)
    • feat(core): Support stream responses and tool calls for Google GenAI (#17664)
    • feat(nextjs): Attach headers using client hook (#17831)
    • fix(core): Keep all property values in baggage header (#17847)
    • fix(nestjs): Add support for Symbol as event name (#17785)
    • fix(nuxt): include sentry.client.config.ts in nuxt app types (#17830)
    • fix(react-router): Fix type for OriginalHandleRequest with middleware (#17870)
    Internal Changes
    • chore: Add external contributor to CHANGELOG.md (#17866)
    • chore(deps): Bump @ sentry/cli from 2.53.0 to 2.56.0 (#17819)
    • chore(deps): Bump axios in browser integration tests (#17839)
    • chore(deps): Bump nestjs in integration tests (#17840)

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

    Bundle size 📦

    Path Size
    @ sentry/browser 23.69 KB
    @ sentry/browser - with treeshaking flags 22.24 KB
    @ sentry/browser (incl. Tracing) 39.5 KB
    @ sentry/browser (incl. Tracing, Replay) 76.98 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.87 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 81.54 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.45 KB
    @ sentry/browser (incl. Feedback) 40.01 KB
    @ sentry/browser (incl. sendFeedback) 28.24 KB
    @ sentry/browser (incl. FeedbackAsync) 33.05 KB
    @ sentry/react 25.37 KB
    @ sentry/react (incl. Tracing) 41.42 KB
    @ sentry/vue 28.09 KB
    @ sentry/vue (incl. Tracing) 41.27 KB
    @ sentry/svelte 23.72 KB
    CDN Bundle 25.17 KB
    CDN Bundle (incl. Tracing) 39.39 KB
    CDN Bundle (incl. Tracing, Replay) 74.79 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 80.16 KB
    CDN Bundle - uncompressed 73.59 KB
    CDN Bundle (incl. Tracing) - uncompressed 116.56 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 229.03 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 241.49 KB
    @ sentry/nextjs (client) 43.38 KB
    @ sentry/sveltekit (client) 39.91 KB
    @ sentry/node-core 49.38 KB
    @ sentry/node 150.58 KB
    @ sentry/node - without tracing 90.25 KB
    @ sentry/aws-serverless 103.65 KB
  • 10.17.0 - 2025-09-30
  • 10.16.0 - 2025-09-29
  • 10.15.0 - 2025-09-24
  • 10.14.0 - 2025-09-23
  • 10.13.0 - 2025-09-22
  • 10.12.0 - 2025-09-16
  • 10.11.0 - 2025-09-09
  • 10.10.0 - 2025-09-04
  • 10.9.0 - 2025-09-03
  • 10.8.0 - 2025-08-29
  • 10.7.0 - 2025-08-27
  • 10.6.0 - 2025-08-26
  • 10.5.0 - 2025-08-12
from @sentry/nextjs GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @sentry/nextjs from 10.5.0 to 10.22.0.

See this package in npm:
@sentry/nextjs

See this project in Snyk:
https://app.snyk.io/org/angeloreale/project/7c2db482-67fd-466e-a64b-82dcb911980e?utm_source=github&utm_medium=referral&page=upgrade-pr
@vercel

vercel Bot commented Nov 16, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
morpheus Ready Ready Preview Comment Nov 16, 2025 2:05pm

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