Update sentry-javascript monorepo to v10#289
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
8df4a6a to
1a0d30a
Compare
1a0d30a to
7af2bfd
Compare
784cd1f to
e9eba9e
Compare
e9eba9e to
e984429
Compare
1bc6ea4 to
31013c4
Compare
dcbe61e to
9347aaf
Compare
d869fef to
9ffc26f
Compare
9ffc26f to
003de91
Compare
83b5b99 to
aaee6ec
Compare
fdca8af to
2ee4ebd
Compare
cecb4ed to
5759560
Compare
078fa80 to
0a93b16
Compare
0a93b16 to
f5b0226
Compare
e37e82d to
577085c
Compare
577085c to
ae89ab0
Compare
ae89ab0 to
dc94eb9
Compare
54bef77 to
e068456
Compare
1c70387 to
fab96af
Compare
e77b5f9 to
d02aa7a
Compare
17723c7 to
a1c178e
Compare
d8346a7 to
6fe8b0e
Compare
6fe8b0e to
7a7ca6a
Compare
7a7ca6a to
a3c4b6c
Compare
317fa58 to
633d008
Compare
633d008 to
6ea05a6
Compare
2c24b3d to
d67eded
Compare
d67eded to
0ddd190
Compare
5588d98 to
6598264
Compare
6598264 to
1a51103
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:
9.46.0→10.57.0Release Notes
getsentry/sentry-javascript (@sentry/nuxt)
v10.57.0Compare Source
Important Changes
feat(angular): Add support for Angular 22 (#21330)
@sentry/angularnow officially supports Angular 22.ref(core): Deprecate
sendDefaultPiiin favor ofdataCollection(#21277)sendDefaultPiiis deprecated and will be removed in v11. The newdataCollectionoption lets you control each category of collected data.sendDefaultPii: truestill works and maps to enabling alldataCollectioncategories.dataCollection.userInfodefaults totruewhendataCollectionis provided, meaning auto-populateduser.*fields (e.g. IP address from a request) are collected by default.Data you set explicitly (like via
Sentry.setUser()) is always sent regardless.When
dataCollectionis not set at all, the legacysendDefaultPiibehavior applies (userInfo: falseby default) to preserve backward compatibility.Note that an empty
dataCollection: {}falls back to more permissive defaults thansendDefaultPii: false, so replicate the old behavior by opting out explicitly:Other Changes
dataCollection.frameContextLinesfor ContextLines integration (#21323)dataCollection.userInfototrue(#21348)dataCollection.httpBodiesto all valid body types (#21352)faviconetc) (#21365)safeDateNowcalls fornew Date()reads (#21351)pinoIntegrationon edge runtime (#21347)__SENTRY_SERVER_MODULES__lazily so Turbopack injection is honored (#21339)react.componentStackevent context (#21183)sentry._internal.replay_is_bufferingfor spans (#21297)Internal Changes
sendDefaultPiitodataCollectionoption (#21288)Work in this release was contributed by @zhongrenfei1-hub. Thank you for your contribution!
Bundle size 📦
v10.56.0Compare Source
Important Changes
feat(deno): Redis diagnostics channel based integration for Deno (#21087)
Adds Redis integration support for Deno, covering both
redisandioredisclients.Other Changes
@sentry/nodewas imported instead of@sentry/hono/node(#21240)consistentTraceSamplingis enabled (#21281)instrumentDurableObjectWithSentrybreaking Cloudflare Agents (#21101)WeakReffor Span-Scope circular references (#21242)InstrumentationNodeModuleFileto fix Bun--bytecodecrash (#21262)Internal Changes
hrTimeutilities from@opentelemetry/core(#21191)http.route(#21193)TraceStateimplementation (#21192)dataCollection(#21282)Bundle size 📦
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
Bundle size 📦
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!
Bundle size 📦
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.