getsentry/sentry-javascript (@sentry/node)
### [`v8.13.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8130)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.12.0...8.13.0)
##### Important Changes
- **feat(nestjs): Add Nest SDK** This release adds a dedicated SDK for [NestJS](https://nestjs.com/) (`@sentry/nestjs`)
in alpha state. The SDK is a drop-in replacement for the Sentry Node SDK (`@sentry/node`) supporting the same set of
features. See the [docs](https://docs.sentry.io/platforms/javascript/guides/nestjs/) for how to use the SDK.
##### Other Changes
- deps: Bump bundler plugins to `2.20.1` ([#12641](https://togithub.com/getsentry/sentry-javascript/issues/12641))
- deps(nextjs): Remove react peer dep and allow rc ([#12670](https://togithub.com/getsentry/sentry-javascript/issues/12670))
- feat: Update OTEL deps ([#12635](https://togithub.com/getsentry/sentry-javascript/issues/12635))
- feat(deps): bump [@prisma/instrumentation](https://togithub.com/prisma/instrumentation) from 5.15.0 to 5.15.1 ([#12627](https://togithub.com/getsentry/sentry-javascript/issues/12627))
- feat(node): Add context info for missing instrumentation ([#12639](https://togithub.com/getsentry/sentry-javascript/issues/12639))
- fix(feedback): Improve feedback error message ([#12647](https://togithub.com/getsentry/sentry-javascript/issues/12647))
### [`v8.12.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8120)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.11.0...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`
```js
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](https://togithub.com/getsentry/sentry-javascript/issues/12585))**
`Sentry.init()` now returns a client directly, so you don't need to explicitly call `getClient()` anymore:
```js
const client = Sentry.init();
```
- **feat(nextjs): Add `deleteSourcemapsAfterUpload` option ([#12457](https://togithub.com/getsentry/sentry-javascript/issues/12457))**
This adds an easy way to delete sourcemaps immediately after uploading them:
```js
module.exports = withSentryConfig(nextConfig, {
sourcemaps: {
deleteSourcemapsAfterUpload: true,
},
});
```
- **feat(node): Allow to configure `maxSpanWaitDuration` ([#12610](https://togithub.com/getsentry/sentry-javascript/issues/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,
if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early.
In this case, you can increase this duration to a value that fits your expected data.
##### Other Changes
- feat(feedback): Extra check for iPad in screenshot support ([#12593](https://togithub.com/getsentry/sentry-javascript/issues/12593))
- fix(bundle): Ensure CDN bundles do not overwrite `window.Sentry` ([#12580](https://togithub.com/getsentry/sentry-javascript/issues/12580))
- fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration ([#12535](https://togithub.com/getsentry/sentry-javascript/issues/12535))
- fix(node): Re-throw errors from koa middleware ([#12609](https://togithub.com/getsentry/sentry-javascript/issues/12609))
- fix(remix): Mark `isRemixV2` as optional in exposed types. ([#12614](https://togithub.com/getsentry/sentry-javascript/issues/12614))
- ref(node): Add error message to NodeFetch log ([#12612](https://togithub.com/getsentry/sentry-javascript/issues/12612))
Work in this release was contributed by [@n4bb12](https://togithub.com/n4bb12). Thank you for your contribution!
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
8.11.0
->8.13.0
Release Notes
getsentry/sentry-javascript (@sentry/node)
### [`v8.13.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8130) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.12.0...8.13.0) ##### Important Changes - **feat(nestjs): Add Nest SDK** This release adds a dedicated SDK for [NestJS](https://nestjs.com/) (`@sentry/nestjs`) in alpha state. The SDK is a drop-in replacement for the Sentry Node SDK (`@sentry/node`) supporting the same set of features. See the [docs](https://docs.sentry.io/platforms/javascript/guides/nestjs/) for how to use the SDK. ##### Other Changes - deps: Bump bundler plugins to `2.20.1` ([#12641](https://togithub.com/getsentry/sentry-javascript/issues/12641)) - deps(nextjs): Remove react peer dep and allow rc ([#12670](https://togithub.com/getsentry/sentry-javascript/issues/12670)) - feat: Update OTEL deps ([#12635](https://togithub.com/getsentry/sentry-javascript/issues/12635)) - feat(deps): bump [@prisma/instrumentation](https://togithub.com/prisma/instrumentation) from 5.15.0 to 5.15.1 ([#12627](https://togithub.com/getsentry/sentry-javascript/issues/12627)) - feat(node): Add context info for missing instrumentation ([#12639](https://togithub.com/getsentry/sentry-javascript/issues/12639)) - fix(feedback): Improve feedback error message ([#12647](https://togithub.com/getsentry/sentry-javascript/issues/12647)) ### [`v8.12.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8120) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.11.0...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` ```js 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](https://togithub.com/getsentry/sentry-javascript/issues/12585))** `Sentry.init()` now returns a client directly, so you don't need to explicitly call `getClient()` anymore: ```js const client = Sentry.init(); ``` - **feat(nextjs): Add `deleteSourcemapsAfterUpload` option ([#12457](https://togithub.com/getsentry/sentry-javascript/issues/12457))** This adds an easy way to delete sourcemaps immediately after uploading them: ```js module.exports = withSentryConfig(nextConfig, { sourcemaps: { deleteSourcemapsAfterUpload: true, }, }); ``` - **feat(node): Allow to configure `maxSpanWaitDuration` ([#12610](https://togithub.com/getsentry/sentry-javascript/issues/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, if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early. In this case, you can increase this duration to a value that fits your expected data. ##### Other Changes - feat(feedback): Extra check for iPad in screenshot support ([#12593](https://togithub.com/getsentry/sentry-javascript/issues/12593)) - fix(bundle): Ensure CDN bundles do not overwrite `window.Sentry` ([#12580](https://togithub.com/getsentry/sentry-javascript/issues/12580)) - fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration ([#12535](https://togithub.com/getsentry/sentry-javascript/issues/12535)) - fix(node): Re-throw errors from koa middleware ([#12609](https://togithub.com/getsentry/sentry-javascript/issues/12609)) - fix(remix): Mark `isRemixV2` as optional in exposed types. ([#12614](https://togithub.com/getsentry/sentry-javascript/issues/12614)) - ref(node): Add error message to NodeFetch log ([#12612](https://togithub.com/getsentry/sentry-javascript/issues/12612)) Work in this release was contributed by [@n4bb12](https://togithub.com/n4bb12). Thank you for your contribution!Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.