fix(deps): update dependency @sentry/browser to v9 #2656
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:
8.55.0
->9.28.0
Release Notes
getsentry/sentry-javascript (@sentry/browser)
v9.28.0
Compare Source
Important Changes
TracingInterceptor
(#16501)With this change we stop creating spans for
TracingInterceptor
as this interceptor only serves as an internal helper and adds noise for the user.This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
Other Changes
vercelAIIntegration
from@sentry/node
(#16496)Work in this release was contributed by @agrattan0820. Thank you for your contribution!
Bundle size 📦
v9.27.0
Compare Source
ReactRouterServer
integration (#16470)Bundle size 📦
v9.26.0
Compare Source
@sentry/react
(#16465)v9.25.1
Compare Source
v9.25.0
Compare Source
Important Changes
mark
andmeasure
spans (#16443)This release adds an option to
browserTracingIntegration
that lets you ignoremark
andmeasure
spans created from theperformance.mark(...)
andperformance.measure(...)
browser APIs:Other Changes
includeServerName
option (#16442)@sentry/nuxt
external (#16444)Bundle size 📦
v9.24.0
Compare Source
v9.23.0
Compare Source
Important changes
Adds an option to opt out of certain
resource.*
spans viaignoreResourceSpans
.For example, to opt out of
resource.script
spans:Other changes
isEnabled
from all SDKs (#16405)init()
(#16354)captureLog
(#16352)_INTERNAL_captureSerializedLog
(#16387)static/chunks/main-*
files forwidenClientFileUpload
(#16406)browserTracingIntegration
code tosetup
hook (#16386)@sentry/nuxt
as external in Rollup (#16407)withScope
keeps span active &_getTraceInfoFromScope
works (#16385)Work in this release was contributed by @Xenossolitarius. Thank you for your contribution!
Bundle size 📦
v9.22.0
Compare Source
Important changes
This is a revert of a feature introduced in
9.20.0
with #16240. This feature was causing crashes in firefox, so we are reverting it. We will re-enable this functionality in the future after fixing the crash.Other changes
ServerBuild
argument and return (#16336)Bundle size 📦
v9.21.0
Compare Source
@fastify/otel
(#16328)OnEvent
decorators (#16306)client
exports toserver
andcloudflare
entries (#16341)Work in this release was contributed by @phthhieu. Thank you for your contribution!
Bundle size 📦
v9.20.0
Compare Source
Important changes
The SDK now automatically collects details passed to
performance.measure
options.Other changes
maxIncomingRequestBodySize
(#16225)aria-label
(#16192)next.route
attribute on root spans (#16297)orgId
option toinit
and DSC (sentry-org_id
in baggage) (#16305)Bundle size 📦
v9.19.0
Compare Source
opentelemetry-instrumentation-remix
(#16145)cancelled
reason (#16277)@fastify/otel
fork to direct url to allow installing without git (#16287)Work in this release was contributed by @sidx1024. Thank you for your contribution!
Bundle size 📦
v9.18.0
Compare Source
Important changes
We now also publish profiling binaries for Node 24.
Other changes
import-in-the-middle
to1.13.1
(#16260)consoleLoggingIntegration
from vercel edge sdk (#16228)@fastify/otel
dependency with pinned Otel v1 deps (#16256)Bundle size 📦
v9.17.0
Compare Source
@fastify/otel
(#15542)Bundle size 📦
v9.16.1
Compare Source
v9.16.0
Compare Source
Important changes
Add a new plugin
makeConfigInjectorPlugin
within our existing vite plugin that updates the global vite config with sentry optionsThis PR implements consistent sampling across traces as outlined in (#15754)
This PR introduces a new
instrumentDurableObjectWithSentry
method to the SDK, which instruments durable objects. We capture both traces and errors automatically.Prisma integration is enabled by default, it should work for both ESM and CJS.
Adds client-side instrumentation for react router's
HydratedRouter
. To enable it, simply replacebrowserTracingIntegration()
withreactRouterTracingIntegration()
in your client-side init call.When running your application in ESM mode, there have been scenarios that resulted in the
http
/https
emitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now.
While this is generally not expected to break anything, there is one tiny change that _may affect you if you have been relying on very specific functionality:
The
ignoreOutgoingRequests
option ofhttpIntegration
receives theRequestOptions
as second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:Other changes
SENTRY_RELEASE
fromenv
(#16201)http.server
spans with 404 status by default (#16205)removeFromDom()
from throwing (#16030)Bundle size 📦
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.