yarn @sentry/nextjs 8.29.0

latest releases: 8.37.1, 8.37.0, 8.36.0...
2 months ago

Important Changes

  • Beta releases of official Solid and SolidStart Sentry SDKs

This release marks the beta releases of the @sentry/solid and @sentry/solidstart Sentry SDKs. For details on how to
use them, check out the
Sentry Solid SDK README and the
Sentry SolidStart SDK README
respectively. Please reach out on GitHub if you have
any feedback or concerns.

  • feat(node): Option to only wrap instrumented modules (#13139)

Adds the SDK option to only wrap ES modules with import-in-the-middle that specifically need to be instrumented.

import * as Sentry from '@sentry/node';

Sentry.init({
  dsn: '__PUBLIC_DSN__',
  registerEsmLoaderHooks: { onlyHookedModules: true },
});
  • feat(node): Update OpenTelemetry packages to instrumentation v0.53.0 (#13587)

All internal OpenTelemetry instrumentation was updated to their latest version. This adds support for Mongoose v7 and v8
and fixes various bugs related to ESM mode.

Other Changes

  • feat(nextjs): Emit warning when using turbopack (#13566)
  • feat(nextjs): Future-proof Next.js config options overriding (#13586)
  • feat(node): Add generic-pool integration (#13465)
  • feat(nuxt): Upload sourcemaps generated by Nitro (#13382)
  • feat(solidstart): Add browserTracingIntegration by default (#13561)
  • feat(solidstart): Add sentrySolidStartVite plugin to simplify source maps upload (#13493)
  • feat(vue): Only start UI spans if parent is available (#13568)
  • fix(cloudflare): Guard context.waitUntil call in request handler (#13549)
  • fix(gatsby): Fix assets path for sourcemaps upload (#13592)
  • fix(nextjs): Use posix paths for sourcemap uploads (#13603)
  • fix(node-fetch): Use stringified origin url (#13581)
  • fix(node): Replace dashes in generic-pool span origins with underscores (#13579)
  • fix(replay): Fix types in WebVitalData (#13573)
  • fix(replay): Improve replay web vital types (#13602)
  • fix(utils): Keep logger on carrier (#13570)

Work in this release was contributed by @Zen-cronic. Thank you for your contribution!

Don't miss a new nextjs release

NewReleases is sending notifications on new releases.