fix(sveltekit): Handle nested server calls in sentryHandle (#7598)
ref(sveltekit): Split up universal and server load wrappers (#7652)
This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated SvelteKit README instructions for more details.
feat(sveltekit): Add Undici integration by default (#7650)
We've added an integration that automatically instruments Undici and Node server side fetch. This supports Undici v4.7.0 or higher and requires Node v16.7.0 or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.
We've added a new middleware for trpc that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).
import { initTRPC } from '@trpc/server';
import * as Sentry from '@sentry/node';
fix(sveltekit): Handle nested server calls in sentryHandle (#7598)
ref(sveltekit): Split up universal and server load wrappers (#7652)
This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated SvelteKit README instructions for more details.
feat(sveltekit): Add Undici integration by default (#7650)
We've added an integration that automatically instruments Undici and Node server side fetch. This supports Undici v4.7.0 or higher and requires Node v16.7.0 or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.
We've added a new middleware for trpc that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).
import { initTRPC } from '@trpc/server';
import * as Sentry from '@sentry/node';
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [@sentry/tracing](https://github.com/getsentry/sentry-javascript) from 7.45.0 to 7.46.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/releases"><code>@sentry/tracing</code>'s releases</a>.</em></p>
<blockquote>
<h2>7.46.0</h2>
<h3>Important Changes</h3>
<ul>
<li><strong>feat(sveltekit)</strong>: Add Performance Monitoring for SvelteKit
<ul>
<li>feat(sveltekit): Add meta tag for backend -> frontend (<a href="https://github.com/getsentry/sentry-javascript/issues/7574">#7574</a>)</li>
<li>fix(sveltekit): Explicitly export Node SDK exports (<a href="https://github.com/getsentry/sentry-javascript/issues/7644">#7644</a>)</li>
<li>fix(sveltekit): Handle nested server calls in <code>sentryHandle</code> (<a href="https://github.com/getsentry/sentry-javascript/issues/7598">#7598</a>)</li>
<li>ref(sveltekit): Split up universal and server load wrappers (<a href="https://github.com/getsentry/sentry-javascript/issues/7652">#7652</a>)</li>
</ul>
</li>
</ul>
<p>This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated <a href="https://github.com/getsentry/sentry-javascript/blob/HEAD/packages/sveltekit/README.md">SvelteKit README instructions</a> for more details.</p>
<ul>
<li><strong>feat(core)</strong>: Add <code>ignoreTransactions</code> option (<a href="https://github.com/getsentry/sentry-javascript/issues/7594">#7594</a>)</li>
</ul>
<p>You can now easily filter out certain transactions from being sent to Sentry based on their name.</p>
<pre lang="ts"><code>Sentry.init({
ignoreTransactions: ['/api/healthcheck', '/ping'],
})
</code></pre>
<ul>
<li><strong>feat(node)</strong>: Undici integration (<a href="https://github.com/getsentry/sentry-javascript/issues/7582">#7582</a>)
<ul>
<li>feat(nextjs): Add Undici integration automatically (<a href="https://github.com/getsentry/sentry-javascript/issues/7648">#7648</a>)</li>
<li>feat(sveltekit): Add Undici integration by default (<a href="https://github.com/getsentry/sentry-javascript/issues/7650">#7650</a>)</li>
</ul>
</li>
</ul>
<p>We've added an integration that automatically instruments <a href="https://github.com/nodejs/undici">Undici</a> and Node server side fetch. This supports Undici <code>v4.7.0</code> or higher and requires Node <code>v16.7.0</code> or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.</p>
<pre lang="ts"><code>Sentry.init({
integrations: [new Sentry.Integrations.Undici()],
})
</code></pre>
<p>In our Next.js and SvelteKit SDKs, this integration is automatically added.</p>
<ul>
<li><strong>feat(node)</strong>: Add Sentry tRPC middleware (<a href="https://github.com/getsentry/sentry-javascript/issues/7511">#7511</a>)</li>
</ul>
<p>We've added a new middleware for <a href="https://trpc.io/">trpc</a> that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).</p>
<pre lang="ts"><code>import { initTRPC } from '@trpc/server';
import * as Sentry from '@sentry/node';
<p>const t = initTRPC.context().create();
const sentryMiddleware = t.middleware(
Sentry.Handlers.trpcMiddleware({
attachRpcInput: true,
}),
);</p>
<p></tr></table>
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md"><code>@sentry/tracing</code>'s changelog</a>.</em></p>
<blockquote>
<h2>7.46.0</h2>
<h3>Important Changes</h3>
<ul>
<li><strong>feat(sveltekit)</strong>: Add Performance Monitoring for SvelteKit
<ul>
<li>feat(sveltekit): Add meta tag for backend -> frontend (<a href="https://github.com/getsentry/sentry-javascript/issues/7574">#7574</a>)</li>
<li>fix(sveltekit): Explicitly export Node SDK exports (<a href="https://github.com/getsentry/sentry-javascript/issues/7644">#7644</a>)</li>
<li>fix(sveltekit): Handle nested server calls in <code>sentryHandle</code> (<a href="https://github.com/getsentry/sentry-javascript/issues/7598">#7598</a>)</li>
<li>ref(sveltekit): Split up universal and server load wrappers (<a href="https://github.com/getsentry/sentry-javascript/issues/7652">#7652</a>)</li>
</ul>
</li>
</ul>
<p>This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated <a href="https://github.com/getsentry/sentry-javascript/blob/develop/packages/sveltekit/README.md">SvelteKit README instructions</a> for more details.</p>
<ul>
<li><strong>feat(core)</strong>: Add <code>ignoreTransactions</code> option (<a href="https://github.com/getsentry/sentry-javascript/issues/7594">#7594</a>)</li>
</ul>
<p>You can now easily filter out certain transactions from being sent to Sentry based on their name.</p>
<pre lang="ts"><code>Sentry.init({
ignoreTransactions: ['/api/healthcheck', '/ping'],
})
</code></pre>
<ul>
<li><strong>feat(node)</strong>: Undici integration (<a href="https://github.com/getsentry/sentry-javascript/issues/7582">#7582</a>)
<ul>
<li>feat(nextjs): Add Undici integration automatically (<a href="https://github.com/getsentry/sentry-javascript/issues/7648">#7648</a>)</li>
<li>feat(sveltekit): Add Undici integration by default (<a href="https://github.com/getsentry/sentry-javascript/issues/7650">#7650</a>)</li>
</ul>
</li>
</ul>
<p>We've added an integration that automatically instruments <a href="https://github.com/nodejs/undici">Undici</a> and Node server side fetch. This supports Undici <code>v4.7.0</code> or higher and requires Node <code>v16.7.0</code> or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.</p>
<pre lang="ts"><code>Sentry.init({
integrations: [new Sentry.Integrations.Undici()],
})
</code></pre>
<p>In our Next.js and SvelteKit SDKs, this integration is automatically added.</p>
<ul>
<li><strong>feat(node)</strong>: Add Sentry tRPC middleware (<a href="https://github.com/getsentry/sentry-javascript/issues/7511">#7511</a>)</li>
</ul>
<p>We've added a new middleware for <a href="https://trpc.io/">trpc</a> that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).</p>
<pre lang="ts"><code>import { initTRPC } from '@trpc/server';
import * as Sentry from '@sentry/node';
<p>const t = initTRPC.context().create();
const sentryMiddleware = t.middleware(
Sentry.Handlers.trpcMiddleware({
attachRpcInput: true,
}),
);
</tr></table>
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/993dc3636fa423b7a028814c0d38d765f9024e73"><code>993dc36</code></a> release: 7.46.0</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/c62271092fc1568bf4d154c4e6d8179f64a81947"><code>c622710</code></a> meta(changelog): Add <code>@sentry/tracing</code> notes to 7.46.0 changelog (<a href="https://github.com/getsentry/sentry-javascript/issues/7673">#7673</a>)</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/eb898f5ba77efa0df84c8aa630113cfeb427d01e"><code>eb898f5</code></a> Merge pull request <a href="https://github.com/getsentry/sentry-javascript/issues/7666">#7666</a> from getsentry/prepare-release/7.46.0</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/5e288f58f1edb10d4d5b450eaca75adf6caa1407"><code>5e288f5</code></a> meta(changelog): Update changelog for 7.46.0</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/d94a01713129056142b900facb0c595f2fc5ecb8"><code>d94a017</code></a> fix(docs): Remove references to <code>@sentry/tracing</code> from READMEs (<a href="https://github.com/getsentry/sentry-javascript/issues/7600">#7600</a>)</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/1403e77d83f1cc7e6f9f08d5a030cc7e19a15b46"><code>1403e77</code></a> test: Make E2E tests async & parallelizable (<a href="https://github.com/getsentry/sentry-javascript/issues/7466">#7466</a>)</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/9ecd152ebd37097cb2a5564ecd6480707ba669bd"><code>9ecd152</code></a> feat(node): Sanitize URLs in Span descriptions and breadcrumbs (<a href="https://github.com/getsentry/sentry-javascript/issues/7667">#7667</a>)</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/65c44ec76eb34f0427373cf8b0715c9d121efd47"><code>65c44ec</code></a> perf(build): Use <code>@rollup/plugin-typescript</code> for es5 builds (<a href="https://github.com/getsentry/sentry-javascript/issues/7665">#7665</a>)</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/1eb271a95cc547b4ce3c975d0b3d1ad6a624b5e6"><code>1eb271a</code></a> doc(sveltekit): Move SDK initialization to hooks and restructure setup in REA...</li>
<li><a href="https://github.com/getsentry/sentry-javascript/commit/cefd523350998475e43cbcf28407c96de8736be4"><code>cefd523</code></a> ref(sveltekit): Inject init plugin only if sentry config files exist (<a href="https://github.com/getsentry/sentry-javascript/issues/7663">#7663</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-javascript/compare/7.45.0...7.46.0">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps @sentry/tracing from 7.45.0 to 7.46.0.
Release notes
Sourced from
@sentry/tracing's releases.... (truncated)
Changelog
Sourced from
@sentry/tracing's changelog.... (truncated)
Commits
993dc36release: 7.46.0c622710meta(changelog): Add@sentry/tracingnotes to 7.46.0 changelog (#7673)eb898f5Merge pull request #7666 from getsentry/prepare-release/7.46.05e288f5meta(changelog): Update changelog for 7.46.0d94a017fix(docs): Remove references to@sentry/tracingfrom READMEs (#7600)1403e77test: Make E2E tests async & parallelizable (#7466)9ecd152feat(node): Sanitize URLs in Span descriptions and breadcrumbs (#7667)65c44ecperf(build): Use@rollup/plugin-typescriptfor es5 builds (#7665)1eb271adoc(sveltekit): Move SDK initialization to hooks and restructure setup in REA...cefd523ref(sveltekit): Inject init plugin only if sentry config files exist (#7663)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts$dependabot recreate
⚠️
dependabotis recreating merge request. All changes will be overwritten! ⚠️added 6 commits
master77ed5fd7- Build(deps): bump @sentry/tracing from 7.45.0 to 7.46.0Compare with previous version
✅
dependabotsuccessfuly recreated merge request!resolved all threads