fix(deps): update sentry-javascript monorepo to v7.47.0 #3356

Merged
dpschen merged 1 commits from renovate/sentry-javascript-monorepo into main 2023-04-11 12:01:34 +00:00
Member

This PR contains the following updates:

Package Type Update Change
@sentry/tracing (source) dependencies minor 7.46.0 -> 7.47.0
@sentry/vue (source) dependencies minor 7.46.0 -> 7.47.0

Release Notes

getsentry/sentry-javascript

v7.47.0

Compare Source

Important Changes
  • feat(browser): Add captureUserFeedback (#​7729)

This release adds a new API, Sentry.captureUserFeedback, to browser-side SDKs that allows you to send user feedback to Sentry without loading and opening Sentry's user feedback dialog. This allows you to obtain user feedback however and whenever you want to and simply send it to Sentry using the SDK.

For instance, you can collect feedback, whenever convenient as shown in this example:

const eventId = Sentry.captureMessage('User Feedback');
const user = Sentry.getCurrentHub().getScope().getUser();
const userFeedback = {
  event_id: eventId;
  email: user.email
  name: user.username
  comments: 'I really like your App, thanks!'
}
Sentry.captureUserFeedback(userFeedback);

Note that feedback needs to be coupled to an event but as in the example above, you can just use Sentry.captureMessage to generate one.

You could also collect feedback in a custom way if an error happens and use the SDK to send it along:

Sentry.init({
  dsn: '__DSN__',
  beforeSend: event => {
    const userFeedback = collectYourUserFeedback();
    const feedback = {
      ...userFeedback,
      event_id: event.event_id.
    }
    Sentry.captureUserFeedback(feedback);
    return event;
  }
})
  • feat(tracing): Deprecate @sentry/tracing exports (#​7611)

With this release, we officially deprecate all exports from the @sentry/tracing package, in favour of using them directly from the main SDK package. The @sentry/tracing package will be removed in a future major release.

Please take a look at the Migration docs for more details.

Additional Features and Fixes
  • feat(sveltekit): Add partial instrumentation for client-side fetch (#​7626)
  • fix(angular): Handle routes with empty path (#​7686)
  • fix(angular): Only open report dialog if error was sent (#​7750)
  • fix(core): Determine debug ID paths from the top of the stack (#​7722)
  • fix(ember): Ensure only one client is created & Replay works (#​7712)
  • fix(integrations): Ensure HttpClient integration works with Axios (#​7714)
  • fix(loader): Ensure JS loader works with tracing & add tests (#​7662)
  • fix(nextjs): Restore tree shaking capabilities (#​7710)
  • fix(node): Disable LocalVariables integration on Node < v18 (#​7748)
  • fix(node): Redact URL authority only in breadcrumbs and spans (#​7740)
  • fix(react): Only show report dialog if event was sent to Sentry (#​7754)
  • fix(remix): Remove unnecessary dependencies (#​7708)
  • fix(replay): Ensure circular references are handled (#​7752)
  • fix(sveltekit): Don't capture thrown Redirects as exceptions (#​7731)
  • fix(sveltekit): Log error to console by default in handleErrorWithSentry (#​7674)
  • fix(tracing): Make sure idle transaction does not override other transactions (#​7725)

Work in this release contributed by @​de-don and @​TrySound. Thank you for your contributions!


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

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


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@sentry/tracing](https://github.com/getsentry/sentry-javascript/tree/master/packages/tracing) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.46.0` -> `7.47.0`](https://renovatebot.com/diffs/npm/@sentry%2ftracing/7.46.0/7.47.0) | | [@sentry/vue](https://github.com/getsentry/sentry-javascript/tree/master/packages/vue) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.46.0` -> `7.47.0`](https://renovatebot.com/diffs/npm/@sentry%2fvue/7.46.0/7.47.0) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript</summary> ### [`v7.47.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#&#8203;7470) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.46.0...7.47.0) ##### Important Changes - **feat(browser)**: Add captureUserFeedback ([#&#8203;7729](https://github.com/getsentry/sentry-javascript/issues/7729)) This release adds a new API, `Sentry.captureUserFeedback`, to browser-side SDKs that allows you to send user feedback to Sentry without loading and opening Sentry's user feedback dialog. This allows you to obtain user feedback however and whenever you want to and simply send it to Sentry using the SDK. For instance, you can collect feedback, whenever convenient as shown in this example: ```js const eventId = Sentry.captureMessage('User Feedback'); const user = Sentry.getCurrentHub().getScope().getUser(); const userFeedback = { event_id: eventId; email: user.email name: user.username comments: 'I really like your App, thanks!' } Sentry.captureUserFeedback(userFeedback); ``` Note that feedback needs to be coupled to an event but as in the example above, you can just use `Sentry.captureMessage` to generate one. You could also collect feedback in a custom way if an error happens and use the SDK to send it along: ```js Sentry.init({ dsn: '__DSN__', beforeSend: event => { const userFeedback = collectYourUserFeedback(); const feedback = { ...userFeedback, event_id: event.event_id. } Sentry.captureUserFeedback(feedback); return event; } }) ``` - **feat(tracing)**: Deprecate `@sentry/tracing` exports ([#&#8203;7611](https://github.com/getsentry/sentry-javascript/issues/7611)) With this release, we officially deprecate all exports from the `@sentry/tracing` package, in favour of using them directly from the main SDK package. The `@sentry/tracing` package will be removed in a future major release. Please take a look at the [Migration docs](./MIGRATION.md/#remove-requirement-for-sentrytracing-package-since-7460) for more details. ##### Additional Features and Fixes - feat(sveltekit): Add partial instrumentation for client-side `fetch` ([#&#8203;7626](https://github.com/getsentry/sentry-javascript/issues/7626)) - fix(angular): Handle routes with empty path ([#&#8203;7686](https://github.com/getsentry/sentry-javascript/issues/7686)) - fix(angular): Only open report dialog if error was sent ([#&#8203;7750](https://github.com/getsentry/sentry-javascript/issues/7750)) - fix(core): Determine debug ID paths from the top of the stack ([#&#8203;7722](https://github.com/getsentry/sentry-javascript/issues/7722)) - fix(ember): Ensure only one client is created & Replay works ([#&#8203;7712](https://github.com/getsentry/sentry-javascript/issues/7712)) - fix(integrations): Ensure HttpClient integration works with Axios ([#&#8203;7714](https://github.com/getsentry/sentry-javascript/issues/7714)) - fix(loader): Ensure JS loader works with tracing & add tests ([#&#8203;7662](https://github.com/getsentry/sentry-javascript/issues/7662)) - fix(nextjs): Restore tree shaking capabilities ([#&#8203;7710](https://github.com/getsentry/sentry-javascript/issues/7710)) - fix(node): Disable `LocalVariables` integration on Node < v18 ([#&#8203;7748](https://github.com/getsentry/sentry-javascript/issues/7748)) - fix(node): Redact URL authority only in breadcrumbs and spans ([#&#8203;7740](https://github.com/getsentry/sentry-javascript/issues/7740)) - fix(react): Only show report dialog if event was sent to Sentry ([#&#8203;7754](https://github.com/getsentry/sentry-javascript/issues/7754)) - fix(remix): Remove unnecessary dependencies ([#&#8203;7708](https://github.com/getsentry/sentry-javascript/issues/7708)) - fix(replay): Ensure circular references are handled ([#&#8203;7752](https://github.com/getsentry/sentry-javascript/issues/7752)) - fix(sveltekit): Don't capture thrown `Redirect`s as exceptions ([#&#8203;7731](https://github.com/getsentry/sentry-javascript/issues/7731)) - fix(sveltekit): Log error to console by default in `handleErrorWithSentry` ([#&#8203;7674](https://github.com/getsentry/sentry-javascript/issues/7674)) - fix(tracing): Make sure idle transaction does not override other transactions ([#&#8203;7725](https://github.com/getsentry/sentry-javascript/issues/7725)) Work in this release contributed by [@&#8203;de-don](https://github.com/de-don) and [@&#8203;TrySound](https://github.com/TrySound). Thank you for your contributions! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yNC42IiwidXBkYXRlZEluVmVyIjoiMzUuMjQuNiJ9-->
renovate added the
dependencies
label 2023-04-06 09:06:43 +00:00
renovate added 1 commit 2023-04-06 09:06:44 +00:00
continuous-integration/drone/pr Build is passing Details
2f2f683289
fix(deps): update sentry-javascript monorepo to v7.47.0
konrad scheduled this pull request to auto merge when all checks succeed 2023-04-06 09:11:39 +00:00
Member

Hi renovate!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://3356-renovate-sentry-javascript-monor--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi renovate! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://3356-renovate-sentry-javascript-monor--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
dpschen canceled auto merging this pull request when all checks succeed 2023-04-06 11:07:07 +00:00
Member

Because this deprecates @sentry/tracing it will make finshing and merging #1991 much more important (I already did the migration there.


Interesting: the new captureUserFeedback addition!

Because this deprecates @sentry/tracing it will make finshing and merging https://kolaente.dev/vikunja/frontend/pulls/1991 much more important (I already did the migration there. ----- Interesting: the new `captureUserFeedback` addition!
Owner

@dpschen Should we merge this before #1991?

@dpschen Should we merge this before #1991?
Member

@dpschen Should we merge this before #1991?

I guess its fine to merge. Didn't check the logs but I expect deprecation warnings. Should be fine.

> @dpschen Should we merge this before #1991? I guess its fine to merge. Didn't check the logs but I expect deprecation warnings. Should be fine.
dpschen approved these changes 2023-04-11 12:01:26 +00:00
dpschen merged commit 2661af3a17 into main 2023-04-11 12:01:34 +00:00
dpschen deleted branch renovate/sentry-javascript-monorepo 2023-04-11 12:01:34 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.