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 sentry-javascript monorepo to v7.112.0 #1910

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 23, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/node (source) 7.111.0 -> 7.112.0 age adoption passing confidence
@sentry/profiling-node (source) 7.111.0 -> 7.112.0 age adoption passing confidence

Release Notes

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

v7.112.0

Compare Source

Important Changes
  • feat: Export pluggable integrations from SDK packages (#​11723)

Instead of installing @sentry/integrations, you can now import the pluggable integrations directly from your SDK
package:

// Before
import * as Sentry fromv '@​sentry/browser';
import { dedupeIntegration } from '@​sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

// After
import * as Sentry from '@​sentry/browser';

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});

Note that only the functional integrations (e.g. xxxIntegration()) are re-exported.

Other Changes
  • feat(replay): Add "maxCanvasSize" option for replay canvases (#​11732)
  • fix(serverless): [v7] Check if cloud event callback is a function (#​11734)

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.72 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.69 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.91 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.32 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB
@​sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB
@​sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB
@​sentry/browser - Webpack (gzipped) 22.78 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.9 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.25 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.18 KB
@​sentry/react - Webpack (gzipped) 22.81 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.01 KB
@​sentry/nextjs Client - Webpack (gzipped) 54.15 KB
@​sentry-internal/feedback - Webpack (gzipped) 17.32 KB

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 enabled auto-merge (squash) April 23, 2024 10:36
Copy link

coderabbitai bot commented Apr 23, 2024

Important

Auto 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.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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.

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 as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration 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.

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

The changes mainly consist of package version updates, specifically updates to sentry packages from version 7.111.0 to 7.112.0 and the addition of a new dependency 'localforage'. Given the version updates are minor, I will assume they don't introduce any breaking changes. However, prior to merging these changes, running the test suite and manual verification should be done to ensure compatibility. Also, it would be necessary to understand the changes and benefits brought by the new 'localforage' dependency, ensuring its addition is critical and would not just add unnecessary complexity.

@@ -26,8 +26,8 @@
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@sentry/node": "7.111.0",
"@sentry/profiling-node": "7.111.0",
"@sentry/node": "7.112.0",
Copy link

Choose a reason for hiding this comment

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

Version numbers of @sentry/node and @sentry/profiling-node have been updated. Please ensure their compatibility with the current codebase by executing test suite and necessary manual testing.

@@ -49,11 +49,11 @@ importers:
specifier: ^9.0.0
version: 9.0.0
'@sentry/node':
specifier: 7.111.0
version: 7.111.0
specifier: 7.112.0
Copy link

Choose a reason for hiding this comment

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

Version numbers in package-lock file have also been updated. This ensures that the same version is installed across all environments.

@@ -1258,17 +1258,27 @@ packages:
Copy link

Choose a reason for hiding this comment

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

The @sentry/integrations package has been updated to version 7.112.0. Please verify its changes and compatibility with the project.

engines: {node: '>=8'}
dependencies:
'@sentry-internal/tracing': 7.111.0
'@sentry/core': 7.111.0
Copy link

Choose a reason for hiding this comment

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

'localforage' has been included as a new dependency. Please provide justification for its inclusion and ensure it does not introduce unnecessary complexity.

Copy link

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

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/@sentry/node@7.111.0, npm/@sentry/profiling-node@7.111.0

View full report↗︎

Copy link

deepsource-io bot commented Apr 23, 2024

Here's the code health analysis summary for commits 2c56bcd..6d92b96. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

The updates involve many Sentry modules. Please make sure to test these changes extensively as Sentry is a crucial part of error-tracing and logging. Also, take note of a new dependency localforage and make sure that it is compatible with the rest of the application.

engines: {node: '>=8'}
dependencies:
'@sentry-internal/tracing': 7.112.0
'@sentry/core': 7.112.0
Copy link

Choose a reason for hiding this comment

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

Check if '@sentry/profiling-node' version '7.112.0' has any major changes that might affect the application. Consult the changelog/documentation of the library for any major changes.

'@sentry/types': 7.111.0
'@sentry/utils': 7.111.0
'@sentry/core': 7.112.0
'@sentry/types': 7.112.0
Copy link

Choose a reason for hiding this comment

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

Ensure '@sentry/node' has been properly updated to version '7.112.0' throughout your codebase.

@@ -1277,15 +1287,15 @@ packages:
Copy link

Choose a reason for hiding this comment

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

The '@sentry/types' version '7.112.0' may bring some new types or modifications to existing ones. If your project is type-checked, ensure it does not break any existing type checks.

/lie@3.1.1:
resolution: {integrity: sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==}
dependencies:
immediate: 3.0.6
Copy link

Choose a reason for hiding this comment

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

You've added a new external dependency localforage. Confirm that this package is necessary and used within the application, and that it complies with the software's license restrictions.

@@ -2487,6 +2497,9 @@ packages:
engines: {node: '>= 4'}
dev: true

/immediate@3.0.6:
resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}

Copy link

Choose a reason for hiding this comment

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

There is a dependency added 'lie', it is recommended to verify its usage and its compatibility with other parts of application.

engines: {node: '>=8'}
dependencies:
'@sentry/types': 7.111.0
'@sentry/types': 7.112.0
Copy link

Choose a reason for hiding this comment

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

Addtion of dependency 'immediate' detected. Make sure this dependency is necessary and does not impose security threats.

@@ -1239,12 +1239,12 @@ packages:
- supports-color
dev: false
Copy link

Choose a reason for hiding this comment

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

'@sentry/core' has been updated to a new version. Make sure this version upgrade does not impact the functionalities where it is used.

/@sentry/node@7.111.0:
resolution: {integrity: sha512-bTLZNETT7W89HEk04rwsch02KSpu++Yec/BEyM3AxUNY+ZQ9ZLL/lrNZuCwbe7fURpKoZrvGAhxpPjgs5UcB9w==}
/@sentry/integrations@7.112.0:
resolution: {integrity: sha512-brN6eZkXuz1e/OKhMGJsAZjc0cUU+5G+LQWet+gGXWVGM2v7uY7mKDHr5Yl/c8WxeJBurjJzJn7YmtmR9++ZKQ==}
engines: {node: '>=8'}
dependencies:
Copy link

Choose a reason for hiding this comment

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

Notice the new dependency '@sentry/integrations'. Validate its requirement and usage within the application.

@@ -1258,17 +1258,27 @@ packages:
Copy link

Choose a reason for hiding this comment

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

A new version of '@sentry/node' has been introduced, ensuring there are no breaking changes impacting the application.

@@ -26,8 +26,8 @@
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@sentry/node": "7.111.0",
"@sentry/profiling-node": "7.111.0",
"@sentry/node": "7.112.0",
Copy link

Choose a reason for hiding this comment

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

Package '@sentry/node' version has been updated, verify if the new version is compatible with your application.

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

This code review covers changes made for upgrading and adding dependencies in the project's package.json and pnpm-lock.yaml files, presumably to implement new features or bug fixes or to improve security. Attention should be paid to testing these updates thoroughly, following each package's documentation to ensure any relevant breaking changes are taken into account.

@@ -26,8 +26,8 @@
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@sentry/node": "7.111.0",
"@sentry/profiling-node": "7.111.0",
"@sentry/node": "7.112.0",
Copy link

Choose a reason for hiding this comment

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

Note that @sentry/node has been updated from version 7.111.0 to 7.112.0. Ensure the change is tested thoroughly and confirms to any breaking changes in the documentation of this package.

"@sentry/node": "7.111.0",
"@sentry/profiling-node": "7.111.0",
"@sentry/node": "7.112.0",
"@sentry/profiling-node": "7.112.0",
Copy link

Choose a reason for hiding this comment

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

@sentry/profiling-node is updated from version 7.111.0 to 7.112.0. It is advisable to refer to the package's changelog or release notes to make sure it will not introduce any breaking changes.

@@ -1258,17 +1258,27 @@ packages:
Copy link

Choose a reason for hiding this comment

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

A new package '@sentry/integrations@7.112.0' is introduced. Verifying its need and use-case in the project would be beneficial. This package also has an extra dependency on 'localforage: 1.10.0', make sure to confirm that this does not conflict with any existing dependencies.

engines: {node: '>=8'}
dependencies:
'@sentry-internal/tracing': 7.111.0
'@sentry/core': 7.111.0
'@sentry/types': 7.111.0
Copy link

Choose a reason for hiding this comment

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

The 'localforage' package has been added as version 1.10.0. Confirm that its addition to the project does not result in compatibility issues with other packages.

@@ -2487,6 +2497,9 @@ packages:
engines: {node: '>= 4'}
dev: true

/immediate@3.0.6:
resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}
Copy link

Choose a reason for hiding this comment

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

The 'lie' package has been added as version 3.1.1. If it was indirectly installed through another package, this doesn't require any intervention. However, if it was manually added, validate that the package is being used as per its documentation.

@@ -2683,6 +2696,11 @@ packages:
type-check: 0.4.0
dev: true

/lie@3.1.1:
resolution: {integrity: sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==}
dependencies:
Copy link

Choose a reason for hiding this comment

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

@sentry/core, @sentry/types, and @sentry/utils packages have been updated to version 7.112.0 from 7.111.0. Testing these updates thoroughly is recommended to avoid any unexpected behaviour.

Copy link

@codecov codecov bot left a comment

Choose a reason for hiding this comment

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

The git diff shows that several packages have been updated, particularly several Sentry packages, from version 7.111.0 to 7.112.0 across both package.json and pnpm-lock.yaml. This typically suggests improvements, bug fixes, etc. However, caution is needed because while the new version may bring new features and bug fixes, it may also introduce new bugs or compatibility issues. No other major changes have been made.

@@ -26,8 +26,8 @@
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@sentry/node": "7.111.0",
"@sentry/profiling-node": "7.111.0",
"@sentry/node": "7.112.0",
Copy link

Choose a reason for hiding this comment

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

The version for '@sentry/node' package has been upgraded from 7.111.0 to 7.112.0. Make sure to look into the changes in this version to confirm if there would be no breaking changes.

"@sentry/node": "7.111.0",
"@sentry/profiling-node": "7.111.0",
"@sentry/node": "7.112.0",
"@sentry/profiling-node": "7.112.0",
Copy link

Choose a reason for hiding this comment

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

The package '@sentry/profiling-node' has been upgraded to 7.112.0. Review the update documentation to understand what changes this new version brings.

@@ -49,11 +49,11 @@ importers:
specifier: ^9.0.0
version: 9.0.0
'@sentry/node':
specifier: 7.111.0
version: 7.111.0
specifier: 7.112.0
Copy link

Choose a reason for hiding this comment

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

'@sentry/node' version has been updated in pnpm-lock.yaml as well. If any problems arise after this update, this would be one of the places to check for possible reasons.

/@sentry-internal/tracing@7.111.0:
resolution: {integrity: sha512-CgXly8rsdu4loWVKi2RqpInH3C2cVBuaYsx4ZP5IJpzSinsUAMyyr3Pc0PZzCyoVpBBXGBGj/4HhFsY3q6Z0Vg==}
/@sentry-internal/tracing@7.112.0:
resolution: {integrity: sha512-PkA3NaSg4nTWp9pwVsV9x0EBiY0pEAnIboIpMuLGE5MJ/FL10NC5Fn1GPebcxNnOou62dM7P/z7Wtcm8czAn6A==}
engines: {node: '>=8'}
dependencies:
Copy link

Choose a reason for hiding this comment

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

'@sentry/core' version has been updated. Make sure to check the changelog for this version to understand what modifications were made.

@@ -1258,17 +1258,27 @@ packages:
Copy link

Choose a reason for hiding this comment

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

A new package '@sentry/integrations' has been introduced in the version 7.112.0, and dependencies like '@sentry/core', '@sentry/types' and '@sentry/utils' have been updated. It would be prudent to check the documentation of this new package, understand its purpose and confirm that this package does not conflict with existing code.

'@sentry/utils': 7.111.0
'@sentry/core': 7.112.0
'@sentry/types': 7.112.0
'@sentry/utils': 7.112.0
Copy link

Choose a reason for hiding this comment

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

The '@sentry/node' package has new dependencies '@sentry-internal/tracing' and '@sentry/integrations' mentioned in the version 7.112.0. Be aware of these new dependencies and check if they introduce any breaking changes to the existing code.

Copy link

sonarcloud bot commented Apr 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.41%. Comparing base (2c56bcd) to head (6d92b96).

✅ All tests successful. No failed tests found ☺️

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1910      +/-   ##
==========================================
- Coverage   42.42%   42.41%   -0.01%     
==========================================
  Files          83       83              
  Lines       10351    10351              
  Branches      161      110      -51     
==========================================
- Hits         4391     4390       -1     
- Misses       5960     5961       +1     
Flag Coverage Δ *Carryforward flag
core 100.00% <ø> (ø)
database 14.21% <ø> (ø)
gateway 46.37% <ø> (ø)
lobby 32.69% <ø> (ø)
login 24.06% <ø> (ø) Carriedforward from 2c56bcd
patch 87.28% <ø> (ø) Carriedforward from 2c56bcd
persona 27.94% <ø> (ø) Carriedforward from 2c56bcd
shard 96.87% <ø> (ø) Carriedforward from 2c56bcd
transactions 52.36% <ø> (-0.03%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit 676b041 into main Apr 23, 2024
12 of 13 checks passed
@renovate renovate bot deleted the renovate/sentry-javascript-monorepo branch April 23, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants