Update sentry-javascript monorepo to v10.55.0#480
Open
daniel-renovator[bot] wants to merge 1 commit into
Open
Conversation
14df289 to
a4c2c95
Compare
a4c2c95 to
af3c6f1
Compare
19444b3 to
82cb9c1
Compare
82cb9c1 to
7f7e223
Compare
7f7e223 to
1ad9cf0
Compare
1ad9cf0 to
1743a8b
Compare
e6fd45a to
2396a07
Compare
2396a07 to
41f790a
Compare
41f790a to
a1f05da
Compare
283b5a5 to
c2af580
Compare
2cb218f to
e8930ea
Compare
e8930ea to
db12a8c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
10.46.0→10.55.010.46.0→10.55.0Release Notes
getsentry/sentry-javascript (@sentry/node)
v10.55.0Compare Source
Important Changes
feat(hono): Promote
@sentry/honoto stable and deprecatehonoIntegration(#21208)The
@sentry/honoSDK is now stable. See the Sentry Hono SDK docs to get started.docs(tanstackstart-react): Promote SDK status to beta (#21175)
This release promotes the
@sentry/tanstackstart-reactSDK to beta. For details on how to use it, check out theSentry TanStack Start SDK docs. Please reach out on
GitHub if you have any feedback or concerns.
feat(hono): Add
shouldHandleErroroption tosentry()middleware (#21205)The
sentry()middleware now accepts ashouldHandleErrorcallback to control which errors are captured and sent to Sentry. By default, 3xx/4xx HTTP errors are ignored and 5xx errors and plainErrorobjects are captured. Returntruefrom the callback to capture an error,falseto suppress it.test(tanstackstart-react): Move initialization to client entry point (#21161)
Change the recommended setup for the SDK to do
Sentry.init()in the client entry file to capture telemetry that is emitted ahead of page hydration.feat(tanstackstart-react): Add distributed tracing (#21144)
Server and client traces are now automatically connected, allowing you to see the full request lifecycle from server-side rendering through client-side hydration in a single trace.
feat(tanstackstart-react): Add server-side route parametrization (#21147)
Server transaction names are now parametrized automatically (e.g.,
GET /users/123becomesGET /users/$userId), improving transaction grouping in Sentry.feat(tanstackstart-react): Show readable server function names in traces (#21190)
Server function spans now show human-readable names (e.g.,
GET /_serverFn/greetinstead ofGET /_serverFn/a10e70b3...). Thetanstackstart.function.hash.sha256span attribute has been renamed totanstackstart.function.id.Other Changes
dataCollection(#21071)dataCollectioninstead ofsendDefaultPii(#21078)Elysiaapp type to support Elysia options (#21164)Internal Changes
beforeSend*callbacks (#21186)astro-6e2e test build by relaxing astro version range (#21211)normalizecode out of core (#21172)registerSpanErrorInstrumentation()on server (#21169)v10.54.0Compare Source
Important Changes
feat(core): Support array attributes for spans, logs, and metrics (#20427)
Arrays of primitive values (
string,number,boolean) are now accepted as attribute values. Arrays containing non-primitive elements will be dropped and won't show up in Sentry. Array attributes on logs and metrics were previously stringified and will now be sent as actual arrays instead. If you have custom rules that process attribute values in anybeforeSend*callbacks (e.g., data scrubbing), you may need to update them to correctly handle array values.For instance, here's how you can update a
beforeSendLogcallback to handle arrays:feat(browser): Add
fetchStreamPerformanceIntegrationfor streamed response tracking (#20778)A new integration that tracks the performance of streamed fetch responses. Use this to measure time-to-first-byte and streaming duration for APIs that return chunked/streamed data. This replaces the now deprecated
trackFetchStreamPerformanceoption.feat(core): Add
dataCollectionclient option (#20965)Adds a new
dataCollectionclient option for controlling what data the SDK collects and sends to Sentry. This provides a centralized way to configure data collection behavior across different SDK features. In the future, this option will be used for fine-granular data filtering, while the simplesendDefaultPiiboolean option will be deprecated and removed in a future release.feat(hono): Add
hono.requestspans for internal.request()calls (#20843)The Hono SDK now creates spans for internal
.request()calls, providing better visibility into request handling within Hono applications.Other Changes
sentry.sdk.integrationson streamed segment spans (#20428)dataCollection(#21080)dataCollection(#21085)dataCollection(#21072)node:httpon versions that support it (#21009)browserTracingIntegration(#20702)dataCollection(#21073)<head>inside attribute values (#21089)attachStacktraceis true (#19988)Deno.serveinstrumentation on Deno 2.8 (#21155)projectoption type tostring | string[](#21067)http.clientdouble-wrap message (#20705)sentry.replay_idattribute on streamed spans (#20897)replay_idon DSC after buffer-to-session conversion (#20686)types-hoisttotypes(#20979)Internal Changes
sendDefaultPii(#20967)@opentelemetry/instrumentation-httpdependency (#21113)@fastify/otel(#21099)@opentelemetry/instrumentation-pg(#21102)@opentelemetry/sql-common(#21140)@prisma/instrumentation(#21098)Work in this release was contributed by @abcang, @ahmadio, @delorge, @mdnanocom, and @victorgarciaesgi. Thank you for your contributions!
v10.53.1Compare Source
Internal Changes
v10.53.0Compare Source
Important Changes
feat(core): Add
streamGenAiSpansoptions to stream gen_ai spans (#20785)Adds a new
streamGenAiSpansoption that controls howgen_aispans aresent to Sentry. When set, the SDK extracts all
gen_aispans out of atransaction and sends them as v2 envelope items.
Enable this option if gen_ai spans are being dropped because the transaction payload exceeds size limits.
Other Changes
addConsoleInstrumentationFilterutility (#20790)applicationKeytoBuildTimeOptionsBase(#20789)applicationKeyoption (#20794)@sentry-internal/node-cpu-profilerto 2.4.0 (#20720)Internal Changes
Work in this release was contributed by @dmmulroy and @SAY-5. Thank you for your contributions!
v10.52.0Compare Source
Important Changes
Beta release of the official Hono Sentry SDK
This release marks the beta release of the
@sentry/honoSentry SDK. For details on how to use it, check out theSentry Hono SDK docs. Please reach out on
GitHub if you have any feedback or concerns.
feat(browser): Add
ingest_settingsto v2 log envelope payload (#20453)Inference of user data (e.g. IP address, browser name/version) on log events is now gated behind the
sendDefaultPiioption. Previously, this data was always inferred by default.Other Changes
ingest_settingsto v2 metrics envelope payload (#20454)ignoreSpans(#20595)processSegmentSpanto Deno context integration (#20613)processSegmentSpanto node context integration (#20678)Internal Changes
bundle-analyzer-scenariosdev packages (#20680)npmrcpointing to Verdaccio (#20611)Work in this release was contributed by @sbs44. Thank you for your contribution!
v10.51.0Compare Source
Important Changes
feat(cloudflare): Add trace propagation for RPC method calls (#20343)
Trace context is now propagated across Cloudflare Workers RPC calls, connecting traces between Workers and Durable Objects.
This feature is opt-in and requires setting
enableRpcTracePropagation: truein your SDK configuration:feat(hono)!: Change setup for
@sentry/hono/node(initin external file) (#20497)To improve Node.js instrumentation, the
sentry()middleware exported from@sentry/hono/nodeno longer accepts configuration options.Instead, you must configure the SDK by calling
Sentry.init()in a dedicated instrumentation file that runs before your application code (read more in the Hono SDK readme:feat(nitro): Add
@sentry/nitroSDK (#19224)A new
@sentry/nitropackage provides first-class Sentry support for Nitro applications, with HTTP handler and error instrumentation, middleware tracing, request isolation, and build-time source map uploading viawithSentryConfig.Read more in the Nitro SDK docs and the Nitro SDK readme.
Other Changes
brace-expansionpeer-dep (#20198)binscripts (#20570)ignoreSpans(#20513)SENTRY_DSN(#20528)ingest_settingsto span v2 envelope payload (#20411)httpContextIntegration(#20464)ignoreSpans(#20512)*http.route attribute on segment spans (#20471)ignoreSpans(#20514)svelteKitSpansEnhancementintegration (#20496)isSentryRequesthandles subdomains properly (#20530).use()middleware in sub-apps from.all()handlers (#20554)maskAttributesworks withmaskAllText=false(#20491)sendDefaultPiifor supabase integration (#20490)Internal Changes
idleTimeouttest config (#20467)safeSetSpanJSONAttributesin cultureContext integration (#20481)eslint-config-nextpackage to major (#20552)v10.50.0Compare Source
Important Changes
feat(effect): Support v4 beta (#20394)
The
@sentry/effectintegration now supports Effect v4 beta, enabling Sentry instrumentation for the latest Effect framework version.Read more in the Effect SDK readme.
feat(hono): Add
@sentry/hono/bunfor Bun runtime (#20355)A new
@sentry/hono/bunentry point adds first-class support for running Hono applications instrumented with Sentry on the Bun runtime.Read more in the Hono SDK readme.
feat(replay): Add replayStart/replayEnd client lifecycle hooks (#20369)
New
replayStartandreplayEndclient lifecycle hooks let you react to replay session start and end events in your application.Other Changes
no_parent_spanclient outcomes for discarded spans requiring a parent (#20350)GoogleGenAIIstrumentedMethodtypo in type namehttpVersionin outgoing request span attributes (#20430)Internal Changes
.makeRequestAndWaitForEnvelopeto wait for envelopes (#20208)honoIntegration(#20397)v10.49.0Compare Source
Important Changes
feat(browser): Add View Hierarchy integration (#14981)
A new
viewHierarchyIntegrationcaptures the DOM structure when an error occurs, providing a snapshot of the page state for debugging. Enable it in your Sentry configuration:feat(cloudflare): Split alarms into multiple traces and link them (#19373)
Durable Object alarms now create separate traces for each alarm invocation, with proper linking between related alarms for better observability.
feat(cloudflare): Enable RPC trace propagation with
enableRpcTracePropagation(#19991, #20345)A new
enableRpcTracePropagationoption enables automatic trace propagation for Cloudflare RPC calls via.fetch(), ensuring distributed traces flow correctly across service bindings.feat(core): Add
enableTruncationoption to AI integrations (#20167, #20181, #20182, #20183, #20184)All AI integrations (OpenAI, Anthropic, Google GenAI, LangChain, LangGraph) now support an
enableTruncationoption to control whether large AI inputs/outputs are truncated.feat(opentelemetry): Vendor
AsyncLocalStorageContextManager(#20243)The OpenTelemetry context manager is now vendored internally, reducing external dependencies and ensuring consistent behavior across environments.
Other Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate.