44
55- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66
7+ ## 10.2.0
8+
79### Important Changes
810
911- ** feat(core): Add ` ignoreSpans ` option ([ #17078 ] ( https://github.com/getsentry/sentry-javascript/pull/17078 ) )**
@@ -25,6 +27,44 @@ Sentry.init({
2527
2628Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.
2729
30+ - ** feat(cloudflare,vercel-edge): Add support for OpenAI instrumentation ([ #17338 ] ( https://github.com/getsentry/sentry-javascript/pull/17338 ) )**
31+
32+ Adds support for OpenAI manual instrumentation in ` @sentry/cloudflare ` and ` @sentry/vercel-edge ` .
33+
34+ To instrument the OpenAI client, wrap it with ` Sentry.instrumentOpenAiClient ` and set recording settings.
35+
36+ ``` js
37+ import * as Sentry from ' @sentry/cloudflare' ;
38+ import OpenAI from ' openai' ;
39+
40+ const openai = new OpenAI ();
41+ const client = Sentry .instrumentOpenAiClient (openai, { recordInputs: true , recordOutputs: true });
42+
43+ // use the wrapped client
44+ ```
45+
46+ - ** ref(aws): Remove manual span creation ([ #17310 ] ( https://github.com/getsentry/sentry-javascript/pull/17310 ) )**
47+
48+ The ` startTrace ` option is deprecated and will be removed in a future major version. If you want to disable tracing, set ` SENTRY_TRACES_SAMPLE_RATE ` to ` 0.0 ` . instead. As of today, the flag does not affect traces anymore.
49+
50+ ### Other Changes
51+
52+ - feat(astro): Streamline build logs ([ #17301 ] ( https://github.com/getsentry/sentry-javascript/pull/17301 ) )
53+ - feat(browser): Handles data URIs in chrome stack frames ([ #17292 ] ( https://github.com/getsentry/sentry-javascript/pull/17292 ) )
54+ - feat(core): Accumulate tokens for ` gen_ai.invoke_agent ` spans from child LLM calls ([ #17281 ] ( https://github.com/getsentry/sentry-javascript/pull/17281 ) )
55+ - feat(deps): Bump @prisma/instrumentation from 6.12.0 to 6.13.0 ([ #17315 ] ( https://github.com/getsentry/sentry-javascript/pull/17315 ) )
56+ - feat(deps): Bump @sentry/cli from 2.50.0 to 2.50.2 ([ #17316 ] ( https://github.com/getsentry/sentry-javascript/pull/17316 ) )
57+ - feat(deps): Bump @sentry/rollup-plugin from 4.0.0 to 4.0.2 ([ #17317 ] ( https://github.com/getsentry/sentry-javascript/pull/17317 ) )
58+ - feat(deps): Bump @sentry/webpack-plugin from 4.0.0 to 4.0.2 ([ #17314 ] ( https://github.com/getsentry/sentry-javascript/pull/17314 ) )
59+ - feat(nuxt): Do not inject trace meta-tags on cached HTML pages ([ #17305 ] ( https://github.com/getsentry/sentry-javascript/pull/17305 ) )
60+ - feat(nuxt): Streamline build logs ([ #17308 ] ( https://github.com/getsentry/sentry-javascript/pull/17308 ) )
61+ - feat(react-router): Add support for Hydrogen with RR7 ([ #17145 ] ( https://github.com/getsentry/sentry-javascript/pull/17145 ) )
62+ - feat(react-router): Streamline build logs ([ #17303 ] ( https://github.com/getsentry/sentry-javascript/pull/17303 ) )
63+ - feat(solidstart): Streamline build logs ([ #17304 ] ( https://github.com/getsentry/sentry-javascript/pull/17304 ) )
64+ - fix(nestjs): Add missing ` sentry.origin ` span attribute to ` SentryTraced ` decorator ([ #17318 ] ( https://github.com/getsentry/sentry-javascript/pull/17318 ) )
65+ - fix(node): Assign default export of ` openai ` to the instrumented fn ([ #17320 ] ( https://github.com/getsentry/sentry-javascript/pull/17320 ) )
66+ - fix(replay): Call ` sendBufferedReplayOrFlush ` when opening/sending feedback ([ #17236 ] ( https://github.com/getsentry/sentry-javascript/pull/17236 ) )
67+
2868## 10.1.0
2969
3070- feat(nuxt): Align build-time options to follow bundler plugins structure ([ #17255 ] ( https://github.com/getsentry/sentry-javascript/pull/17255 ) )
0 commit comments