-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(v8/svelte): Guard component tracking beforeUpdate
call
#15262
Merged
+26
−34
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fbee874
to
0a50a53
Compare
3 tasks
Lms24
commented
Feb 3, 2025
Comment on lines
+26
to
+27
...DEFAULT_SENTRY_OPTIONS.componentTracking, | ||
...(sentryOptions && sentryOptions.componentTracking), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a bug previously, not sure how we missed this, given we have a lot of tests...
beforeUpdate
callbeforeUpdate
call
start ci
4641fac
to
f865ebd
Compare
s1gr1d
approved these changes
Feb 3, 2025
aviator-app bot
added a commit
to reisene/HulajDusza-serwis
that referenced
this pull request
Mar 6, 2025
![snyk-io[bot]](https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=)  [<img width="16" alt="Powered by Pull Request Badge" src="https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)<!-- PR-BADGE: PLEASE DO NOT REMOVE THIS COMMENT -->  <h3>Snyk has created this PR to upgrade @sentry/browser from 8.54.0 to 9.0.1.</h3> :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. <hr/>⚠️ **Warning:** This PR contains major version upgrade(s), and may be a breaking change. - The recommended version is **6 versions** ahead of your current version. - The recommended version was released **23 days ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@sentry/browser</b></summary> <ul> <li> <b>9.0.1</b> - 2025-02-11 </li> <li> <b>9.0.0</b> - 2025-02-10 </li> <li> <b>9.0.0-alpha.2</b> - 2025-02-06 </li> <li> <b>9.0.0-alpha.1</b> - 2025-02-03 </li> <li> <b>9.0.0-alpha.0</b> - 2025-01-22 </li> <li> <b>8.55.0</b> - <a href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.55.0">2025-02-12</a></br><h3>Important Changes</h3> <ul> <li><strong>chore(ci/v8): Switch lambda layer name to <code>SentryNodeServerlessSDKv8</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15351" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15351/hovercard">#15351</a>)</strong></li> </ul> <p>The <code>SentryNodeServerlessSDK</code> AWS Lambda Layer will stop receiving updates.<br> If you intend to stay on <code>v8</code> and receive updates use <code>SentryNodeServerlessSDKv8</code> instead.</p> <h3>Other Changes</h3> <ul> <li>feat(flags/v8): add Statsig browser integration (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15347" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15347/hovercard">#15347</a>)</li> <li>feat(v8/node): Add missing <code>vercelAIIntegration</code> export (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15339" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15339/hovercard">#15339</a>)</li> <li>feat(v8/nuxt): Add <code>enabled</code> to disable Sentry module (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15337" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15337/hovercard">#15337</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2848120708" data-permission-text="Title is private" data-url="getsentry/sentry-javascript#15381" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15381/hovercard" href="https://redirect.github.com/getsentry/sentry-javascript/pull/15381">#15381</a>)</li> <li>feat(v8/vue): Support Pinia v3 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15384" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15384/hovercard">#15384</a>)</li> <li>fix(astro): Add vue to <code>registerEsmLoaderHooks</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15352" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15352/hovercard">#15352</a>)</li> <li>fix(react/v8): Support lazy-loaded routes and components (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15281" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15281/hovercard">#15281</a>)</li> <li>fix(v8/nuxt): Detect Azure Function runtime for flushing with timeout (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15297" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15297/hovercard">#15297</a>)</li> <li>fix(v8/solidstart): Do not copy release-injection map file (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15304" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15304/hovercard">#15304</a>)</li> <li>fix(v8/svelte): Guard component tracking <code>beforeUpdate</code> call (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15262" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15262/hovercard">#15262</a>)</li> </ul> <p>Work in this release was contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aryanvdesh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/aryanvdesh">@ aryanvdesh</a>. Thank you for your contribution!</p> <h2>Bundle size 📦</h2> <table> <thead> <tr> <th>Path</th> <th>Size</th> </tr> </thead> <tbody> <tr> <td>@ sentry/browser</td> <td>23.3 KB</td> </tr> <tr> <td>@ sentry/browser - with treeshaking flags</td> <td>23.17 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing)</td> <td>35.9 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay)</td> <td>73.27 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking flags</td> <td>66.71 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td> <td>77.57 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td> <td>89.5 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Feedback)</td> <td>39.51 KB</td> </tr> <tr> <td>@ sentry/browser (incl. sendFeedback)</td> <td>27.91 KB</td> </tr> <tr> <td>@ sentry/browser (incl. FeedbackAsync)</td> <td>32.71 KB</td> </tr> <tr> <td>@ sentry/react</td> <td>25.98 KB</td> </tr> <tr> <td>@ sentry/react (incl. Tracing)</td> <td>38.71 KB</td> </tr> <tr> <td>@ sentry/vue</td> <td>27.58 KB</td> </tr> <tr> <td>@ sentry/vue (incl. Tracing)</td> <td>37.75 KB</td> </tr> <tr> <td>@ sentry/svelte</td> <td>23.46 KB</td> </tr> <tr> <td>CDN Bundle</td> <td>24.49 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing)</td> <td>37.6 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay)</td> <td>72.9 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback)</td> <td>78.23 KB</td> </tr> <tr> <td>CDN Bundle - uncompressed</td> <td>71.92 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing) - uncompressed</td> <td>111.52 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td> <td>225.78 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td> <td>238.88 KB</td> </tr> <tr> <td>@ sentry/nextjs (client)</td> <td>38.96 KB</td> </tr> <tr> <td>@ sentry/sveltekit (client)</td> <td>36.4 KB</td> </tr> <tr> <td>@ sentry/node</td> <td>162.85 KB</td> </tr> <tr> <td>@ sentry/node - without tracing</td> <td>99.14 KB</td> </tr> <tr> <td>@ sentry/aws-serverless</td> <td>131.23 KB</td> </tr> </tbody> </table> </li> <li> <b>8.54.0</b> - 2025-02-03 </li> </ul> from <a href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/browser GitHub release notes</a> </details> </details> --- > [!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:** <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJjZDA2MDdmMC04ZDFiLTQ4NjItYWFiZC1mNzNlZjg1OTgzMzQiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImNkMDYwN2YwLThkMWItNDg2Mi1hYWJkLWY3M2VmODU5ODMzNCJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg=@sentry/browser&utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/browser","from":"8.54.0","to":"9.0.1"}],"env":"prod","hasFixes":false,"isBreakingChange":true,"isMajorUpgrade":true,"issuesToFix":[],"prId":"cd0607f0-8d1b-4862-aabd-f73ef8598334","prPublicId":"cd0607f0-8d1b-4862-aabd-f73ef8598334","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":6,"publishedDate":"2025-02-11T13:36:32.433Z"},"vulns":[]}' ## Podsumowanie wygenerowane przez Sourcery Prace porządkowe: - Aktualizacja zależności @sentry/browser z wersji 8.54.0 do 9.0.1 <details> <summary>Original summary in English</summary> ## Summary by Sourcery Chores: - Update @sentry/browser dependency from 8.54.0 to 9.0.1 </details>
mergify bot
added a commit
to reisene/HulajDusza-serwis
that referenced
this pull request
Mar 7, 2025
![snyk-io[bot]](https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=)  [<img width="16" alt="Powered by Pull Request Badge" src="https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)<!-- PR-BADGE: PLEASE DO NOT REMOVE THIS COMMENT -->  <h3>Snyk has created this PR to upgrade @sentry/node from 8.54.0 to 9.0.1.</h3> :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. <hr/>⚠️ **Warning:** This PR contains major version upgrade(s), and may be a breaking change. - The recommended version is **6 versions** ahead of your current version. - The recommended version was released **23 days ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@sentry/node</b></summary> <ul> <li> <b>9.0.1</b> - 2025-02-11 </li> <li> <b>9.0.0</b> - 2025-02-10 </li> <li> <b>9.0.0-alpha.2</b> - 2025-02-06 </li> <li> <b>9.0.0-alpha.1</b> - 2025-02-03 </li> <li> <b>9.0.0-alpha.0</b> - 2025-01-22 </li> <li> <b>8.55.0</b> - <a href="https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.55.0">2025-02-12</a></br><h3>Important Changes</h3> <ul> <li><strong>chore(ci/v8): Switch lambda layer name to <code>SentryNodeServerlessSDKv8</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15351" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15351/hovercard">#15351</a>)</strong></li> </ul> <p>The <code>SentryNodeServerlessSDK</code> AWS Lambda Layer will stop receiving updates.<br> If you intend to stay on <code>v8</code> and receive updates use <code>SentryNodeServerlessSDKv8</code> instead.</p> <h3>Other Changes</h3> <ul> <li>feat(flags/v8): add Statsig browser integration (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15347" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15347/hovercard">#15347</a>)</li> <li>feat(v8/node): Add missing <code>vercelAIIntegration</code> export (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15339" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15339/hovercard">#15339</a>)</li> <li>feat(v8/nuxt): Add <code>enabled</code> to disable Sentry module (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15337" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15337/hovercard">#15337</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2848120708" data-permission-text="Title is private" data-url="getsentry/sentry-javascript#15381" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15381/hovercard" href="https://redirect.github.com/getsentry/sentry-javascript/pull/15381">#15381</a>)</li> <li>feat(v8/vue): Support Pinia v3 (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15384" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15384/hovercard">#15384</a>)</li> <li>fix(astro): Add vue to <code>registerEsmLoaderHooks</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15352" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15352/hovercard">#15352</a>)</li> <li>fix(react/v8): Support lazy-loaded routes and components (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15281" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15281/hovercard">#15281</a>)</li> <li>fix(v8/nuxt): Detect Azure Function runtime for flushing with timeout (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15297" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15297/hovercard">#15297</a>)</li> <li>fix(v8/solidstart): Do not copy release-injection map file (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15304" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15304/hovercard">#15304</a>)</li> <li>fix(v8/svelte): Guard component tracking <code>beforeUpdate</code> call (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/15262" data-hovercard-type="pull_request" data-hovercard-url="/getsentry/sentry-javascript/pull/15262/hovercard">#15262</a>)</li> </ul> <p>Work in this release was contributed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aryanvdesh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/aryanvdesh">@ aryanvdesh</a>. Thank you for your contribution!</p> <h2>Bundle size 📦</h2> <table> <thead> <tr> <th>Path</th> <th>Size</th> </tr> </thead> <tbody> <tr> <td>@ sentry/browser</td> <td>23.3 KB</td> </tr> <tr> <td>@ sentry/browser - with treeshaking flags</td> <td>23.17 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing)</td> <td>35.9 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay)</td> <td>73.27 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay) - with treeshaking flags</td> <td>66.71 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay with Canvas)</td> <td>77.57 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Tracing, Replay, Feedback)</td> <td>89.5 KB</td> </tr> <tr> <td>@ sentry/browser (incl. Feedback)</td> <td>39.51 KB</td> </tr> <tr> <td>@ sentry/browser (incl. sendFeedback)</td> <td>27.91 KB</td> </tr> <tr> <td>@ sentry/browser (incl. FeedbackAsync)</td> <td>32.71 KB</td> </tr> <tr> <td>@ sentry/react</td> <td>25.98 KB</td> </tr> <tr> <td>@ sentry/react (incl. Tracing)</td> <td>38.71 KB</td> </tr> <tr> <td>@ sentry/vue</td> <td>27.58 KB</td> </tr> <tr> <td>@ sentry/vue (incl. Tracing)</td> <td>37.75 KB</td> </tr> <tr> <td>@ sentry/svelte</td> <td>23.46 KB</td> </tr> <tr> <td>CDN Bundle</td> <td>24.49 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing)</td> <td>37.6 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay)</td> <td>72.9 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback)</td> <td>78.23 KB</td> </tr> <tr> <td>CDN Bundle - uncompressed</td> <td>71.92 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing) - uncompressed</td> <td>111.52 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay) - uncompressed</td> <td>225.78 KB</td> </tr> <tr> <td>CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed</td> <td>238.88 KB</td> </tr> <tr> <td>@ sentry/nextjs (client)</td> <td>38.96 KB</td> </tr> <tr> <td>@ sentry/sveltekit (client)</td> <td>36.4 KB</td> </tr> <tr> <td>@ sentry/node</td> <td>162.85 KB</td> </tr> <tr> <td>@ sentry/node - without tracing</td> <td>99.14 KB</td> </tr> <tr> <td>@ sentry/aws-serverless</td> <td>131.23 KB</td> </tr> </tbody> </table> </li> <li> <b>8.54.0</b> - 2025-02-03 </li> </ul> from <a href="https://redirect.github.com/getsentry/sentry-javascript/releases">@sentry/node GitHub release notes</a> </details> </details> --- > [!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:** <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI2ZDYwM2FkYy1lZmY1LTRjM2QtODRkYi0zYzk0ZjdlMjQwYzYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjZkNjAzYWRjLWVmZjUtNGMzZC04NGRiLTNjOTRmN2UyNDBjNiJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59/settings/integration?pkg=@sentry/node&utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@sentry/node","from":"8.54.0","to":"9.0.1"}],"env":"prod","hasFixes":false,"isBreakingChange":true,"isMajorUpgrade":true,"issuesToFix":[],"prId":"6d603adc-eff5-4c3d-84db-3c94f7e240c6","prPublicId":"6d603adc-eff5-4c3d-84db-3c94f7e240c6","packageManager":"npm","priorityScoreList":[],"projectPublicId":"55e114f8-489e-4f14-b900-20574b041e59","projectUrl":"https://app.snyk.io/org/reisene/project/55e114f8-489e-4f14-b900-20574b041e59?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":6,"publishedDate":"2025-02-11T13:36:35.751Z"},"vulns":[]}' ## Podsumowanie wygenerowane przez Sourcery Prace porządkowe: - Aktualizacja zależności @sentry/node do najnowszej wersji. <details> <summary>Original summary in English</summary> ## Summary by Sourcery Chores: - Update @sentry/node dependency to the latest version. </details>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a guard the Svelte SDK's component update tracking feature to catch an error thrown by Svelte 5 in Runes mode. In Runes mode, components must not call the old
beforeUpdate
orafterUpdate
lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since ourwithSentryConfig
wrapper adds a preprocessor that sneaks such a function call in, the compiler doesn't notice this (at least not in the webpack loader as reported in ##15259.This PR also cleans up the preprocessor adding logic which was overcomplicated and a leftover from when we added more than one preprocessor to users' svelte configs. In general, I cleaned up some unnecessary stuff and terminology.
I'll open a follow-up PR for v9 where I'll disable update tracking by default (see #15259 (comment))
closes #15259