@sentry/nextjs
Advanced tools
Changelog
9.1.0
graphqlClientIntegration
(#13783)vite
import (#15371)Work in this release was contributed by @Zen-cronic and @filips-alpe. Thank you for your contribution!
Changelog
9.0.0-alpha.2
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.2
.
Please note that the migration guide is work in progress and subject to change.
Changelog
9.0.0-alpha.2
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.2
.
Please note that the migration guide is work in progress and subject to change.
Changelog
9.0.0-alpha.1
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.1
.
Please note that the migration guide is work in progress and subject to change.
Changelog
8.53.0
url
to SourcemapsUploadOptions
(#15202)fromLocation
can be undefined in Tanstack Router Instrumentation (#15237)Work in this release was contributed by @tannerlinsley. Thank you for your contribution!
Changelog
8.52.1
this.name
to new.target.prototype.constructor.name
(#15222)Work in this release was contributed by @Zen-cronic. Thank you for your contribution!
Changelog
8.52.0
withSentry
wrapper for SolidStart config (#15135)To enable the SolidStart SDK, wrap your SolidStart Config with withSentry
. The sentrySolidStartVite
plugin is now automatically
added by withSentry
and you can pass the Sentry build-time options like this:
import { defineConfig } from '@solidjs/start/config';
import { withSentry } from '@sentry/solidstart';
export default defineConfig(
withSentry(
{
/* Your SolidStart config options... */
},
{
// Options for setting up source maps
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
},
),
);
With the withSentry
wrapper, the Sentry server config should not be added to the public
directory anymore.
Add the Sentry server config in src/instrument.server.ts
. Then, the server config will be placed inside the server build output as instrument.server.mjs
.
Now, there are two options to set up the SDK:
--import
CLI flag to the start command like this (path depends on your server setup):
node --import ./.output/server/instrument.server.mjs .output/server/index.mjs
autoInjectServerSentry: 'top-level-import'
and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)
withSentry(
{
/* Your SolidStart config options... */
},
{
// Optional: Install Sentry with a top-level import
autoInjectServerSentry: 'top-level-import',
},
);
Bun.serve
survives a server reload (#15157)module
into loadModule
(#15139) (#15166)Work in this release was contributed by @jahands, @jrandolf, and @nathankleyn. Thank you for your contributions!