yarn @sentry/nextjs 7.100.0

latest releases: 8.19.0, 8.18.0, 8.17.0...
5 months ago

Important Changes

Deprecations

This release includes some deprecations. For more details please look at our
migration guide.

The deprecation most likely to affect you is the one of BrowserTracing. Instead of new BrowserTracing(), you should
now use browserTracingIntegration(), which will also handle framework-specific instrumentation out of the box for
you - no need to pass a custom routingInstrumentation anymore. For @sentry/react, we expose dedicated integrations
for the different react-router versions:

  • reactRouterV6BrowserTracingIntegration()
  • reactRouterV5BrowserTracingIntegration()
  • reactRouterV4BrowserTracingIntegration()
  • reactRouterV3BrowserTracingIntegration()

See the
migration guide
for details.

  • feat(angular): Export custom browserTracingIntegration() (#10353)
  • feat(browser): Deprecate BrowserTracing integration (#10493)
  • feat(browser): Export browserProfilingIntegration (#10438)
  • feat(bun): Export bunServerIntegration() (#10439)
  • feat(nextjs): Add browserTracingIntegration (#10397)
  • feat(react): Add reactRouterV3BrowserTracingIntegration for react router v3 (#10489)
  • feat(react): Add reactRouterV4/V5BrowserTracingIntegration for react router v4 & v5 (#10488)
  • feat(react): Add reactRouterV6BrowserTracingIntegration for react router v6 & v6.4 (#10491)
  • feat(remix): Add custom browserTracingIntegration (#10442)
  • feat(node): Expose functional integrations to replace classes (#10356)
  • feat(vercel-edge): Replace WinterCGFetch with winterCGFetchIntegration (#10436)
  • feat: Deprecate non-callback based continueTrace (#10301)
  • feat(vue): Deprecate new VueIntegration() (#10440)
  • feat(vue): Implement vue browserTracingIntegration() (#10477)
  • feat(sveltekit): Add custom browserTracingIntegration() (#10450)

Profiling Node

@sentry/profiling-node has been ported into the monorepo. Future development for it will happen here!

  • pkg(profiling-node): port profiling-node repo to monorepo (#10151)

Other Changes

  • feat: Export setHttpStatus from all packages (#10475)
  • feat(bundles): Add pluggable integrations on CDN to Sentry namespace (#10452)
  • feat(core): Pass name & attributes to tracesSampler (#10426)
  • feat(feedback): Add system-ui to start of font family (#10464)
  • feat(node-experimental): Add koa integration (#10451)
  • feat(node-experimental): Update opentelemetry packages (#10456)
  • feat(node-experimental): Update tracing integrations to functional style (#10443)
  • feat(replay): Bump rrweb to 2.10.0 (#10445)
  • feat(replay): Enforce masking of credit card fields (#10472)
  • feat(utils): Add propagationContextFromHeaders (#10313)
  • fix: Make startSpan, startSpanManual and startInactiveSpan pick up the scopes at time of creation instead of
    termination (#10492)
  • fix(feedback): Fix logo color when colorScheme is "system" (#10465)
  • fix(nextjs): Do not report redirects and notFound calls as errors in server actions (#10474)
  • fix(nextjs): Fix navigation tracing on app router (#10502)
  • fix(nextjs): Apply server action data to correct isolation scope (#10514)
  • fix(node): Use normal require call to import Undici (#10388)
  • ref(nextjs): Remove internally used deprecated APIs (#10453)
  • ref(vue): use startInactiveSpan in tracing mixin (#10406)

Bundle size 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.33 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.57 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.5 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.18 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.52 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.39 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.37 KB
@sentry/browser - Webpack (gzipped) 22.63 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.36 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.89 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 24.73 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.06 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.87 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.26 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.8 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.93 KB
@sentry/react - Webpack (gzipped) 22.67 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.55 KB
@sentry/nextjs Client - Webpack (gzipped) 51.72 KB
@sentry-internal/feedback - Webpack (gzipped) 17.22 KB

Don't miss a new nextjs release

NewReleases is sending notifications on new releases.