dependabot npm(deps): bump @sentry/node from 7.49.0 to 7.50.0
Bumps @sentry/node from 7.49.0 to 7.50.0.
Release notes
Sourced from @sentry/node's releases.
7.50.0
Important Changes
- doc(sveltekit): Promote the SDK to beta state (#7976)
- feat(sveltekit): Convert
sentryHandleto a factory function (#7975)With this release, the Sveltekit SDK (
@sentry/sveltekit) is promoted to Beta. This means that we do not expect any more breaking changes.The final breaking change is that
sentryHandleis now a function. So in order to update to 7.50.0, you have to update yourhooks.server.jsfile:// hooks.server.js // Old: export const handle = sentryHandle; // New: export const handle = sentryHandle();
- feat(replay): Allow to configure URLs to capture network bodies/headers (#7953)
You can now capture request/response bodies & headers of network requests in Replay. You have to define an allowlist of URLs you want to capture additional information for:
new Replay({ networkDetailAllowUrls: ['https://sentry.io/api'], });By default, we will capture request/response bodies, as well as the request/response headers
content-type,content-lengthandaccept. You can configure this with some additional configuration:new Replay({ networkDetailAllowUrls: ['https://sentry.io/api'], // opt-out of capturing bodies networkCaptureBodies: false, // These headers are captured _in addition to_ the default headers networkRequestHeaders: ['X-Custom-Header'], networkResponseHeaders: ['X-Custom-Header', 'X-Custom-Header-2'] });Note that bodies will be truncated to a max length of ~150k characters.
- feat(replay): Changes of sampling behavior & public API
- feat(replay): Change the behavior of error-based sampling (#7768)
... (truncated)
Changelog
Sourced from @sentry/node's changelog.
7.50.0
Important Changes
- doc(sveltekit): Promote the SDK to beta state (#7976)
- feat(sveltekit): Convert
sentryHandleto a factory function (#7975)With this release, the Sveltekit SDK (
@sentry/sveltekit) is promoted to Beta. This means that we do not expect any more breaking changes.The final breaking change is that
sentryHandleis now a function. So in order to update to 7.50.0, you have to update yourhooks.server.jsfile:// hooks.server.js // Old: export const handle = sentryHandle; // New: export const handle = sentryHandle();
- feat(replay): Allow to configure URLs to capture network bodies/headers (#7953)
You can now capture request/response bodies & headers of network requests in Replay. You have to define an allowlist of URLs you want to capture additional information for:
new Replay({ networkDetailAllowUrls: ['https://sentry.io/api'], });By default, we will capture request/response bodies, as well as the request/response headers
content-type,content-lengthandaccept. You can configure this with some additional configuration:new Replay({ networkDetailAllowUrls: ['https://sentry.io/api'], // opt-out of capturing bodies networkCaptureBodies: false, // These headers are captured _in addition to_ the default headers networkRequestHeaders: ['X-Custom-Header'], networkResponseHeaders: ['X-Custom-Header', 'X-Custom-Header-2'] });Note that bodies will be truncated to a max length of ~150k characters.
- feat(replay): Changes of sampling behavior & public API
... (truncated)
Commits
-
d91bbf2release: 7.50.0 -
f3bfe11Merge pull request #7966 from getsentry/prepare-release/7.50.0 -
da799e9meta(changelog): Update Changelog for 7.50.0 -
54d588edoc(sveltekit): Promote the SDK to beta state (#7976) -
ec1a441test: Fix flaky replay DSC test (#7973) -
5f9b9cefeat(sveltekit): ConvertsentryHandleto a factory function (#7975) -
619c4b0Revert "doc(sveltekit): Promote the SDK to beta state (#7874)" (#7974) -
a5b9284feat(replay): Change the behavior of error-based sampling (#7768) -
1683caffeat(node): Make Undici a default integration. (#7967) -
d1b09c6ref(core): Update multiplexed transport to default to errors only (#7964) - Additional commits viewable in compare view