noqcks / pull-request-size

Applies labels to Pull Requests based on the total lines of code changed.
https://github.com/marketplace/pull-request-size
MIT License
157 stars 40 forks source link

[Snyk] Upgrade @sentry/node from 7.58.0 to 7.92.0 #141

Closed noqcks closed 5 months ago

noqcks commented 7 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @sentry/node from 7.58.0 to 7.92.0.

:information_source: 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 **55 versions** ahead of your current version. - The recommended version was released **25 days ago**, on 2024-01-04.
Release notes
Package name: @sentry/node
  • 7.92.0 - 2024-01-04

    Important Changes

    Deprecations

    • feat(core): Add span.updateName() and deprecate span.setName() (#10018)
    • feat(core): Deprecate span.getTraceContext() (#10032)
    • feat(core): Deprecate span.toTraceparent() in favor of spanToTraceHeader() util (#10031)
    • feat(core): Deprecate trace in favor of startSpan (#10012)
    • feat(core): Deprecate span toContext() and updateWithContext() (#10030)
    • ref: Deprecate deepReadDirSync (#10016)
    • ref: Deprecate lastEventId() (#10043)

    Please take a look at the Migration docs for more details. These methods will be removed in the upcoming v8 major release.

    Cron Monitoring Support for cron and node-cron libraries

    • feat(node): Instrumentation for cron library (#9999)
    • feat(node): Instrumentation for node-cron library (#9904)

    This release adds instrumentation for the cron and node-cron libraries. This allows you to monitor your cron jobs with Sentry cron monitors.

    For cron:

    import * as Sentry from '@ sentry/node';
    import { CronJob } from 'cron';
    
    const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job');
    
    // use the constructor
    const job = new CronJobWithCheckIn('* * * * *', () => {
      console.log('You will see this message every minute');
    });
    
    // or from
    const job = CronJobWithCheckIn.from({
      cronTime: '* * * * *',
      onTick: () => {
        console.log('You will see this message every minute');
      },
    });

    For node-cron:

    import * as Sentry from '@ sentry/node';
    import cron from 'node-cron';
    
    const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron);
    
    cronWithCheckIn.schedule(
      '* * * * *',
      () => {
        console.log('running a task every minute');
      },
      { name: 'my-cron-job' },
    );

    Other Changes

    • feat(astro): Add enabled option to Astro integration options (#10007)
    • feat(core): Add attributes to Span (#10008)
    • feat(core): Add setClient() and getClient() to Scope (#10055)
    • feat(integrations): Capture error cause with captureErrorCause in ExtraErrorData integration (#9914)
    • feat(node-experimental): Allow to pass base span options to trace methods (#10006)
    • feat(node): Local variables via async inspector in node 19+ (#9962)
    • fix(astro): handle commonjs related issues (#10042)
    • fix(astro): Handle non-utf8 encoded streams in middleware (#9989)
    • fix(astro): prevent sentry from externalized (#9994)
    • fix(core): Ensure withScope sets current scope correctly with async callbacks (#9974)
    • fix(node): ANR fixes and additions (#9998)
    • fix(node): Anr should not block exit (#10035)
    • fix(node): Correctly resolve module name (#10001)
    • fix(node): Handle inspector already open (#10025)
    • fix(node): Make NODE_VERSION properties required (#9964)
    • fix(node): Anr doesn't block exit (#10064)
    • fix(utils): use correct typeof URL validation (#10028)
    • perf(astro): reduce unnecessary path resolutions (#10021)
    • ref(astro): Use astro logger instead of console (#9995)
    • ref(remix): Isolate Express instrumentation from server auto-instrumentation. (#9966)

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

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 76.1 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 67.5 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.1 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 32.08 KB
    @ sentry/browser (incl. Feedback) - Webpack (gzipped) 30.49 KB
    @ sentry/browser - Webpack (gzipped) 22.21 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 73.53 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 65.2 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 31.37 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 23.29 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 204.35 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 94.24 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 69.09 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 34.33 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.91 KB
    @ sentry/react - Webpack (gzipped) 22.23 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 84.53 KB
    @ sentry/nextjs Client - Webpack (gzipped) 49.14 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.73 KB
  • 7.91.0 - 2023-12-22
    Read more
  • 7.90.0 - 2023-12-20
    Read more
  • 7.89.0 - 2023-12-19
    Read more
  • 7.88.0 - 2023-12-14
  • 7.87.0 - 2023-12-13
  • 7.86.0 - 2023-12-07
  • 7.85.0 - 2023-12-04
  • 7.84.0 - 2023-11-30
  • 7.83.0 - 2023-11-28
  • 7.82.0 - 2023-11-27
  • 7.81.1 - 2023-11-21
  • 7.81.0 - 2023-11-20
  • 7.80.2-alpha.1 - 2023-11-15
  • 7.80.2-alpha.0 - 2023-11-14
  • 7.80.1 - 2023-11-14
  • 7.80.0 - 2023-11-09
  • 7.79.0 - 2023-11-08
  • 7.78.0 - 2023-11-08
  • 7.77.0 - 2023-10-31
  • 7.76.0 - 2023-10-27
  • 7.75.1 - 2023-10-25
  • 7.75.0 - 2023-10-24
  • 7.74.2-alpha.1 - 2023-10-23
  • 7.74.2-alpha.0 - 2023-10-19
  • 7.74.1 - 2023-10-17
  • 7.74.0 - 2023-10-13
  • 7.73.0 - 2023-10-02
  • 7.72.0 - 2023-09-26
  • 7.71.0 - 2023-09-25
  • 7.70.0 - 2023-09-20
  • 7.70.0-beta.1 - 2023-09-15
  • 7.70.0-beta.0 - 2023-09-14
  • 7.69.0 - 2023-09-13
  • 7.68.0 - 2023-09-06
  • 7.67.0 - 2023-09-05
  • 7.67.0-beta.0 - 2023-08-31
  • 7.66.0 - 2023-08-30
  • 7.66.0-alpha.0 - 2023-08-29
  • 7.65.0 - 2023-08-28
  • 7.65.0-alpha.0 - 2023-08-16
  • 7.64.0 - 2023-08-14
  • 7.64.0-alpha.0 - 2023-08-11
  • 7.63.0 - 2023-08-10
  • 7.62.0 - 2023-08-09
  • 7.61.1 - 2023-08-04
  • 7.61.0 - 2023-07-31
  • 7.60.1 - 2023-07-26
  • 7.60.0 - 2023-07-21
  • 7.59.3 - 2023-07-19
  • 7.59.2 - 2023-07-18
  • 7.59.1 - 2023-07-18
  • 7.59.0-beta.1 - 2023-07-17
  • 7.59.0-beta.0 - 2023-07-13
  • 7.58.1 - 2023-07-13
  • 7.58.0 - 2023-07-12
from @sentry/node GitHub release notes

**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: 🧐 [View latest project report](https://app.snyk.io/org/benji-or7/project/160be9c9-3a12-4b96-8b92-7d2a121c9c1a?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/benji-or7/project/160be9c9-3a12-4b96-8b92-7d2a121c9c1a/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/benji-or7/project/160be9c9-3a12-4b96-8b92-7d2a121c9c1a/settings/integration?pkg=@sentry/node&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
socket-security[bot] commented 7 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sentry/node@7.92.0 environment, filesystem, network, shell, unsafe +7 5.98 MB sentry-bot

🚮 Removed packages: npm/@sentry/node@7.58.0

View full report↗︎

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4bea779) 88.67% compared to head (1f79ac3) 88.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #141 +/- ## ======================================= Coverage 88.67% 88.67% ======================================= Files 8 8 Lines 256 256 Branches 33 33 ======================================= Hits 227 227 Misses 27 27 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.