Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
fix(v8/svelte): Guard component tracking `beforeUpdate` call by Lms24 · Pull Request #15262 · getsentry/sentry-javascript · GitHub
Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(v8/svelte): Guard component tracking `beforeUpdate` call by Lms24 · Pull Request #15262 · getsentry/sentry-javascript · GitHub
Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(v8/svelte): Guard component tracking `beforeUpdate` call by Lms24 · Pull Request #15262 · getsentry/sentry-javascript · GitHub
Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' fix(v8/svelte): Guard component tracking `beforeUpdate` call by Lms24 · Pull Request #15262 · getsentry/sentry-javascript · GitHub
Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(v8/svelte): Guard component tracking `beforeUpdate` call by Lms24 · Pull Request #15262 · getsentry/sentry-javascript · GitHub
Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' fix(v8/svelte): Guard component tracking `beforeUpdate` call by Lms24 · Pull Request #15262 · getsentry/sentry-javascript · GitHub
Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); fix(v8/svelte): Guard component tracking `beforeUpdate` call by Lms24 · Pull Request #15262 · getsentry/sentry-javascript · GitHub
Skip to content

fix(v8/svelte): Guard component tracking beforeUpdate call - #15262

Merged
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard
Feb 3, 2025
Merged

fix(v8/svelte): Guard component tracking beforeUpdate call#15262
Lms24 merged 1 commit into
v8from
lms/fix-svelte-5-component-tracking-guard

Conversation

@Lms24

@Lms24Lms24 commented Feb 3, 2025

Copy link
Copy Markdown
Member

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 or afterUpdate lifecycle hooks. Usually, when users do this in their code, the Svelte compiler would throw a build error. However, since our withSentryConfig 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

@Lms24
Lms24 requested review from a team as code ownersFebruary 3, 2025 09:45
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from fbee874 to 0a50a53CompareFebruary 3, 2025 09:47
@Lms24
Lms24 changed the base branch from develop to v8February 3, 2025 09:47
@Lms24
Lms24 removed request for a teamFebruary 3, 2025 09:48
@Lms24Lms24 self-assigned this Feb 3, 2025
Comment on lines +26 to +27
...DEFAULT_SENTRY_OPTIONS.componentTracking,
...(sentryOptions && sentryOptions.componentTracking),

Copy link
Copy Markdown
MemberAuthor

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

@Lms24
Lms24 requested review from a team, AbhiPrasad, lforst and s1gr1d and removed request for a team and AbhiPrasadFebruary 3, 2025 10:48
@Lms24Lms24 changed the title fix(svelte): Guard component tracking beforeUpdate callfix(v8/svelte): Guard component tracking beforeUpdate callFeb 3, 2025
@Lms24
Lms24force-pushed the lms/fix-svelte-5-component-tracking-guard branch from 4641fac to f865ebdCompareFebruary 3, 2025 10:55
@Lms24
Lms24 merged commit d459577 into v8Feb 3, 2025
@Lms24
Lms24 deleted the lms/fix-svelte-5-component-tracking-guard branch February 3, 2025 16:30
aviator-appBot 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=) ![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/browser&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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>
mergifyBot 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=)
![Contributor](https://badgen.net/badge/icon/Contributor/000000?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 -->
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
<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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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&#x3D;@sentry/node&amp;utm_source&#x3D;github-cloud-app&amp;utm_medium&#x3D;referral&amp;page&#x3D;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 freeto 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

@Lms24@s1gr1d