Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @sentry/gatsby to v7.50.0 #193

Merged
merged 1 commit into from
May 5, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 26, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/gatsby (source) 7.49.0 -> 7.50.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript

v7.50.0

Compare Source

Important Changes
  • doc(sveltekit): Promote the SDK to beta state (#​7976)
    • feat(sveltekit): Convert sentryHandle to 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 sentryHandle is now a function.
So in order to update to 7.50.0, you have to update your hooks.server.js file:

// 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-length and accept.
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)
  • feat(replay): Change flush() API to record current event buffer (#​7743)
  • feat(replay): Change stop() to flush and remove current session (#​7741)

We have changed the behavior of error-based sampling, as well as adding & adjusting APIs a bit to be more aligned with expectations.
See Sampling for details.

We've also revamped some public APIs in order to be better aligned with expectations. See Stoping & Starting Replays manually for details.

  • feat(core): Add multiplexed transport (#​7926)

We added a new transport to support multiplexing.
With this, you can configure Sentry to send events to different DSNs, depending on a logic of your choosing:

import { makeMultiplexedTransport } from '@​sentry/core';
import { init, captureException, makeFetchTransport } from '@​sentry/browser';

function dsnFromFeature({ getEvent }) {
  const event = getEvent();
  switch(event?.tags?.feature) {
    case 'cart':
      return ['__CART_DSN__'];
    case 'gallery':
      return ['__GALLERY_DSN__'];
  }
  return []
}

init({
  dsn: '__FALLBACK_DSN__',
  transport: makeMultiplexedTransport(makeFetchTransport, dsnFromFeature)
});
Additional Features and Fixes
  • feat(nextjs): Add disableLogger option that automatically tree shakes logger statements (#​7908)
  • feat(node): Make Undici a default integration. (#​7967)
  • feat(replay): Extend session idle time until expire to 15min (#​7955)
  • feat(tracing): Add db.system span data to DB spans (#​7952)
  • fix(core): Avoid crash when Function.prototype is frozen (#​7899)
  • fix(nextjs): Fix inject logic for Next.js 13.3.1 canary (#​7921)
  • fix(replay): Ensure console breadcrumb args are truncated (#​7917)
  • fix(replay): Ensure we do not set replayId on dsc if replay is disabled (#​7939)
  • fix(replay): Ensure we still truncate large bodies if they are failed JSON (#​7923)
  • fix(utils): default normalize() to a max. of 100 levels deep instead of Inifnity (#​7957)

Work in this release contributed by @​Jack-Works. Thank you for your contribution!


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner March 26, 2023 14:39
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 18c342c to 984bf8b Compare March 27, 2023 17:53
@renovate renovate bot changed the title fix(deps): update dependency nanoid to v4.0.2 chore(deps): update all non-major dependencies Mar 27, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 8ad8944 to fb6fe25 Compare March 30, 2023 15:05
@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Mar 30, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 18 times, most recently from 67647dd to 1179efa Compare April 5, 2023 17:40
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 054f8ef to ccb128c Compare April 10, 2023 18:05
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from 5615860 to b85dd99 Compare April 20, 2023 19:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 8a26d91 to 882f722 Compare April 27, 2023 21:59
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from f0f259e to 003aeef Compare May 4, 2023 17:45
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 003aeef to 0bff53c Compare May 5, 2023 04:49
@renovate renovate bot changed the title fix(deps): update all non-major dependencies fix(deps): update dependency @sentry/gatsby to v7.50.0 May 5, 2023
@yathomasi yathomasi merged commit 329b08f into main May 5, 2023
@yathomasi yathomasi deleted the renovate/all-minor-patch branch May 5, 2023 05:13
Sign up for free to 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.

1 participant