Bump @sentry/browser from 10.27.0 to 10.28.0
Type: Pull Request
State: Open
Association: Unknown
Comments: 2
(6 months ago)
(6 months ago)
Bumps @sentry/browser from 10.27.0 to 10.28.0.
Release notes
Sourced from @sentry/browser's releases.
10.28.0
Important Changes
- feat(core): Make
matcherparameter optional inmakeMultiplexedTransport(#10798)The
matcherparameter inmakeMultiplexedTransportis 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
matcherparameter optional inmakeMultiplexedTransport(#10798)The
matcherparameter inmakeMultiplexedTransportis 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
7496a15release: 10.28.0294527cmeta(changelog): Update changelog for 10.28.0 (#18378)301edd8meta(changelog): Update changelog for 10.28.0ae482c9meta(changelog): Update changelog for 10.28.01586c5dci(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#18361)839b137chore(github): AdjustBUGBOT.mdrules to flag invalid op and origin values ...9f0e206fix(cloudflare): Wait for async events to finish (#18334)a1cc675chore: Allow URLs as issue (#18372)775ad19feat(core): AddisolateTraceoption to Sentry.withMonitor() (#18079)81f9424chore(tanstackstart-react): Export custom inits from tanstackstart-react (#18...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 11692939 |
| UUID: | 3686899393 |
| Node ID: | PR_kwDOKfapnc62qKAQ |
| Host: | GitHub |
| Repository: | webstackdev/astro.webstackbuilders.com |