|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
|
6 | 6 |
|
| 7 | +## 10.7.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +- **feat(cloudflare): Add `instrumentPrototypeMethods` option to instrument RPC methods for DurableObjects ([#17424](https://github.com/getsentry/sentry-javascript/pull/17424))** |
| 12 | + |
| 13 | +By default, `Sentry.instrumentDurableObjectWithSentry` will not wrap any RPC methods on the prototype. To enable wrapping for RPC methods, set `instrumentPrototypeMethods` to `true` or, if performance is a concern, a list of only the methods you want to instrument: |
| 14 | + |
| 15 | +```js |
| 16 | +class MyDurableObjectBase extends DurableObject<Env> { |
| 17 | + method1() { |
| 18 | + // ... |
| 19 | + } |
| 20 | + |
| 21 | + method2() { |
| 22 | + // ... |
| 23 | + } |
| 24 | + |
| 25 | + method3() { |
| 26 | + // ... |
| 27 | + } |
| 28 | +} |
| 29 | +// Export your named class as defined in your wrangler config |
| 30 | +export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry( |
| 31 | + (env: Env) => ({ |
| 32 | + dsn: "https://ac49b7af3017c458bd12dab9b3328bfc@o4508482761982032.ingest.de.sentry.io/4508482780987481", |
| 33 | + tracesSampleRate: 1.0, |
| 34 | + instrumentPrototypeMethods: ['method1', 'method3'], |
| 35 | + }), |
| 36 | + MyDurableObjectBase, |
| 37 | +); |
| 38 | +``` |
| 39 | + |
| 40 | +## Other Changes |
| 41 | + |
| 42 | +- feat(aws): Add support for streaming handlers ([#17463](https://github.com/getsentry/sentry-javascript/pull/17463)) |
| 43 | +- feat(core): Stream responses Anthropic AI ([#17460](https://github.com/getsentry/sentry-javascript/pull/17460)) |
| 44 | +- feat(deps): bump @opentelemetry/instrumentation-aws-sdk from 0.56.0 to 0.57.0 ([#17455](https://github.com/getsentry/sentry-javascript/pull/17455)) |
| 45 | +- feat(deps): bump @opentelemetry/instrumentation-dataloader from 0.21.0 to 0.21.1 ([#17457](https://github.com/getsentry/sentry-javascript/pull/17457)) |
| 46 | +- feat(deps): bump @opentelemetry/instrumentation-kafkajs from 0.12.0 to 0.13.0 ([#17469](https://github.com/getsentry/sentry-javascript/pull/17469)) |
| 47 | +- feat(deps): bump @opentelemetry/instrumentation-mysql2 from 0.49.0 to 0.50.0 ([#17459](https://github.com/getsentry/sentry-javascript/pull/17459)) |
| 48 | +- feat(deps): bump @prisma/instrumentation from 6.13.0 to 6.14.0 ([#17466](https://github.com/getsentry/sentry-javascript/pull/17466)) |
| 49 | +- feat(deps): bump @sentry/cli from 2.51.1 to 2.52.0 ([#17458](https://github.com/getsentry/sentry-javascript/pull/17458)) |
| 50 | +- feat(deps): bump @sentry/rollup-plugin from 4.1.0 to 4.1.1 ([#17456](https://github.com/getsentry/sentry-javascript/pull/17456)) |
| 51 | +- feat(deps): bump @sentry/webpack-plugin from 4.1.0 to 4.1.1 ([#17467](https://github.com/getsentry/sentry-javascript/pull/17467)) |
| 52 | +- feat(replay): Add option to skip `requestAnimationFrame` for canvas snapshots ([#17380](https://github.com/getsentry/sentry-javascript/pull/17380)) |
| 53 | + |
| 54 | +<details> |
| 55 | + <summary> <strong>Internal Changes</strong> </summary> |
| 56 | + |
| 57 | +- test(aws): Run E2E tests in all supported Node versions ([#17446](https://github.com/getsentry/sentry-javascript/pull/17446)) |
| 58 | + |
| 59 | +</details> |
| 60 | + |
7 | 61 | ## 10.6.0
|
8 | 62 |
|
9 | 63 | ### Important Changes
|
@@ -41,8 +95,6 @@ The Sentry Nuxt SDK is now considered stable and no longer in beta!
|
41 | 95 |
|
42 | 96 | </details>
|
43 | 97 |
|
44 |
| -Work in this release was contributed by @Karibash. Thank you for your contribution! |
45 |
| - |
46 | 98 | ## 10.5.0
|
47 | 99 |
|
48 | 100 | - feat(core): better cause data extraction ([#17375](https://github.com/getsentry/sentry-javascript/pull/17375))
|
|
0 commit comments