Skip to content

Commit e9a5f00

Browse files
Lms24lforst
andauthored
meta: Update Changelog for 8.51.0 (#15113)
--------- Co-authored-by: Luca Forstner <[email protected]>
1 parent d9138ff commit e9a5f00

File tree

2 files changed

+43
-2
lines changed

2 files changed

+43
-2
lines changed

CHANGELOG.md

+42-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,47 @@
1010

1111
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212

13+
## 8.51.0
14+
15+
### Important Changes
16+
17+
- **feat(v8/node): Add `prismaInstrumentation` option to Prisma integration as escape hatch for all Prisma versions ([#15128](https://github.com/getsentry/sentry-javascript/pull/15128))**
18+
19+
This release adds a compatibility API to add support for Prisma version 6.
20+
To capture performance data for Prisma version 6:
21+
22+
1. Install the `@prisma/instrumentation` package on version 6.
23+
1. Pass a `new PrismaInstrumentation()` instance as exported from `@prisma/instrumentation` to the `prismaInstrumentation` option:
24+
25+
```js
26+
import { PrismaInstrumentation } from '@prisma/instrumentation';
27+
28+
Sentry.init({
29+
integrations: [
30+
prismaIntegration({
31+
// Override the default instrumentation that Sentry uses
32+
prismaInstrumentation: new PrismaInstrumentation(),
33+
}),
34+
],
35+
});
36+
```
37+
38+
The passed instrumentation instance will override the default instrumentation instance the integration would use, while the `prismaIntegration` will still ensure data compatibility for the various Prisma versions.
39+
40+
1. Remove the `previewFeatures = ["tracing"]` option from the client generator block of your Prisma schema.
41+
42+
### Other Changes
43+
44+
- feat(v8/browser): Add `multiplexedtransport.js` CDN bundle ([#15046](https://github.com/getsentry/sentry-javascript/pull/15046))
45+
- feat(v8/browser): Add Unleash integration ([#14948](https://github.com/getsentry/sentry-javascript/pull/14948))
46+
- feat(v8/deno): Deprecate Deno SDK as published on deno.land ([#15121](https://github.com/getsentry/sentry-javascript/pull/15121))
47+
- feat(v8/sveltekit): Deprecate `fetchProxyScriptNonce` option ([#15011](https://github.com/getsentry/sentry-javascript/pull/15011))
48+
- fix(v8/aws-lambda): Avoid overwriting root span name ([#15054](https://github.com/getsentry/sentry-javascript/pull/15054))
49+
- fix(v8/core): `fatal` events should set session as crashed ([#15073](https://github.com/getsentry/sentry-javascript/pull/15073))
50+
- fix(v8/node/nestjs): Use method on current fastify request ([#15104](https://github.com/getsentry/sentry-javascript/pull/15104))
51+
52+
Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!
53+
1354
## 8.50.0
1455

1556
- feat(v8/react): Add support for React Router `createMemoryRouter` ([#14985](https://github.com/getsentry/sentry-javascript/pull/14985))
@@ -24,7 +65,7 @@
2465
- fix(v8/sveltekit): Ensure source maps deletion is called after source ma… ([#14963](https://github.com/getsentry/sentry-javascript/pull/14963))
2566
- fix(v8/vue): Re-throw error when no errorHandler exists ([#14943](https://github.com/getsentry/sentry-javascript/pull/14943))
2667
27-
Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contribution!
68+
Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contributions!
2869
2970
## 8.48.0
3071

packages/node/src/integrations/tracing/prisma.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const instrumentPrisma = generateInstrumentOnce<{ prismaInstrumentation?:
2727
* Adds Sentry tracing instrumentation for the [Prisma](https://www.npmjs.com/package/prisma) ORM.
2828
* For more information, see the [`prismaIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/prisma/).
2929
*
30-
* Make sure `previewFeatures = ["tracing"]` is added to the generator block in of your Prisma schema.
30+
* Make sure `previewFeatures = ["tracing"]` is added to the generator block in your Prisma schema.
3131
*
3232
* ```prisma
3333
* generator client {

0 commit comments

Comments
 (0)