fix(deps): update sentry-javascript monorepo to v7.31.0 #2961

Merged
dpschen merged 1 commits from renovate/sentry-javascript-monorepo into main 2023-01-16 16:14:56 +00:00
Member

This PR contains the following updates:

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

Release Notes

getsentry/sentry-javascript

v7.31.0

Compare Source

The Next.js SDK now supports error and performance monitoring for Next.js middleware and Edge API routes.
To set it up, add a sentry.edge.config.js or sentry.edge.config.ts file to the root of your project and initialize the SDK:

// sentry.edge.config.js or sentry.edge.config.ts

import * as Sentry from "@​sentry/nextjs";

const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;

Sentry.init({
  dsn: SENTRY_DSN || "YOUR DSN HERE",
  tracesSampleRate: 1.0,
});

The Next.js will automatically instrument Edge API routes and middleware.
If you want to opt out of automatic instrumentation of middleware can use the autoInstrumentMiddleware option in the sentry object of your Next.js configuration:

const moduleExports = {
  sentry: {
    autoInstrumentMiddleware: false,
  },
};

Middleware can be manually instrumented by using the wrapMiddlewareWithSentry function.

  • feat(nextjs): Add Edge Runtime SDK (#​6752)
  • feat(nextjs): Add optional options argument to withSentryConfig as an alternative to the sentry property (#​6721)
  • feat(nextjs): Add edge route and middleware wrappers (#​6771)
  • feat(nextjs): Auto-wrap edge-routes and middleware (#​6746)
  • feat(replay): Update rrweb & rrweb-snapshot (#​6749)
  • feat(replay): Stop recording when retry fails (#​6765)
  • feat(replay): Stop without retry when receiving bad API response (#​6773)
  • feat(types): Add Trace Context type (#​6714)
  • fix(nextjs): Export isomorphic data fetching wrappers from client SDK (#​6790)
  • fix(nextjs): Make Next.js types isomorphic (#​6707)
  • fix(node): Handle node build without inspector in LocalVariables integration (#​6780)
  • fix(otel): Set trace context via Otel Span instead of Sentry span (#​6724)
  • fix(otel): Prevent baggage from being overwritten (#​6709)
  • fix(otel): Make sure we handle when sentry-trace is an empty array (#​6781)
  • fix(remix): Make remix SDK type exports isomorphic (#​6715)
  • fix(replay): Fix checkoutEveryNms (#​6722)
  • fix(replay): Fix incorrect uncompressed recording size due to encoding (#​6740)
  • fix(tracing): Attach request instrumentation span to active span instead of current transaction (#​6778)
  • ref(nextjs): Deprecate isBuild() and IS_BUILD (#​6727)

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, click this checkbox.

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.30.0` -> `7.31.0`](https://renovatebot.com/diffs/npm/@sentry%2ftracing/7.30.0/7.31.0) | | [@sentry/vue](https://github.com/getsentry/sentry-javascript/tree/master/packages/vue) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.30.0` -> `7.31.0`](https://renovatebot.com/diffs/npm/@sentry%2fvue/7.30.0/7.31.0) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript</summary> ### [`v7.31.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#&#8203;7310) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.30.0...7.31.0) The Next.js SDK now supports error and performance monitoring for Next.js [middleware](https://nextjs.org/docs/advanced-features/middleware) and [Edge API routes](https://nextjs.org/docs/api-routes/edge-api-routes). To set it up, add a `sentry.edge.config.js` or `sentry.edge.config.ts` file to the root of your project and initialize the SDK: ```js // sentry.edge.config.js or sentry.edge.config.ts import * as Sentry from "@&#8203;sentry/nextjs"; const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN; Sentry.init({ dsn: SENTRY_DSN || "YOUR DSN HERE", tracesSampleRate: 1.0, }); ``` The Next.js will automatically instrument Edge API routes and middleware. If you want to opt out of automatic instrumentation of middleware can use the `autoInstrumentMiddleware` option in the `sentry` object of your Next.js configuration: ```javascript const moduleExports = { sentry: { autoInstrumentMiddleware: false, }, }; ``` Middleware can be manually instrumented by using the `wrapMiddlewareWithSentry` function. - feat(nextjs): Add Edge Runtime SDK ([#&#8203;6752](https://github.com/getsentry/sentry-javascript/issues/6752)) - feat(nextjs): Add optional options argument to `withSentryConfig` as an alternative to the `sentry` property ([#&#8203;6721](https://github.com/getsentry/sentry-javascript/issues/6721)) - feat(nextjs): Add edge route and middleware wrappers ([#&#8203;6771](https://github.com/getsentry/sentry-javascript/issues/6771)) - feat(nextjs): Auto-wrap edge-routes and middleware ([#&#8203;6746](https://github.com/getsentry/sentry-javascript/issues/6746)) - feat(replay): Update rrweb & rrweb-snapshot ([#&#8203;6749](https://github.com/getsentry/sentry-javascript/issues/6749)) - feat(replay): Stop recording when retry fails ([#&#8203;6765](https://github.com/getsentry/sentry-javascript/issues/6765)) - feat(replay): Stop without retry when receiving bad API response ([#&#8203;6773](https://github.com/getsentry/sentry-javascript/issues/6773)) - feat(types): Add Trace Context type ([#&#8203;6714](https://github.com/getsentry/sentry-javascript/issues/6714)) - fix(nextjs): Export isomorphic data fetching wrappers from client SDK ([#&#8203;6790](https://github.com/getsentry/sentry-javascript/issues/6790)) - fix(nextjs): Make Next.js types isomorphic ([#&#8203;6707](https://github.com/getsentry/sentry-javascript/issues/6707)) - fix(node): Handle node build without inspector in LocalVariables integration ([#&#8203;6780](https://github.com/getsentry/sentry-javascript/issues/6780)) - fix(otel): Set trace context via Otel Span instead of Sentry span ([#&#8203;6724](https://github.com/getsentry/sentry-javascript/issues/6724)) - fix(otel): Prevent baggage from being overwritten ([#&#8203;6709](https://github.com/getsentry/sentry-javascript/issues/6709)) - fix(otel): Make sure we handle when sentry-trace is an empty array ([#&#8203;6781](https://github.com/getsentry/sentry-javascript/issues/6781)) - fix(remix): Make remix SDK type exports isomorphic ([#&#8203;6715](https://github.com/getsentry/sentry-javascript/issues/6715)) - fix(replay): Fix `checkoutEveryNms` ([#&#8203;6722](https://github.com/getsentry/sentry-javascript/issues/6722)) - fix(replay): Fix incorrect uncompressed recording size due to encoding ([#&#8203;6740](https://github.com/getsentry/sentry-javascript/issues/6740)) - fix(tracing): Attach request instrumentation span to active span instead of current transaction ([#&#8203;6778](https://github.com/getsentry/sentry-javascript/issues/6778)) - ref(nextjs): Deprecate `isBuild()` and `IS_BUILD` ([#&#8203;6727](https://github.com/getsentry/sentry-javascript/issues/6727)) </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, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDAuMiIsInVwZGF0ZWRJblZlciI6IjMyLjI0MC4yIn0=-->
renovate added the
dependencies
label 2023-01-16 16:04:17 +00:00
renovate added 1 commit 2023-01-16 16:04:18 +00:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
7f84441e78
fix(deps): update sentry-javascript monorepo to v7.31.0
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://2961-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://2961-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 approved these changes 2023-01-16 16:10:01 +00:00
dpschen scheduled this pull request to auto merge when all checks succeed 2023-01-16 16:10:06 +00:00
dpschen merged commit 7f84441e78 into main 2023-01-16 16:14:56 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.