chore(deps): update JavaScript SDK to v10.11.0 #3242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps packages/flutter/scripts/update-js.sh from 10.6.0 to 10.11.0.
Auto-generated by a dependency updater.
Changelog
10.11.0
Important Changes
feat(aws): Add experimental AWS Lambda extension for tunnelling events (#17525)
This release adds an experimental Sentry Lambda extension to the existing Sentry Lambda layer. Sentry events are now tunneled through the extension and then forwarded to Sentry. This has the benefit of reducing the request processing time.
To enable it, set
_experiments.enableLambdaExtension
in your Sentry config like this:Other Changes
handleExistingNavigation
(#17534)mechanism.type
to errors captured byhttpClientIntegration
(#17254)mechanism.type
inbrowserApiErrorsIntergation
(#17251)mechanism.type
totrpcMiddleware
errors (#17287)mechanism
s and span origins toopenAiIntegration
(#17288)mechanism
to captured errors (#17312)Internal Changes
test-utils
dependency in workspace (#17538)geist
font (#17541)10.10.0
Important Changes
propagateTraceparent
SDK option (#17509)Adds support for a new browser SDK init option,
propagateTraceparent
for attaching a W3C compliant traceparent header to outgoing fetch and XHR requests, in addition to sentry-trace and baggage headers. More details can be found here.Adds missing tool call attributes, we add gen_ai.response.tool_calls attribute for Anthropic AI, supporting both streaming and non-streaming requests.
Adds a new experimental flag
_experimental.useRunAfterProductionCompileHook
towithSentryConfig
for automatic source maps uploads when building a Next.js app withnext build --turbopack
.When set we:
Other Changes
origin
for OpenAI spans & test auto instrumentation (#17519)10.9.0
Important Changes
httpIntegration
handling of incoming requests (#17371)This version updates the handling of the Node SDK of incoming requests. Instead of relying on opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.
This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the
_experimentalConfig
option of the integration - this will no longer do anything.Finally, you can still pass
instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan}
options, but they are deprecated and will be removed in v11. Instead, you can use the newincomingRequestSpanHook
configuration option if you want to adjust the incoming request span.Other Changes
sendFeedback
from CDN bundles (#17495)beforeStartSpan
isn't overwritten (#17500)beforeStartSpan
(#17501)Sentry.close()
(#17499)Internal Changes
changelog
script back to package.json (#17517)10.8.0
Important Changes
feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing (#17423)
This release makes the
sentry/sveltekit
SDK compatible with SvelteKit's native observability support introduced in SvelteKit version2.31.0
.If you enable both, instrumentation and tracing, the SDK will now initialize early enough to set up additional instrumentation like database queries and it will pick up spans emitted from SvelteKit.
We will follow up with docs how to set up the SDK soon.
For now, If you're on SvelteKit version
2.31.0
or newer, you can easily opt into the new feature:Enable experimental tracing and instrumentation support in
svelte.config.js
:Move your
Sentry.init()
call fromsrc/hooks.server.(js|ts)
to the newinstrumentation.server.(js|ts)
file:The rest of your Sentry config in
hooks.server.ts
(sentryHandle
andhandleErrorWithSentry
) should stay the same.If you prefer to stay on the hooks-file based config for now, the SDK will continue to work as previously.
Thanks to the Svelte team and elliott-with-the-longest-name-on-github for implementing observability support and for reviewing our PR!
Other Changes
Internal Changes
10.7.0
Important Changes
instrumentPrototypeMethods
option to instrument RPC methods for DurableObjects (#17424)By default,
Sentry.instrumentDurableObjectWithSentry
will not wrap any RPC methods on the prototype. To enable wrapping for RPC methods, setinstrumentPrototypeMethods
totrue
or, if performance is a concern, a list of only the methods you want to instrument:Other Changes
requestAnimationFrame
for canvas snapshots (#17380)Internal Changes