Bump @sentry/browser from 10.8.0 to 10.28.0 in /frontend #173

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0 into main
dependabot[bot] commented 2025-12-04 05:27:59 +00:00 (Migrated from github.com)

Bumps @sentry/browser from 10.8.0 to 10.28.0.

Release notes

Sourced from @​sentry/browser's releases.

10.28.0

Important Changes

  • feat(core): Make matcher parameter optional in makeMultiplexedTransport (#10798)

The matcher parameter in makeMultiplexedTransport is now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.

Before:

import { makeFetchTransport, makeMultiplexedTransport } from '@sentry/browser';

const EXTRA_KEY = 'ROUTE_TO';

const transport = makeMultiplexedTransport(makeFetchTransport, args => { const event = args.getEvent(); if (event?.extra?.[EXTRA_KEY] && Array.isArray(event.extra[EXTRA_KEY])) { return event.extra[EXTRA_KEY]; } return []; });

Sentry.init({ transport, // ... other options });

// Capture events with routing info Sentry.captureException(error, { extra: { [EXTRA_KEY]: [ { dsn: 'https://key1@sentry.io/project1', release: 'v1.0.0' }, { dsn: 'https://key2@sentry.io/project2' }, ], }, });

After:

import { makeFetchTransport, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from '@sentry/browser';

// Just pass the transport generator - the default matcher handles the rest! Sentry.init({ transport: makeMultiplexedTransport(makeFetchTransport), // ... other options });

// Capture events with routing info using the exported constant </tr></table>

... (truncated)

Changelog

Sourced from @​sentry/browser's changelog.

10.28.0

Important Changes

  • feat(core): Make matcher parameter optional in makeMultiplexedTransport (#10798)

The matcher parameter in makeMultiplexedTransport is now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.

Before:

import { makeFetchTransport, makeMultiplexedTransport } from '@sentry/browser';

const EXTRA_KEY = 'ROUTE_TO';

const transport = makeMultiplexedTransport(makeFetchTransport, args => { const event = args.getEvent(); if (event?.extra?.[EXTRA_KEY] && Array.isArray(event.extra[EXTRA_KEY])) { return event.extra[EXTRA_KEY]; } return []; });

Sentry.init({ transport, // ... other options });

// Capture events with routing info Sentry.captureException(error, { extra: { [EXTRA_KEY]: [ { dsn: 'https://key1@sentry.io/project1', release: 'v1.0.0' }, { dsn: 'https://key2@sentry.io/project2' }, ], }, });

After:

import { makeFetchTransport, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from '@sentry/browser';

// Just pass the transport generator - the default matcher handles the rest! Sentry.init({ transport: makeMultiplexedTransport(makeFetchTransport), // ... other options });

</tr></table>

... (truncated)

Commits
  • 7496a15 release: 10.28.0
  • 294527c meta(changelog): Update changelog for 10.28.0 (#18378)
  • 301edd8 meta(changelog): Update changelog for 10.28.0
  • ae482c9 meta(changelog): Update changelog for 10.28.0
  • 1586c5d ci(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#18361)
  • 839b137 chore(github): Adjust BUGBOT.md rules to flag invalid op and origin values ...
  • 9f0e206 fix(cloudflare): Wait for async events to finish (#18334)
  • a1cc675 chore: Allow URLs as issue (#18372)
  • 775ad19 feat(core): Add isolateTrace option to Sentry.withMonitor() (#18079)
  • 81f9424 chore(tanstackstart-react): Export custom inits from tanstackstart-react (#18...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 10.8.0 to 10.28.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-javascript/releases"><code>@​sentry/browser</code>'s releases</a>.</em></p> <blockquote> <h2>10.28.0</h2> <h3>Important Changes</h3> <ul> <li><strong>feat(core): Make <code>matcher</code> parameter optional in <code>makeMultiplexedTransport</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/10798">#10798</a>)</strong></li> </ul> <p>The <code>matcher</code> parameter in <code>makeMultiplexedTransport</code> is now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.</p> <p><strong>Before:</strong></p> <pre lang="javascript"><code>import { makeFetchTransport, makeMultiplexedTransport } from '@sentry/browser'; <p>const EXTRA_KEY = 'ROUTE_TO';</p> <p>const transport = makeMultiplexedTransport(makeFetchTransport, args =&gt; { const event = args.getEvent(); if (event?.extra?.[EXTRA_KEY] &amp;&amp; Array.isArray(event.extra[EXTRA_KEY])) { return event.extra[EXTRA_KEY]; } return []; });</p> <p>Sentry.init({ transport, // ... other options });</p> <p>// Capture events with routing info Sentry.captureException(error, { extra: { [EXTRA_KEY]: [ { dsn: 'https://<a href="mailto:key1@sentry.io">key1@sentry.io</a>/project1', release: 'v1.0.0' }, { dsn: 'https://<a href="mailto:key2@sentry.io">key2@sentry.io</a>/project2' }, ], }, }); </code></pre></p> <p><strong>After:</strong></p> <pre lang="javascript"><code>import { makeFetchTransport, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from '@sentry/browser'; <p>// Just pass the transport generator - the default matcher handles the rest! Sentry.init({ transport: makeMultiplexedTransport(makeFetchTransport), // ... other options });</p> <p>// Capture events with routing info using the exported constant &lt;/tr&gt;&lt;/table&gt; </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/browser</code>'s changelog</a>.</em></p> <blockquote> <h2>10.28.0</h2> <h3>Important Changes</h3> <ul> <li><strong>feat(core): Make <code>matcher</code> parameter optional in <code>makeMultiplexedTransport</code> (<a href="https://redirect.github.com/getsentry/sentry-javascript/pull/10798">#10798</a>)</strong></li> </ul> <p>The <code>matcher</code> parameter in <code>makeMultiplexedTransport</code> is now optional with a sensible default. This makes it much easier to use the multiplexed transport for sending events to multiple DSNs based on runtime configuration.</p> <p><strong>Before:</strong></p> <pre lang="javascript"><code>import { makeFetchTransport, makeMultiplexedTransport } from '@sentry/browser'; <p>const EXTRA_KEY = 'ROUTE_TO';</p> <p>const transport = makeMultiplexedTransport(makeFetchTransport, args =&gt; { const event = args.getEvent(); if (event?.extra?.[EXTRA_KEY] &amp;&amp; Array.isArray(event.extra[EXTRA_KEY])) { return event.extra[EXTRA_KEY]; } return []; });</p> <p>Sentry.init({ transport, // ... other options });</p> <p>// Capture events with routing info Sentry.captureException(error, { extra: { [EXTRA_KEY]: [ { dsn: 'https://<a href="mailto:key1@sentry.io">key1@sentry.io</a>/project1', release: 'v1.0.0' }, { dsn: 'https://<a href="mailto:key2@sentry.io">key2@sentry.io</a>/project2' }, ], }, }); </code></pre></p> <p><strong>After:</strong></p> <pre lang="javascript"><code>import { makeFetchTransport, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from '@sentry/browser'; <p>// Just pass the transport generator - the default matcher handles the rest! Sentry.init({ transport: makeMultiplexedTransport(makeFetchTransport), // ... other options });</p> <p>&lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-javascript/commit/7496a15b352056464a5d621228cd8a0a160624a8"><code>7496a15</code></a> release: 10.28.0</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/294527cc0c19314ab161238600e69f06f84bf778"><code>294527c</code></a> meta(changelog): Update changelog for 10.28.0 (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/18378">#18378</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/301edd829a1823d6c1554814da08f6607a0f91ee"><code>301edd8</code></a> meta(changelog): Update changelog for 10.28.0</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/ae482c9a61616fe2d7edb38b153db1235cd86f2f"><code>ae482c9</code></a> meta(changelog): Update changelog for 10.28.0</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/1586c5d189d568becc9aefa05b55829da925c2f1"><code>1586c5d</code></a> ci(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/18361">#18361</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/839b13744f11111fe42e90ee91b59ac9d4b62867"><code>839b137</code></a> chore(github): Adjust <code>BUGBOT.md</code> rules to flag invalid op and origin values ...</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/9f0e206db0ad7ccac6daa23e82490f354ed5dd26"><code>9f0e206</code></a> fix(cloudflare): Wait for async events to finish (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/18334">#18334</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/a1cc67548ff347fb7226a2143babe227dc8651fc"><code>a1cc675</code></a> chore: Allow URLs as issue (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/18372">#18372</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/775ad190a6d044e13e3976bceeddcfa1d2dfdbb3"><code>775ad19</code></a> feat(core): Add <code>isolateTrace</code> option to Sentry.withMonitor() (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/18079">#18079</a>)</li> <li><a href="https://github.com/getsentry/sentry-javascript/commit/81f942447bc0d122fc25010f0f1f98b182427768"><code>81f9424</code></a> chore(tanstackstart-react): Export custom inits from tanstackstart-react (<a href="https://redirect.github.com/getsentry/sentry-javascript/issues/18">#18</a>...</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-javascript/compare/10.8.0...10.28.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@sentry/browser&package-manager=npm_and_yarn&previous-version=10.8.0&new-version=10.28.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0:dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git checkout dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git checkout dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git rebase main
git checkout main
git merge --ff-only dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git checkout dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git rebase main
git checkout main
git merge --no-ff dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git checkout main
git merge --squash dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git checkout main
git merge --ff-only dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git checkout main
git merge dependabot/npm_and_yarn/frontend/sentry/browser-10.28.0
git push origin main
Sign in to join this conversation.
No description provided.