dependabot npm(deps): bump @sentry/tracing from 7.30.0 to 7.31.1
Bumps @sentry/tracing from 7.30.0 to 7.31.1.
Release notes
Sourced from @sentry/tracing
's releases.
7.31.1
- build(replay): Provide full browser+tracing+replay bundle (#6793)
- feat(nextjs): Disable NextJS perf monitoring when using otel (#6820)
- fix(nextjs): Add back browser field in package.json (#6809)
- fix(nextjs): Connect Edge API route errors to span (#6806)
- fix(nextjs): Correctly handle ts middleware files (#6816)
Changelog
Sourced from @sentry/tracing
's changelog.
7.31.1
- build(replay): Provide full browser+tracing+replay bundle (#6793)
- feat(nextjs): Disable NextJS perf monitoring when using otel (#6820)
- fix(nextjs): Add back browser field in package.json (#6809)
- fix(nextjs): Connect Edge API route errors to span (#6806)
- fix(nextjs): Correctly handle ts middleware files (#6816)
7.31.0
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
orsentry.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 thesentry
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 thesentry
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)
... (truncated)
Commits
-
e575698
release: 7.31.1 -
2f9ab36
meta: CHANGELOG for 7.31.1 (#6818) -
7d43873
fix(nextjs): Disable NextJS perf monitoring when using otel (#6820) -
952d866
fix(otel): Always set baggage regardless of active transaction (#6819) -
8672efc
fix(nextjs): Correctly handle ts middleware files (#6816) -
660d4bb
build(replay): Provide full browser+tracing+replay bundle (#6793) -
6227e44
test(replay): Test against CDN bundles in Playwright integration tests (#6770) -
b598e54
docs(replay): Update setup docs for replay (#6795) -
7f22f5d
fix(nextjs): Add back browser field in package.json (#6809) -
49c623f
fix(nextjs): Connect Edge API route errors to span (#6806) - Additional commits viewable in compare view