Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @sentry/node from 7.118.0 to 8.19.0 #8

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

OKEAMAH
Copy link
Owner

@OKEAMAH OKEAMAH commented Aug 10, 2024

snyk-top-banner

Snyk has created this PR to upgrade @sentry/node from 7.118.0 to 8.19.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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

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

  • The recommended version was released on 22 days ago.

Release notes
Package name: @sentry/node
  • 8.19.0 - 2024-07-19
    • feat(core): Align Span interface with OTEL (#12898)
    • feat(express): Allow to pass options to setupExpressErrorHandler (#12952)
    • feat(node): Add request parameter to httpIntegration ignore callbacks (#12930)
    • feat(vercel-edge): Add dedupe as default integration (#12957)
    • fix(angular): Remove afterSendEvent listener once root injector is destroyed (#12786)
    • fix(browser): Fix bug causing unintentional dropping of transactions (#12933)
    • fix(feedback): Add a missing call of Actor.appendToDom method when DOMContentLoaded event is triggered (#12973)
    • fix(node): Pass inferred name & attributes to tracesSampler (#12945)

    Work in this release was contributed by @ jaspreet57 and @ arturovt. Thank you for your contribution!

    Bundle size 📦

    Path Size
    @ sentry/browser 22.3 KB
    @ sentry/browser (incl. Tracing) 33.72 KB
    @ sentry/browser (incl. Tracing, Replay) 69.81 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.11 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 74.2 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 86.52 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 88.39 KB
    @ sentry/browser (incl. metrics) 26.62 KB
    @ sentry/browser (incl. Feedback) 38.98 KB
    @ sentry/browser (incl. sendFeedback) 26.93 KB
    @ sentry/browser (incl. FeedbackAsync) 31.54 KB
    @ sentry/react 25.07 KB
    @ sentry/react (incl. Tracing) 36.79 KB
    @ sentry/vue 26.44 KB
    @ sentry/vue (incl. Tracing) 35.6 KB
    @ sentry/svelte 22.44 KB
    CDN Bundle 23.52 KB
    CDN Bundle (incl. Tracing) 35.5 KB
    CDN Bundle (incl. Tracing, Replay) 69.91 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 75.17 KB
    CDN Bundle - uncompressed 69 KB
    CDN Bundle (incl. Tracing) - uncompressed 105.1 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 216.88 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.6 KB
    @ sentry/nextjs (client) 36.65 KB
    @ sentry/sveltekit (client) 34.37 KB
    @ sentry/node 111.29 KB
    @ sentry/node - without tracing 88.71 KB
    @ sentry/aws-serverless 97.88 KB
  • 8.18.0 - 2024-07-16

    Important Changes

    • ref: Deprecate enableTracing (12897)

    The enableTracing option has been deprecated and will be removed in the next major version. We recommend removing it
    in favor of the tracesSampleRate and tracesSampler options. If you want to enable performance monitoring, please set
    the tracesSampleRate to a sample rate of your choice, or provide a sampling function as tracesSampler option
    instead. If you want to disable performance monitoring, remove the tracesSampler and tracesSampleRate options.

    Other Changes

    • feat(node): Expose exclude and include options for ESM loader (#12910)
    • feat(browser): Add user agent to INP standalone span attributes (#12896)
    • feat(nextjs): Add experimental_captureRequestError for onRequestError hook (#12885)
    • feat(replay): Bump rrweb to 2.25.0 (#12478)
    • feat(tracing): Add long animation frame tracing (#12646)
    • fix: Cleanup hooks when they are not used anymore (#12852)
    • fix(angular): Guard ErrorEvent check in ErrorHandler to avoid throwing in Node environments (#12892)
    • fix(inp): Ensure INP spans have correct transaction (#12871)
    • fix(nestjs): Do not make SentryTraced() decorated functions async (#12879)
    • fix(nextjs): Support automatic instrumentation for app directory with custom page extensions (#12858)
    • fix(node): Ensure correct URL is passed to ignoreIncomingRequests callback (#12929)
    • fix(otel): Do not add otel.kind: INTERNAL attribute (#12841)
    • fix(solidstart): Set proper sentry origin for solid router integration when used in solidstart sdk (#12919)
    • fix(sveltekit): Add Vite peer dep for proper type resolution (#12926)
    • fix(tracing): Ensure you can pass null as parentSpan in startSpan* (#12928)
    • ref(core): Small bundle size improvement (#12830)

    Work in this release was contributed by @ GitSquared, @ ziyadkhalil and @ mcous. Thank you for your contributions!

    Bundle size 📦

    Path Size
    @ sentry/browser 22.3 KB
    @ sentry/browser (incl. Tracing) 33.69 KB
    @ sentry/browser (incl. Tracing, Replay) 69.77 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.08 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 74.17 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 86.49 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 88.36 KB
    @ sentry/browser (incl. metrics) 26.59 KB
    @ sentry/browser (incl. Feedback) 38.98 KB
    @ sentry/browser (incl. sendFeedback) 26.93 KB
    @ sentry/browser (incl. FeedbackAsync) 31.54 KB
    @ sentry/react 25.06 KB
    @ sentry/react (incl. Tracing) 36.75 KB
    @ sentry/vue 26.41 KB
    @ sentry/vue (incl. Tracing) 35.57 KB
    @ sentry/svelte 22.44 KB
    CDN Bundle 23.52 KB
    CDN Bundle (incl. Tracing) 35.47 KB
    CDN Bundle (incl. Tracing, Replay) 69.87 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 75.14 KB
    CDN Bundle - uncompressed 69 KB
    CDN Bundle (incl. Tracing) - uncompressed 104.93 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 216.71 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.43 KB
    @ sentry/nextjs (client) 36.61 KB
    @ sentry/sveltekit (client) 34.34 KB
    @ sentry/node 130.83 KB
    @ sentry/node - without tracing 91.91 KB
    @ sentry/aws-serverless 117.08 KB
  • 8.17.0 - 2024-07-10
    • feat: Upgrade OTEL deps (#12809)
    • fix(nuxt): Add module to build:transpile script (#12843)
    • fix(browser): Allow SDK initialization in NW.js apps (#12846)

    Bundle size 📦

    Path Size
    @ sentry/browser 22.31 KB
    @ sentry/browser (incl. Tracing) 33.45 KB
    @ sentry/browser (incl. Tracing, Replay) 69.2 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.53 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 73.27 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 85.9 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.76 KB
    @ sentry/browser (incl. metrics) 26.59 KB
    @ sentry/browser (incl. Feedback) 38.98 KB
    @ sentry/browser (incl. sendFeedback) 26.92 KB
    @ sentry/browser (incl. FeedbackAsync) 31.54 KB
    @ sentry/react 25.05 KB
    @ sentry/react (incl. Tracing) 36.49 KB
    @ sentry/vue 26.41 KB
    @ sentry/vue (incl. Tracing) 35.31 KB
    @ sentry/svelte 22.44 KB
    CDN Bundle 23.52 KB
    CDN Bundle (incl. Tracing) 35.21 KB
    CDN Bundle (incl. Tracing, Replay) 69.31 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 74.51 KB
    CDN Bundle - uncompressed 69.02 KB
    CDN Bundle (incl. Tracing) - uncompressed 104.04 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 214.43 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 227.15 KB
    @ sentry/nextjs (client) 36.37 KB
    @ sentry/sveltekit (client) 34.1 KB
    @ sentry/node 130.79 KB
    @ sentry/node - without tracing 91.88 KB
    @ sentry/aws-serverless 117.05 KB
  • 8.16.0 - 2024-07-09

    Important Changes

    • feat(nextjs): Use spans generated by Next.js for App Router (#12729)

    Previously, the @ sentry/nextjs SDK automatically recorded spans in the form of transactions for each of your top-level
    server components (pages, layouts, ...). This approach had a few drawbacks, the main ones being that traces didn't have
    a root span, and more importantly, if you had data stream to the client, its duration was not captured because the
    server component spans had finished before the data could finish streaming.

    With this release, we will capture the duration of App Router requests in their entirety as a single transaction with
    server component spans being descendants of that transaction. This means you will get more data that is also more
    accurate. Note that this does not apply to the Edge runtime. For the Edge runtime, the SDK will emit transactions as it
    has before.

    Generally speaking, this change means that you will see less transactions and more spans in Sentry. You will no
    longer receive server component transactions like Page Server Component (/path/to/route) (unless using the Edge
    runtime), and you will instead receive transactions for your App Router SSR requests that look like
    GET /path/to/route.

    If you are on Sentry SaaS, this may have an effect on your quota consumption: Less transactions, more spans.

    • - feat(nestjs): Add nest cron monitoring support (#12781)

    The @ sentry/nestjs SDK now includes a @ SentryCron decorator that can be used to augment the native NestJS @ Cron
    decorator to send check-ins to Sentry before and after each cron job run:

    import { Cron } from '@ nestjs/schedule';
    import { SentryCron, MonitorConfig } from '@ sentry/nestjs';
    import type { MonitorConfig } from '@ sentry/types';

    const monitorConfig: MonitorConfig = {
    schedule: {
    type: 'crontab',
    value: '* * * * *',
    },
    checkinMargin: 2, // In minutes. Optional.
    maxRuntime: 10, // In minutes. Optional.
    timezone: 'America/Los_Angeles', // Optional.
    };

    export class MyCronService {
    @Cron('* * * * *')
    @SentryCron('my-monitor-slug', monitorConfig)
    handleCron() {
    // Your cron job logic here
    }
    }

    Other Changes

    • feat(node): Allow to pass instrumentation config to httpIntegration (#12761)
    • feat(nuxt): Add server error hook (#12796)
    • feat(nuxt): Inject sentry config with Nuxt addPluginTemplate (#12760)
    • fix: Apply stack frame metadata before event processors (#12799)
    • fix(feedback): Add missing h import in ScreenshotEditor (#12784)
    • fix(node): Ensure autoSessionTracking is enabled by default (#12790)
    • ref(feedback): Let CropCorner inherit the existing h prop (#12814)
    • ref(otel): Ensure we never swallow args for ContextManager (#12798)

    Bundle size 📦

    Path Size
    @ sentry/browser 22.29 KB
    @ sentry/browser (incl. Tracing) 33.44 KB
    @ sentry/browser (incl. Tracing, Replay) 69.19 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.52 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 73.25 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 85.88 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.74 KB
    @ sentry/browser (incl. metrics) 26.58 KB
    @ sentry/browser (incl. Feedback) 38.97 KB
    @ sentry/browser (incl. sendFeedback) 26.92 KB
    @ sentry/browser (incl. FeedbackAsync) 31.53 KB
    @ sentry/react 25.04 KB
    @ sentry/react (incl. Tracing) 36.48 KB
    @ sentry/vue 26.4 KB
    @ sentry/vue (incl. Tracing) 35.3 KB
    @ sentry/svelte 22.43 KB
    CDN Bundle 23.51 KB
    CDN Bundle (incl. Tracing) 35.2 KB
    CDN Bundle (incl. Tracing, Replay) 69.31 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 74.5 KB
    CDN Bundle - uncompressed 69 KB
    CDN Bundle (incl. Tracing) - uncompressed 104.02 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 214.41 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 227.12 KB
    @ sentry/nextjs (client) 36.36 KB
    @ sentry/sveltekit (client) 34.09 KB
    @ sentry/node 130.86 KB
    @ sentry/node - without tracing 91.88 KB
    @ sentry/aws-serverless 117.05 KB
  • 8.15.0 - 2024-07-05
  • 8.14.0 - 2024-07-04
  • 8.13.0 - 2024-06-27
  • 8.12.0 - 2024-06-25
  • 8.12.0-beta.0 - 2024-06-24
  • 8.11.0 - 2024-06-21
  • 8.10.0 - 2024-06-19
  • 8.9.2 - 2024-06-12
  • 8.9.1 - 2024-06-11
  • 8.9.0 - 2024-06-11
  • 8.8.0 - 2024-06-07
  • 8.7.0 - 2024-05-29
  • 8.6.0 - 2024-05-29
  • 8.5.0 - 2024-05-27
  • 8.4.0 - 2024-05-23
  • 8.3.0 - 2024-05-22
  • 8.2.1 - 2024-05-16
  • 8.2.0 - 2024-05-16
  • 8.1.0 - 2024-05-16
  • 8.0.0 - 2024-05-13
  • 8.0.0-rc.3 - 2024-05-10
  • 8.0.0-rc.2 - 2024-05-08
  • 8.0.0-rc.1 - 2024-05-07
  • 8.0.0-rc.0 - 2024-05-06
  • 8.0.0-beta.6 - 2024-05-03
  • 8.0.0-beta.5 - 2024-04-30
  • 8.0.0-beta.4 - 2024-04-24
  • 8.0.0-beta.3 - 2024-04-19
  • 8.0.0-beta.2 - 2024-04-17
  • 8.0.0-beta.1 - 2024-04-15
  • 8.0.0-alpha.9 - 2024-04-08
  • 8.0.0-alpha.8 - 2024-04-08
  • 8.0.0-alpha.7 - 2024-03-27
  • 8.0.0-alpha.5 - 2024-03-22
  • 8.0.0-alpha.4 - 2024-03-14
  • 8.0.0-alpha.3 - 2024-03-14
  • 8.0.0-alpha.2 - 2024-03-05
  • 8.0.0-alpha.1 - 2024-03-04
  • 7.118.0 - 2024-06-21
from @sentry/node GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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/node from 7.118.0 to 8.19.0.

See this package in npm:
@sentry/node

See this project in Snyk:
https://app.snyk.io/org/okeamah/project/c98f6f96-dbab-4e86-bf19-8861e297904b?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

changeset-bot bot commented Aug 10, 2024

⚠️ No Changeset found

Latest commit: ab14a17

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

@OKEAMAH OKEAMAH merged commit 16ac241 into v2 Aug 10, 2024
4 of 6 checks passed
This pull request was closed.
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