|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott |
6 | 6 |
|
7 | | -Work in this release was contributed by @Karibash. Thank you for your contribution! |
| 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 | + |
| 61 | +## 10.6.0 |
| 62 | + |
| 63 | +### Important Changes |
| 64 | + |
| 65 | +- **feat(node): Add Anthropic AI integration ([#17348](https://github.com/getsentry/sentry-javascript/pull/17348))** |
| 66 | + |
| 67 | +This release adds support for automatically tracing Anthropic AI SDK requests, providing better observability for AI-powered applications. |
| 68 | + |
| 69 | +- **fix(core): Instrument invoke_agent root span, and support Vercel `ai` v5 ([#17395](https://github.com/getsentry/sentry-javascript/pull/17395))** |
| 70 | + |
| 71 | +This release makes the Sentry `vercelAiIntegration` compatible with version 5 of Vercel `ai`. |
| 72 | + |
| 73 | +- **docs(nuxt): Remove beta notice ([#17400](https://github.com/getsentry/sentry-javascript/pull/17400))** |
| 74 | + |
| 75 | +The Sentry Nuxt SDK is now considered stable and no longer in beta! |
| 76 | + |
| 77 | +### Other Changes |
| 78 | + |
| 79 | +- feat(astro): Align options with shared build time options type ([#17396](https://github.com/getsentry/sentry-javascript/pull/17396)) |
| 80 | +- feat(aws): Add support for automatic wrapping in ESM ([#17407](https://github.com/getsentry/sentry-javascript/pull/17407)) |
| 81 | +- feat(node): Add an instrumentation interface for Hono ([#17366](https://github.com/getsentry/sentry-javascript/pull/17366)) |
| 82 | +- fix(browser): Use `DedicatedWorkerGlobalScope` global object type in `registerWebWorker` ([#17447](https://github.com/getsentry/sentry-javascript/pull/17447)) |
| 83 | +- fix(core): Only consider ingest endpoint requests when checking `isSentryRequestUrl` ([#17393](https://github.com/getsentry/sentry-javascript/pull/17393)) |
| 84 | +- fix(node): Fix preloading of instrumentation ([#17403](https://github.com/getsentry/sentry-javascript/pull/17403)) |
| 85 | + |
| 86 | +<details> |
| 87 | + <summary> <strong>Internal Changes</strong> </summary> |
| 88 | + |
| 89 | +- chore: Add external contributor to CHANGELOG.md ([#17449](https://github.com/getsentry/sentry-javascript/pull/17449)) |
| 90 | +- chore(deps): bump astro from 4.16.18 to 4.16.19 in /dev-packages/e2e-tests/test-applications/astro-4 ([#17434](https://github.com/getsentry/sentry-javascript/pull/17434)) |
| 91 | +- test(e2e/firebase): Fix firebase e2e test failing due to outdated rules file ([#17448](https://github.com/getsentry/sentry-javascript/pull/17448)) |
| 92 | +- test(nextjs): Fix canary tests ([#17416](https://github.com/getsentry/sentry-javascript/pull/17416)) |
| 93 | +- test(nuxt): Don't rely on flushing for lowQualityTransactionFilter ([#17406](https://github.com/getsentry/sentry-javascript/pull/17406)) |
| 94 | +- test(solidstart): Don't rely on flushing for lowQualityTransactionFilter ([#17408](https://github.com/getsentry/sentry-javascript/pull/17408)) |
| 95 | + |
| 96 | +</details> |
8 | 97 |
|
9 | 98 | ## 10.5.0 |
10 | 99 |
|
|
0 commit comments