Skip to content

Update dependency @sentry/node to v9.16.1 - autoclosed#352

Merged
w3nl merged 1 commit intomainfrom
renovate/sentry-javascript-monorepo
May 8, 2025
Merged

Update dependency @sentry/node to v9.16.1 - autoclosed#352
w3nl merged 1 commit intomainfrom
renovate/sentry-javascript-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 7, 2025

This PR contains the following updates:

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

Release Notes

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

v9.16.1

Compare Source

  • fix(core): Make sure logs get flushed in server-runtime-client (#​16222)
  • ref(node): Remove vercel flushing code that does nothing (#​16217)

v9.16.0

Compare Source

Important changes
  • feat: Create a Vite plugin that injects sentryConfig into the global config (#​16197)

Add a new plugin makeConfigInjectorPlugin within our existing vite plugin that updates the global vite config with sentry options

  • feat(browser): Add option to sample linked traces consistently (#​16037)

This PR implements consistent sampling across traces as outlined in (#​15754)

  • feat(cloudflare): Add support for durable objects (#​16180)

This PR introduces a new instrumentDurableObjectWithSentry method to the SDK, which instruments durable objects. We capture both traces and errors automatically.

  • feat(node): Add Prisma integration by default (#​16073)

Prisma integration is enabled by default, it should work for both ESM and CJS.

  • feat(react-router): Add client-side router instrumentation (#​16185)

Adds client-side instrumentation for react router's HydratedRouter. To enable it, simply replace browserTracingIntegration() with reactRouterTracingIntegration() in your client-side init call.

  • fix(node): Avoid double-wrapping http module (#​16177)

When running your application in ESM mode, there have been scenarios that resulted in the http/https emitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.

In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now.
While this is generally not expected to break anything, there is one tiny change that _may
affect you if you have been relying on very specific functionality:

The ignoreOutgoingRequests option of httpIntegration receives the RequestOptions as second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:

ignoreOutgoingRequests(url: string, {
  method: string;
  protocol: string;
  host: string;
  hostname: string; // same as host
  path: string;
  headers: OutgoingHttpHeaders;
})
Other changes
  • feat(cloudflare): Add logs exports (#​16165)
  • feat(vercel-edge): Add logs export (#​16166)
  • feat(cloudflare): Read SENTRY_RELEASE from env (#​16201)
  • feat(node): Drop http.server spans with 404 status by default (#​16205)
  • fix(browser): Respect manually set sentry tracing headers in XHR requests (#​16184)
  • fix(core): Respect manually set sentry tracing headers in fetch calls (#​16183)
  • fix(feedback): Prevent removeFromDom() from throwing (#​16030)
  • fix(node): Use class constructor in docstring for winston transport (#​16167)
  • fix(node): Fix vercel flushing logic & add test for it (#​16208)
  • fix(node): Fix 404 route handling in express 5 (#​16211)
  • fix(logs): Ensure logs can be flushed correctly (#​16216)
  • ref(core): Switch to standardized log envelope (#​16133)

Bundle size 📦

Path Size
@​sentry/browser 23.35 KB
@​sentry/browser - with treeshaking flags 23.19 KB
@​sentry/browser (incl. Tracing) 37.25 KB
@​sentry/browser (incl. Tracing, Replay) 74.47 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.34 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 79.12 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 90.93 KB
@​sentry/browser (incl. Feedback) 39.75 KB
@​sentry/browser (incl. sendFeedback) 27.98 KB
@​sentry/browser (incl. FeedbackAsync) 32.74 KB
@​sentry/react 25.16 KB
@​sentry/react (incl. Tracing) 39.24 KB
@​sentry/vue 27.63 KB
@​sentry/vue (incl. Tracing) 39.01 KB
@​sentry/svelte 23.38 KB
CDN Bundle 24.55 KB
CDN Bundle (incl. Tracing) 37.29 KB
CDN Bundle (incl. Tracing, Replay) 72.33 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.64 KB
CDN Bundle - uncompressed 71.62 KB
CDN Bundle (incl. Tracing) - uncompressed 110.34 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 221.63 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.15 KB
@​sentry/nextjs (client) 40.84 KB
@​sentry/sveltekit (client) 37.73 KB
@​sentry/node 144.43 KB
@​sentry/node - without tracing 96.3 KB
@​sentry/aws-serverless 120.66 KB

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 7, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@w3nl w3nl merged commit 21fff26 into main May 8, 2025
14 checks passed
@renovate renovate Bot changed the title Update dependency @sentry/node to v9.16.1 Update dependency @sentry/node to v9.16.1 - autoclosed May 8, 2025
@renovate renovate Bot deleted the renovate/sentry-javascript-monorepo branch May 8, 2025 06:07
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.

1 participant