chore(deps): update JavaScript SDK to v10.5.0 #3167
Merged
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 9.40.0 to 10.5.0.
Auto-generated by a dependency updater.
Changelog
10.5.0
SystemErrorcontext and remove paths from message (#17331)Internal Changes
Work in this release was contributed by ha1fstack. Thank you for your contribution!
10.4.0
Important Changes
sendDefaultPiiistrueThis release includes a fix for a behaviour change
that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically,
if
sendDefaultPiiwas set totrue.However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
Unfortunately, the change did not make it into the initial v10 version but is now applied with
10.4.0.There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set
sendDefaultPii: truein yourSentry.initoptions.We apologize for any inconvenience caused!
ignoreStaticAssets(#17370)This release adds a new option to
httpIntegrationto ignore requests for static assets (e.g.favicon.xmlorrobots.txt). The option defaults totrue, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option tofalse:Other Changes
Internal Changes
10.3.0
skipOpenTelemetrySetupoption (#17349)globalHandlersIntegration(#17216)handle(#17277)10.2.0
Important Changes
ignoreSpansoption (#17078)This release adds a new top-level
Sentry.initoption,ignoreSpans, that can be used as follows:Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.
Adds support for OpenAI manual instrumentation in
sentry/cloudflareandsentry/vercel-edge.To instrument the OpenAI client, wrap it with
Sentry.instrumentOpenAiClientand set recording settings.The
startTraceoption is deprecated and will be removed in a future major version. If you want to disable tracing, setSENTRY_TRACES_SAMPLE_RATEto0.0. instead. As of today, the flag does not affect traces anymore.Other Changes
gen_ai.invoke_agentspans from child LLM calls (#17281)sentry.originspan attribute toSentryTraceddecorator (#17318)openaito the instrumented fn (#17320)sendBufferedReplayOrFlushwhen opening/sending feedback (#17236)10.1.0
diagnoseSdkConnectivitydoesn't create span (#17280)10.0.0
Version
10.0.0marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/
A comprehensive migration guide outlining all changes can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
Breaking Changes
BaseClient(#17071)enableLogsandbeforeSendLogexperimental options (#17063)hasTracingEnabled(#17072)_experiments.autoFlushOnFeedbackoption as default (#17220)Other Changes
SentryNodeServerlessSDKv10v10 AWS Lambda Layer (#17069)flushIfServerlessfunction (#17177)strictTraceContinuation(#16313)sentry-internal/node-native-stacktraceto0.2.2(#17207)shouldHandleErroroption tofastifyIntegration(#16845)createSentryHandleError(#17235)fastifyIntegrationerror handler (#17208)vercelAiIntegrationhave correct trace connected (#17132)handleErrorWithSentry(#17157)Work in this release was contributed by richardjelinek-fastest. Thank you for your contribution!
9.44.2
This release is publishing the AWS Lambda Layer under
SentryNodeServerlessSDKv9. The previous release9.44.1accidentally published the layer underSentryNodeServerlessSDKv10.9.44.1
9.44.0
_experiments.autoFlushOnFeedback(#17219)flushIfServerlessfunction (#17239)sentry-internal/node-native-stacktraceto0.2.2(#17256)createSentryHandleError(#17244)9.43.0
fastifyIntegrationerror handler (#17211)9.42.1
globalThis(#17185)handleErrorWithSentry(#17174)9.42.0
9.41.0
Important Changes
enableLogsandbeforeSendLogoption (#17092)Sentry now has support for structured logging. Previously to enable structured logging, you had to use the
_experiments.enableLogsand_experiments.beforeSendLogoptions. These options have been deprecated in favor of the top-levelenableLogsandbeforeSendLogoptions.Server-side and client-side parameterized routes are now supported in the Astro SDK. No configuration changes are required.
Other Changes
vercelAiIntegrationhave correct trace (#17142)Work in this release was contributed by richardjelinek-fastest. Thank you for your contribution!