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/solidpackage (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. ImportsolidRouterBrowserTracingIntegrationfrom@sentry/solid/solidrouterand add it toSentry.initimport * 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 callgetClient()anymore:const client = Sentry.init();
- feat(nextjs): Add
deleteSourcemapsAfterUploadoption (#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/solidpackage (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. ImportsolidRouterBrowserTracingIntegrationfrom@sentry/solid/solidrouterand add it toSentry.initimport * 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 callgetClient()anymore:const client = Sentry.init();
- feat(nextjs): Add
deleteSourcemapsAfterUploadoption (#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
-
a38ac88release: 8.12.0 -
a5cd091Merge pull request #12637 from getsentry/prepare-release/8.12.0 -
944e1eameta(changelog): Remove non user facing change -
bb85a02Merge branch 'master' into prepare-release/8.12.0 -
12072b8meta(changelog): Update changelog for 8.12.0 -
dd4a7d7feat(solid): Remove need to pass router hooks to solid integration (#12617) -
c49c9f3fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integ... -
70e942dfix(build) upgrade deprecated runners (#12624) -
b23171bdocs: Update slack issue-feed channel for triaging docs (#12618) -
8b8febbfeat(node): Allow to configuremaxSpanWaitDuration(#12610) - Additional commits viewable in compare view