Skip to content

Conversation

@lwih
Copy link
Collaborator

@lwih lwih commented Oct 17, 2025

snyk-top-banner

Snyk has created this PR to upgrade @sentry/react from 10.11.0 to 10.15.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 4 versions ahead of your current version.

  • The recommended version was released 23 days ago.

Release notes
Package name: @sentry/react
  • 10.15.0 - 2025-09-24

    Important Changes

    • feat(cloudflare): Add honoIntegration with error-filtering function (#17743)

      This release adds a honoIntegration to @ sentry/cloudflare, which exposes a shouldHandleError function that lets you define which errors in onError should be captured.
      By default, Sentry captures exceptions with error.status >= 500 || error.status <= 299.

      The integration is added by default, and it's possible to modify this behavior like this:

       integrations: [
         honoIntegration({
          shouldHandleError: (err) => true; // always capture exceptions in onError
         })
       ]
    • feat(node): Add instrumentation for hono handler (#17428)

    This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.

    • feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)

    • feat(browser): Add setActiveSpanInBrowser to set an active span in the browser (#17714)

    This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.

    Other Changes

    • fix(browser): Improve handling of 0 and undefined resource timing values (#17751)
    • ref(nextjs): Display build compatibility warning for webpack (#17746)
    Internal Changes
    • docs: Reword changelog for google gen ai instrumentation (#17753)
    • build: Add @ typescript-eslint/no-unnecessary-type-assertion rule (#17728)
    • build: Update TS target to es2020 everywhere (#17709)
    • chore: Add external contributor to CHANGELOG.md (#17745)

    Work in this release was contributed by @ Karibash. 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.49 KB
    @ sentry/browser (incl. Tracing, Replay) 76.96 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.87 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 81.52 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.44 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.11 KB
    @ sentry/vue (incl. Tracing) 41.25 KB
    @ sentry/svelte 23.72 KB
    CDN Bundle 25.17 KB
    CDN Bundle (incl. Tracing) 39.39 KB
    CDN Bundle (incl. Tracing, Replay) 74.76 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 80.13 KB
    CDN Bundle - uncompressed 73.6 KB
    CDN Bundle (incl. Tracing) - uncompressed 116.59 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 229.02 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 241.48 KB
    @ sentry/nextjs (client) 43.38 KB
    @ sentry/sveltekit (client) 39.9 KB
    @ sentry/node-core 48.85 KB
    @ sentry/node 149.25 KB
    @ sentry/node - without tracing 89.79 KB
    @ sentry/aws-serverless 102.92 KB
  • 10.14.0 - 2025-09-23

    Important Changes

    • feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#17723)

      The SDK now supports manually instrumenting Google's Generative AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient) to get an instrumented client.

    Other Changes

    • fix(nextjs): Display updated turbopack warnings (#17737)
    • ref(core): Wrap isolationscope in WeakRef when storing it on spans (#17712)
    Internal Changes
    • test(node): Avoid using specific port for node-integration-tests (#17729)
    • test(nuxt): Update Nuxt version and add Nitro $fetch test (#17713)

    Bundle size 📦

    Path Size
    @ sentry/browser 23.69 KB
    @ sentry/browser - with treeshaking flags 22.24 KB
    @ sentry/browser (incl. Tracing) 39.46 KB
    @ sentry/browser (incl. Tracing, Replay) 76.93 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.84 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 81.49 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.41 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.38 KB
    @ sentry/vue 28.11 KB
    @ sentry/vue (incl. Tracing) 41.22 KB
    @ sentry/svelte 23.72 KB
    CDN Bundle 25.17 KB
    CDN Bundle (incl. Tracing) 39.3 KB
    CDN Bundle (incl. Tracing, Replay) 74.66 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 80.04 KB
    CDN Bundle - uncompressed 73.6 KB
    CDN Bundle (incl. Tracing) - uncompressed 116.34 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 228.76 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 241.23 KB
    @ sentry/nextjs (client) 43.36 KB
    @ sentry/sveltekit (client) 39.87 KB
    @ sentry/node-core 48.85 KB
    @ sentry/node 148.68 KB
    @ sentry/node - without tracing 89.79 KB
    @ sentry/aws-serverless 102.92 KB
  • 10.13.0 - 2025-09-22

    Important Changes

    • feat(browser): Add option to explicitly end pageload span via reportPageLoaded() (#17697)

      With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:

      Sentry.init({
      //...
      integrations: [
      // 1. Enable manual pageload reporting
      Sentry.browserTracingIntegration({ enableReportPageLoaded: true }),
      ],
      });

      // 2. Whenever you decide the page is loaded, call:
      Sentry.reportPageLoaded();

      Note that if Sentry.reportPageLoaded() is not called within 30 seconds of the initial pageload (or whatever value the finalTimeout option is set to), the pageload span will be ended automatically.

    • feat(core,node): Add instrumentation for GoogleGenerativeAI (#17625)

      The SDK now automatically instruments the @ google/generative-ai package to provide insights into your AI operations.

    • feat(nextjs): Promote useRunAfterProductionCompileHook to non-experimental build option (#17721)

      The useRunAfterProductionCompileHook option is no longer experimental and is now a stable build option for Next.js projects.

    • feat(nextjs): Use afterProductionCompile hook for webpack builds (#17655)

      Next.js projects using webpack can opt-in to use the useRunAfterProductionCompileHook hook for source map uploads.

    • feat(nextjs): Flip default value for useRunAfterProductionCompileHook for Turbopack builds (#17722)

      The useRunAfterProductionCompileHook option is now enabled by default for Turbopack builds, enabling automated source map uploads.

    • feat(node): Do not drop 300 and 304 status codes by default (#17686)

      HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.

    Other Changes

    • feat(core): Add logger to core and allow scope to be passed log methods (#17698)
    • feat(core): Allow to pass onSuccess to handleCallbackErrors (#17679)
    • feat(core): Create template attributes in consoleLoggingIntegration (#17703)
    • feat(deps): bump @ sentry/cli from 2.52.0 to 2.53.0 (#17652)
    • feat(node): Add extra platforms to os context (#17720)
    • fix(browser): Ensure idle span duration is adjusted when child spans are ignored (#17700)
    • fix(core): Ensure builtin stack frames don't affect thirdPartyErrorFilterIntegration (#17693)
    • fix(core): Fix client hook edge cases around multiple callbacks (#17706)
    • fix(nextjs): Enable fetch span when OTel setup is skipped (#17699)
    • fix(node): Fix this context for vercel AI instrumentation (#17681)
    Internal Changes
    • chore: Add external contributor to CHANGELOG.md (#17725)
    • chore: Add link to build and test icon in readme (#17719)
    • chore(nuxt): Bump Vite and Rollup plugins (#17671)
    • chore(repo): Add changelog entry for reportPageLoaded (#17724)
    • ci: Fix lookup of changed E2E test apps (#17707)
    • ci(test-matrix): Add logs for getTestMatrix (#17673)
    • ref: Avoid some usage of SyncPromise where not needed (#17641)
    • ref(core): Add debug log when dropping a span via ignoreSpans (#17692)
    • ref(core): Avoid looking up anthropic-ai integration options (#17694)
    • ref(core): Streamline module_metadata assignment and cleanup functions (#17696)
    • ref(remix): Avoid unnecessary error wrapping HandleDocumentRequestFunction (#17680)
    • Revert "[Gitflow] Merge master into develop"

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

    Bundle size 📦

    Path Size
    @ sentry/browser 23.66 KB
    @ sentry/browser - with treeshaking flags 22.21 KB
    @ sentry/browser (incl. Tracing) 39.39 KB
    @ sentry/browser (incl. Tracing, Replay) 76.88 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.78 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 81.44 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 93.35 KB
    @ sentry/browser (incl. Feedback) 39.99 KB
    @ sentry/browser (incl. sendFeedback) 28.2 KB
    @ sentry/browser (incl. FeedbackAsync) 33 KB
    @ sentry/react 25.33 KB
    @ sentry/react (incl. Tracing) 41.32 KB
    @ sentry/vue 28.05 KB
    @ sentry/vue (incl. Tracing) 41.15 KB
    @ sentry/svelte 23.68 KB
    CDN Bundle 25.14 KB
    CDN Bundle (incl. Tracing) 39.22 KB
    CDN Bundle (incl. Tracing, Replay) 74.59 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 79.96 KB
    CDN Bundle - uncompressed 73.46 KB
    CDN Bundle (incl. Tracing) - uncompressed 116.1 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 228.53 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 240.99 KB
    @ sentry/nextjs (client) 43.3 KB
    @ sentry/sveltekit (client) 39.81 KB
    @ sentry/node-core 48.81 KB
    @ sentry/node 148.62 KB
    @ sentry/node - without tracing 89.73 KB
    @ sentry/aws-serverless 102.86 KB
  • 10.12.0 - 2025-09-16
  • 10.11.0 - 2025-09-09
from @sentry/react 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/react from 10.11.0 to 10.15.0.

See this package in npm:
@sentry/react

See this project in Snyk:
https://app.snyk.io/org/lwih/project/9e97d439-94b9-4c08-b597-4fab31c4fa0e?utm_source=github&utm_medium=referral&page=upgrade-pr
@github-actions
Copy link
Contributor

Coverage Report for frontend

Status Category Percentage Covered / Total
🟢 Lines 62.21% (🎯 40%) 3651 / 5868
🟢 Statements 61.09% (🎯 40%) 3882 / 6354
🟢 Functions 51.39% (🎯 40%) 1090 / 2121
🟢 Branches 55.1% (🎯 40%) 1625 / 2949
File CoverageNo changed files found.
Generated in workflow #3101 for commit 38ff17b by the Vitest Coverage Report Action

@github-actions
Copy link
Contributor

Overall Project 52.46%

There is no coverage information present for the Files changed

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.

3 participants