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

fix(deps): update dependency @sentry/node to v7.88.0 #3310

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/node (source) 7.81.0 -> 7.88.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/node)

v7.88.0

Compare Source

Important Changes
  • feat(browser): Add browser metrics sdk (#​9794)

The release adds alpha support for Sentry developer metrics in the Browser SDKs (@sentry/browser and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.

To enable capturing metrics, you first need to add the MetricsAggregator integration.

Sentry.init({
  dsn: '__DSN__',
  integrations: [
    new Sentry.metrics.MetricsAggregator(),
  ],
});

Then you'll be able to add counters, sets, distributions, and gauges under the Sentry.metrics namespace.

// Add 4 to a counter named `hits`
Sentry.metrics.increment('hits', 4);

// Add 2 to gauge named `parallel_requests`, tagged with `happy: "no"`
Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } });

// Add 4.6 to a distribution named `response_time` with unit seconds
Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });

// Add 2 to a set named `valuable.ids`
Sentry.metrics.set('valuable.ids', 2);

In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)

  • feat(deno): Optionally instrument Deno.cron (#​9808)

This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the --unstable flag and the usage of the DenoCron Sentry integration.

// Import from the Deno registry
import * as Sentry from "https://deno.land/x/sentry/index.mjs";

Sentry.init({
  dsn: '__DSN__',
  integrations: [
    new Sentry.DenoCron(),
  ],
});
Other Changes
  • feat(replay): Bump rrweb to 2.6.0 (#​9847)
  • fix(nextjs): Guard against injecting multiple times (#​9807)
  • ref(remix): Bump Sentry CLI to ^2.23.0 (#​9773)

v7.87.0

Compare Source

  • feat: Add top level getCurrentScope() method (#​9800)
  • feat(replay): Bump rrweb to 2.5.0 (#​9803)
  • feat(replay): Capture hydration error breadcrumb (#​9759)
  • feat(types): Add profile envelope types (#​9798)
  • fix(astro): Avoid RegExp creation during route interpolation (#​9815)
  • fix(browser): Avoid importing from ./exports (#​9775)
  • fix(nextjs): Catch rejecting flushes (#​9811)
  • fix(nextjs): Fix devserver CORS blockage when assetPrefix is defined (#​9766)
  • fix(node): Capture errors in tRPC middleware (#​9782)

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.04 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.38 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.99 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB
@​sentry/browser - Webpack (gzipped) 21.39 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.61 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 63.33 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.67 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 21.72 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 199.58 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.94 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.92 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.34 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.75 KB
@​sentry/react - Webpack (gzipped) 21.44 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.48 KB
@​sentry/nextjs Client - Webpack (gzipped) 48.23 KB
@​sentry-internal/feedback - Webpack (gzipped) 16.19 KB

v7.86.0

Compare Source

  • feat(core): Use SDK_VERSION for hub API version (#​9732)
  • feat(nextjs): Emit warning if your app directory doesn't have a global-error.js file (#​9753)
  • feat(node): Add cloudflare pages commit sha (#​9751)
  • feat(remix): Bump @​sentry/cli to 2.22.3 (#​9741)
  • fix(nextjs): Don't accidentally trigger static generation bailout (#​9749)
  • fix(node): Guard process.env.NODE_ENV access in Spotlight integration (#​9748)
  • fix(utils): Fix XHR instrumentation early return (#​9770)
  • ref(remix): Rework Error Handling (#​9725)

v7.85.0

Compare Source

  • feat(core): Add addEventProcessor method (#​9554)
  • feat(crons): Add interface for heartbeat checkin (#​9706)
  • feat(feedback): Include Feedback package in browser SDK (#​9586)
  • fix(astro): Isolate request instrumentation in middleware (#​9709)
  • fix(replay): Capture JSON XHR response bodies (#​9623)
  • ref(feedback): Change form box-shadow to use CSS var (#​9630)
Bundle size 📦
Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 74.63 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.99 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.59 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 31.12 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 29.72 KB
@​sentry/browser - Webpack (gzipped) 21.38 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.22 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.97 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.62 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 21.7 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 198.31 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.73 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.71 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.29 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.35 KB
@​sentry/react - Webpack (gzipped) 21.42 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.07 KB
@​sentry/nextjs Client - Webpack (gzipped) 48.21 KB
@​sentry-internal/feedback - Webpack (gzipped) 16.17 KB

v7.84.0

Compare Source

Important Changes
  • ref(nextjs): Set automaticVercelMonitors to be false by default (#​9697)

From this version onwards the default for the automaticVercelMonitors option in the Next.js SDK is set to false.
Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors.
Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly.

If you want to continue using this feature, make sure to set the automaticVercelMonitors flag to true in your next.config.js Sentry settings.

Other Changes
  • chore(astro): Add 4.0.0 preview versions to astro peer dependency range (#​9696)
  • feat(metrics): Add interfaces for metrics (#​9698)
  • feat(web-vitals): Vendor in INP from web-vitals library (#​9690)
  • fix(astro): Avoid adding the Sentry Vite plugin in dev mode (#​9688)
  • fix(nextjs): Don't match files called middleware in node_modules (#​9686)
  • fix(remix): Don't capture error responses that are not 5xx on Remix v2. (#​9655)
  • fix(tracing): Don't attach resource size if null (#​9669)
  • fix(utils): Regex match port to stop accidental replace (#​9676)
  • fix(utils): Try catch new URL when extracting query params (#​9675)
Bundle size 📦
Path Size
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.86 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.46 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 31.12 KB
@​sentry/browser - Webpack (gzipped) 21.38 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.72 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.53 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 21.6 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.46 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.32 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.29 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.22 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.25 KB
@​sentry/react - Webpack (gzipped) 21.42 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.96 KB
@​sentry/nextjs Client - Webpack (gzipped) 48.21 KB
@​sentry-internal/feedback - Webpack (gzipped) 16.19 KB

v7.83.0

Compare Source

  • chore(astro): Allow Astro 4.0 in peer dependencies (#​9683)
  • feat(astro): Add assets option to source maps upload options (#​9668)
  • feat(react): Support exactOptionalPropertyTypes on ErrorBoundary (#​9098)
  • fix: Don't depend on browser types in types (#​9682)
  • fix(astro): Configure sourcemap assets directory for Vercel adapter (#​9665)
  • fix(remix): Check the error data before spreading. (#​9664)

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.86 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.46 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 31.11 KB
@​sentry/browser - Webpack (gzipped) 21.38 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.71 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.52 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 21.6 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.46 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.32 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.29 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.21 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.24 KB
@​sentry/react - Webpack (gzipped) 21.42 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.96 KB
@​sentry/nextjs Client - Webpack (gzipped) 48.21 KB
@​sentry-internal/feedback - Webpack (gzipped) 16.19 KB

v7.82.0

Compare Source

  • feat(astro): Automatically add Sentry middleware in Astro integration (#​9532)
  • feat(core): Add optional setup hook to integrations (#​9556)
  • feat(core): Add top level getClient() method (#​9638)
  • feat(core): Allow to pass mechanism as event hint (#​9590)
  • feat(core): Allow to use continueTrace without callback (#​9615)
  • feat(feedback): Add onClose callback to showReportDialog (#​9433) (#​9550)
  • feat(nextjs): Add request data to all edge-capable functionalities (#​9636)
  • feat(node): Add Spotlight option to Node SDK (#​9629)
  • feat(utils): Refactor addInstrumentationHandler to dedicated methods (#​9542)
  • fix: Make full url customizable for Spotlight (#​9652)
  • fix(astro): Remove Auth Token existence check (#​9651)
  • fix(nextjs): Fix middleware detection logic (#​9637)
  • fix(remix): Skip capturing aborted requests (#​9659)
  • fix(replay): Add BODY_PARSE_ERROR warning & time out fetch response load (#​9622)
  • fix(tracing): Filter out invalid resource sizes (#​9641)
  • ref: Hoist RequestData integration to @sentry/core (#​9597)
  • ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#​9625)

Work in this release contributed by @​arya-s. Thank you for your contribution!

Bundle size 📦
Path Size
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.02 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 56.21 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 31.19 KB
@​sentry/browser - Webpack (gzipped) 21.4 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.65 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.47 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 21.55 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.27 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.15 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.12 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.13 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.43 KB
@​sentry/react - Webpack (gzipped) 21.45 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.16 KB
@​sentry/nextjs Client - Webpack (gzipped) 48.32 KB
@​sentry-internal/feedback - Webpack (gzipped) 16.19 KB

v7.81.1

Compare Source

  • fix(astro): Remove method from span op (#​9603)
  • fix(deno): Make sure files get published (#​9611)
  • fix(nextjs): Use globalThis instead of global in edge runtime (#​9612)
  • fix(node): Improve error handling and shutdown handling for ANR (#​9548)
  • fix(tracing-internal): Fix case when originalURL contain query params (#​9531)

Work in this release contributed by @​powerfulyang, @​LubomirIgonda1, @​joshkel, and @​alexgleason. Thank you for your contributions!


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the 🤖 Type: Dependencies Dependency updates or something similar label Nov 27, 2023
Copy link

changeset-bot bot commented Nov 27, 2023

⚠️ No Changeset found

Latest commit: 59dc600

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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
Contributor

github-actions bot commented Nov 27, 2023

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-3pwgp3qsj-commercetools.vercel.app
https://appkit-sha-1585f467b5cbeccf8ddfa8d0f1a0baf7080515b0.commercetools.vercel.app
https://appkit-pr-3310.commercetools.vercel.app

Built with commit 59dc600.
This pull request is being automatically deployed with vercel-action

Copy link
Contributor

github-actions bot commented Nov 27, 2023

Deploy preview for application-kit-custom-views ready!

✅ Preview
https://application-kit-custom-views-8vfw51fs4-commercetools.vercel.app
https://appkit-cv-sha-1585f467b5cbeccf8ddfa8d0f1a0baf7080515b0.commercetools.vercel.app
https://appkit-cv-pr-3310.commercetools.vercel.app

Built with commit 59dc600.
This pull request is being automatically deployed with vercel-action

@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v7.81.1 fix(deps): update dependency @sentry/node to v7.82.0 Nov 27, 2023
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from 42e33cb to f60be8a Compare November 27, 2023 20:26
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from f60be8a to 00cef29 Compare November 28, 2023 15:45
@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v7.82.0 fix(deps): update dependency @sentry/node to v7.83.0 Nov 28, 2023
@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v7.83.0 fix(deps): update all node.js updates Nov 29, 2023
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from 00cef29 to d370ceb Compare November 29, 2023 19:57
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from d370ceb to bfd35b4 Compare November 30, 2023 12:08
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from bfd35b4 to b53699a Compare December 4, 2023 22:17
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from b53699a to 20d2f6e Compare December 5, 2023 17:14
@renovate renovate bot changed the title fix(deps): update all node.js updates fix(deps): update dependency @sentry/node to v7.85.0 Dec 5, 2023
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from 20d2f6e to e09e38e Compare December 7, 2023 11:39
@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v7.85.0 fix(deps): update dependency @sentry/node to v7.86.0 Dec 7, 2023
@renovate renovate bot force-pushed the renovate/all-node.js-updates branch from 2cd8a21 to ce42fc4 Compare December 14, 2023 21:47
@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v7.87.0 fix(deps): update dependency @sentry/node to v7.88.0 Dec 14, 2023
@@ -27,7 +27,7 @@
"dependencies": {
"@babel/runtime": "^7.22.15",
"@babel/runtime-corejs3": "^7.22.15",
"@sentry/node": "7.81.0",
"@sentry/node": "7.88.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

@emmenko I don't see this dependency imported anywhere.
Do you maybe remember why it is here?

Copy link
Member

Choose a reason for hiding this comment

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

Ah good catch. It's a leftover from #1472 when we open sourced our logger package. Back then we had sentry tracking included for our backend services.

We can remove this dependency now. Thanks

@CarlosCortizasCT
Copy link
Contributor

We decided to remove the @sentry/node dependency as it is not used anymore.

Copy link
Contributor Author

renovate bot commented Dec 18, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@CarlosCortizasCT CarlosCortizasCT merged commit 00191b5 into main Dec 18, 2023
20 checks passed
@CarlosCortizasCT CarlosCortizasCT deleted the renovate/all-node.js-updates branch December 18, 2023 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 Type: Dependencies Dependency updates or something similar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants