Skip to content

Bump @sentry/nextjs from 7.99.0 to 8.12.0

Bumps @sentry/nextjs from 7.99.0 to 8.12.0.

Release notes

Sourced from @​sentry/nextjs's releases.

8.12.0

Important Changes

  • feat(solid): Remove need to pass router hooks to solid integration (breaking)

This release introduces breaking changes to the @sentry/solid package (which is currently out in alpha).

We've made it easier to get started with the solid router integration by removing the need to pass use* hooks explicitly to solidRouterBrowserTracingIntegration. Import solidRouterBrowserTracingIntegration from @sentry/solid/solidrouter and add it to Sentry.init

import * as Sentry from '@sentry/solid';
import { solidRouterBrowserTracingIntegration, withSentryRouterRouting } from '@sentry/solid/solidrouter';
import { Router } from '@solidjs/router';
Sentry.init({
dsn: 'PUBLIC_DSN',
integrations: [solidRouterBrowserTracingIntegration()],
tracesSampleRate: 1.0, //  Capture 100% of the transactions
});
const SentryRouter = withSentryRouterRouting(Router);
  • feat(core): Return client from init method (#12585)

Sentry.init() now returns a client directly, so you don't need to explicitly call getClient() anymore:

const client = Sentry.init();
  • feat(nextjs): Add deleteSourcemapsAfterUpload option (#12457)

This adds an easy way to delete sourcemaps immediately after uploading them:

module.exports = withSentryConfig(nextConfig, {
  sourcemaps: {
    deleteSourcemapsAfterUpload: true,
  },
});
  • feat(node): Allow to configure maxSpanWaitDuration (#12610)

Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. However,

... (truncated)

Changelog

Sourced from @​sentry/nextjs's changelog.

8.12.0

Important Changes

  • feat(solid): Remove need to pass router hooks to solid integration (breaking)

This release introduces breaking changes to the @sentry/solid package (which is currently out in alpha).

We've made it easier to get started with the solid router integration by removing the need to pass use* hooks explicitly to solidRouterBrowserTracingIntegration. Import solidRouterBrowserTracingIntegration from @sentry/solid/solidrouter and add it to Sentry.init

import * as Sentry from '@sentry/solid';
import { solidRouterBrowserTracingIntegration, withSentryRouterRouting } from '@sentry/solid/solidrouter';
import { Router } from '@solidjs/router';
Sentry.init({
dsn: 'PUBLIC_DSN',
integrations: [solidRouterBrowserTracingIntegration()],
tracesSampleRate: 1.0, //  Capture 100% of the transactions
});
const SentryRouter = withSentryRouterRouting(Router);
  • feat(core): Return client from init method (#12585)

Sentry.init() now returns a client directly, so you don't need to explicitly call getClient() anymore:

const client = Sentry.init();
  • feat(nextjs): Add deleteSourcemapsAfterUpload option (#12457)

This adds an easy way to delete sourcemaps immediately after uploading them:

module.exports = withSentryConfig(nextConfig, {
  sourcemaps: {
    deleteSourcemapsAfterUpload: true,
  },
});
  • feat(node): Allow to configure maxSpanWaitDuration (#12610)

Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is

... (truncated)

Commits
  • a38ac88 release: 8.12.0
  • a5cd091 Merge pull request #12637 from getsentry/prepare-release/8.12.0
  • 944e1ea meta(changelog): Remove non user facing change
  • bb85a02 Merge branch 'master' into prepare-release/8.12.0
  • 12072b8 meta(changelog): Update changelog for 8.12.0
  • dd4a7d7 feat(solid): Remove need to pass router hooks to solid integration (#12617)
  • c49c9f3 fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integ...
  • 70e942d fix(build) upgrade deprecated runners (#12624)
  • b23171b docs: Update slack issue-feed channel for triaging docs (#12618)
  • 8b8febb feat(node): Allow to configure maxSpanWaitDuration (#12610)
  • Additional commits viewable in compare view

Merge request reports