|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott |
6 | 6 |
|
| 7 | +## 10.15.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +- **feat(cloudflare): Add honoIntegration with error-filtering function ([#17743](https://github.com/getsentry/sentry-javascript/pull/17743))** |
| 12 | + |
| 13 | + This release adds a `honoIntegration` to `@sentry/cloudflare`, which exposes a `shouldHandleError` function that lets you define which errors in `onError` should be captured. |
| 14 | + By default, Sentry captures exceptions with `error.status >= 500 || error.status <= 299`. |
| 15 | + |
| 16 | + The integration is added by default, and it's possible to modify this behavior like this: |
| 17 | + |
| 18 | + ```js |
| 19 | + integrations: [ |
| 20 | + honoIntegration({ |
| 21 | + shouldHandleError: (err) => true; // always capture exceptions in onError |
| 22 | + }) |
| 23 | + ] |
| 24 | + ``` |
| 25 | + |
| 26 | +- **feat(node): Add instrumentation for hono handler ([#17428](https://github.com/getsentry/sentry-javascript/pull/17428))** |
| 27 | + |
| 28 | +This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities. |
| 29 | + |
| 30 | +- **feat(aws): Enable Lambda extension by default when using the Lamba layer ([#17684](https://github.com/getsentry/sentry-javascript/pull/17684))** |
| 31 | + |
| 32 | +- **feat(browser): Add `setActiveSpanInBrowser` to set an active span in the browser ([#17714](https://github.com/getsentry/sentry-javascript/pull/17714))** |
| 33 | + |
| 34 | +This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical. |
| 35 | + |
| 36 | +### Other Changes |
| 37 | + |
| 38 | +- fix(browser): Improve handling of `0` and `undefined` resource timing values ([#17751](https://github.com/getsentry/sentry-javascript/pull/17751)) |
| 39 | +- ref(nextjs): Display build compatibility warning for webpack ([#17746](https://github.com/getsentry/sentry-javascript/pull/17746)) |
| 40 | + |
| 41 | +<details> |
| 42 | + <summary> <strong>Internal Changes</strong> </summary> |
| 43 | + |
| 44 | +- docs: Reword changelog for google gen ai instrumentation ([#17753](https://github.com/getsentry/sentry-javascript/pull/17753)) |
| 45 | +- build: Add `@typescript-eslint/no-unnecessary-type-assertion` rule ([#17728](https://github.com/getsentry/sentry-javascript/pull/17728)) |
| 46 | +- build: Update TS target to `es2020` everywhere ([#17709](https://github.com/getsentry/sentry-javascript/pull/17709)) |
| 47 | +- chore: Add external contributor to CHANGELOG.md ([#17745](https://github.com/getsentry/sentry-javascript/pull/17745)) |
| 48 | + |
| 49 | +</details> |
| 50 | + |
| 51 | +Work in this release was contributed by @Karibash. Thank you for your contribution! |
| 52 | + |
7 | 53 | ## 10.14.0 |
8 | 54 |
|
9 | 55 | ### Important Changes |
10 | 56 |
|
11 | 57 | - **feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation ([#17723](https://github.com/getsentry/sentry-javascript/pull/17723))** |
12 | 58 |
|
13 | | - The SDK now automatically instruments Google's Generative AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. |
| 59 | + The SDK now supports manually instrumenting Google's Generative AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use `const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient)` to get an instrumented client. |
14 | 60 |
|
15 | 61 | ### Other Changes |
16 | 62 |
|
|
0 commit comments